|
#!/bin/sh
|
|
|
|
# Display usage
|
|
cpack_usage()
|
|
{
|
|
cat <<EOF
|
|
Usage: $0 [options]
|
|
Options: [defaults in brackets after descriptions]
|
|
--help print this message
|
|
--prefix=dir directory in which to install
|
|
--include-subdir include the laview-desktop_1.1.3_amd64 subdirectory
|
|
--exclude-subdir exclude the laview-desktop_1.1.3_amd64 subdirectory
|
|
EOF
|
|
exit 1
|
|
}
|
|
|
|
cpack_echo_exit()
|
|
{
|
|
echo $1
|
|
exit 1
|
|
}
|
|
|
|
# Display version
|
|
cpack_version()
|
|
{
|
|
echo "laview-desktop Installer Version: 1.1.3, Copyright (c) backbone@backbone.ws"
|
|
}
|
|
|
|
# Helper function to fix windows paths.
|
|
cpack_fix_slashes ()
|
|
{
|
|
echo "$1" | sed 's/\\/\//g'
|
|
}
|
|
|
|
interactive=TRUE
|
|
cpack_skip_license=FALSE
|
|
cpack_include_subdir=""
|
|
for a in "$@"; do
|
|
if echo $a | grep "^--prefix=" > /dev/null 2> /dev/null; then
|
|
cpack_prefix_dir=`echo $a | sed "s/^--prefix=//"`
|
|
cpack_prefix_dir=`cpack_fix_slashes "${cpack_prefix_dir}"`
|
|
fi
|
|
if echo $a | grep "^--help" > /dev/null 2> /dev/null; then
|
|
cpack_usage
|
|
fi
|
|
if echo $a | grep "^--version" > /dev/null 2> /dev/null; then
|
|
cpack_version
|
|
exit 2
|
|
fi
|
|
if echo $a | grep "^--include-subdir" > /dev/null 2> /dev/null; then
|
|
cpack_include_subdir=TRUE
|
|
fi
|
|
if echo $a | grep "^--exclude-subdir" > /dev/null 2> /dev/null; then
|
|
cpack_include_subdir=FALSE
|
|
fi
|
|
if echo $a | grep "^--skip-license" > /dev/null 2> /dev/null; then
|
|
cpack_skip_license=TRUE
|
|
fi
|
|
done
|
|
|
|
if [ "x${cpack_include_subdir}x" != "xx" -o "x${cpack_skip_license}x" = "xTRUEx" ]
|
|
then
|
|
interactive=FALSE
|
|
fi
|
|
|
|
cpack_version
|
|
echo "This is a self-extracting archive."
|
|
toplevel="`pwd`"
|
|
if [ "x${cpack_prefix_dir}x" != "xx" ]
|
|
then
|
|
toplevel="${cpack_prefix_dir}"
|
|
fi
|
|
|
|
echo "The archive will be extracted to: ${toplevel}"
|
|
|
|
if [ "x${interactive}x" = "xTRUEx" ]
|
|
then
|
|
echo ""
|
|
echo "If you want to stop extracting, please press <ctrl-C>."
|
|
|
|
if [ "x${cpack_skip_license}x" != "xTRUEx" ]
|
|
then
|
|
more << '____cpack__here_doc____'
|
|
GNU LESSER GENERAL PUBLIC LICENSE
|
|
Version 3, 29 June 2007
|
|
|
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
Everyone is permitted to copy and distribute verbatim copies
|
|
of this license document, but changing it is not allowed.
|
|
|
|
|
|
This version of the GNU Lesser General Public License incorporates
|
|
the terms and conditions of version 3 of the GNU General Public
|
|
License, supplemented by the additional permissions listed below.
|
|
|
|
0. Additional Definitions.
|
|
|
|
As used herein, "this License" refers to version 3 of the GNU Lesser
|
|
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
General Public License.
|
|
|
|
"The Library" refers to a covered work governed by this License,
|
|
other than an Application or a Combined Work as defined below.
|
|
|
|
An "Application" is any work that makes use of an interface provided
|
|
by the Library, but which is not otherwise based on the Library.
|
|
Defining a subclass of a class defined by the Library is deemed a mode
|
|
of using an interface provided by the Library.
|
|
|
|
A "Combined Work" is a work produced by combining or linking an
|
|
Application with the Library. The particular version of the Library
|
|
with which the Combined Work was made is also called the "Linked
|
|
Version".
|
|
|
|
The "Minimal Corresponding Source" for a Combined Work means the
|
|
Corresponding Source for the Combined Work, excluding any source code
|
|
for portions of the Combined Work that, considered in isolation, are
|
|
based on the Application, and not on the Linked Version.
|
|
|
|
The "Corresponding Application Code" for a Combined Work means the
|
|
object code and/or source code for the Application, including any data
|
|
and utility programs needed for reproducing the Combined Work from the
|
|
Application, but excluding the System Libraries of the Combined Work.
|
|
|
|
1. Exception to Section 3 of the GNU GPL.
|
|
|
|
You may convey a covered work under sections 3 and 4 of this License
|
|
without being bound by section 3 of the GNU GPL.
|
|
|
|
2. Conveying Modified Versions.
|
|
|
|
If you modify a copy of the Library, and, in your modifications, a
|
|
facility refers to a function or data to be supplied by an Application
|
|
that uses the facility (other than as an argument passed when the
|
|
facility is invoked), then you may convey a copy of the modified
|
|
version:
|
|
|
|
a) under this License, provided that you make a good faith effort to
|
|
ensure that, in the event an Application does not supply the
|
|
function or data, the facility still operates, and performs
|
|
whatever part of its purpose remains meaningful, or
|
|
|
|
b) under the GNU GPL, with none of the additional permissions of
|
|
this License applicable to that copy.
|
|
|
|
3. Object Code Incorporating Material from Library Header Files.
|
|
|
|
The object code form of an Application may incorporate material from
|
|
a header file that is part of the Library. You may convey such object
|
|
code under terms of your choice, provided that, if the incorporated
|
|
material is not limited to numerical parameters, data structure
|
|
layouts and accessors, or small macros, inline functions and templates
|
|
(ten or fewer lines in length), you do both of the following:
|
|
|
|
a) Give prominent notice with each copy of the object code that the
|
|
Library is used in it and that the Library and its use are
|
|
covered by this License.
|
|
|
|
b) Accompany the object code with a copy of the GNU GPL and this license
|
|
document.
|
|
|
|
4. Combined Works.
|
|
|
|
You may convey a Combined Work under terms of your choice that,
|
|
taken together, effectively do not restrict modification of the
|
|
portions of the Library contained in the Combined Work and reverse
|
|
engineering for debugging such modifications, if you also do each of
|
|
the following:
|
|
|
|
a) Give prominent notice with each copy of the Combined Work that
|
|
the Library is used in it and that the Library and its use are
|
|
covered by this License.
|
|
|
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
|
document.
|
|
|
|
c) For a Combined Work that displays copyright notices during
|
|
execution, include the copyright notice for the Library among
|
|
these notices, as well as a reference directing the user to the
|
|
copies of the GNU GPL and this license document.
|
|
|
|
d) Do one of the following:
|
|
|
|
0) Convey the Minimal Corresponding Source under the terms of this
|
|
License, and the Corresponding Application Code in a form
|
|
suitable for, and under terms that permit, the user to
|
|
recombine or relink the Application with a modified version of
|
|
the Linked Version to produce a modified Combined Work, in the
|
|
manner specified by section 6 of the GNU GPL for conveying
|
|
Corresponding Source.
|
|
|
|
1) Use a suitable shared library mechanism for linking with the
|
|
Library. A suitable mechanism is one that (a) uses at run time
|
|
a copy of the Library already present on the user's computer
|
|
system, and (b) will operate properly with a modified version
|
|
of the Library that is interface-compatible with the Linked
|
|
Version.
|
|
|
|
e) Provide Installation Information, but only if you would otherwise
|
|
be required to provide such information under section 6 of the
|
|
GNU GPL, and only to the extent that such information is
|
|
necessary to install and execute a modified version of the
|
|
Combined Work produced by recombining or relinking the
|
|
Application with a modified version of the Linked Version. (If
|
|
you use option 4d0, the Installation Information must accompany
|
|
the Minimal Corresponding Source and Corresponding Application
|
|
Code. If you use option 4d1, you must provide the Installation
|
|
Information in the manner specified by section 6 of the GNU GPL
|
|
for conveying Corresponding Source.)
|
|
|
|
5. Combined Libraries.
|
|
|
|
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 that are not Applications and are not covered by this
|
|
License, and convey such a combined library under terms of your
|
|
choice, if you do both of the following:
|
|
|
|
a) Accompany the combined library with a copy of the same work based
|
|
on the Library, uncombined with any other library facilities,
|
|
conveyed under the terms of this License.
|
|
|
|
b) Give prominent notice with the combined library that part of it
|
|
is a work based on the Library, and explaining where to find the
|
|
accompanying uncombined form of the same work.
|
|
|
|
6. Revised Versions of the GNU Lesser General Public License.
|
|
|
|
The Free Software Foundation may publish revised and/or new versions
|
|
of the GNU 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 as you received it specifies that a certain numbered version
|
|
of the GNU Lesser General Public License "or any later version"
|
|
applies to it, you have the option of following the terms and
|
|
conditions either of that published version or of any later version
|
|
published by the Free Software Foundation. If the Library as you
|
|
received it does not specify a version number of the GNU Lesser
|
|
General Public License, you may choose any version of the GNU Lesser
|
|
General Public License ever published by the Free Software Foundation.
|
|
|
|
If the Library as you received it specifies that a proxy can decide
|
|
whether future versions of the GNU Lesser General Public License shall
|
|
apply, that proxy's public statement of acceptance of any version is
|
|
permanent authorization for you to choose that version for the
|
|
Library.
|
|
|
|
____cpack__here_doc____
|
|
echo
|
|
echo "Do you accept the license? [yN]: "
|
|
read line leftover
|
|
case ${line} in
|
|
y* | Y*)
|
|
cpack_license_accepted=TRUE;;
|
|
*)
|
|
echo "License not accepted. Exiting ..."
|
|
exit 1;;
|
|
esac
|
|
fi
|
|
|
|
if [ "x${cpack_include_subdir}x" = "xx" ]
|
|
then
|
|
echo "By default the laview-desktop will be installed in:"
|
|
echo " \"${toplevel}/laview-desktop_1.1.3_amd64\""
|
|
echo "Do you want to include the subdirectory laview-desktop_1.1.3_amd64?"
|
|
echo "Saying no will install in: \"${toplevel}\" [Yn]: "
|
|
read line leftover
|
|
cpack_include_subdir=TRUE
|
|
case ${line} in
|
|
n* | N*)
|
|
cpack_include_subdir=FALSE
|
|
esac
|
|
fi
|
|
fi
|
|
|
|
if [ "x${cpack_include_subdir}x" = "xTRUEx" ]
|
|
then
|
|
toplevel="${toplevel}/laview-desktop_1.1.3_amd64"
|
|
mkdir -p "${toplevel}"
|
|
fi
|
|
echo
|
|
echo "Using target directory: ${toplevel}"
|
|
echo "Extracting, please wait..."
|
|
echo ""
|
|
|
|
# take the archive portion of this file and pipe it to tar
|
|
# the NUMERIC parameter in this command should be one more
|
|
# than the number of lines in this header file
|
|
# there are tails which don't understand the "-n" argument, e.g. on SunOS
|
|
# OTOH there are tails which complain when not using the "-n" argument (e.g. GNU)
|
|
# so at first try to tail some file to see if tail fails if used with "-n"
|
|
# if so, don't use "-n"
|
|
use_new_tail_syntax="-n"
|
|
tail $use_new_tail_syntax +1 "$0" > /dev/null 2> /dev/null || use_new_tail_syntax=""
|
|
|
|
tail $use_new_tail_syntax +307 "$0" | gunzip | (cd "${toplevel}" && tar xf -) || cpack_echo_exit "Problem unpacking the laview-desktop_1.1.3_amd64"
|
|
|
|
echo "Unpacking finished successfully"
|
|
|
|
exit 0
|
|
#-----------------------------------------------------------
|
|
# Start of TAR.GZ file
|
|
#-----------------------------------------------------------;
|
|
|
|
? ?/?V Խ \????> ָ?XV?V?Q?i?[???:(*i????" ????8?d??n.?K????R??{%i?3?B?h??????<sgy?>?>???o/?9??>??s??{?}???Kh?g?,ڔ2Ҝ??,@?/?????uk=|???_???Z?j?hѦu?-^=?????u@+????f?ݿ?sD2?221>"?>?t???????????-?????B{j??g ???RoO??A?? ?VS_??Յr???ӟ?&jy?j??IO?48|6???Oᳺ???MS<>5?r??a?>'??S?ݪ?q?ϓ???????"???|^?oǧq??O?C+?,??`????Y{??>?>?q???{?{D???t??oOM/e??S?jƓ^&??÷'?y|\d?V?㣛??%??7KlӬM??R_kA??x=??????~?j/W?\(???F?lh???????GW??>??IS??>hخ?^??5?5??V??Xc/?5?j?fh?????dmx??????vw?<m??$i4u??z???S?5?hV#????i???T?ݥ??[/C??????v??^?+???;?????{??????q?;???????w?~t????????<?]??E????w??????w?_??????.?Ui4J?z??#?{M???qZ?q?W?'??I???g}?k??g??9??s?|??????
|
|
?5?x3???n%?????t ?l??????~Ǟ~??)?v???bj"?}7?ٖ?e/~?ˊ??~S??z???X??&#?~?FI???j2??3dzF??/??Q7??ʙ}M? \1`Q^ri?ſƽ???Q?B????t?G??N??+??i?'?|<j6wd[?7zTO?+?^o?????ק?k??H???-F??????UK???????ɫ
|
|
m?5?Gr˿?F??W????p???o??.???u?99?w??ֆ??}??????????:??}??n??߾??X??3W????ؑ????Z??䫼??????8?????V$??u?hyM??ח~q???
|
|
??#?mM???~?5???ݡ??{????7?\?}t????[?=?Ҫ??????ڃ???v?m??o??|??]>?
|
|
??*?X?????7?ۗ????pt}q?
|
|
7;6?64t@?v-?rDw??S?VWm???z?e????|se?
|
|
#jt9???y??l|????c]??Ӧ????uM??tm???Qsk????u??7b??k????cW????O??E^?'?dt?x@?:??[?2j~y?Ү+??=1???'???8?b{??!Iz?}?y???n????
|
|
U??=??J??*?Uo??/??Ǘ?v????oR??*x?
|
|
nx?=??g??\T?_???W??T?Yu??U?????=5??ݵ??*?sT?ϟTʏP???J=?U?*??J??U?y?Jy???_?p?V?s?z??s??J???sT???
|
|
??
|
|
?/???R?PKş????*??WwUʟT??l~??蹿
|
|
?@??; Q?*?=oV?g??x?U?O'??????3FEϣt??i*??T??????i*巪?_??_T?o???T???~?ҏ5T?EC?~????W??%*?ǫ?㧢υ*??b??U???R~?
|
|
?/???]??G=U?D???*??S??iO?ZL???J??*?Z?S????߮?bo?*??S?k???
|
|
???9R???/P??R????y;?sL???*?ϫ?????*?>?r?_Si??J??Q??T?o?
|
|
?ߪ??De|=^?=?H??ROw>???S????=U??J?~_???*|?P??>*??U᧯
|
|
?????T???'G????b??*姫?WT??X??&\???
|
|
U?P??T??Ke?=]ͽ??T??[Eo?T?b~?R????y?????? ??T?d????T??????
|
|
?A*~f?
|
|
??U?K?J?o??S???U??????U???v??{P?SqP?m?/p??9??X??<?[=?zxZS6;¡??'Yy?w???<G??Y?????o???LV?C???.38??F???X??O1?b?#y?{>M]???t?S????g??}x~??s?|?S?3\.?ZV~?=y=?J?O?x)?3?:?1??G??=??<?;q|[C??d?p??yU???!o?4??ӳ??????O?|F6`x?rG??LF'=|????????|?ۉf+Ûp?Y?n?y?/???'???Q??????0?,??U??s??3yU8??*?3i3+?*??4?gv?8?'?"ã8?ݸ~??s~x=ᜟ?U???????J??>op=?t??C^???a
|
|
?_?ʑ?N|?~?p?g{]ܓyZ???8?vrؑ??3?9?-?>??ˌ?w8^?ۡ?
|
|
G>?r{?=?py?p3?G?ѱ?:?3<???z???^?X~3wE?0~d{?ܐ?҉??2\??,?O:?8?>^?r?{=+_?T?<?Ky???]Җף??ǯP?:?????/?????+??Vd'55?C
|
|
??????%???C}V??:?"??m????z????Ჟ_???h*?˹]???IZ??|?z???4E\.y??l?N??{n?2\?C?Cv??b??q?*]?ȿ/??????Q"?g~?c?*^??/??v?=???????
|
|
Χ?!??z?z????/r?????u???W??_???q?????2\????G?vgs}x=c9??'???4??s?z???x?/?k>?G)vq????l?sx??ma?<?t??S??X??<=?vոG???ѻ\?p.????.??iV?{\oq>?x< ?%#??"?????d??9?{????Gq?+??]??f?q?[????|??? ?D^O?I????Yx??\???'??_?XO%?O??o???T舷x???x??[?BV?M???Y???????x???`?<??r{?㨇s|܅r>e?es?+.?vy=??>??d?l????Cc?a??W?|jX?خ??[q??$?u???q?O?s~???Rn????_?t?;?a%?????2~?ׯ??????7??^V樟??_B???6????ܿ_?xLr??*>^Bdz??!_?Cûpy??v??????h?n?_?|n??U???<N5?q???#??ģ#???a??#LQ??;?l??<6??!O6
|
|
?K1???R??(??M??䄰????????1? q ???p?9,6q?),:.ȸ?0Srrbr??Ԉ?tcJbjr?)E?@V$&?d"Ŝ????R?1?HF'?I 2)91)bx????+??a?qPSD<`??FDRR|\0?? MǙeI"Fa1q?&b5)??7'B??y*4:Ք<6̔R??lAS?ј??x?`/.???h]i3*?52,-">????NQT? ?L??$ǥ?l???؈@L1q??HB4J?<9b?$3?7<!">,*1!?.:???%ę?L L?)? SXD||b???!SBV???L??{?K|DJ? ٣?
|
|
3'"/?_????vb8?.##RL\??L ?a??M?t?U????EDGjRt??OQx
|
|
\Ƭz9q$uRT?)"Y1`??.X???F?@??$???????MQ?t)),?.bjv?B{i&?U??#S????59ʜd2?D.?_d??? ????F)?
|
|
?ٔn$%5
|
|
$,???a?&y<?ջK|b?魈?x??4???(SJJ?p=?I?C,)?f4p????JNe?at}TD?I1'4? 7??6|??'E?aabg??Ȳ
|
|
?ܬM?@ّc???4D?F%?V?`? ??` $?%?TjJ$???Me-D?E??`??10???
|
|
????P?a)?p=G<`?SQ???)????d?2ή?(WE??q? îw?L?ˤ?3?0??l??E3?j???k?X6??L??/????ȍ SLN??&b?y*?u???c')0u??f.,??F+?N?)??o?K?w?V?I?vKQ?f??},+???!2????zr??bdb?Y.?M?g??ѓRSb????????L?)2?' ?)!Z4?7F,??GC??\9SWm;
|
|
?.R?u/?&w? ?l/?d6مW?C?StXr?7????n??fkW*^ ??0?@?)??b۲???>*gA????j6s??n1Ǚݘ?Ci???<S?}?2?9
|
|
]Sjr?Kk? )ql0>??8?
|
|
?w?W'?B?d?M??0<1*".9?Y?k???A?B? ?^??6wFE??U?K0?9??p6?ٱiU(??????D;
|
|
c0)bĻc?h?^??8??"?%&!6<)1N??R#!x?K ??HM ??Y]iN?*???JF&?_?y?u??FY=`R?o?(?P???JU? ,?7??? ȝ ?F7|D%"?"Z??*a??s??>?*~?Y?`?l;
|
|
???|LDd,n??ޕ냙8?nt??/?`R??~e X????c25?-?Y?C?I??@?f?? ?0??$??q?%?GH? ????4?l(????(?????#3???~@""??A#?H'P}rp1????ֱ??e Q???l?9&?sM??
|
|
???`2?7E??ߨ$?D?$?r????֥V?-?6?AE??xp&??)H?)T????<? ?z?&0}\%??^??BH??E?Ҵ:
|
|
?N?JE3?ml΄??S?kY?n?Q?6?4*1?$H?????b"???xR|?p\?&'???Z?APw?ip?)??"D?i?mF?6?j?i??ؑ???D??Ý??QPu?h1???c??JaƋ?oa??M?1?^?9j?a)?O3?4*
|
|
??Ú?1?0^?dTl25conD???!&Z܇?E??" ?????9D???
|
|
??6R?E.J???^??&#M???s??yǸ??=??8?'???v?C???GSt?`?? ?ǥjw͊??s$?evsSS??AE???a?Al?~???[V?? K?Hs?ri77+:?(???br?BL[? 4E?????b?r??D??+O j=?j??O?G?]?U?ޭѹ"e?߾UA?<W?ܷ????+sn
|
|
?-
|
|
V?S?<??=??(?(??v?S?F?PJm???
|
|
??vqZ]?W???\U?V?kI7f$??!}?Cy95?܌??V(?#?Cԉ!?Z?n?crQ??Q?kvcf4'??G?V???h?BmRs7??ذ?QH???=???aݝ?%?u?28?^|?????;??G>d1?I??Q???*?}0???<?THB7<?/&? Ϥf'Tĝ??{?>?8R?L???>????u2Nw???ͫ+ٵ?jt?,T/?17
|
|
(?97c?M?n*u??R[J?x???.1ɔ? g?rg+D?<=??????YQQ??bWy??? ??P???a*?)?`J?Y?????f.??}?]{?<?hqe?{??x?KUܚh0n????2ۊ?)???dTJ???L??hQ?c7???#h?:w???5o??D????M??=???W????|???`?u??M?4qn????l?gBR[Q?L???n?|??l???q?+?1?3??-w???䙝S_??DD???b¾=?!=ܐgi?f-?E?Jz?w??ⵖ??R?ۿؿ?x?????T?=?\{PM??jݎ?u??????Up៚v???????{Y^?g??ߧd~&?????W{??g}4?|??eN?????ݭ?|?['?^>O?=Y!?~?@xw?O.???ψS=.???????/??
|
|
?h]?Ge?G<T??>P?kx????X?%?I^[?????g?c>E??<W?u>O??
|
|
x????A??'<_?? ?R???)?/?Ox????IF?????K?@?+?????g\?N??????\/?>?H???X????p_?? ?/ ?Q?_?P_?6P?_?po"????' xSO?f?!? ?o.?.??q???/????R?[
|
|
x????-.?E?F????^*??~R??
|
|
x???pI??x??w?[?Q?53????N?p??????^?;???wp?*???M?
|
|
?]???C?C?(?<X??????
|
|
x/O?O???!?}|????\?y???? x?_)??<_???->@???m?/??x??????? ? ?|??W??%?C\?&?Zp???????O??<R??<J???$??#?.?F??P???>B??|???
|
|
x??' ?(Op??(?S<I?s|????d??_)?f??T?"?i^$?c|???x????>N???=?|??W??%???f??(?Z?p??Op?,?z?p??p??@?@?
|
|
???|???
|
|
?E?
|
|
?Tp???
|
|
?4O?O???!?3|???
|
|
x??$??|??? ???R?g x????->G??|????y^*?????/?2_(???"???????\3ێ.?Z?p??/p_"?z_*?~?L??|??
|
|
?
|
|
7?J7
|
|
?*?|????p_#??V???KOp1ϐ!??>E??x??o?y?Q???+_)??<_???-?E??|????/?m~R???1??h???E#?1??\]:S???=?zU?
|
|
p???M???
|
|
?
|
|
i??meU???UH{ ]J?b?1c+"zҘ???=iL??4?\l?DOFS-???!?lے?NFS+?p?G ?)[(ёHc*?f zҘB???iL???D?DS&6ѝ??T?MCt;?1Eb???t?u$??M??K????I~??#??O??H?#??????$?ўH?E?}; |