New upstream version 1.0.5
This commit is contained in:
89
packaging/win32/Makefile.am
Normal file
89
packaging/win32/Makefile.am
Normal file
@@ -0,0 +1,89 @@
|
||||
SUBDIRS = xming nx cygnx pulse
|
||||
|
||||
FNT1DIR = dejavu-fonts-ttf-2.32
|
||||
FNT1BALL = $(FNT1DIR).tar.bz2
|
||||
FNT1URL = https://unixforum.org/up/nxman/opennx/$(FNT1BALL)
|
||||
FNT2DIR = font-misc-misc-1.1.0
|
||||
FNT2BALL = $(FNT2DIR).tar.bz2
|
||||
FNT2URL = https://unixforum.org/up/nxman/opennx/$(FNT2BALL)
|
||||
|
||||
.setupdir: $(FNT1DIR) .miscfonts
|
||||
$(RM) -rf setupdir
|
||||
$(MAKE) -C $(top_builddir) DESTDIR=$(abs_builddir)/setupdir \
|
||||
transform= prefix=/ bindir=/bin datadir=/share install
|
||||
test $(BUILDXMING) = no || $(MAKE) -C xming tmpinstall
|
||||
test $(BUILDXMING) = no || $(INSTALL_PROGRAM) xming/dist/usr/X11R6/bin/*.exe setupdir/bin
|
||||
test $(BUILDXMING) = no || $(INSTALL_PROGRAM) xming/dist/usr/X11R6/bin/*.dll setupdir/bin
|
||||
test $(BUILDXMING) = no || $(INSTALL) -d setupdir/share/Xming
|
||||
test $(BUILDXMING) = no || $(INSTALL_DATA) xming/dist/usr/X11R6/lib/X11/XErrorDB setupdir/share/Xming
|
||||
test $(BUILDXMING) = no || $(INSTALL_DATA) xming/dist/usr/X11R6/lib/X11/XKeysymDB setupdir/share/Xming
|
||||
test $(BUILDXMING) = no || $(INSTALL_DATA) xming/dist/usr/X11R6/lib/X11/xserver/SecurityPolicy setupdir/share/Xming
|
||||
test $(BUILDXMING) = no || cp -r xming/dist/usr/X11R6/lib/X11/locale setupdir/share/Xming/locale
|
||||
test $(BUILDXMING) = no || $(INSTALL_DATA) xming/xc/programs/rgb/rgb.txt setupdir/share/Xming
|
||||
test $(BUILDXMING) = no || $(INSTALL) -d setupdir/share/Xming/fonts/TTF
|
||||
test $(BUILDXMING) = no || $(INSTALL_DATA) $(FNT1DIR)/ttf/* setupdir/share/Xming/fonts/TTF
|
||||
test $(BUILDXMING) = no || $(MAKE) -C $(FNT2DIR) DESTDIR=$(abs_builddir)/setupdir install
|
||||
$(MAKE) -C $(NXBUILD) tmpinstall
|
||||
$(INSTALL_PROGRAM) $(NXBUILD)/dist/bin/*.exe setupdir/bin
|
||||
$(INSTALL_PROGRAM) $(NXBUILD)/dist/bin/*.dll setupdir/bin
|
||||
$(INSTALL_PROGRAM) $(NXBUILD)/dist/lib/*.dll setupdir/bin
|
||||
test $(BUILDXMING) = yes || cp -r $(NXBUILD)/dist/share/* setupdir/share
|
||||
$(MAKE) -C pulse tmpdist
|
||||
$(INSTALL_PROGRAM) pulse/dist/bin/*.exe setupdir/bin
|
||||
$(INSTALL_PROGRAM) pulse/dist/bin/*.dll setupdir/bin
|
||||
$(INSTALL_PROGRAM) pulse/dist/bin/*.bat setupdir/bin
|
||||
cp -av pulse/dist/etc setupdir
|
||||
cp -av pulse/dist/lib setupdir
|
||||
cp -av pulse/dist/share setupdir
|
||||
for lang in $(shell cat $(top_srcdir)/po/LINGUAS) ; do \
|
||||
$(INSTALL_DATA) $(localedir)/$$lang/LC_MESSAGES/wxstd.mo \
|
||||
setupdir/share/locale/$$lang/LC_MESSAGES/ ; \
|
||||
done
|
||||
$(INSTALL_DATA) $(top_srcdir)/extres/nx.ico setupdir/bin/
|
||||
touch $@
|
||||
|
||||
.dlldeps: .setupdir findrequires.pl
|
||||
env DEPDEBUG=1 perl findrequires.pl "$(DLLPATH)" setupdir/bin/*.{exe,dll} 2>$@ > .tmplist
|
||||
if [ "$$(stat -c %s .tmplist)" -gt 0 ] ; then xargs -a .tmplist cp -t setupdir/bin; fi
|
||||
rm .tmplist
|
||||
touch $@
|
||||
|
||||
.stripsetup: .setupdir
|
||||
$(RM) -rf setupdir/share/icons setupdir/share/applnk
|
||||
$(STRIP) --strip-unneeded setupdir/bin/*.exe `ls setupdir/bin/*.dll|grep -v cyg`
|
||||
touch $@
|
||||
|
||||
nativesetup: .setupdir .dlldeps .stripsetup
|
||||
"$(ISCC)" "$(srcdir)/opennx.iss" -dBUILDXMING=$(BUILDXMING)
|
||||
|
||||
crosssetup: .setupdir .dlldeps .stripsetup isccwrap.sh
|
||||
for edfn in $(EXTRA_DIST) ; do \
|
||||
$(INSTALL_DATA) $(abs_srcdir)/$$edfn ./ ; \
|
||||
done
|
||||
"$(ISCC)" "opennx.iss" -dBUILDXMING=$(BUILDXMING)
|
||||
|
||||
setup: $(SETUP)
|
||||
|
||||
$(FNT1BALL):
|
||||
@echo downloading tarball $(FNT1BALL)
|
||||
@$(WGET) "$(FNT1URL)"
|
||||
|
||||
$(FNT1DIR): $(FNT1BALL)
|
||||
@tar xjf $<
|
||||
|
||||
$(FNT2BALL):
|
||||
@echo downloading tarball $(FNT2BALL)
|
||||
@$(WGET) "$(FNT2URL)"
|
||||
|
||||
$(FNT2DIR): $(FNT2BALL)
|
||||
@tar xjf $<
|
||||
|
||||
.miscfonts: $(FNT2DIR)
|
||||
@(cd $(FNT2DIR) && ./configure \
|
||||
--with-fontrootdir=/share/Xming/fonts \
|
||||
--with-compression=gzip )
|
||||
touch $@
|
||||
|
||||
EXTRA_DIST = opennx.iss version.iss lgpl.rtf
|
||||
MAINTAINERCLEANFILES = Makefile.in $(FNT1BALL) $(FNT2BALL)
|
||||
CLEANFILES = -r .setupdir .dlldeps .stripsetup setupdir $(FNT1DIR) $(FNT2DIR)
|
||||
36
packaging/win32/cygnx/Makefile.am
Normal file
36
packaging/win32/cygnx/Makefile.am
Normal file
@@ -0,0 +1,36 @@
|
||||
IURAR = innounp041.rar
|
||||
INXCSN = NXClientCE-3.5.0-9-r15.6.exe
|
||||
|
||||
tmpinstall: '{app}'
|
||||
mkdir -p dist/bin dist/lib dist/share
|
||||
cp '{app}'/bin/*.dll dist/lib
|
||||
cp '{app}'/bin/*.dll dist/bin
|
||||
for f in $(CYGBINS) ; do \
|
||||
cp '{app}'/bin/$$f.exe dist/bin ; \
|
||||
done
|
||||
for f in fonts keyboards rgb ; do \
|
||||
test $(BUILDXMING) = yes || cp -r '{app}'/share/$$f dist/share ; \
|
||||
done
|
||||
|
||||
'{app}': innounp.exe nxsetup.exe
|
||||
$(WINE) innounp.exe -x -q -y nxsetup.exe
|
||||
|
||||
$(IURAR):
|
||||
$(WGET) -O $@ 'https://unixforum.org/up/nxman/opennx/$(IURAR)'
|
||||
|
||||
innounp.exe: unrar.available $(IURAR)
|
||||
$(UNRAR) e -o+ -idcd $(IURAR) $@
|
||||
|
||||
unrar.available:
|
||||
@if test -z "$(UNRAR)" ; then \
|
||||
echo "No unrar available! Please unpack innounp rar archive manually." ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
touch $@
|
||||
|
||||
nxsetup.exe:
|
||||
$(WGET) -O $@ -q 'http://unixforum.org/up/nxman/$(INXCSN)'
|
||||
|
||||
CLEANFILES = -r dist '{app}' install_script.iss unrar.available
|
||||
DISTCLEANFILES = $(IURAR) innounp.exe nxsetup.exe
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
35
packaging/win32/cygnx/README
Normal file
35
packaging/win32/cygnx/README
Normal file
@@ -0,0 +1,35 @@
|
||||
In order to build an OpenNX installer package which
|
||||
uses the original nxssh.exe and nxesd.exe,
|
||||
you can do the following:
|
||||
|
||||
1. Install the Innosetup Quickstart Package from
|
||||
http://www.jrsoftware.org/isdl.php (On Linux, do this inside wine).
|
||||
2. Fetch NoMachine's nxclient windows installer into this directory
|
||||
3. Fetch innounp from http://sourceforge.net/projects/innounp/files/
|
||||
and put the innounp.exe into this directory.
|
||||
4. Run innounp.exe -x nxclient-x.y.z.exe (On Linux, use wine, e.g.:
|
||||
wine innounp.exe -x nxclient-x.y.z.exe)
|
||||
|
||||
After that, you should see a directory named '{app}' which contains
|
||||
the package contents.
|
||||
|
||||
5. Go to the toplevel and configure OpenNX using the option
|
||||
--with-orignx
|
||||
|
||||
Here is the config cmd which I use on my Fedora:
|
||||
|
||||
mingw32-configure \
|
||||
--enable-staticwx \
|
||||
--with-orignx \
|
||||
--with-dllpath=/usr/i686-pc-mingw32/sys-root/mingw/bin \
|
||||
--with-wx-config=/usr/i686-pc-mingw32/sys-root/mingw/bin/wx-config \
|
||||
--with-wine-iscc="$HOME/.wine/drive_c/Program\ Files/Inno\ Setup\ 5/ISCC.exe"
|
||||
|
||||
mingw32-configure is a wrapper from Fedora's mingw32 environment. Please also
|
||||
note the double-quoting of the iscc path.
|
||||
|
||||
6. Run make dist-platform
|
||||
|
||||
When running ISCC in wine during the last build step, sometimes ISCC aborts with a
|
||||
false "out of memory" error. If that happens, simply run make dist-platform again,
|
||||
it should go very quickly, because everything is already built ...
|
||||
114
packaging/win32/findrequires.pl.in
Normal file
114
packaging/win32/findrequires.pl.in
Normal file
@@ -0,0 +1,114 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use strict;
|
||||
use File::Basename;
|
||||
|
||||
my $DEBUG = $ENV{'DEPDEBUG'};
|
||||
|
||||
my @sysdlls = (
|
||||
'acledit', 'aclui', 'activeds', 'actxprxy', 'advapi32', 'advpack', 'amstream',
|
||||
'atl', 'authz', 'avicap32', 'avifil32', 'browseui', 'cabinet', 'capi2032', 'cards',
|
||||
'cfgmgr32', 'clusapi', 'comcat', 'comctl32', 'comdlg32', 'compstui', 'credui',
|
||||
'crtdll', 'crypt32', 'cryptdlg', 'cryptdll', 'cryptnet', 'cryptui', 'ctapi32',
|
||||
'ctl3d32', 'd3d10', 'd3d10core', 'd3d8', 'd3d9', 'd3dim', 'd3drm', 'd3dx8', 'd3dx9_24',
|
||||
'd3dx9_25', 'd3dx9_26', 'd3dx9_27', 'd3dx9_28', 'd3dx9_29', 'd3dx9_30', 'd3dx9_31',
|
||||
'd3dx9_32', 'd3dx9_33', 'd3dx9_34', 'd3dx9_35', 'd3dx9_36', 'd3dx9_37', 'd3dx9_38',
|
||||
'd3dx9_39', 'd3dx9_40', 'd3dxof', 'dbghelp', 'dciman32', 'ddraw', 'ddrawex', 'devenum',
|
||||
'dinput', 'dinput8', 'dmband', 'dmcompos', 'dmime', 'dmloader', 'dmscript', 'dmstyle',
|
||||
'dmsynth', 'dmusic', 'dmusic32', 'dnsapi', 'dplay', 'dplayx', 'dpnaddr', 'dpnet', 'dpnhpast',
|
||||
'dpnlobby', 'dpwsockx', 'dsound', 'dssenh', 'dswave', 'dwmapi', 'dxdiagn', 'dxgi',
|
||||
'faultrep', 'fusion', 'gdi32', 'gdiplus', 'glu32', 'gpkcsp', 'hal', 'hid', 'hlink',
|
||||
'hnetcfg', 'httpapi', 'iccvid', 'icmp', 'imagehlp', 'imm32', 'inetcomm', 'inetmib1',
|
||||
'infosoft', 'initpki', 'inkobj', 'inseng', 'iphlpapi', 'itircl', 'itss', 'jscript',
|
||||
'kernel32', 'loadperf', 'localspl', 'localui', 'lz32', 'mapi32', 'mciavi32', 'mcicda',
|
||||
'mciqtz32', 'mciseq', 'mciwave', 'midimap', 'mlang', 'mpr', 'mprapi', 'msacm32',
|
||||
'mscat32', 'mscms', 'mscoree', 'msctf', 'msdmo', 'msftedit', 'mshtml', 'msi', 'msimg32',
|
||||
'msimtf', 'msisip', 'msnet32', 'msrle32', 'mssign32', 'mssip32', 'mstask', 'msvcirt',
|
||||
'msvcr71', 'msvcrt', 'msvcrt20', 'msvcrt40', 'msvcrtd', 'msvfw32', 'msvidc32', 'mswsock',
|
||||
'msxml3', 'nddeapi', 'netapi32', 'newdev', 'ntdll', 'ntdsapi', 'ntprint', 'objsel',
|
||||
'odbc32', 'odbccp32', 'ole32', 'oleacc', 'oleaut32', 'olecli32', 'oledlg', 'olepro32',
|
||||
'olesvr32', 'olethk32', 'opengl32', 'pdh', 'pidgen', 'powrprof', 'printui', 'propsys',
|
||||
'psapi', 'pstorec', 'qcap', 'qedit', 'qmgr', 'qmgrprxy', 'quartz', 'query', 'rasapi32',
|
||||
'rasdlg', 'resutils', 'riched20', 'riched32', 'rpcrt4', 'rsabase', 'rsaenh', 'sccbase',
|
||||
'schannel', 'secur32', 'security', 'sensapi', 'serialui', 'setupapi', 'sfc', 'sfc_os',
|
||||
'shdoclc', 'shdocvw', 'shell32', 'shfolder', 'shlwapi', 'slbcsp', 'slc', 'snmpapi',
|
||||
'softpub', 'spoolss', 'sti', 'svrapi', 'sxs', 'tapi32', 'traffic', 'twain_32', 'unicows',
|
||||
'updspapi', 'url', 'urlmon', 'user32', 'userenv', 'usp10', 'uxtheme', 'vdmdbg', 'version',
|
||||
'w32skrnl', 'wined3d', 'winedos', 'wing32', 'winhttp', 'wininet', 'winmm', 'winnls32',
|
||||
'winscard', 'winspool', 'wintab32', 'wintrust', 'wldap32', 'wmi', 'wnaspi32', 'wow32', 'ws2_32',
|
||||
'wsock32', 'wtsapi32', 'wuapi', 'xinput1_1', 'xinput1_2', 'xinput1_3', 'xinput9_1_0',
|
||||
);
|
||||
|
||||
die "Usage: findrequires <syspath> binary1 binary2 ...\n" unless ($#ARGV > 0);
|
||||
my $dllpath = shift(@ARGV);
|
||||
my %required;
|
||||
my %examined;
|
||||
my $dstdir;
|
||||
|
||||
sub dbg {
|
||||
print STDERR @_ if ($DEBUG);
|
||||
}
|
||||
|
||||
sub ncf($$) {
|
||||
my $dir = shift;
|
||||
my $file = shift;
|
||||
my @a = grep { lc("$dir/$file") eq lc($_) } glob("$dir/*");
|
||||
return (scalar(@a)) ? $a[0] : undef;
|
||||
}
|
||||
|
||||
sub finddeps($$);
|
||||
|
||||
sub finddeps($$) {
|
||||
my $target = shift;
|
||||
my $lvl = shift;
|
||||
my %lreq;
|
||||
my $indent = sprintf("%*s", $lvl, "");
|
||||
return if ($examined{$target});
|
||||
$examined{$target} = 1;
|
||||
dbg $indent, "Examining ", $target, "\n";
|
||||
foreach (sort keys %required) {
|
||||
return if ($required{$_} eq $target);
|
||||
}
|
||||
if ($lvl) {
|
||||
$required{basename($target)} = $target;
|
||||
} else {
|
||||
$dstdir = dirname($target) if (!$lvl);
|
||||
}
|
||||
$lvl++;
|
||||
open (P, "@OBJDUMP@ -p $target|sort -u|") || die "Can't run @OBJDUMP@ -p $target: $!\n";
|
||||
while (<P>) {
|
||||
chomp;
|
||||
if (/^\s*DLL\s+Name:\s+(\S+)/) {
|
||||
my $dll = $1;
|
||||
my $cdll = lc($dll);
|
||||
$cdll =~ s/\.dll$//;
|
||||
$cdll =~ s/\.drv$//;
|
||||
next if grep { $cdll eq $_ } @sysdlls;
|
||||
dbg $indent, " Depends on ", $dll, "\n";
|
||||
next if (ncf($dstdir, $dll));
|
||||
my $absdll = '';
|
||||
foreach my $dir (split(/:/, $dllpath)) {
|
||||
if (ncf($dir, $dll)) {
|
||||
$absdll = ncf($dir, $dll);
|
||||
last;
|
||||
}
|
||||
}
|
||||
if ($absdll ne '') {
|
||||
dbg $indent, " $dll found in dllpath\n";
|
||||
$lreq{$cdll} = $absdll;
|
||||
} else {
|
||||
die "Can't find required DLL $dll\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach (sort keys %lreq) {
|
||||
finddeps($lreq{$_}, $lvl);
|
||||
}
|
||||
}
|
||||
|
||||
foreach my $p (@ARGV) {
|
||||
finddeps($p, 0);
|
||||
}
|
||||
foreach (sort keys %required) {
|
||||
print $required{$_}, "\n";
|
||||
}
|
||||
34
packaging/win32/isccwrap.sh.in
Normal file
34
packaging/win32/isccwrap.sh.in
Normal file
@@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ISCC currently crashes with a fake "Out of memory" when running
|
||||
# under wine. This wrapper loops up to MAX times until ISCC finished
|
||||
# successfully.
|
||||
|
||||
CNT=0
|
||||
MAX=5
|
||||
|
||||
EOUT=isccerr.$$
|
||||
WINE_VERSION=`wine --version|sed -e 's/wine-//'|tr . 0`
|
||||
BADWINE=
|
||||
if [ $WINE_VERSION -lt 103021 ] ; then
|
||||
BADWINE=-dBADWINE=1
|
||||
fi
|
||||
while test $CNT -lt $MAX ; do
|
||||
@WINE@ "@ISCC@" "$@" $BADWINE 2>$EOUT
|
||||
R=$?
|
||||
case $R in
|
||||
0)
|
||||
rm -f $EOUT
|
||||
exit 0;
|
||||
;;
|
||||
*)
|
||||
cat $EOUT
|
||||
OMM=`grep "Out of memory" $EOUT`
|
||||
rm -f $EOUT
|
||||
test -z "$OMM" && exit $R
|
||||
echo "ISCC got out of memory, retrying ..."
|
||||
sleep 2
|
||||
CNT=`expr $CNT + 1`
|
||||
;;
|
||||
esac
|
||||
done
|
||||
694
packaging/win32/lgpl.rtf
Normal file
694
packaging/win32/lgpl.rtf
Normal file
@@ -0,0 +1,694 @@
|
||||
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch0\stshfloch31506\stshfhich31506\stshfbi31506\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}
|
||||
{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\f120\fbidi \fmodern\fcharset0\fprq1{\*\panose 020b0609020204030204}Consolas;}
|
||||
{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fhimajor\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f204\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\f205\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f207\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f208\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f209\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\f210\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f211\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f212\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f224\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}
|
||||
{\f225\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;}{\f227\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f228\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f229\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}
|
||||
{\f230\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);}{\f231\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f232\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f544\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}
|
||||
{\f545\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}{\f547\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f548\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f551\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}
|
||||
{\f1404\fbidi \fmodern\fcharset238\fprq1 Consolas CE;}{\f1405\fbidi \fmodern\fcharset204\fprq1 Consolas Cyr;}{\f1407\fbidi \fmodern\fcharset161\fprq1 Consolas Greek;}{\f1408\fbidi \fmodern\fcharset162\fprq1 Consolas Tur;}
|
||||
{\f1411\fbidi \fmodern\fcharset186\fprq1 Consolas Baltic;}{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
|
||||
{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}
|
||||
{\fhimajor\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\fhimajor\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\fhimajor\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}
|
||||
{\fhimajor\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
|
||||
{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}
|
||||
{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}
|
||||
{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
|
||||
\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;
|
||||
\red192\green192\blue192;}{\*\defchp \f31506\fs22 }{\*\defpap \ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 \styrsid11169331 Normal;}{\*\cs10
|
||||
\additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\*
|
||||
\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblind0\tblindtype3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31506\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext11 \ssemihidden \sunhideused \sqformat Normal Table;}{
|
||||
\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs21\alang1025 \ltrch\fcs0 \f120\fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033
|
||||
\sbasedon0 \snext15 \slink16 \sunhideused \styrsid14574888 Plain Text;}{\*\cs16 \additive \rtlch\fcs1 \af0\afs21 \ltrch\fcs0 \f120\fs21 \sbasedon10 \slink15 \slocked \styrsid14574888 Plain Text Char;}}{\*\listtable{\list\listtemplateid1802505568
|
||||
\listhybrid{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698711\'02\'00);}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1215\lin1215 }
|
||||
{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1935\lin1935 }
|
||||
{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2655\lin2655 }
|
||||
{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3375\lin3375 }
|
||||
{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li4095\lin4095 }
|
||||
{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4815\lin4815 }
|
||||
{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5535\lin5535 }
|
||||
{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li6255\lin6255 }
|
||||
{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6975\lin6975 }
|
||||
{\listname ;}\listid766193034}{\list\listtemplateid1729506158\listhybrid{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698711\'02\'00);}{\levelnumbers\'01;}\rtlch\fcs1
|
||||
\af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0
|
||||
\ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0
|
||||
\ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0
|
||||
\ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0
|
||||
\ltrch\fcs0 \hres0\chhres0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0
|
||||
\ltrch\fcs0 \hres0\chhres0 \fi-180\li4320\lin4320 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0
|
||||
\ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0
|
||||
\ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0
|
||||
\ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid1069308851}{\list\listtemplateid1744077890\listhybrid{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid158756332\'02\'00);}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0\hres0\chhres0 \fi-375\li870\lin870 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1575\lin1575 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2295\lin2295 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3015\lin3015 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3735\lin3735 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4455\lin4455 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5175\lin5175 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5895\lin5895 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6615\lin6615 }{\listname ;}\listid1308512470}{\list\listtemplateid-1183179082\listhybrid{\listlevel\levelnfc4\levelnfcn4\leveljc0
|
||||
\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698711\'02\'00);}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li4320\lin4320 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \hres0\chhres0 \fi-180\li6480\lin6480 }{\listname ;}\listid1699813396}}{\*\listoverridetable
|
||||
{\listoverride\listid766193034\listoverridecount0\ls1}{\listoverride\listid1308512470\listoverridecount0\ls2}{\listoverride\listid1069308851\listoverridecount0\ls3}{\listoverride\listid1699813396\listoverridecount0\ls4}}{\*\rsidtbl \rsid87008\rsid459789
|
||||
\rsid998576\rsid1317677\rsid1511762\rsid2100909\rsid3022774\rsid3806151\rsid3948222\rsid4541767\rsid4595952\rsid4806937\rsid5644847\rsid5833046\rsid6114713\rsid6565299\rsid8073659\rsid8456879\rsid8717939\rsid9192088\rsid10708702\rsid10880936\rsid11029523
|
||||
\rsid11169331\rsid11222218\rsid11222345\rsid11683018\rsid11747619\rsid13125735\rsid13435413\rsid14574888\rsid14969541\rsid15205174\rsid15279495\rsid15929603\rsid16656294}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0
|
||||
\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\author David Hoyt}{\operator David Hoyt}{\creatim\yr2009\mo7\dy10\hr18\min38}{\revtim\yr2009\mo12\dy2\hr21\min1}{\version33}{\edmins23}{\nofpages10}{\nofwords3902}{\nofchars22244}{\*\company LLNL}
|
||||
{\nofcharsws26094}{\vern32771}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}\paperw12240\paperh15840\margl1501\margr1502\margt1440\margb1440\gutter0\ltrsect
|
||||
\widowctrl\ftnbj\aenddoc\trackmoves1\trackformatting1\donotembedsysfont1\relyonvml0\donotembedlingdata0\grfdocevents0\validatexml1\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors1\noxlattoyen
|
||||
\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\formshade\horzdoc\dgmargin\dghspace180\dgvspace180\dghorigin1501\dgvorigin1440\dghshow1\dgvshow1
|
||||
\jexpand\viewkind1\viewscale100\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct
|
||||
\asianbrkrule\rsidroot6565299\newtblstyruls\nogrowautofit\usenormstyforlist\noindnmbrts\felnbrelev\nocxsptable\indrlsweleven\noafcnsttbl\afelev\utinl\hwelev\spltpgpar\notcvasp\notbrkcnstfrctbl\notvatxbx\krnprsnet\cachedcolbal \nouicompat \fet0
|
||||
{\*\wgrffmtfilter 2450}\nofeaturethrottle1\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\endnhere\sectlinegrid360\sectdefaultcl\sectrsid14574888\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2
|
||||
\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6
|
||||
\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang
|
||||
{\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\s15\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid15929603 \rtlch\fcs1 \af31507\afs21\alang1025 \ltrch\fcs0
|
||||
\f120\fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \b\f2\fs20\insrsid13125735\charrsid459789 GNU LESSER GENERAL PUBLIC LICENSE
|
||||
\par Version 2.1, February 1999
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par Copyright (C) 1991, 1999 Free Software Foundation, Inc.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3948222 51 Franklin Street, }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Fifth Floor, Boston, MA 02110-1301 USA}
|
||||
{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid2100909\charrsid459789
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Everyone is permitted to copy and distribute verbatim copies}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3948222 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 of this license document, but changing it is not allowed.
|
||||
\par
|
||||
\par [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.]
|
||||
\par
|
||||
\par }\pard \ltrpar\s15\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid15929603 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \b\f2\fs20\insrsid13125735\charrsid459789 Preamble
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par The licenses for most software are designed to take away your}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3948222 freedom to }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 share and change it. By contrast, the GNU General Public}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Licenses are intended to guarantee your freedom to share and change}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
free software--to make sure the software is free for all its users.
|
||||
\par
|
||||
\par This license, the Lesser General Public License, applies to some}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
specially designated software packages--typically libraries--of the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Free Software Foundation a
|
||||
nd other authors who decide to use it. You}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
can use it too, but we suggest you first think carefully about whether}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
this license or the ordinary General Public License is the better}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
\par
|
||||
\par When we speak of free software, we are referring to freedom of use,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
not price. Our General Public Licenses are designed to make sure that}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
you have the freedom to distribute copies of free software (and charge}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
for this service if you wish); that you receive source code or can get}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
it if you want it; that you can change the software and use pieces of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
it in new free programs; and that you are informed that you can do}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 these things.
|
||||
\par
|
||||
\par To protect your rights, we need to make restrictions that forbid}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 distributor
|
||||
s to deny you these rights or to ask you to surrender these}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
rights. These restrictions translate to certain responsibilities for}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
\par
|
||||
\par For example, if you distribute copies of the library, whether gratis}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 or }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
for a fee, you must give the recipients all the rights that we gave}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 you. }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
You must make sure that they, too, receive or can get the source}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 code. }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
If you link other code with the library, you must provide}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 complete object files to the recipient
|
||||
s, so that they can relink them}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 with the library after making changes to the library and recompiling}
|
||||
{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 it. And you must show them these terms so they know their rights.
|
||||
\par
|
||||
\par We protect your rights with a two-step method: (1) we copyright the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 library, and (2)
|
||||
we offer you this license, which gives you legal}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
permission to copy, distribute and/or modify the library.
|
||||
\par
|
||||
\par To protect each distributor, we want to make it very clear that}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
there is no warranty for the free library. Also, if the library is}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 modified by so
|
||||
meone else and passed on, the recipients should know}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
that what they have is not the original version, so that the original}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 author's }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
reputation will not be affected by problems that might be}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid16656294\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 introduced by others.
|
||||
\par
|
||||
\par Finally, software patents pose a constant threat to the existence of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
any free program. We wish to make sure that a company cannot}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
effectively restrict the users of a free program by obtaining a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
restrictive license from a patent holder. Therefore, we insist that}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 any pate
|
||||
nt license obtained for a version of the library must be}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
consistent with the full freedom of use specified in this license.
|
||||
\par
|
||||
\par Most GNU software, including some libraries, is covered by the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
ordinary GNU General Public License. This license, the GNU Lesser}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
General Public License, applies to certain designated libraries, and}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
is quite different from the ordinary General Public License. We use}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
this license for certain libraries in order to permit linking those}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 libraries into non-free programs.
|
||||
|
||||
\par
|
||||
\par When a program is linked with a library, whether statically or using}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
a shared library, the combination of the two is legally speaking a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
combined work, a derivative of the original library. The ordinary}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
General Public License therefore permits such linking only if the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
entire combination fits its criteria of freedom. The Lesser General}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Public License permits more lax criteria for linking other code with}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 the library.
|
||||
\par
|
||||
\par We call this license the "Lesser" General Public License because it}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 does Less to protect the user's f
|
||||
reedom than the ordinary General}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Public License. It also provides other free software developers Less}{
|
||||
\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 of an advantage over competing non-free programs. These disadvantages}{\rtlch\fcs1 \af2\afs20
|
||||
\ltrch\fcs0 \f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 are the reason we use the ordinary General Public License for many}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 libraries. However, the Lesser license provides advantages in certain}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid87008\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 special circumstances.
|
||||
\par
|
||||
\par For example, on rare occasions, there may be a special need to}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 encourage the widest possible use o}{
|
||||
\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8456879\charrsid459789 f a certain library, so that it }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 becomes}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 a de-facto standard. To achieve this, non-free programs must be}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 allowed to use the library. A more frequent case is that a free}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid8456879\charrsid459789 library }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 does the same job as widely used non-free libraries. In this}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 case, there is little to gain by limiting the free library to free}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 software only, so we use the Lesser General Public License.
|
||||
\par
|
||||
\par In other cases, permission to use a particular library in non-free}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
programs enables a greater number of people to use a large body of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8456879\charrsid459789 free }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
software. For example, permission to use the GNU C Library in}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 non-free program
|
||||
s enables many more people to use the whole GNU}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
operating system, as well as its variant, the GNU/Linux operating}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8456879\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 system.
|
||||
\par
|
||||
\par Although the Lesser General Public License is Less protective of the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4806937\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
users' freedom, it does ensure that the user of a program that is}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4806937\charrsid459789 linked }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
with the Library has the freedom and the wherewithal to run}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4806937\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
that program using a modified version of the Library.
|
||||
\par
|
||||
\par The precise terms and conditions for copying, distribution and}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4806937\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
modification follow. Pay close attention to the difference between a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4806937\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
"work based on the library" and a "work that uses the library". The}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4806937\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
former contains code derived from the library, whereas the latter must}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4806937\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
be combined with the library in order to run.
|
||||
\par }\pard \ltrpar\s15\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid15929603 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \b\f2\fs20\insrsid4806937\charrsid459789
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \b\f2\fs20\insrsid13125735\charrsid459789 GNU LESSER GENERAL PUBLIC LICENSE
|
||||
\par TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par 0. This License Agreement applies to any software library or other}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
program which contains a notice placed by the copyright holder or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 other }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 authorized part
|
||||
y saying it may be distributed under the terms of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 this }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Lesser General Public License (also called "this License").}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Each licensee is addressed as "you".
|
||||
|
||||
\par
|
||||
\par A "library" means a collection of software functions and/or data}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
prepared so as to be conveniently linked with application programs}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
(which use some of those functions and data) to form executables.
|
||||
\par
|
||||
\par The "Library", below, refers to any such software library or work}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
which has been distributed under these terms. A "work based on the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Library" means either
|
||||
the Library or any derivative work under}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
copyright law: that is to say, a work containing the Library or a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
portion of it, either verbatim or with modifications and/or translated}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
straightforwardly into another language. (Hereinafter, translation is}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 include
|
||||
d without limitation in the term "modification".)
|
||||
\par
|
||||
\par "Source code" for a work means the preferred form of the work for}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
making modifications to it. For a library, complete source code means}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
all the source code for all modules it contains, plus any associated}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
interface definition files, plus the scripts used to control compilation}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
and installation of the library.
|
||||
\par
|
||||
\par Activities other than copying, distribution and modification are not}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
covered by this License; they are outside its scope. The act of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 running }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 a
|
||||
program using the Library is not restricted, and output from}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
such a program is covered only if its contents constitute a work based}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
on the Library (independent of the use of the Library in a tool for}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
writing it). Whether that is true depends on what the Library does}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid6114713\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
and what the program that uses the Library does.
|
||||
\par
|
||||
\par 1. You may copy and distribute verbatim copies of the Library's}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4541767\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
complete source code as you receive it, in any medium, provided that}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4541767\charrsid459789 you }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
conspicuously and appropriately publish on each copy an}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4541767\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4541767\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
all the notices that refer to this License and to the absence of any}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4541767\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
warranty; and distribute a copy of this License along with the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4541767\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Library.
|
||||
\par
|
||||
\par You may charge a fee for the physical act of transferring a copy,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4541767\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
and you may at your option offer warranty protection in exchange for a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4541767\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 fee.
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 2. You may modify your copy or copies of the Library or any portion}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20
|
||||
\ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 of it, thus forming a work based on the Library, and copy and}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 distribute such modifications or work under the terms of Section 1}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 above, provided that you also meet all of these conditions:
|
||||
\par
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 a)\tab}}\pard \ltrpar
|
||||
\s15\ql \fi-360\li720\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls1\adjustright\rin0\lin720\itap0\pararsid5833046 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 The modified work must itself be a software library.}{
|
||||
\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 \line
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 b)\tab}}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 You mu
|
||||
st cause the files modified to carry prominent notices}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
stating that you changed the files and the date of any change.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 \line
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 c)\tab}}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
You must cause the whole of the work to be licensed at no}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
charge to all third parties under the terms of this License.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 \line
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 d)\tab}}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 If a facili
|
||||
ty in the modified Library refers to a function or a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
table of data to be supplied by an application program that uses}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
the facility, other than as an argument passed when the facility}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
is invoked, then you must make a good faith effort to ensure that,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
in the event an application does not supply such function or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
table, the facility still operates, and performs whatever part of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
its purpose remains meaningful.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 \line \line }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
(For example, a function in a library to compute square roots has}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 a purpos
|
||||
e that is entirely well-defined independent of the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
application. Therefore, Subsection 2d requires that any}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
application-supplied function or table used by this function must}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
be optional: if the application does not supply it, the square}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8717939\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 roo
|
||||
t function must still compute square roots.)
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par These requirements apply to the modified work as a whole. If}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
identifiable sections of that work are not derived from the Library,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 and }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
can be reasonably considered independent and separate works in}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 themselves,
|
||||
then this License, and its terms, do not apply to those}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
sections when you distribute them as separate works. But when you}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
distribute the same sections as part of a whole which is a work based}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 on }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
the Library, the distribution of the whole must be on the terms of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 this }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
License, whose permissions for other licensees extend to the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
entire whole, and thus to each and every part regardless of who wrote}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 it.
|
||||
\par
|
||||
\par Thus, it is not the intent of this section to claim rights or contest}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
your rights to work written entirely by you; rather, the intent is to}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
exercise the right to control the distribution of derivative or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
collective works based on the Library.
|
||||
\par
|
||||
\par In addition, mere aggregation of another work not based on the Library}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
with the Library (or with a work based on the Library) on a volume of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 a }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
storage or distribution medium does not bring the other work under}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10708702\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 the scope of this License.
|
||||
\par
|
||||
\par 3. You may opt to apply the terms of the ordinary GNU General Public}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222218\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 License
|
||||
instead of this License to a given copy of the Library. To do}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222218\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
this, you must alter all the notices that refer to this License, so}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222218\charrsid459789 that }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
they refer to the ordinary GNU General Public License, version 2,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222218\charrsid459789 instead }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
of to this License. (If a newer version than version 2 of the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222218\charrsid459789 ordinary }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
GNU General Public License has appeared, then you can specify}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222218\charrsid459789 that }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
version instead if you wish.) Do not make any other change in}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222218\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 these notices.}{\rtlch\fcs1
|
||||
\af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3948222\charrsid459789
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Once this change is made in a given copy, it is irreversible for}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1317677\charrsid459789 }{\rtlch\fcs1 \af2\afs20
|
||||
\ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 that copy, so the ordinary GNU General Public License applies to all}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1317677\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 subsequent copies and derivative works made from that copy.
|
||||
\par
|
||||
\par This option is useful when you wish to copy part of the code of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1317677\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
the Library into a program that is not a library.
|
||||
\par
|
||||
\par 4. You may copy and distribute the Library (or a portion or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1317677\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
derivative of it, under Section 2) in object code or executable form}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1317677\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
under the terms of Sections 1 and 2 above provided that you accompany}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1317677\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
it with the complete corresponding machine-readable source code, which}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1317677\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 must be d
|
||||
istributed under the terms of Sections 1 and 2 above on a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1317677\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
medium customarily used for software interchange.
|
||||
\par
|
||||
\par If distribution of object code is made by offering access to copy}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11683018\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
from a designated place, then offering equivalent access to copy the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11683018\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
source code from the same place satisfies the requirement to}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11683018\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
distribute the source code, even though third parties are not}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11683018\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
compelled to copy the source along with the object code.
|
||||
\par
|
||||
\par 5. A program that contains no derivative of any portion of the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11683018\charrsid459789 Library, }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 b
|
||||
ut is designed to work with the Library by being compiled or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11683018\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
linked with it, is called a "work that uses the Library". Such a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11683018\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
work, in isolation, is not a derivative work of the Library, and}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11683018\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
therefore falls outside the scope of this License.
|
||||
\par
|
||||
\par However, linking a "work that uses the Library" with the Library}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11747619\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
creates an executable that is a derivative of the Library (because it}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11747619\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
contains portions of the Library), rather than a "work that uses the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11747619\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
library". The executable is therefore covered by this License.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11747619\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Section 6 states terms for distribution of such executables.
|
||||
\par
|
||||
\par When a "work that uses the Library" uses material from a header file}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid14969541\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
that is part of the Library, the object code for the work may be a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid14969541\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
derivative work of the Library even though the source code is not.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid14969541\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Whether this is true is especially significant if the work can be}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid14969541\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
linked without the Library, or if the work is itself a library. The}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid14969541\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
\par
|
||||
\par If such an object file uses only numerical parameters, data}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222345\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
structure layouts and accessors, and small macros and small inline}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222345\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
functions (ten lines or less in length), then the use of the object}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222345\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
file is unrestricted, regardless of whether it is legally a derivative}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222345\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
work. (Executables containing this object code plus portions of the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11222345\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Library will still fall under Section 6.)
|
||||
\par
|
||||
\par Otherwise, if the work is a derivative of the Library, you may}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5644847\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
distribute the object code for the work under the terms of Section 6.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5644847\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Any executables containing that work also fall under Section 6,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5644847\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
whether or not they are linked directly with the Library itself.
|
||||
\par \page
|
||||
\par 6. As an exception to the Sections above, you may also combine or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
link a "work that uses the Library" with the Library to produce a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 work }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
containing portions of the Library, and distribute that work}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
under terms of your choice, provided that the terms permit}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
modification of the work for the customer's own use and reverse}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
engineering for debugging such modifications.
|
||||
\par
|
||||
\par You must give prominent notice with each copy of the work that the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Library is used in it and that the Library and its use are covered by}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
this License. You must supply a copy of this License. If the work}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
during execution displays copyright notices, you must include the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
copyright notice for the Library among them, as well as a reference}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
directing the user to the copy of this License. Also, you must do one}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid11029523\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 of these things:
|
||||
\par
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 a)\tab}}\pard \ltrpar
|
||||
\s15\ql \fi-360\li720\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\adjustright\rin0\lin720\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
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}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }
|
||||
{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Sections 1 and 2 above); and, if the work is an executable linked}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 with the Library, with the complete machine-readable "work that}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 uses the Library", as object code and/or source code, so that the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 user can modify the Library and then relink to produce a modified}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 executable containing the modified Library. (It is understood}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 that the user who changes the contents of definitions files in the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 Library will not necessarily be able to recompile the application}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 to use the modified definitions.)}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 \line
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 b)\tab}}\pard \ltrpar
|
||||
\s15\ql \fi-360\li720\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\adjustright\rin0\lin720\itap0\pararsid5833046 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Use a suitable shared library mechanism for linking with the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Library. A suitable mechanism is one that (1) uses at run time a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
copy of the library already present on the user's computer system,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
rather than copying library functions into the executable, and (2)}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
will operate properly with a modified version of the library, if}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
the user installs one, as long as the modified version is}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 interface-compatible with the version that
|
||||
the work was made with.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 \line
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 c)\tab}}\pard \ltrpar
|
||||
\s15\ql \fi-360\li720\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\adjustright\rin0\lin720\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Accompany the work with a written offer, valid for at}{
|
||||
\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 least three years, to give the same user the materials}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 specified in Subsection 6a, above, for a charge no more}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{
|
||||
\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 than the cost of performing this distribution.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 \line
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 d)\tab}}\pard \ltrpar
|
||||
\s15\ql \fi-360\li720\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls3\adjustright\rin0\lin720\itap0\pararsid5833046 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 If distribut
|
||||
ion of the work is made by offering access to copy}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
from a designated place, offer equivalent access to copy the above}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
specified materials from the same place.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid5833046\charrsid459789 \line
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 e)\tab}}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Verify that the user has already received a copy of these materials or that you have already sent this user a copy.
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par For an executable, the required form of the "work that uses the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Library" must include any data and utility programs needed for}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
reproducing the executable from it. However, as a special exception,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 the }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
materials to be distributed need not include anything that is}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
normally distributed (in either source or binary form) with the major}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
components (compiler, kernel, and so on) of the operating system on}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
which the executable runs, unless that component itself accompanies}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 the executable.
|
||||
\par
|
||||
\par It may happen that this requirement contradicts the license}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
restrictions of other proprietary libraries that do not normally}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
accompany the operating system. Such a contradiction means you cannot}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 use both them and the Library
|
||||
together in an executable that you}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid1511762\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 distribute.
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3806151\charrsid459789
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 7. You may place library facilities that are a work based on the
|
||||
\par Library side-by-side in a single library together with other library}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3022774\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
facilities not covered by this License, and distribute such a combined}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3022774\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
library, provided that the separate distribution of the work based on}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3022774\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
the Library and of the other library facilities is otherwise}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3022774\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
permitted, and provided that you do these two things:
|
||||
\par
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 a)\tab}}\pard \ltrpar
|
||||
\s15\ql \fi-360\li720\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\ls4\adjustright\rin0\lin720\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Accompany the combined library with a copy of the same work}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3806151\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 bas
|
||||
ed on the Library, uncombined with any other library}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3806151\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
facilities. This must be distributed under the terms of the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3806151\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Sections above.}{\rtlch\fcs1
|
||||
\af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3806151\charrsid459789 \line
|
||||
\par {\listtext\pard\plain\ltrpar \s15 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 \hich\af2\dbch\af0\loch\f2 b)\tab}}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Give prominent notice with the combined library of the fact}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3806151\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
that part of it is a work based on the Library, and explaining}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid3806151\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par 8. You may not copy, modify, sublicense, link with, or distribute}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
the Library except as expressly provided under this License. Any}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
attempt otherwise to copy, modify, sublicense, link with, or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
distribute the Library is void, and will automatically terminate your}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
rights under this License. However, parties who have received copies,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
or rights, from you under this License will not have their licenses}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
terminated so long as such parties remain in full compliance.
|
||||
\par
|
||||
\par 9. You are not required to accept this License, since you have not}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
signed it. However, nothing else grants you permission to modify or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 distribute the Librar
|
||||
y or its derivative works. These actions are}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
prohibited by law if you do not accept this License. Therefore, by}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
modifying or distributing the Library (or any work based on the
|
||||
\par Library), you indicate your acceptance of this License to do so, and}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 all its t
|
||||
erms and conditions for copying, distributing or modifying}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid4595952\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 the Library or works based on it.
|
||||
\par
|
||||
\par 10. Each time you redistribute the Library (or any work based on the
|
||||
\par Library), the recipient automatically receives a license from the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15205174\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 original licensor to copy
|
||||
, distribute, link with or modify the Library}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15205174\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
subject to these terms and conditions. You may not impose any further}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15205174\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
\par You are not responsible for enforcing compliance by third parties with}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15205174\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 this License.
|
||||
\par \page
|
||||
\par 11. If, as a consequence of a court judgment or allegation of patent}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
infringement or for any other reason (not limited to patent issues),}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
conditions are imposed on you (whether by court order, agreement or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 otherwise) that contradict th
|
||||
e conditions of this License, they do not}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
excuse you from the conditions of this License. If you cannot}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
\par License and any other pertinent obligations, then as a consequence you}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 may not d
|
||||
istribute the Library at all. For example, if a patent}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
license would not permit royalty-free redistribution of the Library by}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
all those who receive copies directly or indirectly through you, then}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
the only way you could satisfy both it and this License would be to}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid10880936\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
refrain entirely from distribution of the Library.
|
||||
\par
|
||||
\par If any portion of this section is held invalid or unenforceable under any}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
particular circumstance, the balance of the section is intended to apply,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
\par
|
||||
\par It is not the purpose of this section to induce you to infringe any}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
patents or other property right claims or to contest validity of any}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
such claims; this section has the sole purpose of protecting the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 integrity of the free softwa
|
||||
re distribution system which is}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 implemented by public license practices. Many people have made}{
|
||||
\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 generous contributions to the wide range of software distributed}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 through that system in reliance on consistent application of that}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 system; it is up to the author/donor to decide if he or she is willing}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 to distribute software through any other system and a licensee cannot}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 impose that choice.
|
||||
\par
|
||||
\par This section is intended to make thoroughly clear what is believed to}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
be a consequence of the rest of this License.
|
||||
\par
|
||||
\par 12. If the distribution and/or use of the Library is restricted in}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
certain countries either by patents or by copyrighted interfaces, the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
original copyright holder who places the Library under this License may add}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
an explicit geographical distribution limitation excluding those countries,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
so that distribution is permitted only in or among countries not thus}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
excluded. In such case, this License incorporates the limitation as if}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
written in the body of this License.
|
||||
\par
|
||||
\par 13. The Free Software Foundation may publish revised and/or new}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
versions of the Lesser General Public License from time to time.
|
||||
\par Such new versions will be similar in spirit to the present version,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
but may differ in detail to address new problems or concerns.
|
||||
\par
|
||||
\par Each version is given a distinguishing version number. If the Library}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
specifies a version number of this License which applies to it and}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
"any later version", you have the option of following the terms and}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
conditions either of that version or of any later version published by}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
the Free Software Foundation. If the Library does not specify a}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
license version number, you may choose any version ever published by}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 the Free Software Foundation.
|
||||
|
||||
\par \page
|
||||
\par 14. If you wish to incorporate parts of the Library into other free}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
programs whose distribution conditions are incompatible with these,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
write to the author to ask for permission. For software which is}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
copyrighted by the Free Software Foundation, write to the Free}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Software Foundation; we sometimes make exceptions for this. Our}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
decision will be guided by the two goals of preserving the free status}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
of all derivatives of our free software and of promoting the sharing}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 and reuse of software generally.
|
||||
|
||||
\par
|
||||
\par }\pard \ltrpar\s15\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid15929603 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \b\f2\fs20\insrsid13125735\charrsid459789 NO WARRANTY
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid998576 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 KIND, EITHER EXPRESSE
|
||||
D OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 THE
|
||||
COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
\par
|
||||
\par 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid15279495\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 DAMAGES.
|
||||
\par
|
||||
\par }\pard \ltrpar\s15\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid15929603 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \b\f2\fs20\insrsid13125735\charrsid459789 END OF TERMS AND CONDITIONS
|
||||
\par }\pard \ltrpar\s15\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid13125735 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \b\f2\fs20\insrsid15279495\charrsid459789
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \b\f2\fs20\insrsid13125735\charrsid459789 How to Apply These Terms to Your New Libraries
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par If you develop a new library, and you want it to be of the greatest}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
possible use to the public, we recommend making it free software that}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
everyone can redistribute and change. You can do so by permitting}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
redistribution under these terms (or, alternative}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 ly, under the terms of }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 the}{\rtlch\fcs1 \af2\afs20
|
||||
\ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 ordinary General Public License).
|
||||
\par
|
||||
\par To apply these terms, attach the follow}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 ing notices to the library. It }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 is}{\rtlch\fcs1 \af2\afs20
|
||||
\ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 safest to attach them to the st}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789
|
||||
art of each source file to most }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 effectively}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 convey the exclusion of warranty; and each file should have at least the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0
|
||||
\f2\fs20\insrsid13125735\charrsid459789 "copyright" line and a pointer to where the full notice is found.
|
||||
\par
|
||||
\par }\pard \ltrpar\s15\ql \li360\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin360\itap0\pararsid8073659 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 <one line to give the library's n}{\rtlch\fcs1
|
||||
\af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 ame and a brief idea of what it }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 does.>
|
||||
\par Copyright (C) <year> <name of author>
|
||||
\par
|
||||
\par This library is free software; you can redistribute it and/or}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
modify it under the terms of the GNU Lesser General Public}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
License as published by the Free Software Foundation; either}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
\par
|
||||
\par This library is distributed in the hope that it will be useful,}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Lesser General Public License for more details.
|
||||
\par
|
||||
\par You should have received a copy of the GNU Lesser General Public}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789 Li
|
||||
cense along with this library; if not, write to the Free Software}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par Also add information on how to contact you by electronic and paper mail.
|
||||
\par
|
||||
\par You should also get your employer (if you work as a programmer) or your}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
necessary. Here is a sample; alter the names:
|
||||
\par
|
||||
\par }\pard \ltrpar\s15\ql \li360\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin360\itap0\pararsid8073659 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid8073659\charrsid459789 library '}{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
\par
|
||||
\par <signature of Ty Coon>, 1 April 1990
|
||||
\par Ty Coon, President of Vice
|
||||
\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14574888 {\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid13125735\charrsid459789
|
||||
\par That's all there is to it!
|
||||
\par
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af2\afs20 \ltrch\fcs0 \f2\fs20\insrsid14574888\charrsid459789
|
||||
\par }{\*\themedata 504b030414000600080000002100828abc13fa0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb6ac3301045f785fe83d0b6d8
|
||||
72ba28a5d8cea249777d2cd20f18e4b12d6a8f843409c9df77ecb850ba082d74231062ce997b55ae8fe3a00e1893f354e9555e6885647de3a8abf4fbee29bbd7
|
||||
2a3150038327acf409935ed7d757e5ee14302999a654e99e393c18936c8f23a4dc072479697d1c81e51a3b13c07e4087e6b628ee8cf5c4489cf1c4d075f92a0b
|
||||
44d7a07a83c82f308ac7b0a0f0fbf90c2480980b58abc733615aa2d210c2e02cb04430076a7ee833dfb6ce62e3ed7e14693e8317d8cd0433bf5c60f53fea2fe7
|
||||
065bd80facb647e9e25c7fc421fd2ddb526b2e9373fed4bb902e182e97b7b461e6bfad3f010000ffff0300504b030414000600080000002100a5d6a7e7c00000
|
||||
00360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4fc7060abb08
|
||||
84a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b63095120f88d94fbc
|
||||
52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462a1a82fe353
|
||||
bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f7468656d652f7468
|
||||
656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b4b0d592c9c
|
||||
070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b4757e8d3f7
|
||||
29e245eb2b260a0238fd010000ffff0300504b03041400060008000000210096b5ade296060000501b0000160000007468656d652f7468656d652f7468656d65
|
||||
312e786d6cec594f6fdb3614bf0fd87720746f6327761a07758ad8b19b2d4d1bc46e871e698996d850a240d2497d1bdae38001c3ba618715d86d87615b8116d8
|
||||
a5fb34d93a6c1dd0afb0475292c5585e9236d88aad3e2412f9e3fbff1e1fa9abd7eec70c1d1221294fda5efd72cd4324f1794093b0eddd1ef62fad79482a9c04
|
||||
98f184b4bd2991deb58df7dfbb8ad755446282607d22d771db8b944ad79796a40fc3585ee62949606ecc458c15bc8a702910f808e8c66c69b9565b5d8a314d3c
|
||||
94e018c8de1a8fa94fd05093f43672e23d06af89927ac06762a049136785c10607758d9053d965021d62d6f6804fc08f86e4bef210c352c144dbab999fb7b471
|
||||
7509af678b985ab0b6b4ae6f7ed9ba6c4170b06c788a705430adf71bad2b5b057d03606a1ed7ebf5babd7a41cf00b0ef83a6569632cd467faddec9699640f671
|
||||
9e76b7d6ac355c7c89feca9cccad4ea7d36c65b258a206641f1b73f8b5da6a6373d9c11b90c537e7f08dce66b7bbeae00dc8e257e7f0fd2badd5868b37a088d1
|
||||
e4600ead1ddaef67d40bc898b3ed4af81ac0d76a197c86826828a24bb318f3442d8ab518dfe3a20f000d6458d104a9694ac6d88728eee2782428d60cf03ac1a5
|
||||
193be4cbb921cd0b495fd054b5bd0f530c1931a3f7eaf9f7af9e3f45c70f9e1d3ff8e9f8e1c3e3073f5a42ceaa6d9c84e5552fbffdeccfc71fa33f9e7ef3f2d1
|
||||
17d57859c6fffac327bffcfc793510d26726ce8b2f9ffcf6ecc98baf3efdfdbb4715f04d814765f890c644a29be408edf3181433567125272371be15c308d3f2
|
||||
8acd249438c19a4b05fd9e8a1cf4cd296699771c393ac4b5e01d01e5a30a787d72cf1178108989a2159c77a2d801ee72ce3a5c545a6147f32a99793849c26ae6
|
||||
6252c6ed637c58c5bb8b13c7bfbd490a75330f4b47f16e441c31f7184e140e494214d273fc80900aedee52ead87597fa824b3e56e82e451d4c2b4d32a423279a
|
||||
668bb6690c7e9956e90cfe766cb37b077538abd27a8b1cba48c80acc2a841f12e698f13a9e281c57911ce298950d7e03aba84ac8c154f8655c4f2af074481847
|
||||
bd804859b5e696007d4b4edfc150b12addbecba6b18b148a1e54d1bc81392f23b7f84137c2715a851dd0242a633f900710a218ed715505dfe56e86e877f0034e
|
||||
16bafb0e258ebb4faf06b769e888340b103d3311da9750aa9d0a1cd3e4efca31a3508f6d0c5c5c398602f8e2ebc71591f5b616e24dd893aa3261fb44f95d843b
|
||||
5974bb5c04f4edafb95b7892ec1108f3f98de75dc97d5772bdff7cc95d94cf672db4b3da0a6557f70db629362d72bcb0431e53c6066acac80d699a6409fb44d0
|
||||
8741bdce9c0e4971624a2378cceaba830b05366b90e0ea23aaa241845368b0eb9e2612ca8c742851ca251ceccc70256d8d87265dd96361531f186c3d9058edf2
|
||||
c00eafe8e1fc5c509031bb4d680e9f39a3154de0accc56ae644441edd76156d7429d995bdd88664a9dc3ad50197c38af1a0c16d684060441db02565e85f3b966
|
||||
0d0713cc48a0ed6ef7dedc2dc60b17e92219e180643ed27acffba86e9c94c78ab90980d8a9f0913ee49d62b512b79626fb06dccee2a432bbc60276b9f7dec44b
|
||||
7904cfbca4f3f6443ab2a49c9c2c41476dafd55c6e7ac8c769db1bc399161ee314bc2e75cf8759081743be1236ec4f4d6693e5336fb672c5dc24a8c33585b5fb
|
||||
9cc24e1d4885545b58463634cc5416022cd19cacfccb4d30eb45296023fd35a458598360f8d7a4003bbaae25e331f155d9d9a5116d3bfb9a95523e51440ca2e0
|
||||
088dd844ec6370bf0e55d027a012ae264c45d02f708fa6ad6da6dce29c255df9f6cae0ec38666984b372ab5334cf640b37795cc860de4ae2816e95b21be5ceaf
|
||||
8a49f90b52a51cc6ff3355f47e0237052b81f6800fd7b802239daf6d8f0b1571a8426944fdbe80c6c1d40e8816b88b8569082ab84c36ff0539d4ff6dce591a26
|
||||
ade1c0a7f669880485fd484582903d284b26fa4e2156cff62e4b9265844c4495c495a9157b440e091bea1ab8aaf7760f4510eaa69a6465c0e04ec69ffb9e65d0
|
||||
28d44d4e39df9c1a52ecbd3607fee9cec7263328e5d661d3d0e4f62f44acd855ed7ab33cdf7bcb8ae889599bd5c8b3029895b6825696f6af29c239b75a5bb1e6
|
||||
345e6ee6c28117e73586c1a2214ae1be07e93fb0ff51e133fb65426fa843be0fb515c187064d0cc206a2fa926d3c902e907670048d931db4c1a44959d366ad93
|
||||
b65abe595f70a75bf03d616c2dd959fc7d4e6317cd99cbcec9c58b34766661c7d6766ca1a9c1b327531486c6f941c638c67cd22a7f75e2a37be0e82db8df9f30
|
||||
254d30c1372581a1f51c983c80e4b71ccdd28dbf000000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468656d652f74
|
||||
68656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4350d363f24
|
||||
51eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d262452282e3198
|
||||
720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe514173d9850528
|
||||
a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100828abc13fa0000001c0200001300000000000000000000000000
|
||||
000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b000000000000000000000000
|
||||
002b0100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c00000000000000000000000000140200007468
|
||||
656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d001400060008000000210096b5ade296060000501b000016000000000000000000
|
||||
00000000d10200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b010000270000000000
|
||||
00000000000000009b0900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d010000960a00000000}
|
||||
{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
|
||||
617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
|
||||
6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
|
||||
656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
|
||||
{\*\latentstyles\lsdstimax267\lsdlockeddef0\lsdsemihiddendef1\lsdunhideuseddef1\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
|
||||
\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;
|
||||
\lsdpriority39 \lsdlocked0 toc 1;\lsdpriority39 \lsdlocked0 toc 2;\lsdpriority39 \lsdlocked0 toc 3;\lsdpriority39 \lsdlocked0 toc 4;\lsdpriority39 \lsdlocked0 toc 5;\lsdpriority39 \lsdlocked0 toc 6;\lsdpriority39 \lsdlocked0 toc 7;
|
||||
\lsdpriority39 \lsdlocked0 toc 8;\lsdpriority39 \lsdlocked0 toc 9;\lsdqformat1 \lsdpriority35 \lsdlocked0 caption;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority10 \lsdlocked0 Title;\lsdpriority1 \lsdlocked0 Default Paragraph Font;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority59 \lsdlocked0 Table Grid;\lsdunhideused0 \lsdlocked0 Placeholder Text;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdunhideused0 \lsdlocked0 Revision;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 2;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 4;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 5;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdsemihidden0 \lsdunhideused0 \lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority61 \lsdlocked0 Light List Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority62 \lsdlocked0 Light Grid Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority70 \lsdlocked0 Dark List Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdsemihidden0 \lsdunhideused0 \lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;
|
||||
\lsdsemihidden0 \lsdunhideused0 \lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdpriority37 \lsdlocked0 Bibliography;\lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;}}{\*\datastore 010500000200000018000000
|
||||
4d73786d6c322e534158584d4c5265616465722e352e3000000000000000000000060000
|
||||
d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffffec69d9888b8b3d4c859eaf6cd158be0f0000000000000000000000006057
|
||||
38b4d573ca01feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000
|
||||
0000000000000000000000000000000000000000000000000105000000000000}}
|
||||
109
packaging/win32/nx/Makefile.am
Normal file
109
packaging/win32/nx/Makefile.am
Normal file
@@ -0,0 +1,109 @@
|
||||
NXESD = nxesd
|
||||
NXCOMP = nxcomp
|
||||
NXPROXY = nxproxy
|
||||
AUDIOFILE = audiofile
|
||||
AUDIOFILE_VERSION = 0.2.6
|
||||
LIBJPEG = libjpeg
|
||||
LIBJPEG_VERSION = turbo-1.1.1
|
||||
TMPDIST = $(abs_builddir)/dist
|
||||
|
||||
CFG_GENERIC = \
|
||||
--prefix=/ --libdir=/lib --bindir=/bin --mandir=/share/man \
|
||||
--includedir=/include --datadir=/share --exec-prefix=/libexec \
|
||||
--libexecdir=/libexec --sysconfdir=/etc
|
||||
CFG_audiofile = $(CFG_GENERIC) --disable-shared --enable-static
|
||||
CFG_nxesd = $(CFG_GENERIC) --disable-audiofiletest --with-audiofile=yes --program-transform-name='s/i686-pc-mingw32-//'
|
||||
CFG_nxcomp = $(CFG_GENERIC) \
|
||||
--x-includes=$(abs_top_builddir)/packaging/win32/xming/xc/exports/include \
|
||||
--x-libraries=$(abs_top_builddir)/packaging/win32/xming/dist/usr/X11R6/lib
|
||||
CFG_nxproxy = $(CFG_GENERIC) --program-transform-name='s/i686-pc-mingw32-//'
|
||||
CFG_nxssh = $(CFG_GENERIC)
|
||||
CFG_libjpeg = $(CFG_GENERIC) --disable-static --enable-shared
|
||||
CFG_libpng = $(CFG_GENERIC) --disable-static --enable-shared --with-libpng-compat
|
||||
CFG_jpeg = --prefix=$(TMPDIST) --libdir=$(TMPDIST)/lib --bindir=$(TMPDIST)/bin \
|
||||
--mandir=$(TMPDIST)/share/man --includedir=$(TMPDIST)/include \
|
||||
--datadir=$(TMPDIST)/share --exec-prefix=$(TMPDIST) \
|
||||
--libexecdir=$(TMPDIST)/libexec --sysconfdir=$(TMPDIST)/etc --enable-shared --disable-static
|
||||
|
||||
ENV_GENERIC = CPPFLAGS="-I$(TMPDIST)/include" LDFLAGS="-L$(TMPDIST)/lib"
|
||||
ENV_audiofile =
|
||||
ENV_libpng =
|
||||
ENV_jpeg =
|
||||
ENV_nxproxy = env $(ENV_GENERIC)
|
||||
ENV_nxcomp = env $(ENV_GENERIC)
|
||||
ENV_nxesd = env $(ENV_GENERIC) LIBS=-laudiofile
|
||||
|
||||
EXTRA_DIST = urls.txt patches $(AUDIOFILE).md5sum $(NXESD).md5sum \
|
||||
$(NXCOMP).md5sum $(LIBJPEG).md5sum
|
||||
|
||||
CLEANFILES = -r $(TMPDIST) \
|
||||
$(AUDIOFILE)-$(AUDIOFILE_VERSION) $(AUDIOFILE)-build-$(NX_BTYPE) \
|
||||
$(AUDIOFILE)-srcdir $(AUDIOFILE)-checkarchive \
|
||||
$(NXESD) $(NXESD)-build-$(NX_BTYPE) $(NXESD)-srcdir $(NXESD)-checkarchive \
|
||||
$(NXCOMP) $(NXCOMP)-build-$(NX_BTYPE) $(NXCOMP)-srcdir $(NXCOMP)-checkarchive \
|
||||
$(NXPROXY) $(NXPROXY)-build-$(NX_BTYPE) $(NXPROXY)-srcdir $(NXPROXY)-checkarchive \
|
||||
$(LIBJPEG)-$(LIBJPEG_VERSION) $(LIBJPEG)-build-$(NX_BTYPE) $(LIBJPEG)-srcdir $(LIBJPEG)-checkarchive
|
||||
|
||||
DISTCLEANFILES = -r $(CLEANFILES) \
|
||||
$(LIBJPEG)-$(LIBJPEG_VERSION).tar.gz \
|
||||
$(AUDIOFILE)-$(AUDIOFILE_VERSION).tar.gz \
|
||||
$(NXESD)*.tar.gz \
|
||||
$(NXCOMP)*.tar.gz \
|
||||
$(NXPROXY)*.tar.gz
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
tmpinstall:
|
||||
mkdir -p $(TMPDIST)/man/man1
|
||||
$(MAKE) subtarget=$(LIBJPEG) subsrc=$(LIBJPEG)-$(LIBJPEG_VERSION) build-$(NX_BTYPE)
|
||||
$(MAKE) subtarget=$(AUDIOFILE) subsrc=$(AUDIOFILE)-$(AUDIOFILE_VERSION) build-$(NX_BTYPE)
|
||||
$(MAKE) subtarget=$(NXESD) subsrc=$(NXESD) build-$(NX_BTYPE)
|
||||
$(MAKE) subtarget=$(NXCOMP) subsrc=$(NXCOMP) build-$(NX_BTYPE)
|
||||
$(MAKE) subtarget=$(NXPROXY) subsrc=$(NXPROXY) build-$(NX_BTYPE)
|
||||
rm -f \
|
||||
$(TMPDIST)/bin/esd{cat,ctl,filt,loop,mon,play,rec,sample}.exe \
|
||||
$(TMPDIST)/bin/[cd]jpeg.exe $(TMPDIST)/bin/jpegtran.exe \
|
||||
$(TMPDIST)/bin/jpgtest.exe $(TMPDIST)/bin/libturbojpeg.dll \
|
||||
$(TMPDIST)/bin/rdjpgcom.exe $(TMPDIST)/bin/sfconvert.exe \
|
||||
$(TMPDIST)/bin/sfinfo.exe $(TMPDIST)/bin/wrjpgcom.exe
|
||||
|
||||
build-cross: $(subtarget)-build-cross
|
||||
|
||||
build-native: $(subtarget)-build-native
|
||||
|
||||
$(subtarget)-build-cross: $(subtarget)-srcdir
|
||||
@echo Building $(subtarget)
|
||||
@cd $(subsrc) && $(ENV_$(subtarget)) mingw32-configure $(CFG_$(subtarget))
|
||||
@$(MAKE) -C $(subsrc) DESTDIR=$(TMPDIST) install
|
||||
@touch $@
|
||||
|
||||
$(subtarget)-build-native: $(subtarget)-srcdir
|
||||
@echo Building $(subtarget)
|
||||
@cd $(subsrc) && $(ENV_$(subtarget)) ./configure $(CFG_$(subtarget))
|
||||
@$(MAKE) -C $(subsrc) DESTDIR=$(TMPDIST) install
|
||||
@touch $@
|
||||
|
||||
$(subtarget)-srcdir: $(subtarget)-checkarchive
|
||||
@$(RM) -rf $(subsrc)
|
||||
@echo Unpacking $(subsrc).tar.gz
|
||||
@tar xzf $(subsrc).tar.gz
|
||||
@shopt -s nullglob; for p in $(srcdir)/patches/$(subtarget)-*.patch ; do \
|
||||
echo Applying `basename $$p`; \
|
||||
(cd $(subsrc) && patch -p1 < ../$$p) ; \
|
||||
done
|
||||
@touch $@
|
||||
|
||||
$(subtarget)-checkarchive: $(subsrc).tar.gz
|
||||
@echo Checking tarball $(subsrc).tar.gz
|
||||
@md5sum --status -c $(srcdir)/$(subtarget).md5sum
|
||||
@touch $@
|
||||
|
||||
$(subsrc).tar.gz: $(srcdir)/urls.txt
|
||||
@echo Downloading $@
|
||||
@rm -f $@
|
||||
@if grep -q $(subtarget) $(srcdir)/urls.txt ; then \
|
||||
$(WGET) -O $@ $(shell grep $(subtarget) $(srcdir)/urls.txt | grep -v '#') ; \
|
||||
else \
|
||||
$(top_srcdir)/getnxsrcpkg $(subsrc) && $(LN_S) $(subsrc)-*.tar.gz $(subsrc).tar.gz ; \
|
||||
fi
|
||||
@touch $@
|
||||
1
packaging/win32/nx/audiofile.md5sum
Normal file
1
packaging/win32/nx/audiofile.md5sum
Normal file
@@ -0,0 +1 @@
|
||||
9c1049876cd51c0f1b12c2886cce4d42 audiofile-0.2.6.tar.gz
|
||||
1
packaging/win32/nx/libjpeg.md5sum
Normal file
1
packaging/win32/nx/libjpeg.md5sum
Normal file
@@ -0,0 +1 @@
|
||||
03b9c1406c7bfdc204313c2917ce6962 libjpeg-turbo-1.1.1.tar.gz
|
||||
1
packaging/win32/nx/nxcomp.md5sum
Normal file
1
packaging/win32/nx/nxcomp.md5sum
Normal file
@@ -0,0 +1 @@
|
||||
ad8c0f133122c6d07732ca69c8759410 nxcomp.tar.gz
|
||||
1
packaging/win32/nx/nxesd.md5sum
Normal file
1
packaging/win32/nx/nxesd.md5sum
Normal file
@@ -0,0 +1 @@
|
||||
2bbb27be1bf495032cdd3dbd683fa335 nxesd.tar.gz
|
||||
15
packaging/win32/nx/patches/libpng-exports.patch
Normal file
15
packaging/win32/nx/patches/libpng-exports.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -urwN libpng-1.2.40-orig/configure libpng-1.2.40/configure
|
||||
--- libpng-1.2.40-orig/configure 2009-09-10 13:39:04.000000000 +0200
|
||||
+++ libpng-1.2.40/configure 2010-10-25 01:29:18.782195099 +0200
|
||||
@@ -11447,10 +11447,7 @@
|
||||
if test "$have_ld_version_script" = "yes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
|
||||
$as_echo_n "checking for symbol prefix... " >&6; }
|
||||
- SYMBOL_PREFIX=`echo "PREFIX=__USER_LABEL_PREFIX__" \
|
||||
- | ${CPP-${CC-gcc} -E} - 2>&1 \
|
||||
- | ${EGREP-grep} "^PREFIX=" \
|
||||
- | ${SED-sed} "s:^PREFIX=::"`
|
||||
+ SYMBOL_PREFIX=""
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
|
||||
$as_echo "$SYMBOL_PREFIX" >&6; }
|
||||
55004
packaging/win32/nx/patches/nxcomp-win32.patch
Normal file
55004
packaging/win32/nx/patches/nxcomp-win32.patch
Normal file
File diff suppressed because it is too large
Load Diff
92998
packaging/win32/nx/patches/nxesd-win32.patch
Normal file
92998
packaging/win32/nx/patches/nxesd-win32.patch
Normal file
File diff suppressed because it is too large
Load Diff
47591
packaging/win32/nx/patches/nxproxy-win32.patch
Normal file
47591
packaging/win32/nx/patches/nxproxy-win32.patch
Normal file
File diff suppressed because it is too large
Load Diff
3
packaging/win32/nx/urls.txt
Normal file
3
packaging/win32/nx/urls.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
http://www.68k.org/~michael/audiofile/audiofile-0.2.6.tar.gz
|
||||
http://prdownloads.sourceforge.net/libpng/libpng-1.2.40.tar.gz?download
|
||||
http://sourceforge.net/projects/libjpeg-turbo/files/1.1.1/libjpeg-turbo-1.1.1.tar.gz/download
|
||||
223
packaging/win32/opennx.iss
Normal file
223
packaging/win32/opennx.iss
Normal file
@@ -0,0 +1,223 @@
|
||||
;
|
||||
; $Id: opennx.iss 674 2012-02-05 05:55:40Z felfert $
|
||||
;
|
||||
#undef DEBUG
|
||||
|
||||
#define APPNAME "OpenNXCE"
|
||||
; Automatically get version from executable resp. dll
|
||||
#define APPEXE "setupdir\bin\opennx.exe"
|
||||
#include "version.iss"
|
||||
|
||||
#define MSWU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|
||||
#define APPIDSTR "{56D797D7-543C-408F-BBEB-B56787873D2F}"
|
||||
#define APPIDVAL "{" + APPIDSTR
|
||||
|
||||
[Setup]
|
||||
AppName={#=APPNAME}
|
||||
AppVersion={#=APPFULLVER}
|
||||
AppVerName={#=APPFULLVERNAME}
|
||||
AppPublisher=OpenNX Community Edition
|
||||
AppPublisherURL=Community from http://unixforum.org
|
||||
AppCopyright=(C) 2011 The OpenNX Team, CE 2020
|
||||
;VersionInfoVersion={#=APPFULLVER}
|
||||
DefaultDirName={pf}\{#=APPNAME}
|
||||
DefaultGroupName={#=APPNAME}
|
||||
#ifdef DEBUG
|
||||
PrivilegesRequired=none
|
||||
#endif
|
||||
DisableStartupPrompt=true
|
||||
ChangesAssociations=yes
|
||||
OutputDir=.
|
||||
OutputBaseFileName={#=SETUPFVNAME}
|
||||
ShowLanguageDialog=no
|
||||
MinVersion=0,5.0.2195sp3
|
||||
AppID={#=APPIDVAL}
|
||||
UninstallFilesDir={app}\uninstall
|
||||
Compression=lzma/ultra64
|
||||
SolidCompression=yes
|
||||
SetupLogging=yes
|
||||
WizardImageFile=compiler:wizmodernimage-IS.bmp
|
||||
WizardSmallImageFile=compiler:wizmodernsmallimage-IS.bmp
|
||||
; The following breaks in older wine versions, so we
|
||||
; check the wine version in the invoking script and
|
||||
; define BADWINE, if we are crossbuilding and have a
|
||||
; broken wine version.
|
||||
#ifndef BADWINE
|
||||
SetupIconFile=setupdir\bin\nx.ico
|
||||
#endif
|
||||
UninstallDisplayIcon={app}\bin\opennx.exe
|
||||
LicenseFile=lgpl.rtf
|
||||
|
||||
[Languages]
|
||||
Name: "en"; MessagesFile: "compiler:Default.isl"
|
||||
Name: "de"; MessagesFile: "compiler:Languages\German.isl"
|
||||
Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl"
|
||||
Name: "fr"; MessagesFile: "compiler:Languages\French.isl"
|
||||
Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl"
|
||||
|
||||
[CustomMessages]
|
||||
dticon=Create a &desktop icon
|
||||
dticon_group=Additional icons:
|
||||
cwizard=OpenNX Connection Wizard
|
||||
sadmin=OpenNX Session Administrator
|
||||
uninst_opennx=Uninstall OpenNX
|
||||
fwadd=Adding firewall rules
|
||||
doc_pconnect=Pconnect Manual
|
||||
|
||||
de.dticon=Desktop-Verkn<6B>pfung &anlegen
|
||||
de.dticon_group=Zus<75>tzliche Verkn<6B>pfungen:
|
||||
de.cwizard=OpenNX Verbindungs-Assistent
|
||||
de.sadmin=OpenNX Sitzungsverwaltung
|
||||
de.uninst_opennx=Deinstalliere OpenNX
|
||||
de.fwadd=Erstelle Firewall-Regeln
|
||||
de.doc_pconnect=Pconnect Handbuch
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "{cm:dticon}"; GroupDescription: "{cm:dticon_group}";
|
||||
|
||||
[Files]
|
||||
Source: setupdir\*; DestDir: {app}; Flags: recursesubdirs restartreplace replacesameversion uninsrestartdelete
|
||||
#if BUILDXMING == "no"
|
||||
Source: setupdir\bin\opennx.exe; DestDir: {app}; DestName: nxclient.exe; Flags: restartreplace replacesameversion uninsrestartdelete
|
||||
#endif
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\OpenNX"; Filename: "{app}\bin\opennx.exe";
|
||||
Name: "{group}\{cm:cwizard}"; Filename: "{app}\bin\opennx.exe"; Parameters: "--wizard"; IconFilename: "{app}\bin\opennx.exe"; IconIndex: 2;
|
||||
Name: "{group}\{cm:sadmin}"; Filename: "{app}\bin\opennx.exe"; Parameters: "--admin"; IconFilename: "{app}\bin\opennx.exe"; IconIndex: 3
|
||||
Name: "{group}\{cm:doc_pconnect}"; Filename: "{app}\share\pconnect.html";
|
||||
Name: "{group}\{cm:uninst_opennx}"; Filename: "{uninstallexe}";
|
||||
Name: "{commondesktop}\OpenNX"; Filename: "{app}\bin\opennx.exe"; Tasks: "desktopicon";
|
||||
|
||||
[Registry]
|
||||
; Delete original NXClient file global associations
|
||||
Root: HKLM; Subkey: "Software\Classes\.nxs"; ValueType: none; Flags: deletekey
|
||||
Root: HKLM; Subkey: "Software\Classes\NXClient.session"; ValueType: none; Flags: deletekey;
|
||||
;
|
||||
Root: HKLM; Subkey: "Software\Classes\.nxs"; ValueType: String; ValueData: "OpenNX.session"; Flags: deletekey uninsdeletekey;
|
||||
Root: HKLM; Subkey: "Software\Classes\.nxs"; ValueName: "Content Type"; ValueType: String; ValueData: "application/nx-session";
|
||||
Root: HKLM; Subkey: "Software\Classes\OpenNX.session"; ValueType: String; ValueData: "OpenNX session file"; Flags: deletekey uninsdeletekey;
|
||||
Root: HKLM; Subkey: "Software\Classes\OpenNX.session\DefaultIcon"; ValueType: String; ValueData: "{app}\bin\opennx.exe,1";
|
||||
Root: HKLM; Subkey: "Software\Classes\OpenNX.session\shell\open\command"; ValueType: String; ValueData: """{app}\bin\opennx.exe"" --session ""%1""";
|
||||
; Delete original NXClient class regs in HKCU
|
||||
Root: HKCU; Subkey: "Software\Classes\.nxs"; ValueName: ""; ValueType: none; Flags: deletekey deletevalue
|
||||
Root: HKCU; Subkey: "Software\Classes\.nxs"; ValueName: "Content Type"; ValueType: none; Flags: deletekey deletevalue
|
||||
Root: HKCU; Subkey: "Software\Classes\NXClient.session"; ValueName: ""; ValueType: none; Flags: deletekey deletevalue
|
||||
Root: HKCU; Subkey: "Software\Classes\OpenNX.session\DefaultIcon"; ValueType: none; Flags: deletekey deletevalue
|
||||
Root: HKCU; Subkey: "Software\Classes\OpenNX.session\shell\open\command"; ValueType: none; Flags: deletekey deletevalue
|
||||
|
||||
[Run]
|
||||
; Allow nxssh, nxesd, pulseaudio, Xming and NXWin in Windows firewall
|
||||
#if FileExists("setupdir\bin\nxssh.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall add allowedprogram ""{app}\bin\nxssh.exe"" ""OpenNX nxssh"" ENABLE"; StatusMsg: {cm:fwadd}; Flags: runhidden skipifdoesntexist
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\nxesd.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall add allowedprogram ""{app}\bin\nxesd.exe"" ""OpenNX nxesd"" ENABLE"; StatusMsg: {cm:fwadd}; Flags: runhidden skipifdoesntexist
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\tracelog.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall add allowedprogram ""{app}\bin\tracelog.exe"" ""OpenNX tracelog"" ENABLE"; StatusMsg: {cm:fwadd}; Flags: runhidden skipifdoesntexist
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\pulseaudio.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall add allowedprogram ""{app}\bin\pulseaudio.exe"" ""OpenNX pulseaudio"" ENABLE"; StatusMsg: {cm:fwadd}; Flags: runhidden skipifdoesntexist
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\Xming.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall add allowedprogram ""{app}\bin\Xming.exe"" ""OpenNX Xming"" ENABLE"; StatusMsg: {cm:fwadd}; Flags: runhidden skipifdoesntexist
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\NXWin.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall add allowedprogram ""{app}\bin\NXWin.exe"" ""OpenNX NXWin"" ENABLE"; StatusMsg: {cm:fwadd}; Flags: runhidden skipifdoesntexist
|
||||
#endif
|
||||
|
||||
[UninstallRun]
|
||||
; Remove firewall exceptions
|
||||
#if FileExists("setupdir\bin\nxssh.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall delete allowedprogram ""{app}\bin\nxssh.exe"" ALL"; Flags: runhidden skipifdoesntexist; RunOnceId: fwdelnxssh
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\nxesd.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall delete allowedprogram ""{app}\bin\nxesd.exe"" ALL"; Flags: runhidden skipifdoesntexist; RunOnceId: fwdelnxesd
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\tracelog.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall delete allowedprogram ""{app}\bin\tracelog.exe"" ALL"; Flags: runhidden skipifdoesntexist; RunOnceId: fwdelnxesd
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\pulseaudio.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall delete allowedprogram ""{app}\bin\pulseaudio.exe"" ALL"; Flags: runhidden skipifdoesntexist; RunOnceId: fwdelnxesd
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\Xming.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall delete allowedprogram ""{app}\bin\Xming.exe"" ALL"; Flags: runhidden skipifdoesntexist; RunOnceId: fwdelxming
|
||||
#endif
|
||||
#if FileExists("setupdir\bin\NXWin.exe")
|
||||
Filename: "{sys}\netsh.exe"; Parameters: "firewall delete allowedprogram ""{app}\bin\NXWin.exe"" ALL"; Flags: runhidden skipifdoesntexist; RunOnceId: fwdelnxwin
|
||||
#endif
|
||||
|
||||
#if BUILDXMING == "yes"
|
||||
[UninstallDelete]
|
||||
Type: files; Name: "{app}\share\Xming\font-dirs"
|
||||
|
||||
[Code]
|
||||
|
||||
procedure CurStepChanged(step: TSetupStep);
|
||||
var
|
||||
fontDir, mkfsexe, s: String;
|
||||
i, r: Integer;
|
||||
FindRec: TFindRec;
|
||||
fontDirs: TStringList;
|
||||
|
||||
begin
|
||||
if step = ssPostInstall then begin
|
||||
(* Create {app}\share\Xming\font-dirs *)
|
||||
fontDir := ExpandConstant('{app}\share\Xming\fonts');
|
||||
fontDirs := TStringList.Create;
|
||||
(* First, create a list of all subdirs in fonts *)
|
||||
if DirExists(fontDir) then begin
|
||||
if FindFirst(fontDir + '\*', FindRec) then begin
|
||||
try
|
||||
repeat
|
||||
if FindRec.Attributes and FILE_ATTRIBUTE_DIRECTORY <> 0 then
|
||||
fontDirs.Append(fontDir + '\' + FindRec.Name);
|
||||
until not FindNext(FindRec);
|
||||
finally
|
||||
FindClose(FindRec);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
(* Add the windows font dir to the list *)
|
||||
fontDirs.Append(ExpandConstant('{fonts}'));
|
||||
(* Create the file, containing the comma-separated directory list. *)
|
||||
s := ExpandConstant('{app}\share\Xming\font-dirs');
|
||||
Log('Creating ' + s);
|
||||
SaveStringToFile(s, fontDirs.CommaText, false);
|
||||
(* Finally, run mkfontscale for all font directories *)
|
||||
mkfsexe := ExpandConstant('{app}\bin\mkfontscale.exe');
|
||||
for i := 0 to fontDirs.Count - 1 do begin
|
||||
s := AddQuotes(fontDirs[i]);
|
||||
Log('Creating fonts.scale and fonts.dir in ' + s);
|
||||
Exec(mkfsexe, s, '', SW_HIDE, ewWaitUntilTerminated, r);
|
||||
Exec(mkfsexe, '-b -s -l ' + s, '', SW_HIDE, ewWaitUntilTerminated, r);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure CurUninstallStepChanged(ustep: TUninstallStep);
|
||||
var
|
||||
s, txt, wfonts: String;
|
||||
i: Integer;
|
||||
fontDirs: TStringList;
|
||||
|
||||
begin
|
||||
if ustep = usUninstall then begin
|
||||
s := ExpandConstant('{app}\share\Xming\font-dirs');
|
||||
wfonts := ExpandConstant('{fonts}');
|
||||
if LoadStringFromFile(s, txt) then begin
|
||||
fontDirs := TStringList.Create;
|
||||
fontDirs.CommaText := txt;
|
||||
for i := 0 to fontDirs.Count - 1 do begin
|
||||
s := fontDirs[i];
|
||||
if s <> wfonts then begin
|
||||
s := AddBackSlash(s);
|
||||
DeleteFile(s + 'fonts.scale');
|
||||
DeleteFile(s + 'fonts.dir');
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
#endif
|
||||
22
packaging/win32/pulse/Makefile.am
Normal file
22
packaging/win32/pulse/Makefile.am
Normal file
@@ -0,0 +1,22 @@
|
||||
PULSEAUDIO = pa-win32
|
||||
PULSEAUDIO_VERSION = 6.0-11.1
|
||||
OURPA = $(PULSEAUDIO)-$(PULSEAUDIO_VERSION)
|
||||
|
||||
TMPDIST = $(abs_builddir)/dist
|
||||
|
||||
EXTRA_DIST = urls.txt
|
||||
CLEANFILES = -r $(TMPDIST) $(OURPA)
|
||||
DISTCLEANFILES=$(OURPA).tar.gz
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
|
||||
tmpdist: tmpinstall
|
||||
cp -av $(OURPA) $(TMPDIST)
|
||||
|
||||
tmpinstall: $(OURPA)
|
||||
|
||||
$(OURPA): $(OURPA).tar.gz
|
||||
$(vunpack__$(AM_DEFAULT_VERBOSITY)$(V))tar xzf $(OURPA).tar.gz
|
||||
|
||||
$(OURPA).tar.gz:
|
||||
$(WGET) -O $@ -q 'http://unixforum.org/up/nxman/opennx/$(OURPA).tar.gz'
|
||||
44
packaging/win32/version.iss
Normal file
44
packaging/win32/version.iss
Normal file
@@ -0,0 +1,44 @@
|
||||
#ifndef _VERSION_ISS_
|
||||
#define _VERSION_ISS_
|
||||
|
||||
#ifndef __POPT_P__
|
||||
# define private CStrings
|
||||
# pragma parseroption -p+
|
||||
#endif
|
||||
|
||||
#define ExeVersion(Str FileName) \
|
||||
Local[0] = 0, Local[1] = 0, Local[2] = 0, Local[3] = 0, \
|
||||
ParseVersion(FileName, Local[0], Local[1], Local[2], Local[3]), \
|
||||
DecodeVer(EncodeVer(Local[0], Local[1], Local[2], Local[3]), 2 + (((Local[2] + Local[3]) > 0) ? 1 : 0) + ((Local[3] > 0) ? 1 : 0))
|
||||
|
||||
#define ExeFullVersion(Str FileName) \
|
||||
Local[0] = GetFileVersion(FileName), Local[0]
|
||||
|
||||
#define APPVERSION "1.0.5-r15.6"
|
||||
#ifdef APPNAME
|
||||
# ifdef APPVERSION
|
||||
# define APPVERNAME APPNAME + ' ' + APPVERSION
|
||||
# define APPFULLVER APPVERSION
|
||||
# define APPFULLVERNAME APPNAME + ' ' + APPFULLVER
|
||||
# else
|
||||
# ifdef APPEXE
|
||||
# define APPVERSION ExeVersion(APPEXE)
|
||||
# define APPFULLVER ExeFullVersion(APPEXE)
|
||||
# define APPVERNAME APPNAME + ' ' + APPVERSION
|
||||
# define APPFULLVERNAME APPNAME + ' ' + APPFULLVER
|
||||
# endif
|
||||
# endif
|
||||
# ifdef APPVERSION
|
||||
# define SETUPVNAME APPNAME + '-' + APPVERSION
|
||||
# endif
|
||||
# ifdef APPFULLVER
|
||||
# define SETUPFVNAME APPNAME + '-' + APPFULLVER
|
||||
# endif
|
||||
# define SETUPNAME APPNAME
|
||||
#endif
|
||||
|
||||
#ifdef CStrings
|
||||
# pragma parseroption -p-
|
||||
#endif
|
||||
|
||||
#endif
|
||||
89
packaging/win32/xming/Makefile.am
Normal file
89
packaging/win32/xming/Makefile.am
Normal file
@@ -0,0 +1,89 @@
|
||||
TARBALL = Xming_69031_source.tar.bz2
|
||||
DLURL = http://sourceforge.net/projects/xming/files/Xming-source/6.9.0.31/$(TARBALL)/download
|
||||
TMPDIST = $(abs_builddir)/dist
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
CLEANFILES = -rf tmpinstall build-$(XMING_BTYPE) patchedsrc srcdir checktarball ccdir \
|
||||
xc ccbin include
|
||||
DISTCLEANFILES = -rf dist $(TARBALL)
|
||||
EXTRA_DIST = version.def Xming_69031_source.tar.bz2.md5sum patches
|
||||
XMING_GENERIC_PATCHES = xming-build.patch xming-build-subsys.patch \
|
||||
xming-build-xauth.patch xming-build-xset.patch xming-build-nls.patch \
|
||||
xming-envbasedir.patch xming-optionhide.patch xming-mutex.patch \
|
||||
xming-terminate.patch xming-build-fontutils.patch xming-logdebug.patch \
|
||||
xming-clipfilter.patch xming-kbhook.patch xming-kioskhack.patch
|
||||
|
||||
buildfromscratch: distclean tmpinstall
|
||||
|
||||
install-cross: build-cross
|
||||
@$(MAKE) -C xc install DESTDIR=$(TMPDIST) \
|
||||
CROSSCOMPILEDIR=$(abs_builddir)/ccbin
|
||||
install-native: build-native
|
||||
@$(MAKE) -C xc install DESTDIR=$(TMPDIST)
|
||||
|
||||
xming-distdir:
|
||||
@echo installing Xming to $(TMPDIST)
|
||||
@rm -rf $(TMPDIST)
|
||||
@mkdir $(TMPDIST)
|
||||
|
||||
tmpinstall: xming-distdir install-$(XMING_BTYPE)
|
||||
@echo applying post install fixes
|
||||
@for f in $(TMPDIST)/usr/X11R6/bin/* ; do \
|
||||
FT="`file $$f`" ; \
|
||||
case "$$FT" in \
|
||||
*symbolic?link*) rm -f $$f ;; \
|
||||
*script*) rm -f $$f ;; \
|
||||
esac ; \
|
||||
done
|
||||
@touch $@
|
||||
|
||||
build-cross: ccdir patchedsrc
|
||||
@echo building Xming
|
||||
@$(MAKE) -C xc World CROSSCOMPILEDIR=$(abs_builddir)/ccbin
|
||||
@touch $@
|
||||
|
||||
build-native: patchedsrc
|
||||
@echo building Xming
|
||||
@$(MAKE) -C xc World CC=$(CC) PREPROCESS_CMD="$(CC) -E" \
|
||||
BOOTSTRAPCFLAGS="-DCROSSCOMPILE_CPP"
|
||||
@touch $@
|
||||
|
||||
patchedsrc: srcdir version.def
|
||||
@echo applying build fixes
|
||||
@for p in $(XMING_GENERIC_PATCHES) $(XMING_PLATFORM_PATCHES) ; do \
|
||||
if test -f $(srcdir)/patches/$$p ; then \
|
||||
echo applying $$p ; \
|
||||
patch -p0 < $(srcdir)/patches/$$p ; \
|
||||
fi \
|
||||
done
|
||||
@cp $(top_srcdir)/extres/nx.ico xc/programs/Xserver/hw/xwin/X.ico
|
||||
@cp $(top_srcdir)/extres/nx.ico xc/programs/xkbcomp/X.ico
|
||||
@touch $@
|
||||
|
||||
srcdir: checktarball
|
||||
@rm -rf xc
|
||||
@echo unpacking tarball
|
||||
@tar xjf $(TARBALL)
|
||||
@touch $@
|
||||
|
||||
checktarball: $(TARBALL)
|
||||
@echo checking tarball $(TARBALL)
|
||||
@md5sum --status -c $(srcdir)/$(TARBALL).md5sum 2>/dev/null
|
||||
@touch $@
|
||||
|
||||
$(TARBALL):
|
||||
@echo downloading tarball $(TARBALL)
|
||||
@$(WGET) -O $@ "$(DLURL)"
|
||||
|
||||
ccdir:
|
||||
@echo creating CROSSCOMPILEDIR
|
||||
@rm -rf ccbin include
|
||||
@mkdir ccbin
|
||||
@for f in /usr/bin/$(target_alias)-* ; do \
|
||||
bn=`basename $$f|sed -e 's/$(target_alias)-//'` ; \
|
||||
$(LN_S) $$f ccbin/$$bn ; \
|
||||
done
|
||||
$(LN_S) gcc ccbin/cc
|
||||
$(LN_S) $(includedir) include
|
||||
@touch $@
|
||||
|
||||
1
packaging/win32/xming/Xming_69031_source.tar.bz2.md5sum
Normal file
1
packaging/win32/xming/Xming_69031_source.tar.bz2.md5sum
Normal file
@@ -0,0 +1 @@
|
||||
f8d063d040b1b598c6f1f6c0e5d46d6c Xming_69031_source.tar.bz2
|
||||
31
packaging/win32/xming/patches/xming-build-cross.patch
Normal file
31
packaging/win32/xming/patches/xming-build-cross.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
diff -urw xc-orig/config/cf/mingw.cf xc/config/cf/mingw.cf
|
||||
--- xc-orig/config/cf/mingw.cf 2009-03-18 18:13:23.000000000 +0100
|
||||
+++ xc/config/cf/mingw.cf 2009-08-10 16:54:59.594459842 +0200
|
||||
@@ -145,7 +145,8 @@
|
||||
#define HasShm NO
|
||||
|
||||
/* snprintf from windows runtime does return -1 if the buffer is to small */
|
||||
-#define HasSnprintf NO
|
||||
+/* FE: However, latest MinGW provides the correct ones ... */
|
||||
+#define HasSnprintf YES
|
||||
|
||||
#define HasFfs NO
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
|
||||
#define HasSockets NO
|
||||
#define GzipFontCompression YES
|
||||
-#define HasZlib NO
|
||||
+#define HasZlib YES
|
||||
#define HasFreetype2 NO
|
||||
|
||||
/* We don't need -lm */
|
||||
@@ -256,7 +256,7 @@
|
||||
#endif
|
||||
#ifndef ExtraIncDir
|
||||
# ifdef CrossCompileDir
|
||||
-# define ExtraIncDir CrossCompileDir/../../include
|
||||
+# define ExtraIncDir CrossCompileDir/../include
|
||||
# else
|
||||
# define ExtraIncDir /usr/include/w32api
|
||||
# endif
|
||||
25
packaging/win32/xming/patches/xming-build-fontutils.patch
Normal file
25
packaging/win32/xming/patches/xming-build-fontutils.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
diff -urw xc-orig/config/cf/mingw.cf xc/config/cf/mingw.cf
|
||||
--- xc-orig/config/cf/mingw.cf 2010-03-01 04:25:56.919914196 +0100
|
||||
+++ xc/config/cf/mingw.cf 2010-03-01 04:41:59.976930858 +0100
|
||||
@@ -329,6 +329,9 @@
|
||||
#ifndef BuildXkbcomp
|
||||
# define BuildXkbcomp YES
|
||||
#endif
|
||||
+#ifndef BuildFontEncLib
|
||||
+# define BuildFontEncLib YES
|
||||
+#endif
|
||||
|
||||
/* XWin Server specific build flags */
|
||||
#ifndef GlxUseWindows
|
||||
diff -urw xc-orig/programs/Imakefile xc/programs/Imakefile
|
||||
--- xc-orig/programs/Imakefile 2010-03-01 04:25:56.882162887 +0100
|
||||
+++ xc/programs/Imakefile 2010-03-01 04:38:13.110914496 +0100
|
||||
@@ -129,7 +129,7 @@
|
||||
#endif
|
||||
|
||||
#if BuildServersOnly || !BuildClients
|
||||
-SUBDIRS = $(XSSRCDIR) $(XKBCOMPDIR) xauth xset
|
||||
+SUBDIRS = $(XSSRCDIR) $(XKBCOMPDIR) $(MKFONTSCALEDIR) xauth xset
|
||||
#else
|
||||
SUBDIRS = \
|
||||
appres bdftopcf bitmap \
|
||||
155
packaging/win32/xming/patches/xming-build-native.patch
Normal file
155
packaging/win32/xming/patches/xming-build-native.patch
Normal file
@@ -0,0 +1,155 @@
|
||||
diff -urw xc-orig/config/imake/imake.c xc/config/imake/imake.c
|
||||
--- xc-orig/config/imake/imake.c 2009-03-18 18:13:23 +0100
|
||||
+++ xc/config/imake/imake.c 2009-08-03 23:03:20 +0200
|
||||
@@ -280,7 +280,7 @@
|
||||
#include <sys/utsname.h>
|
||||
#endif
|
||||
|
||||
-#if !(defined(Lynx) || defined(__Lynx__) || (defined(SVR4) && !defined(sun))) && !defined (__CYGWIN__)
|
||||
+#if !(defined(Lynx) || defined(__Lynx__) || (defined(SVR4) && !defined(sun))) && !(defined (__CYGWIN__) || defined(__MINGW32__))
|
||||
#define HAS_MKSTEMP
|
||||
#endif
|
||||
|
||||
diff -urw xc-orig/config/util/lndir.c xc/config/util/lndir.c
|
||||
--- xc-orig/config/util/lndir.c 2009-03-18 18:13:23 +0100
|
||||
+++ xc/config/util/lndir.c 2009-08-04 00:18:18 +0200
|
||||
@@ -62,6 +62,9 @@
|
||||
#ifdef USG
|
||||
#include <dirent.h>
|
||||
#else
|
||||
+# ifdef __MINGW32__
|
||||
+# include <dirent.h>
|
||||
+# else
|
||||
#include <sys/dir.h>
|
||||
#ifndef dirent
|
||||
#define dirent direct
|
||||
@@ -69,6 +72,7 @@
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
+#endif
|
||||
#ifndef MAXPATHLEN
|
||||
#define MAXPATHLEN 2048
|
||||
#endif
|
||||
@@ -141,6 +145,9 @@
|
||||
return !strcmp(lname, rname);
|
||||
}
|
||||
|
||||
+#ifdef __MINGW32__
|
||||
+extern __declspec(dllimport) int __stdcall CopyFileA(const char *, const char *, int);
|
||||
+#endif
|
||||
|
||||
/* Recursively create symbolic links from the current directory to the "from"
|
||||
directory. Assumes that files described by fs and ts are directories. */
|
||||
@@ -231,18 +238,25 @@
|
||||
if (!silent)
|
||||
printf ("%s:\n", buf);
|
||||
if ((stat (dp->d_name, &sc) < 0) && (errno == ENOENT)) {
|
||||
+#ifdef __MINGW32__
|
||||
+ if (mkdir (dp->d_name) < 0 ||
|
||||
+ stat (dp->d_name, &sc) < 0) {
|
||||
+#else
|
||||
if (mkdir (dp->d_name, 0777) < 0 ||
|
||||
stat (dp->d_name, &sc) < 0) {
|
||||
+#endif
|
||||
mperror (dp->d_name);
|
||||
curdir = rcurdir = ocurdir;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
+#ifndef __MINGW32__
|
||||
if (readlink (dp->d_name, symbuf, sizeof(symbuf) - 1) >= 0) {
|
||||
msg ("%s: is a link instead of a directory", dp->d_name);
|
||||
curdir = rcurdir = ocurdir;
|
||||
continue;
|
||||
}
|
||||
+#endif
|
||||
if (chdir (dp->d_name) < 0) {
|
||||
mperror (dp->d_name);
|
||||
curdir = rcurdir = ocurdir;
|
||||
@@ -256,6 +270,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
+#ifdef __MINGW32__
|
||||
+ symlen = -1;
|
||||
+#else
|
||||
/* non-directory */
|
||||
symlen = readlink (dp->d_name, symbuf, sizeof(symbuf) - 1);
|
||||
if (symlen >= 0)
|
||||
@@ -270,6 +287,7 @@
|
||||
if (basesymlen >= 0)
|
||||
basesym[basesymlen] = '\0';
|
||||
}
|
||||
+#endif
|
||||
|
||||
if (symlen >= 0) {
|
||||
/* Link exists in new tree. Print message if it doesn't match. */
|
||||
@@ -324,7 +342,11 @@
|
||||
}
|
||||
else
|
||||
sympath = buf;
|
||||
+#ifdef __MINGW32__
|
||||
+ if (CopyFileA(sympath, dp->d_name, 1) != 0)
|
||||
+#else
|
||||
if (symlink (sympath, dp->d_name) < 0)
|
||||
+#endif
|
||||
mperror (dp->d_name);
|
||||
}
|
||||
}
|
||||
diff -urw xcorig/config/cf/mingw.cf xc/config/cf/mingw.cf
|
||||
--- xcorig/config/cf/mingw.cf 2009-03-18 18:13:23 +0100
|
||||
+++ xc/config/cf/mingw.cf 2009-08-09 13:26:26 +0200
|
||||
@@ -145,7 +145,8 @@
|
||||
#define HasShm NO
|
||||
|
||||
/* snprintf from windows runtime does return -1 if the buffer is to small */
|
||||
-#define HasSnprintf NO
|
||||
+/* FE: However, latest MinGW provides the correct ones ... */
|
||||
+#define HasSnprintf YES
|
||||
|
||||
#define HasFfs NO
|
||||
|
||||
@@ -158,7 +159,7 @@
|
||||
|
||||
#define HasSockets NO
|
||||
#define GzipFontCompression YES
|
||||
-#define HasZlib NO
|
||||
+#define HasZlib YES
|
||||
#define HasFreetype2 NO
|
||||
|
||||
/* We don't need -lm */
|
||||
@@ -258,7 +259,7 @@
|
||||
# ifdef CrossCompileDir
|
||||
# define ExtraIncDir CrossCompileDir/../../include
|
||||
# else
|
||||
-# define ExtraIncDir /usr/include/w32api
|
||||
+# define ExtraIncDir /mingw/include
|
||||
# endif
|
||||
#endif
|
||||
|
||||
diff -urw xc-orig/extras/rman/rman.c xc/extras/rman/rman.c
|
||||
--- xc-orig/extras/rman/rman.c 2009-03-18 18:13:28 +0100
|
||||
+++ xc/extras/rman/rman.c 2009-08-07 04:21:06 +0200
|
||||
@@ -268,21 +268,6 @@
|
||||
/* case insensitive versions of strcmp and strncmp */
|
||||
|
||||
static int
|
||||
-stricmp(const char *s1, const char *s2)
|
||||
-{
|
||||
- assert(s1!=NULL && s2!=NULL);
|
||||
- /*strincmp(s1, s2, strlen(s1)+1);*/
|
||||
-
|
||||
- while (tolower(*s1)==tolower(*s2)) {
|
||||
- if (*s1=='\0' /*&& *s2=='\0'*/) return 0;
|
||||
- s1++; s2++;
|
||||
- }
|
||||
-
|
||||
- if (tolower(*s1)<tolower(*s2)) return -1;
|
||||
- else return 1;
|
||||
-}
|
||||
-
|
||||
-static int
|
||||
lcexceptionscmp(const void *a, const void *b)
|
||||
{
|
||||
return stricmp(*(char **)a, *(char **)b);
|
||||
69
packaging/win32/xming/patches/xming-build-nls.patch
Normal file
69
packaging/win32/xming/patches/xming-build-nls.patch
Normal file
@@ -0,0 +1,69 @@
|
||||
diff -urw xc-orig/Imakefile xc/Imakefile
|
||||
--- xc-orig/Imakefile 2009-03-18 18:13:23.000000000 +0100
|
||||
+++ xc/Imakefile 2010-02-20 16:30:25.965264944 +0100
|
||||
@@ -18,12 +18,16 @@
|
||||
#if BuildFonts
|
||||
FONTSDIR = fonts
|
||||
#endif
|
||||
-#ifndef Win32Architecture
|
||||
+#if defined(mingwArchitecture) || !defined(Win32Architecture)
|
||||
#if BuildDocs
|
||||
DOCSDIR = doc
|
||||
#endif
|
||||
NLSSUBDIR = nls
|
||||
#endif
|
||||
+#else
|
||||
+#ifdef mingwArchitecture
|
||||
+ NLSSUBDIR = nls
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
SUBDIRS = include config lib $(NLSSUBDIR) \
|
||||
diff -urw xc-orig/nls/Compose/Imakefile xc/nls/Compose/Imakefile
|
||||
--- xc-orig/nls/Compose/Imakefile 2009-03-18 18:13:20.000000000 +0100
|
||||
+++ xc/nls/Compose/Imakefile 2010-02-20 16:24:42.442511645 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
XCOMM $XFree86: xc/nls/Compose/Imakefile,v 1.20 2002/05/31 18:45:52 dawes Exp $
|
||||
|
||||
-#ifndef Win32Architecture
|
||||
+#if defined(mingwArchitecture) || !defined(Win32Architecture)
|
||||
# define ComposeTarget(name) @@\
|
||||
all:: name.ct @@\
|
||||
MakeDir($(BUILDI18NDIR)/name) @@\
|
||||
diff -urw xc-orig/nls/Imakefile xc/nls/Imakefile
|
||||
--- xc-orig/nls/Imakefile 2009-03-18 18:13:20.000000000 +0100
|
||||
+++ xc/nls/Imakefile 2010-02-20 16:24:42.443510864 +0100
|
||||
@@ -28,7 +28,7 @@
|
||||
#define R63Compat YES
|
||||
#endif
|
||||
|
||||
-#ifndef Win32Architecture
|
||||
+#if defined(mingwArchitecture) || !defined(Win32Architecture)
|
||||
#if R63Compat
|
||||
# define LTarget(name) @@\
|
||||
CppFileTarget(name.l1,name,$(DEFINES),NullParameter) @@\
|
||||
diff -urw xc-orig/nls/XI18N_OBJS/Imakefile xc/nls/XI18N_OBJS/Imakefile
|
||||
--- xc-orig/nls/XI18N_OBJS/Imakefile 2009-03-18 18:13:20.000000000 +0100
|
||||
+++ xc/nls/XI18N_OBJS/Imakefile 2010-02-20 16:24:42.443510864 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
XCOMM $XFree86: xc/nls/XI18N_OBJS/Imakefile,v 1.6 2002/12/17 03:41:53 dawes Exp $
|
||||
|
||||
-#ifndef Win32Architecture
|
||||
+#if defined(mingwArchitecture) || !defined(Win32Architecture)
|
||||
# define XI18NTarget(name) @@\
|
||||
all:: name @@\
|
||||
MakeDir($(BUILDI18NDIR)/name) @@\
|
||||
diff -urw xc-orig/nls/XLC_LOCALE/Imakefile xc/nls/XLC_LOCALE/Imakefile
|
||||
--- xc-orig/nls/XLC_LOCALE/Imakefile 2009-03-18 18:13:20.000000000 +0100
|
||||
+++ xc/nls/XLC_LOCALE/Imakefile 2010-02-20 16:24:42.443510864 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
WCHAR32 = HasWChar32
|
||||
|
||||
-#ifndef Win32Architecture
|
||||
+#if defined(mingwArchitecture) || !defined(Win32Architecture)
|
||||
# define LTarget(name) @@\
|
||||
all:: name.lt @@\
|
||||
@@\
|
||||
12
packaging/win32/xming/patches/xming-build-subsys.patch
Normal file
12
packaging/win32/xming/patches/xming-build-subsys.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -urwN xc-orig/programs/Xserver/Imakefile xc/programs/Xserver/Imakefile
|
||||
--- xc-orig/programs/Xserver/Imakefile 2009-03-18 18:13:47.000000000 +0100
|
||||
+++ xc/programs/Xserver/Imakefile 2009-07-28 02:47:19.754745601 +0200
|
||||
@@ -1052,7 +1052,7 @@
|
||||
#endif
|
||||
XWINSYSLIBS = $(FONTLIBS) $(LDPRELIBS) $(XWINX11) $(SYSLIBS) $(XWINW32)
|
||||
|
||||
-EXTRA_LDOPTIONS = -e _mainCRTStartup
|
||||
+EXTRA_LDOPTIONS = -Wl,--subsystem,windows -mwindows
|
||||
|
||||
#if HasParallelMake
|
||||
MakeMutex($(XWINDIRS) $(XWINOBJS) $(XWINLIB) $(XWINLIBS) $(XWINSYSLIBS))
|
||||
93
packaging/win32/xming/patches/xming-build-xauth.patch
Normal file
93
packaging/win32/xming/patches/xming-build-xauth.patch
Normal file
@@ -0,0 +1,93 @@
|
||||
diff -urw xc-noauth/programs/Imakefile xc/programs/Imakefile
|
||||
--- xc-noauth/programs/Imakefile 2009-03-18 18:13:38.000000000 +0100
|
||||
+++ xc/programs/Imakefile 2009-08-02 16:40:15.951112896 +0200
|
||||
@@ -129,7 +129,7 @@
|
||||
#endif
|
||||
|
||||
#if BuildServersOnly || !BuildClients
|
||||
-SUBDIRS = $(XSSRCDIR) $(XKBCOMPDIR)
|
||||
+SUBDIRS = $(XSSRCDIR) $(XKBCOMPDIR) xauth
|
||||
#else
|
||||
SUBDIRS = \
|
||||
appres bdftopcf bitmap \
|
||||
diff -urw xc-noauth/programs/xauth/Imakefile xc/programs/xauth/Imakefile
|
||||
--- xc-noauth/programs/xauth/Imakefile 2009-03-18 18:13:37.000000000 +0100
|
||||
+++ xc/programs/xauth/Imakefile 2009-08-02 16:57:42.506366577 +0200
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
XCOMM $XFree86: xc/programs/xauth/Imakefile,v 3.5tsi Exp $
|
||||
|
||||
- DEPLIBS = $(DEPXAUTHLIB) $(DEPXMUULIB) $(DEPXLIB)
|
||||
-LOCAL_LIBRARIES = $(XAUTHLIB) $(XMUULIB) $(XLIB)
|
||||
+ DEPLIBS = $(DEPXAUTHLIB) $(DEPXLIB)
|
||||
+LOCAL_LIBRARIES = $(XAUTHLIB) $(XLIB)
|
||||
SRCS = xauth.c gethost.c process.c parsedpy.c
|
||||
OBJS = xauth.o gethost.o process.o parsedpy.o
|
||||
CONN_DEFINES = $(CONNECTION_FLAGS)
|
||||
diff -urw xc-noauth/programs/xauth/parsedpy.c xc/programs/xauth/parsedpy.c
|
||||
--- xc-noauth/programs/xauth/parsedpy.c 2009-03-18 18:13:37.000000000 +0100
|
||||
+++ xc/programs/xauth/parsedpy.c 2009-08-02 16:56:03.724365404 +0200
|
||||
@@ -44,7 +44,48 @@
|
||||
#include <sys/utsname.h> /* for struct utsname */
|
||||
#endif
|
||||
#include <X11/Xauth.h> /* for FamilyLocal */
|
||||
+#ifdef __MINGW32__
|
||||
+# include <X11/Xosdefs.h>
|
||||
+# include <X11/Xmd.h>
|
||||
+# include <string.h>
|
||||
+# include <unistd.h>
|
||||
+
|
||||
+# ifdef WIN32
|
||||
+# include <X11/Xwinsock.h>
|
||||
+# endif
|
||||
+int
|
||||
+XmuGetHostname(char *buf, int maxlen)
|
||||
+{
|
||||
+ int len;
|
||||
+# ifdef WIN32
|
||||
+ static WSADATA wsadata;
|
||||
+
|
||||
+ if (!wsadata.wVersion && WSAStartup(MAKEWORD(1,1), &wsadata))
|
||||
+ return -1;
|
||||
+# endif
|
||||
+
|
||||
+# ifdef NEED_UTSNAME
|
||||
+ /*
|
||||
+ * same host name crock as in server and xinit.
|
||||
+ */
|
||||
+ struct utsname name;
|
||||
+
|
||||
+ uname (&name);
|
||||
+ len = strlen (name.nodename);
|
||||
+ if (len >= maxlen) len = maxlen - 1;
|
||||
+ strncpy (buf, name.nodename, len);
|
||||
+ buf[len] = '\0';
|
||||
+# else
|
||||
+ buf[0] = '\0';
|
||||
+ (void) gethostname (buf, maxlen);
|
||||
+ buf [maxlen - 1] = '\0';
|
||||
+ len = strlen(buf);
|
||||
+# endif /* hpux */
|
||||
+ return len;
|
||||
+}
|
||||
+#else
|
||||
#include <X11/Xmu/SysUtil.h>
|
||||
+#endif
|
||||
|
||||
#if defined(UNIXCONN) || defined(LOCALCONN)
|
||||
#define UNIX_CONNECTION "unix"
|
||||
diff -urw xc-noauth/programs/xauth/process.c xc/programs/xauth/process.c
|
||||
--- xc-noauth/programs/xauth/process.c 2009-03-18 18:13:37.000000000 +0100
|
||||
+++ xc/programs/xauth/process.c 2009-08-02 16:40:15.952112883 +0200
|
||||
@@ -41,7 +41,11 @@
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
+#ifdef __MINGW32__
|
||||
+# define RETSIGTYPE void
|
||||
+#else
|
||||
#include <sys/socket.h>
|
||||
+#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <X11/X.h> /* for Family constants */
|
||||
629
packaging/win32/xming/patches/xming-build-xset.patch
Normal file
629
packaging/win32/xming/patches/xming-build-xset.patch
Normal file
@@ -0,0 +1,629 @@
|
||||
diff -urwN xc-orig/config/cf/host.def xc/config/cf/host.def
|
||||
--- xc-orig/config/cf/host.def 1970-01-01 01:00:00 +0100
|
||||
+++ xc/config/cf/host.def 2009-08-05 13:36:23 +0200
|
||||
@@ -0,0 +1 @@
|
||||
+
|
||||
diff -urwN xc-orig/lib/X11/XlibConf.h xc/lib/X11/XlibConf.h
|
||||
--- xc-orig/lib/X11/XlibConf.h 1970-01-01 01:00:00 +0100
|
||||
+++ xc/lib/X11/XlibConf.h 2009-08-05 13:37:03 +0200
|
||||
@@ -0,0 +1,7 @@
|
||||
+/* Defines needed to use Xlib from non-imake projects */
|
||||
+#ifndef XTHREADS
|
||||
+#define XTHREADS
|
||||
+#endif
|
||||
+#ifndef XUSE_MTSAFE_API
|
||||
+#define XUSE_MTSAFE_API
|
||||
+#endif
|
||||
diff -urwN xc-orig/programs/Imakefile xc/programs/Imakefile
|
||||
--- xc-orig/programs/Imakefile 2009-08-05 13:01:30 +0200
|
||||
+++ xc/programs/Imakefile 2009-08-05 13:36:22 +0200
|
||||
@@ -129,7 +129,7 @@
|
||||
#endif
|
||||
|
||||
#if BuildServersOnly || !BuildClients
|
||||
-SUBDIRS = $(XSSRCDIR) $(XKBCOMPDIR) xauth
|
||||
+SUBDIRS = $(XSSRCDIR) $(XKBCOMPDIR) xauth xset
|
||||
#else
|
||||
SUBDIRS = \
|
||||
appres bdftopcf bitmap \
|
||||
diff -urwN xc-orig/programs/xset/CharSet.h xc/programs/xset/CharSet.h
|
||||
--- xc-orig/programs/xset/CharSet.h 1970-01-01 01:00:00 +0100
|
||||
+++ xc/programs/xset/CharSet.h 2009-08-05 13:36:22 +0200
|
||||
@@ -0,0 +1,77 @@
|
||||
+/* $Xorg: CharSet.h,v 1.4 2001/02/09 02:03:51 xorgcvs Exp $ */
|
||||
+
|
||||
+/*
|
||||
+
|
||||
+Copyright 1988, 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.
|
||||
+
|
||||
+*/
|
||||
+
|
||||
+/* $XFree86: xc/lib/Xmu/CharSet.h,v 1.7 2001/01/17 19:42:53 dawes Exp $ */
|
||||
+
|
||||
+/*
|
||||
+ * The interfaces described by this header file are for miscellaneous utilities
|
||||
+ * and are not part of the Xlib standard.
|
||||
+ */
|
||||
+
|
||||
+#ifndef _XMU_CHARSET_H_
|
||||
+#define _XMU_CHARSET_H_
|
||||
+
|
||||
+#include <X11/Xfuncproto.h>
|
||||
+
|
||||
+_XFUNCPROTOBEGIN
|
||||
+
|
||||
+void XmuCopyISOLatin1Lowered
|
||||
+(
|
||||
+ char *dst_return,
|
||||
+ _Xconst char *src
|
||||
+ );
|
||||
+
|
||||
+void XmuCopyISOLatin1Uppered
|
||||
+(
|
||||
+ char *dst_return,
|
||||
+ _Xconst char *src
|
||||
+ );
|
||||
+
|
||||
+int XmuCompareISOLatin1
|
||||
+(
|
||||
+ _Xconst char *first,
|
||||
+ _Xconst char *second
|
||||
+ );
|
||||
+
|
||||
+void XmuNCopyISOLatin1Lowered
|
||||
+(
|
||||
+ char *dst_return,
|
||||
+ _Xconst char *src,
|
||||
+ int size
|
||||
+ );
|
||||
+
|
||||
+void XmuNCopyISOLatin1Uppered
|
||||
+(
|
||||
+ char *dst_return,
|
||||
+ _Xconst char *src,
|
||||
+ int size
|
||||
+ );
|
||||
+
|
||||
+_XFUNCPROTOEND
|
||||
+
|
||||
+#endif /* _XMU_CHARSET_H_ */
|
||||
diff -urwN xc-orig/programs/xset/DefErrMsg.c xc/programs/xset/DefErrMsg.c
|
||||
--- xc-orig/programs/xset/DefErrMsg.c 1970-01-01 01:00:00 +0100
|
||||
+++ xc/programs/xset/DefErrMsg.c 2009-08-05 13:36:22 +0200
|
||||
@@ -0,0 +1,173 @@
|
||||
+/* $Xorg: DefErrMsg.c,v 1.4 2001/02/09 02:03:52 xorgcvs Exp $ */
|
||||
+
|
||||
+/*
|
||||
+
|
||||
+Copyright 1988, 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.
|
||||
+
|
||||
+*/
|
||||
+/* $XFree86: xc/lib/Xmu/DefErrMsg.c,v 1.7 2001/01/17 19:42:54 dawes Exp $ */
|
||||
+
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include <config.h>
|
||||
+#endif
|
||||
+#include <stdio.h>
|
||||
+#define NEED_EVENTS
|
||||
+#include <X11/Xlibint.h>
|
||||
+#include <X11/Xproto.h>
|
||||
+#include "Error.h"
|
||||
+#include "SysUtil.h"
|
||||
+
|
||||
+/*
|
||||
+ * XmuPrintDefaultErrorMessage - print a nice error that looks like the usual
|
||||
+ * message. Returns 1 if the caller should consider exitting else 0.
|
||||
+ */
|
||||
+int
|
||||
+XmuPrintDefaultErrorMessage(Display *dpy, XErrorEvent *event, FILE *fp)
|
||||
+{
|
||||
+ char buffer[BUFSIZ];
|
||||
+ char mesg[BUFSIZ];
|
||||
+ char number[32];
|
||||
+ char *mtype = "XlibMessage";
|
||||
+ register _XExtension *ext = (_XExtension *)NULL;
|
||||
+ _XExtension *bext = (_XExtension *)NULL;
|
||||
+ XGetErrorText(dpy, event->error_code, buffer, BUFSIZ);
|
||||
+ XGetErrorDatabaseText(dpy, mtype, "XError", "X Error", mesg, BUFSIZ);
|
||||
+ (void) fprintf(fp, "%s: %s\n ", mesg, buffer);
|
||||
+ XGetErrorDatabaseText(dpy, mtype, "MajorCode", "Request Major code %d",
|
||||
+ mesg, BUFSIZ);
|
||||
+ (void) fprintf(fp, mesg, event->request_code);
|
||||
+ if (event->request_code < 128) {
|
||||
+ XmuSnprintf(number, sizeof(number), "%d", event->request_code);
|
||||
+ XGetErrorDatabaseText(dpy, "XRequest", number, "", buffer, BUFSIZ);
|
||||
+ } else {
|
||||
+ /* XXX this is non-portable */
|
||||
+ for (ext = dpy->ext_procs;
|
||||
+ ext && (ext->codes.major_opcode != event->request_code);
|
||||
+ ext = ext->next)
|
||||
+ ;
|
||||
+ if (ext)
|
||||
+ XmuSnprintf(buffer, sizeof(buffer), "%s", ext->name);
|
||||
+ else
|
||||
+ buffer[0] = '\0';
|
||||
+ }
|
||||
+ (void) fprintf(fp, " (%s)", buffer);
|
||||
+ fputs("\n ", fp);
|
||||
+ if (event->request_code >= 128) {
|
||||
+ XGetErrorDatabaseText(dpy, mtype, "MinorCode", "Request Minor code %d",
|
||||
+ mesg, BUFSIZ);
|
||||
+ (void) fprintf(fp, mesg, event->minor_code);
|
||||
+ if (ext) {
|
||||
+ XmuSnprintf(mesg, sizeof(mesg),
|
||||
+ "%s.%d", ext->name, event->minor_code);
|
||||
+ XGetErrorDatabaseText(dpy, "XRequest", mesg, "", buffer, BUFSIZ);
|
||||
+ (void) fprintf(fp, " (%s)", buffer);
|
||||
+ }
|
||||
+ fputs("\n ", fp);
|
||||
+ }
|
||||
+ if (event->error_code >= 128) {
|
||||
+ /* kludge, try to find the extension that caused it */
|
||||
+ buffer[0] = '\0';
|
||||
+ for (ext = dpy->ext_procs; ext; ext = ext->next) {
|
||||
+ if (ext->error_string)
|
||||
+ (*ext->error_string)(dpy, event->error_code, &ext->codes,
|
||||
+ buffer, BUFSIZ);
|
||||
+ if (buffer[0]) {
|
||||
+ bext = ext;
|
||||
+ break;
|
||||
+ }
|
||||
+ if (ext->codes.first_error &&
|
||||
+ ext->codes.first_error < event->error_code &&
|
||||
+ (!bext || ext->codes.first_error > bext->codes.first_error))
|
||||
+ bext = ext;
|
||||
+ }
|
||||
+ if (bext)
|
||||
+ XmuSnprintf(buffer, sizeof(buffer), "%s.%d", bext->name,
|
||||
+ event->error_code - bext->codes.first_error);
|
||||
+ else
|
||||
+ strcpy(buffer, "Value");
|
||||
+ XGetErrorDatabaseText(dpy, mtype, buffer, "", mesg, BUFSIZ);
|
||||
+ if (mesg[0]) {
|
||||
+ fputs(" ", fp);
|
||||
+ (void) fprintf(fp, mesg, event->resourceid);
|
||||
+ fputs("\n", fp);
|
||||
+ }
|
||||
+ /* let extensions try to print the values */
|
||||
+ for (ext = dpy->ext_procs; ext; ext = ext->next) {
|
||||
+ if (ext->error_values)
|
||||
+ (*ext->error_values)(dpy, event, fp);
|
||||
+ }
|
||||
+ } else if ((event->error_code == BadWindow) ||
|
||||
+ (event->error_code == BadPixmap) ||
|
||||
+ (event->error_code == BadCursor) ||
|
||||
+ (event->error_code == BadFont) ||
|
||||
+ (event->error_code == BadDrawable) ||
|
||||
+ (event->error_code == BadColor) ||
|
||||
+ (event->error_code == BadGC) ||
|
||||
+ (event->error_code == BadIDChoice) ||
|
||||
+ (event->error_code == BadValue) ||
|
||||
+ (event->error_code == BadAtom)) {
|
||||
+ if (event->error_code == BadValue)
|
||||
+ XGetErrorDatabaseText(dpy, mtype, "Value", "Value 0x%x",
|
||||
+ mesg, BUFSIZ);
|
||||
+ else if (event->error_code == BadAtom)
|
||||
+ XGetErrorDatabaseText(dpy, mtype, "AtomID", "AtomID 0x%x",
|
||||
+ mesg, BUFSIZ);
|
||||
+ else
|
||||
+ XGetErrorDatabaseText(dpy, mtype, "ResourceID", "ResourceID 0x%x",
|
||||
+ mesg, BUFSIZ);
|
||||
+ (void) fprintf(fp, mesg, event->resourceid);
|
||||
+ fputs("\n ", fp);
|
||||
+ }
|
||||
+ XGetErrorDatabaseText(dpy, mtype, "ErrorSerial", "Error Serial #%d",
|
||||
+ mesg, BUFSIZ);
|
||||
+ (void) fprintf(fp, mesg, event->serial);
|
||||
+ fputs("\n ", fp);
|
||||
+ XGetErrorDatabaseText(dpy, mtype, "CurrentSerial", "Current Serial #%d",
|
||||
+ mesg, BUFSIZ);
|
||||
+ (void) fprintf(fp, mesg, NextRequest(dpy)-1);
|
||||
+ fputs("\n", fp);
|
||||
+ if (event->error_code == BadImplementation) return 0;
|
||||
+ return 1;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+/*
|
||||
+ * XmuSimpleErrorHandler - ignore errors for XQueryTree, XGetWindowAttributes,
|
||||
+ * and XGetGeometry; print a message for everything else. In all case, do
|
||||
+ * not exit.
|
||||
+ */
|
||||
+int
|
||||
+XmuSimpleErrorHandler(Display *dpy, XErrorEvent *errorp)
|
||||
+{
|
||||
+ switch (errorp->request_code) {
|
||||
+ case X_QueryTree:
|
||||
+ case X_GetWindowAttributes:
|
||||
+ if (errorp->error_code == BadWindow) return 0;
|
||||
+ break;
|
||||
+ case X_GetGeometry:
|
||||
+ if (errorp->error_code == BadDrawable) return 0;
|
||||
+ break;
|
||||
+ }
|
||||
+ /* got a "real" X error */
|
||||
+ return XmuPrintDefaultErrorMessage (dpy, errorp, stderr);
|
||||
+}
|
||||
diff -urwN xc-orig/programs/xset/Error.h xc/programs/xset/Error.h
|
||||
--- xc-orig/programs/xset/Error.h 1970-01-01 01:00:00 +0100
|
||||
+++ xc/programs/xset/Error.h 2009-08-05 13:36:22 +0200
|
||||
@@ -0,0 +1,59 @@
|
||||
+/* $Xorg: Error.h,v 1.5 2001/02/09 02:03:52 xorgcvs Exp $ */
|
||||
+
|
||||
+/*
|
||||
+
|
||||
+Copyright 1988, 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.
|
||||
+
|
||||
+*/
|
||||
+/* $XFree86: xc/lib/Xmu/Error.h,v 1.5 2001/01/17 19:42:55 dawes Exp $ */
|
||||
+
|
||||
+/*
|
||||
+ * The interfaces described by this header file are for miscellaneous utilities
|
||||
+ * and are not part of the Xlib standard.
|
||||
+ */
|
||||
+
|
||||
+#ifndef _XMU_ERROR_H_
|
||||
+#define _XMU_ERROR_H_
|
||||
+
|
||||
+#include <stdio.h>
|
||||
+#include <X11/Xlib.h>
|
||||
+#include <X11/Xfuncproto.h>
|
||||
+
|
||||
+_XFUNCPROTOBEGIN
|
||||
+
|
||||
+int XmuPrintDefaultErrorMessage
|
||||
+(
|
||||
+ Display *dpy,
|
||||
+ XErrorEvent *event,
|
||||
+ FILE *fp
|
||||
+ );
|
||||
+
|
||||
+int XmuSimpleErrorHandler
|
||||
+(
|
||||
+ Display *dpy,
|
||||
+ XErrorEvent *errorp
|
||||
+ );
|
||||
+
|
||||
+_XFUNCPROTOEND
|
||||
+
|
||||
+#endif /* _XMU_ERROR_H_ */
|
||||
diff -urwN xc-orig/programs/xset/Imakefile xc/programs/xset/Imakefile
|
||||
--- xc-orig/programs/xset/Imakefile 2009-03-18 18:13:34 +0100
|
||||
+++ xc/programs/xset/Imakefile 2009-08-05 21:18:27 +0200
|
||||
@@ -19,10 +19,19 @@
|
||||
XPRINTDEFINES = -DBUILD_PRINTSUPPORT
|
||||
#endif
|
||||
|
||||
+#if HasSnprintf
|
||||
+ MISC_DEFINES = -DHAS_SNPRINTF
|
||||
+#else
|
||||
+ MISC_INCLUDES = -I$(LIBSRC)/misc
|
||||
+#endif
|
||||
+
|
||||
+ SRCS = xset.c DefErrMsg.c Lower.c
|
||||
+ OBJS = xset.o DefErrMsg.o Lower.o
|
||||
+ INCLUDES = $(MISC_INCLUDES)
|
||||
DEFINES = ExtensionDefines DPMSDefines \
|
||||
FontCacheExtensionDefines \
|
||||
- XkbDefines $(XPRINTDEFINES)
|
||||
- DEPLIBS = $(DEPXMUULIB) $(DEPXLIB) $(DEPXF86LIBS) $(DEPFONTLIBS)
|
||||
-LOCAL_LIBRARIES = $(XMUULIB) $(XF86LIBS) $(FONTLIBS) $(XPRINTLIBS) $(XLIB)
|
||||
+ XkbDefines $(XPRINTDEFINES) $(MISC_DEFINES)
|
||||
+ DEPLIBS = $(DEPXLIB) $(DEPXF86LIBS) $(DEPFONTLIBS)
|
||||
+LOCAL_LIBRARIES = $(XF86LIBS) $(FONTLIBS) $(XPRINTLIBS) $(XLIB)
|
||||
|
||||
-SimpleProgramTarget(xset)
|
||||
+ComplexProgramTarget(xset)
|
||||
diff -urwN xc-orig/programs/xset/Lower.c xc/programs/xset/Lower.c
|
||||
--- xc-orig/programs/xset/Lower.c 1970-01-01 01:00:00 +0100
|
||||
+++ xc/programs/xset/Lower.c 2009-08-05 13:36:22 +0200
|
||||
@@ -0,0 +1,164 @@
|
||||
+/* $Xorg: Lower.c,v 1.4 2001/02/09 02:03:53 xorgcvs Exp $ */
|
||||
+
|
||||
+/*
|
||||
+
|
||||
+Copyright 1988, 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.
|
||||
+
|
||||
+*/
|
||||
+
|
||||
+/* $XFree86: xc/lib/Xmu/Lower.c,v 1.11 2001/07/25 15:04:50 dawes Exp $ */
|
||||
+
|
||||
+#define XK_LATIN1
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include <config.h>
|
||||
+#endif
|
||||
+#include <X11/keysymdef.h>
|
||||
+#include "CharSet.h"
|
||||
+#include "SysUtil.h"
|
||||
+
|
||||
+#include <stdio.h>
|
||||
+
|
||||
+#ifndef HAS_SNPRINTF
|
||||
+#undef SCOPE
|
||||
+#define SCOPE static
|
||||
+#include "snprintf.c"
|
||||
+#endif
|
||||
+
|
||||
+#include <stdarg.h>
|
||||
+
|
||||
+/*
|
||||
+ * ISO Latin-1 case conversion routine
|
||||
+ */
|
||||
+#define XmuTolower(c) \
|
||||
+((c) >= XK_a && (c) <= XK_z ? \
|
||||
+ (c) : (c) >= XK_A && (c) <= XK_Z ? \
|
||||
+ (c) + (XK_a - XK_A) : (c) >= XK_Agrave && (c) <= XK_Odiaeresis ? \
|
||||
+ (c) + (XK_agrave - XK_Agrave) : (c) >= XK_Ooblique && (c) <= XK_Thorn ? \
|
||||
+ (c) + (XK_oslash - XK_Ooblique) : \
|
||||
+ (c))
|
||||
+
|
||||
+#define XmuToupper(c) \
|
||||
+((c) >= XK_A && (c) <= XK_Z ? \
|
||||
+ (c) : (c) >= XK_a && (c) <= XK_z ? \
|
||||
+ (c) - (XK_a - XK_A) : (c) >= XK_agrave && (c) <= XK_odiaeresis ? \
|
||||
+ (c) - (XK_agrave - XK_Agrave) : (c) >= XK_oslash && (c) <= XK_thorn ? \
|
||||
+ (c) - (XK_oslash - XK_Ooblique) : \
|
||||
+ (c))
|
||||
+
|
||||
+/*
|
||||
+ * Implementation
|
||||
+ */
|
||||
+void
|
||||
+XmuCopyISOLatin1Lowered(char *dst, _Xconst char *src)
|
||||
+{
|
||||
+ register unsigned char *dest, *source;
|
||||
+
|
||||
+ for (dest = (unsigned char *)dst, source = (unsigned char *)src;
|
||||
+ *source;
|
||||
+ source++, dest++)
|
||||
+ *dest = XmuTolower(*source);
|
||||
+ *dest = '\0';
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+XmuCopyISOLatin1Uppered(char *dst, _Xconst char *src)
|
||||
+{
|
||||
+ register unsigned char *dest, *source;
|
||||
+
|
||||
+ for (dest = (unsigned char *)dst, source = (unsigned char *)src;
|
||||
+ *source;
|
||||
+ source++, dest++)
|
||||
+ *dest = XmuToupper(*source);
|
||||
+ *dest = '\0';
|
||||
+}
|
||||
+
|
||||
+int
|
||||
+XmuCompareISOLatin1(_Xconst char *first, _Xconst char *second)
|
||||
+{
|
||||
+ register unsigned char *ap, *bp;
|
||||
+
|
||||
+ for (ap = (unsigned char *)first, bp = (unsigned char *)second;
|
||||
+ *ap && *bp && XmuTolower(*ap) == XmuTolower(*bp);
|
||||
+ ap++, bp++)
|
||||
+ ;
|
||||
+
|
||||
+ return ((int)XmuTolower(*ap) - (int)XmuTolower(*bp));
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+XmuNCopyISOLatin1Lowered(char *dst, _Xconst char *src, register int size)
|
||||
+{
|
||||
+ register unsigned char *dest, *source;
|
||||
+
|
||||
+ if (size > 0)
|
||||
+ {
|
||||
+ for (dest = (unsigned char *)dst, source = (unsigned char *)src;
|
||||
+ *source && size > 1;
|
||||
+ source++, dest++, size--)
|
||||
+ *dest = XmuTolower(*source);
|
||||
+ *dest = '\0';
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+XmuNCopyISOLatin1Uppered(char *dst, _Xconst char *src, register int size)
|
||||
+{
|
||||
+ register unsigned char *dest, *source;
|
||||
+
|
||||
+ if (size > 0)
|
||||
+ {
|
||||
+ for (dest = (unsigned char *)dst, source = (unsigned char *)src;
|
||||
+ *source && size > 1;
|
||||
+ source++, dest++, size--)
|
||||
+ *dest = XmuToupper(*source);
|
||||
+ *dest = '\0';
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+int
|
||||
+XmuSnprintf(char *str, int size, _Xconst char *fmt, ...)
|
||||
+{
|
||||
+ va_list ap;
|
||||
+ int retval;
|
||||
+
|
||||
+ if (size <= 0)
|
||||
+ return (size);
|
||||
+
|
||||
+ va_start(ap, fmt);
|
||||
+
|
||||
+#if 0
|
||||
+ retval = vsprintf(str, fmt, ap);
|
||||
+ if (retval >= size)
|
||||
+ {
|
||||
+ fprintf(stderr, "WARNING: buffer overflow detected!\n");
|
||||
+ fflush(stderr);
|
||||
+ abort();
|
||||
+ }
|
||||
+#else
|
||||
+ retval = vsnprintf(str, size, fmt, ap);
|
||||
+#endif
|
||||
+
|
||||
+ va_end(ap);
|
||||
+
|
||||
+ return (retval);
|
||||
+}
|
||||
diff -urwN xc-orig/programs/xset/SysUtil.h xc/programs/xset/SysUtil.h
|
||||
--- xc-orig/programs/xset/SysUtil.h 1970-01-01 01:00:00 +0100
|
||||
+++ xc/programs/xset/SysUtil.h 2009-08-05 13:50:56 +0200
|
||||
@@ -0,0 +1,60 @@
|
||||
+/* $Xorg: SysUtil.h,v 1.4 2001/02/09 02:03:53 xorgcvs Exp $ */
|
||||
+
|
||||
+/*
|
||||
+
|
||||
+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.
|
||||
+
|
||||
+*/
|
||||
+/* $XFree86: xc/lib/Xmu/SysUtil.h,v 1.9 2001/12/14 19:55:55 dawes Exp $ */
|
||||
+
|
||||
+#ifndef _SYSUTIL_H_
|
||||
+#define _SYSUTIL_H_
|
||||
+
|
||||
+#include <X11/Xfuncproto.h>
|
||||
+
|
||||
+_XFUNCPROTOBEGIN
|
||||
+
|
||||
+int XmuGetHostname
|
||||
+(
|
||||
+ char *buf_return,
|
||||
+ int maxlen
|
||||
+);
|
||||
+
|
||||
+#ifndef _XMU_H_
|
||||
+int XmuSnprintf
|
||||
+(
|
||||
+ char *str,
|
||||
+ int size,
|
||||
+ _Xconst char *fmt,
|
||||
+ ...
|
||||
+ )
|
||||
+#if defined(__GNUC__) && \
|
||||
+ ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ > 4)))
|
||||
+__attribute((format(printf,3,4)))
|
||||
+#endif
|
||||
+;
|
||||
+#endif
|
||||
+
|
||||
+_XFUNCPROTOEND
|
||||
+
|
||||
+#endif /* _SYSUTIL_H_ */
|
||||
diff -urwN xc-orig/programs/xset/xset.c xc/programs/xset/xset.c
|
||||
--- xc-orig/programs/xset/xset.c 2009-03-18 18:13:34 +0100
|
||||
+++ xc/programs/xset/xset.c 2009-08-05 13:36:22 +0200
|
||||
@@ -68,7 +68,7 @@
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/Xutil.h>
|
||||
-#include <X11/Xmu/Error.h>
|
||||
+#include "Error.h"
|
||||
#ifdef MITMISC
|
||||
#include <X11/extensions/MITMisc.h>
|
||||
#endif
|
||||
@@ -98,7 +98,7 @@
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/Xutil.h>
|
||||
-#include <X11/Xmu/Error.h>
|
||||
+#include "Error.h"
|
||||
#ifdef MITMISC
|
||||
#include <X11/extensions/MITMisc.h>
|
||||
#endif
|
||||
220
packaging/win32/xming/patches/xming-build.patch
Normal file
220
packaging/win32/xming/patches/xming-build.patch
Normal file
@@ -0,0 +1,220 @@
|
||||
diff -urwN xc-orig/config/cf/mingw.cf xc/config/cf/mingw.cf
|
||||
--- xc-orig/config/cf/mingw.cf 2009-03-18 18:13:23.000000000 +0100
|
||||
+++ xc/config/cf/mingw.cf 2010-03-14 16:43:58.971671393 +0100
|
||||
@@ -30,7 +30,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef XVendorString
|
||||
-# define XVendorString "Colin Harrison"
|
||||
+# define XVendorString "The OpenNX Project"
|
||||
#endif
|
||||
#ifndef XVendorRelease
|
||||
# define XVendorRelease CygxVersion
|
||||
@@ -39,10 +39,10 @@
|
||||
# define XVendorManVersionString CygxManVersionString
|
||||
#endif
|
||||
#ifndef XVendorManNameString
|
||||
-# define XVendorManNameString "Xming"
|
||||
+# define XVendorManNameString "OpenNX Xming"
|
||||
#endif
|
||||
#ifndef XVendorContact
|
||||
-# define XVendorContact "http://sourceforge.net/forum/?group_id=156984"
|
||||
+# define XVendorContact "http://sourceforge.net/projects/opennx/"
|
||||
#endif
|
||||
|
||||
/* Operating system strings and version */
|
||||
@@ -118,9 +118,9 @@
|
||||
# endif
|
||||
# ifndef DefaultCCOptions
|
||||
# if defined(UseInstalled)
|
||||
-# define DefaultCCOptions
|
||||
+# define DefaultCCOptions -fno-strict-aliasing
|
||||
# else
|
||||
-# define DefaultCCOptions GccWarningOptions
|
||||
+# define DefaultCCOptions GccWarningOptions -fno-strict-aliasing
|
||||
# endif
|
||||
# endif
|
||||
# if defined(UseInstalled)
|
||||
diff -urwN xc-orig/lib/font/fc/fsconvert.c xc/lib/font/fc/fsconvert.c
|
||||
--- xc-orig/lib/font/fc/fsconvert.c 2009-03-18 18:13:18.000000000 +0100
|
||||
+++ xc/lib/font/fc/fsconvert.c 2010-03-14 16:43:58.972672079 +0100
|
||||
@@ -30,6 +30,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
+#include <stdint.h>
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xtrans/Xtrans.h>
|
||||
#include <X11/Xpoll.h>
|
||||
diff -urwN xc-orig/programs/Xserver/fb/fbcompose.c xc/programs/Xserver/fb/fbcompose.c
|
||||
--- xc-orig/programs/Xserver/fb/fbcompose.c 2009-03-18 18:13:39.000000000 +0100
|
||||
+++ xc/programs/Xserver/fb/fbcompose.c 2010-03-14 16:43:58.975671483 +0100
|
||||
@@ -26,6 +26,7 @@
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
+#include <stdint.h>
|
||||
|
||||
#include "fb.h"
|
||||
|
||||
diff -urwN xc-orig/programs/Xserver/hw/xwin/Imakefile xc/programs/Xserver/hw/xwin/Imakefile
|
||||
--- xc-orig/programs/Xserver/hw/xwin/Imakefile 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/Imakefile 2010-03-14 16:45:44.949905456 +0100
|
||||
@@ -23,7 +23,7 @@
|
||||
EXTRADEFINES += -DREAD_FONTDIRS
|
||||
|
||||
#if defined(mingwArchitecture)
|
||||
-PROJECT_NAME = Xming
|
||||
+PROJECT_NAME = OpenNX
|
||||
#elif defined(cygwinArchitecture)
|
||||
PROJECT_NAME = Cygwin/X
|
||||
#else
|
||||
diff -urwN xc-orig/programs/Xserver/hw/xwin/winmultiwindowicons.c xc/programs/Xserver/hw/xwin/winmultiwindowicons.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winmultiwindowicons.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winmultiwindowicons.c 2010-03-14 16:43:58.977654347 +0100
|
||||
@@ -31,6 +31,7 @@
|
||||
#ifdef HAVE_XWIN_CONFIG_H
|
||||
#include <xwin-config.h>
|
||||
#endif
|
||||
+#include <stdint.h>
|
||||
#include "win.h"
|
||||
#include "dixevents.h"
|
||||
#include "winmultiwindowclass.h"
|
||||
diff -urwN xc-orig/programs/Xserver/hw/xwin/winprocarg.c xc/programs/Xserver/hw/xwin/winprocarg.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winprocarg.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winprocarg.c 2010-03-14 16:56:55.234654504 +0100
|
||||
@@ -1483,7 +1483,7 @@
|
||||
|| strlen (argv[i]) > CHARS_PER_LINE)
|
||||
{
|
||||
iCurrLen = 0;
|
||||
- ++iSize;
|
||||
+ iSize += 2;
|
||||
}
|
||||
|
||||
/* Add space for item and trailing space */
|
||||
@@ -1494,7 +1494,7 @@
|
||||
}
|
||||
|
||||
/* Allocate memory for concatenated command line */
|
||||
- g_pszCommandLine = malloc (iSize + 1);
|
||||
+ g_pszCommandLine = malloc (iSize + 2);
|
||||
if (!g_pszCommandLine)
|
||||
FatalError ("winLogCommandLine - Could not allocate memory for "
|
||||
"command line string. Exiting.\n");
|
||||
@@ -1547,7 +1547,9 @@
|
||||
ErrorF ("FreeType2: %d.%d.%d\n", amajor, aminor, apatch);
|
||||
FT_Done_FreeType(library);
|
||||
ErrorF ("Contact: %s\n\n", VENDOR_CONTACT);
|
||||
- if (g_pszCommandLine) ErrorF ("%s\n\n", g_pszCommandLine);
|
||||
+ if (g_pszCommandLine)
|
||||
+ ErrorF ("%s was started with the following command line...\n"
|
||||
+ "%s\n\n", PROJECT_NAME, g_pszCommandLine);
|
||||
}
|
||||
|
||||
/*
|
||||
diff -urwN xc-orig/programs/Xserver/hw/xwin/XWin.rc xc/programs/Xserver/hw/xwin/XWin.rc
|
||||
--- xc-orig/programs/Xserver/hw/xwin/XWin.rc 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/XWin.rc 2010-03-14 16:43:58.978653706 +0100
|
||||
@@ -39,8 +39,8 @@
|
||||
#include <winver.h>
|
||||
|
||||
#include "../../../../../version.def"
|
||||
-#define XW32_VERSIONINFO_NAME "Xming\0"
|
||||
-#define XW32_VERSIONINFO_COMMENT "Xming X Server\0"
|
||||
+#define XW32_VERSIONINFO_NAME "OpenNX Xming\0"
|
||||
+#define XW32_VERSIONINFO_COMMENT "OpenNX X Server\0"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION XW32_VERSION
|
||||
@@ -59,9 +59,9 @@
|
||||
VALUE "FileVersion", XW32_VERSION_STRING
|
||||
VALUE "InternalName", XW32_VERSIONINFO_NAME
|
||||
VALUE "OriginalFilename", "Xming.exe\0"
|
||||
- VALUE "CompanyName", "Colin Harrison\0"
|
||||
+ VALUE "CompanyName", "The OpenNX Project\0"
|
||||
VALUE "LegalCopyright", "Copyright \251 2005-2007 Colin Harrison\0"
|
||||
- VALUE "Info", "http://www.StraightRunning.com/XmingNotes/\0"
|
||||
+ VALUE "Info", "http://sourceforge.net/projects/opennx/\0"
|
||||
VALUE "Comment", XW32_VERSIONINFO_COMMENT
|
||||
END
|
||||
END
|
||||
@@ -154,5 +154,4 @@
|
||||
*/
|
||||
|
||||
IDI_XWIN ICON DISCARDABLE "X.ico"
|
||||
-IDB_XWIN BITMAP "X.bmp"
|
||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "Xming.exe.manifest"
|
||||
diff -urwN xc-orig/programs/Xserver/miext/rootless/accel/rlAccel.c xc/programs/Xserver/miext/rootless/accel/rlAccel.c
|
||||
--- xc-orig/programs/Xserver/miext/rootless/accel/rlAccel.c 2009-03-18 18:13:47.000000000 +0100
|
||||
+++ xc/programs/Xserver/miext/rootless/accel/rlAccel.c 2010-03-14 16:43:58.979653414 +0100
|
||||
@@ -139,7 +139,7 @@
|
||||
|
||||
s = xalloc(sizeof(rlAccelScreenRec));
|
||||
if (!s) return FALSE;
|
||||
- RLACCELREC(pScreen) = s;
|
||||
+ memcpy(RLACCELREC(pScreen), s, sizeof(rlAccelScreenRec));
|
||||
|
||||
// Wrap the screen functions we need
|
||||
s->CreateGC = pScreen->CreateGC;
|
||||
diff -urwN xc-orig/programs/Xserver/miext/rootless/rootlessScreen.c xc/programs/Xserver/miext/rootless/rootlessScreen.c
|
||||
--- xc-orig/programs/Xserver/miext/rootless/rootlessScreen.c 2009-03-18 18:13:47.000000000 +0100
|
||||
+++ xc/programs/Xserver/miext/rootless/rootlessScreen.c 2010-03-14 16:43:58.980653890 +0100
|
||||
@@ -568,7 +568,7 @@
|
||||
|
||||
s = xalloc(sizeof(RootlessScreenRec));
|
||||
if (! s) return FALSE;
|
||||
- SCREENREC(pScreen) = s;
|
||||
+ memcpy(SCREENREC(pScreen), s, sizeof(RootlessScreenRec));
|
||||
|
||||
s->pixmap_data = NULL;
|
||||
s->pixmap_data_size = 0;
|
||||
diff -urwN xc-orig/programs/Xserver/miext/rootless/rootlessWindow.c xc/programs/Xserver/miext/rootless/rootlessWindow.c
|
||||
--- xc-orig/programs/Xserver/miext/rootless/rootlessWindow.c 2009-03-18 18:13:47.000000000 +0100
|
||||
+++ xc/programs/Xserver/miext/rootless/rootlessWindow.c 2010-03-14 16:43:58.981653529 +0100
|
||||
@@ -66,7 +66,7 @@
|
||||
Bool result;
|
||||
RegionRec saveRoot;
|
||||
|
||||
- WINREC(pWin) = NULL;
|
||||
+ memset(WINREC(pWin), 0, sizeof(WindowRec));
|
||||
|
||||
SCREEN_UNWRAP(pWin->drawable.pScreen, CreateWindow);
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
#endif
|
||||
|
||||
xfree(winRec);
|
||||
- WINREC(pWin) = NULL;
|
||||
+ memset(WINREC(pWin), 0, sizeof(WindowRec));
|
||||
}
|
||||
|
||||
|
||||
@@ -353,7 +353,7 @@
|
||||
winRec->pixmap = NULL;
|
||||
winRec->wid = NULL;
|
||||
|
||||
- WINREC(pWin) = winRec;
|
||||
+ memcpy(WINREC(pWin), winRec, sizeof(RootlessWindowRec));
|
||||
|
||||
#ifdef SHAPE
|
||||
// Set the frame's shape if the window is shaped
|
||||
@@ -370,7 +370,7 @@
|
||||
{
|
||||
RL_DEBUG_MSG("implementation failed to create frame!\n");
|
||||
xfree(winRec);
|
||||
- WINREC(pWin) = NULL;
|
||||
+ memset(WINREC(pWin), 0, sizeof(WindowRec));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -1298,8 +1298,8 @@
|
||||
|
||||
/* Switch the frame record from one to the other. */
|
||||
|
||||
- WINREC(pWin) = NULL;
|
||||
- WINREC(pTopWin) = winRec;
|
||||
+ memset(WINREC(pWin), 0, sizeof(WindowRec));
|
||||
+ memcpy(WINREC(pTopWin), winRec, sizeof(WindowRec));
|
||||
|
||||
RootlessInitializeFrame(pTopWin, winRec);
|
||||
RootlessReshapeFrame(pTopWin);
|
||||
220
packaging/win32/xming/patches/xming-clipfilter.patch
Normal file
220
packaging/win32/xming/patches/xming-clipfilter.patch
Normal file
@@ -0,0 +1,220 @@
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winclipboard.h xc/programs/Xserver/hw/xwin/winclipboard.h
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winclipboard.h 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winclipboard.h 2011-12-11 22:25:09.726239465 +0100
|
||||
@@ -72,8 +72,8 @@
|
||||
|
||||
|
||||
/* Clipboard module constants */
|
||||
-#define WIN_CLIPBOARD_WINDOW_CLASS "xwinclip"
|
||||
-#define WIN_CLIPBOARD_WINDOW_TITLE "xwinclip"
|
||||
+#define WIN_CLIPBOARD_WINDOW_CLASS "OpenNXWinClip"
|
||||
+#define WIN_CLIPBOARD_WINDOW_TITLE "OpenNXWinClip"
|
||||
#ifdef HAS_DEVWINDOWS
|
||||
# define WIN_MSG_QUEUE_FNAME "/dev/windows"
|
||||
#endif
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winclipboardwndproc.c xc/programs/Xserver/hw/xwin/winclipboardwndproc.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winclipboardwndproc.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winclipboardwndproc.c 2011-12-11 22:25:09.727239465 +0100
|
||||
@@ -60,6 +60,8 @@
|
||||
/* BPS - g_hwndClipboard needed for X app->Windows paste fix */
|
||||
extern HWND g_hwndClipboard;
|
||||
|
||||
+extern int g_iClipFilter;
|
||||
+
|
||||
/*
|
||||
* Local function prototypes
|
||||
*/
|
||||
@@ -155,6 +157,7 @@
|
||||
* Windows app. TODO - Perhaps move to win.h with the other WM_USER messages.
|
||||
*/
|
||||
#define WM_USER_PASTE_COMPLETE (WM_USER + 1003)
|
||||
+#define WM_USER_SET_FILTER (WM_USER + 1004)
|
||||
|
||||
LRESULT CALLBACK
|
||||
winClipboardWindowProc (HWND hwnd, UINT message,
|
||||
@@ -166,6 +169,12 @@
|
||||
/* Branch on message type */
|
||||
switch (message)
|
||||
{
|
||||
+ case WM_USER_SET_FILTER:
|
||||
+ if ((0 < wParam) && (4 > wParam)) {
|
||||
+ g_iClipFilter = (int)wParam;
|
||||
+ ErrorF ("Setting ClipFilter to %d\n", g_iClipFilter);
|
||||
+ }
|
||||
+ return 0;
|
||||
case WM_DESTROY:
|
||||
{
|
||||
winDebug ("winClipboardWindowProc - WM_DESTROY\n");
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winclipboardwrappers.c xc/programs/Xserver/hw/xwin/winclipboardwrappers.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winclipboardwrappers.c 2011-12-11 02:06:30.189499447 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winclipboardwrappers.c 2011-12-11 22:25:09.728239464 +0100
|
||||
@@ -74,6 +74,7 @@
|
||||
extern winDispatchProcPtr winProcQueryTreeOrig;
|
||||
extern winDispatchProcPtr winProcSetSelectionOwnerOrig;
|
||||
|
||||
+extern int g_iClipFilter;
|
||||
|
||||
/*
|
||||
* Wrapper for internal QueryTree function.
|
||||
@@ -530,7 +531,21 @@
|
||||
SetClipboardData (CF_TEXT, NULL);
|
||||
|
||||
/* Save handle to last owned selection */
|
||||
+ switch (g_iClipFilter) {
|
||||
+ case CLIPFILTER_PRIMARY:
|
||||
+ if (XA_PRIMARY == stuff->selection) {
|
||||
g_atomLastOwnedSelection = stuff->selection;
|
||||
+ }
|
||||
+ break;
|
||||
+ case CLIPFILTER_CLIPBOARD:
|
||||
+ if (MakeAtom ("CLIPBOARD", 9, TRUE) == stuff->selection) {
|
||||
+ g_atomLastOwnedSelection = stuff->selection;
|
||||
+ }
|
||||
+ break;
|
||||
+ case CLIPFILTER_BOTH:
|
||||
+ g_atomLastOwnedSelection = stuff->selection;
|
||||
+ break;
|
||||
+ }
|
||||
|
||||
/* Release the clipboard */
|
||||
if (!CloseClipboard ())
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winclipboardxevents.c xc/programs/Xserver/hw/xwin/winclipboardxevents.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winclipboardxevents.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winclipboardxevents.c 2011-12-11 22:25:09.730239464 +0100
|
||||
@@ -33,6 +33,8 @@
|
||||
#endif
|
||||
#include "winclipboard.h"
|
||||
|
||||
+#define CLPDEBUG 0
|
||||
+
|
||||
|
||||
/*
|
||||
* References to external symbols
|
||||
@@ -100,7 +102,7 @@
|
||||
*/
|
||||
|
||||
case SelectionRequest:
|
||||
-#if 0
|
||||
+#if CLPDEBUG
|
||||
{
|
||||
char *pszAtomName = NULL;
|
||||
|
||||
@@ -445,7 +447,7 @@
|
||||
*/
|
||||
|
||||
case SelectionNotify:
|
||||
-#if 0
|
||||
+#if 1
|
||||
ErrorF ("winClipboardFlushXEvents - SelectionNotify\n");
|
||||
{
|
||||
char *pszAtomName;
|
||||
@@ -468,7 +470,7 @@
|
||||
{
|
||||
if (event.xselection.target == XA_STRING)
|
||||
{
|
||||
-#if 0
|
||||
+#if CLPDEBUG
|
||||
ErrorF ("winClipboardFlushXEvents - SelectionNotify - "
|
||||
"XA_STRING\n");
|
||||
#endif
|
||||
@@ -476,7 +478,7 @@
|
||||
}
|
||||
else if (event.xselection.target == atomUTF8String)
|
||||
{
|
||||
-#if 0
|
||||
+#if CLPDEBUG
|
||||
ErrorF ("winClipboardFlushXEvents - SelectionNotify - "
|
||||
"Requesting conversion of UTF8 target.\n");
|
||||
#endif
|
||||
@@ -502,7 +504,7 @@
|
||||
#ifdef X_HAVE_UTF8_STRING
|
||||
else if (event.xselection.target == atomCompoundText)
|
||||
{
|
||||
-#if 0
|
||||
+#if CLPDEBUG
|
||||
ErrorF ("winClipboardFlushXEvents - SelectionNotify - "
|
||||
"Requesting conversion of CompoundText target.\n");
|
||||
#endif
|
||||
@@ -556,7 +558,7 @@
|
||||
break;
|
||||
}
|
||||
|
||||
-#if 0
|
||||
+#if CLPDEBUG
|
||||
ErrorF ("SelectionNotify - returned data %d left %d\n",
|
||||
xtpText.nitems, ulReturnBytesLeft);
|
||||
#endif
|
||||
@@ -582,7 +584,7 @@
|
||||
break;
|
||||
}
|
||||
|
||||
-#if 0
|
||||
+#if CLPDEBUG
|
||||
{
|
||||
char *pszAtomName = NULL;
|
||||
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winglobals.c xc/programs/Xserver/hw/xwin/winglobals.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winglobals.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winglobals.c 2011-12-11 22:25:09.731239464 +0100
|
||||
@@ -115,6 +115,7 @@
|
||||
void *g_pClipboardDisplay = NULL;
|
||||
Window g_iClipboardWindow = None;
|
||||
Atom g_atomLastOwnedSelection = None;
|
||||
+int g_iClipFilter = CLIPFILTER_BOTH;
|
||||
#endif
|
||||
|
||||
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/win.h xc/programs/Xserver/hw/xwin/win.h
|
||||
--- xc-orig/programs/Xserver/hw/xwin/win.h 2011-12-11 02:06:30.192499447 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/win.h 2011-12-11 22:25:09.733239464 +0100
|
||||
@@ -808,6 +808,10 @@
|
||||
|
||||
void
|
||||
winFixClipboardChain (void);
|
||||
+
|
||||
+# define CLIPFILTER_PRIMARY 1
|
||||
+# define CLIPFILTER_CLIPBOARD 2
|
||||
+# define CLIPFILTER_BOTH 3
|
||||
#endif
|
||||
|
||||
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winprocarg.c xc/programs/Xserver/hw/xwin/winprocarg.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winprocarg.c 2011-12-11 02:06:30.194499447 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winprocarg.c 2011-12-12 12:29:43.119998361 +0100
|
||||
@@ -50,6 +50,7 @@
|
||||
#ifdef XWIN_CLIPBOARD
|
||||
extern Bool g_fUnicodeClipboard;
|
||||
extern Bool g_fClipboard;
|
||||
+extern int g_iClipFilter;
|
||||
#endif
|
||||
extern int g_iLogVerbose;
|
||||
extern char * g_pszLogFile;
|
||||
@@ -917,9 +918,27 @@
|
||||
if (IS_OPTION ("-clipboard"))
|
||||
{
|
||||
g_fClipboard = TRUE;
|
||||
+ int iArgsProcessed = 1;
|
||||
|
||||
+ /* Grab the optional filter value */
|
||||
+ if (i + 1 < argc) {
|
||||
+ iArgsProcessed++;
|
||||
+ sscanf (argv[i + 1], "%d", &g_iClipFilter);
|
||||
+ if ((CLIPFILTER_PRIMARY > g_iClipFilter) || (CLIPFILTER_BOTH < g_iClipFilter)) {
|
||||
+ g_iClipFilter = CLIPFILTER_BOTH;
|
||||
+ }
|
||||
+ if (0 == strcmp(argv[i + 1], "primary")) {
|
||||
+ g_iClipFilter = CLIPFILTER_PRIMARY;
|
||||
+ }
|
||||
+ if (0 == strcmp(argv[i + 1], "clipboard")) {
|
||||
+ g_iClipFilter = CLIPFILTER_CLIPBOARD;
|
||||
+ }
|
||||
+ if (0 == strcmp(argv[i + 1], "both")) {
|
||||
+ g_iClipFilter = CLIPFILTER_BOTH;
|
||||
+ }
|
||||
+ }
|
||||
/* Indicate that we have processed this argument */
|
||||
- return 1;
|
||||
+ return iArgsProcessed;
|
||||
}
|
||||
#endif
|
||||
|
||||
70
packaging/win32/xming/patches/xming-envbasedir.patch
Normal file
70
packaging/win32/xming/patches/xming-envbasedir.patch
Normal file
@@ -0,0 +1,70 @@
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/InitOutput.c xc/programs/Xserver/hw/xwin/InitOutput.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/InitOutput.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/InitOutput.c 2010-02-23 01:08:11.897702327 +0100
|
||||
@@ -130,7 +130,7 @@
|
||||
|
||||
#ifdef RELOCATE_PROJECTROOT
|
||||
const char *
|
||||
-winGetBaseDir(void);
|
||||
+winGetBaseDir(int getreal);
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -384,17 +384,26 @@
|
||||
|
||||
#ifdef RELOCATE_PROJECTROOT
|
||||
const char *
|
||||
-winGetBaseDir(void)
|
||||
+winGetBaseDir(int getreal)
|
||||
{
|
||||
static BOOL inited = FALSE;
|
||||
static char buffer[MAX_PATH];
|
||||
+ static char buffer2[MAX_PATH];
|
||||
if (!inited)
|
||||
{
|
||||
char *fendptr;
|
||||
+ DWORD size = 0;
|
||||
+ buffer[0] = '\0';
|
||||
+ if (NULL != getenv("XMING_BASEDIR"))
|
||||
+ strncpy(buffer2, getenv("XMING_BASEDIR"), sizeof(buffer2));
|
||||
+ if ('\0' == buffer[0]) {
|
||||
HMODULE module = GetModuleHandle(NULL);
|
||||
- DWORD size = GetModuleFileName(module, buffer, sizeof(buffer));
|
||||
- if (sizeof(buffer) > 0)
|
||||
- buffer[sizeof(buffer)-1] = 0;
|
||||
+ size = GetModuleFileName(module, buffer, sizeof(buffer));
|
||||
+ }
|
||||
+ if (0 < sizeof(buffer))
|
||||
+ buffer[sizeof(buffer)-1] = '\0';
|
||||
+ if (0 < sizeof(buffer2))
|
||||
+ buffer2[sizeof(buffer2)-1] = '\0';
|
||||
|
||||
fendptr = buffer + size;
|
||||
while (fendptr > buffer)
|
||||
@@ -408,7 +417,7 @@
|
||||
}
|
||||
inited = TRUE;
|
||||
}
|
||||
- return buffer;
|
||||
+ return getreal ? buffer : buffer2;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -418,7 +427,7 @@
|
||||
BOOL changed_fontpath = FALSE;
|
||||
MessageType font_from = X_DEFAULT;
|
||||
#ifdef RELOCATE_PROJECTROOT
|
||||
- const char *basedir = winGetBaseDir();
|
||||
+ const char *basedir = winGetBaseDir(0);
|
||||
size_t basedirlen = strlen(basedir);
|
||||
#endif
|
||||
|
||||
@@ -724,7 +733,7 @@
|
||||
if (sizeof(xkbbasedir) > 0)
|
||||
xkbbasedir[sizeof(xkbbasedir)-1] = 0;
|
||||
XkbBaseDirectory = xkbbasedir;
|
||||
- XkbBinDirectory = basedir;
|
||||
+ XkbBinDirectory = winGetBaseDir(1);
|
||||
}
|
||||
#endif /* XKB */
|
||||
#endif /* RELOCATE_PROJECTROOT */
|
||||
185
packaging/win32/xming/patches/xming-kbhook.patch
Normal file
185
packaging/win32/xming/patches/xming-kbhook.patch
Normal file
@@ -0,0 +1,185 @@
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/win.h xc/programs/Xserver/hw/xwin/win.h
|
||||
--- xc-orig/programs/Xserver/hw/xwin/win.h 2012-02-22 02:29:25.022775626 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/win.h 2012-02-22 04:33:57.949268146 +0100
|
||||
@@ -448,6 +448,7 @@
|
||||
/* Did the user requested to nitially hide our window? */
|
||||
Bool fHideInitial;
|
||||
DWORD origShowWindowMode;
|
||||
+ Bool fGrabKeyboard;
|
||||
} winScreenInfo, *winScreenInfoPtr;
|
||||
|
||||
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winkeyhook.c xc/programs/Xserver/hw/xwin/winkeyhook.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winkeyhook.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winkeyhook.c 2012-02-22 04:35:47.073275339 +0100
|
||||
@@ -85,8 +85,7 @@
|
||||
/* Get pointers to our screen privates and screen info */
|
||||
pScreenPriv = pWinPriv->pScreenPriv;
|
||||
pScreenInfo = pScreenPriv->pScreenInfo;
|
||||
-
|
||||
- if (pScreenInfo->fMultiWindow)
|
||||
+ if (!pScreenInfo->fGrabKeyboard)
|
||||
fPassAltTab = FALSE;
|
||||
}
|
||||
#endif
|
||||
@@ -171,11 +170,13 @@
|
||||
}
|
||||
|
||||
/* Install the hook only once */
|
||||
- if (!g_hhookKeyboardLL)
|
||||
+ if (!g_hhookKeyboardLL) {
|
||||
g_hhookKeyboardLL = SetWindowsHookEx (WH_KEYBOARD_LL,
|
||||
winKeyboardMessageHookLL,
|
||||
g_hInstance,
|
||||
0);
|
||||
+ ErrorF ("Installing keyboard hook %s\n", ((g_hhookKeyboardLL) ? "ok" : "failed"));;
|
||||
+ }
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
@@ -188,7 +189,9 @@
|
||||
void
|
||||
winRemoveKeyboardHookLL ()
|
||||
{
|
||||
- if (g_hhookKeyboardLL)
|
||||
+ if (g_hhookKeyboardLL) {
|
||||
UnhookWindowsHookEx (g_hhookKeyboardLL);
|
||||
+ ErrorF ("Uninstalled keyboard hook\n");
|
||||
+ }
|
||||
g_hhookKeyboardLL = NULL;
|
||||
}
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winprefs.c xc/programs/Xserver/hw/xwin/winprefs.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winprefs.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winprefs.c 2012-02-22 04:33:58.316268169 +0100
|
||||
@@ -48,6 +48,8 @@
|
||||
/* Where will the custom menu commands start counting from? */
|
||||
#define STARTMENUID WM_USER
|
||||
|
||||
+#define ID_TOGGLE_KBGRAB STARTMENUID
|
||||
+
|
||||
/* External global variables */
|
||||
#ifdef XWIN_MULTIWINDOW
|
||||
extern DWORD g_dwCurrentThreadID;
|
||||
@@ -66,12 +68,14 @@
|
||||
extern HICON g_hSmallIconX;
|
||||
|
||||
/* Currently in use command ID, incremented each new menu item created */
|
||||
-static int g_cmdid = STARTMENUID;
|
||||
+static int g_cmdid = STARTMENUID + 10;
|
||||
|
||||
|
||||
/* Defined in DIX */
|
||||
extern char *display;
|
||||
|
||||
+extern Bool g_fKeyboardHookLL;
|
||||
+
|
||||
/* Local function to handle comma-ified icon names */
|
||||
static HICON
|
||||
LoadImageComma (char *fname, int sx, int sy, int flags);
|
||||
@@ -276,7 +280,7 @@
|
||||
DestroyIcon (g_hSmallIconX);
|
||||
|
||||
/* Reset the custom command IDs */
|
||||
- g_cmdid = STARTMENUID;
|
||||
+ g_cmdid = STARTMENUID + 10;
|
||||
|
||||
/* Load the updated resource file */
|
||||
LoadPreferences();
|
||||
@@ -323,6 +327,18 @@
|
||||
if (pref.menu[i].menuItem[j].cmd==CMD_ALWAYSONTOP)
|
||||
CheckMenuItem (hmenu, pref.menu[i].menuItem[j].commandID, dwExStyle );
|
||||
|
||||
+ if (hwnd && g_fKeyboardHookLL) {
|
||||
+ WindowPtr pWin = GetProp (hwnd, WIN_WINDOW_PROP);
|
||||
+ winPrivWinPtr pWinPriv = winGetWindowPriv(pWin);
|
||||
+ /* Get pointers to our screen privates and screen info */
|
||||
+ winPrivScreenPtr pScreenPriv = pWinPriv->pScreenPriv;
|
||||
+ winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
|
||||
+ if (pScreenInfo->fGrabKeyboard)
|
||||
+ dwExStyle = MF_BYCOMMAND | MF_CHECKED;
|
||||
+ else
|
||||
+ dwExStyle = MF_BYCOMMAND | MF_UNCHECKED;
|
||||
+ CheckMenuItem (hmenu, ID_TOGGLE_KBGRAB, dwExStyle );
|
||||
+ }
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -343,6 +359,18 @@
|
||||
if (!command)
|
||||
return FALSE;
|
||||
|
||||
+ if (command == ID_TOGGLE_KBGRAB) {
|
||||
+ if (hwnd) {
|
||||
+ WindowPtr pWin = GetProp (hwnd, WIN_WINDOW_PROP);
|
||||
+ winPrivWinPtr pWinPriv = winGetWindowPriv(pWin);
|
||||
+ /* Get pointers to our screen privates and screen info */
|
||||
+ winPrivScreenPtr pScreenPriv = pWinPriv->pScreenPriv;
|
||||
+ winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
|
||||
+ pScreenInfo->fGrabKeyboard = !pScreenInfo->fGrabKeyboard;
|
||||
+ }
|
||||
+ return TRUE;
|
||||
+ }
|
||||
+
|
||||
for (i=0; i<pref.menuItems; i++)
|
||||
{
|
||||
m = &(pref.menu[i]);
|
||||
@@ -447,6 +475,7 @@
|
||||
|
||||
|
||||
#ifdef XWIN_MULTIWINDOW
|
||||
+
|
||||
/*
|
||||
* Add the default or a custom menu depending on the class match
|
||||
*/
|
||||
@@ -492,6 +521,12 @@
|
||||
free(res_name);
|
||||
free(res_class);
|
||||
} /* Found wm_class */
|
||||
+
|
||||
+ /* Our internal hardcoded stuff .. */
|
||||
+ if (g_fKeyboardHookLL) {
|
||||
+ InsertMenu (sys, 0, MF_BYPOSITION|MF_ENABLED|MF_STRING,
|
||||
+ ID_TOGGLE_KBGRAB, "Grab Alt-TAB");
|
||||
+ }
|
||||
} /* if pwin */
|
||||
|
||||
/* Fallback to system default */
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winscrinit.c xc/programs/Xserver/hw/xwin/winscrinit.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winscrinit.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winscrinit.c 2012-02-22 04:33:58.316268169 +0100
|
||||
@@ -77,6 +77,7 @@
|
||||
extern miPointerScreenFuncRec g_winPointerCursorFuncs;
|
||||
extern int g_iScreenPrivateIndex;
|
||||
extern Bool g_fSoftwareCursor;
|
||||
+extern Bool g_fKeyboardHookLL;
|
||||
|
||||
|
||||
/*
|
||||
@@ -229,6 +230,7 @@
|
||||
pScreenInfo->dwPaddedWidth = PixmapBytePad (pScreenInfo->dwWidth,
|
||||
pScreenInfo->dwBPP);
|
||||
|
||||
+ pScreenInfo->fGrabKeyboard = g_fKeyboardHookLL;
|
||||
/* Call the engine dependent screen initialization procedure */
|
||||
if (!((*pScreenPriv->pwinFinishScreenInit) (index, pScreen, argc, argv)))
|
||||
{
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/InitInput.c xc/programs/Xserver/hw/xwin/InitInput.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/InitInput.c 2012-03-19 16:31:21.080040361 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/InitInput.c 2012-03-19 16:33:36.773034311 +0100
|
||||
@@ -72,6 +72,7 @@
|
||||
#ifdef XKB
|
||||
void XkbSetExtension(DeviceIntPtr device, ProcessInputProc proc);
|
||||
#endif
|
||||
+extern Bool g_fKeyboardHookLL;
|
||||
|
||||
static void
|
||||
winRegisterPointerDevice(DeviceIntPtr device)
|
||||
@@ -190,6 +191,8 @@
|
||||
SetForegroundWindow(hwnd);
|
||||
LockSetForegroundWindow(LSFW_LOCK);
|
||||
SetFocus(hwnd);
|
||||
+ if (g_fKeyboardHookLL)
|
||||
+ g_fKeyboardHookLL = winInstallKeyboardHookLL ();
|
||||
}
|
||||
}
|
||||
}
|
||||
99
packaging/win32/xming/patches/xming-kioskhack.patch
Normal file
99
packaging/win32/xming/patches/xming-kioskhack.patch
Normal file
@@ -0,0 +1,99 @@
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/InitOutput.c xc/programs/Xserver/hw/xwin/InitOutput.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/InitOutput.c 2012-03-16 14:45:50.640342810 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/InitOutput.c 2012-03-16 16:11:04.331114818 +0100
|
||||
@@ -97,6 +97,7 @@
|
||||
extern FARPROC g_fpTrackMouseEvent;
|
||||
extern Bool g_fNoHelpMessageBox;
|
||||
extern Bool g_fSilentDupError;
|
||||
+extern int g_iKioskX;
|
||||
|
||||
|
||||
/*
|
||||
@@ -797,6 +798,10 @@
|
||||
/* We have to flag this as an explicit screen, even though it isn't */
|
||||
g_ScreenInfo[0].fExplicitScreen = TRUE;
|
||||
}
|
||||
+ if (getenv("NX_KIOSK_X") != NULL)
|
||||
+ {
|
||||
+ g_iKioskX = atoi(getenv("NX_KIOSK_X"));
|
||||
+ }
|
||||
}
|
||||
|
||||
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winglobals.c xc/programs/Xserver/hw/xwin/winglobals.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winglobals.c 2012-03-16 14:45:50.650342808 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winglobals.c 2012-03-16 16:11:04.332114818 +0100
|
||||
@@ -79,6 +79,7 @@
|
||||
Bool g_fSilentDupError = FALSE;
|
||||
Bool g_fNoIcons = FALSE;
|
||||
|
||||
+int g_iKioskX = 0;
|
||||
|
||||
/*
|
||||
* Global variables for dynamically loaded libraries and
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/win.h xc/programs/Xserver/hw/xwin/win.h
|
||||
--- xc-orig/programs/Xserver/hw/xwin/win.h 2012-03-16 14:45:50.653342808 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/win.h 2012-03-16 16:11:04.334114818 +0100
|
||||
@@ -206,6 +206,9 @@
|
||||
#define WM_TRAYICON (WM_USER + 1000)
|
||||
#define WM_INIT_SYS_MENU (WM_USER + 1001)
|
||||
#define WM_GIVEUP (WM_USER + 1002)
|
||||
+/* defined in winclipboardwndproc.c #define WM_USER_PASTE_COMPLETE (WM_USER + 1003) */
|
||||
+/* defined in winclipboardwndproc.c #define WM_USER_SET_FILTER (WM_USER + 1004) */
|
||||
+#define WM_USER_SET_KIOSK (WM_USER + 1005)
|
||||
|
||||
|
||||
/* Local includes */
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winmouse.c xc/programs/Xserver/hw/xwin/winmouse.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winmouse.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winmouse.c 2012-03-16 16:11:04.335114818 +0100
|
||||
@@ -218,11 +218,26 @@
|
||||
* Enqueue a mouse button event
|
||||
*/
|
||||
|
||||
+extern winScreenInfo g_ScreenInfo[];
|
||||
+extern int g_iLastScreen;
|
||||
+extern int g_iKioskX;
|
||||
+
|
||||
void
|
||||
winMouseButtonsSendEvent (int iEventType, int iButton)
|
||||
{
|
||||
xEvent xCurrentEvent;
|
||||
|
||||
+ if (g_iKioskX) {
|
||||
+ int FS = (-1 == g_iLastScreen) ? g_ScreenInfo[0].fFullScreen : g_ScreenInfo[g_iLastScreen].fFullScreen;
|
||||
+ if (FS) {
|
||||
+ int x = -1;
|
||||
+ int y = -1;
|
||||
+ miPointerPosition(&x, &y);
|
||||
+ if ((0 == y) && ((g_iKioskX - 1) == x))
|
||||
+ return;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
/* Load an xEvent and enqueue the event */
|
||||
xCurrentEvent.u.u.type = iEventType;
|
||||
#if defined(XFree86Server) && defined(XINPUT)
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winwndproc.c xc/programs/Xserver/hw/xwin/winwndproc.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winwndproc.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winwndproc.c 2012-03-16 16:12:07.167112017 +0100
|
||||
@@ -66,6 +66,7 @@
|
||||
extern HWND g_hwndKeyboardFocus;
|
||||
extern Bool g_fSoftwareCursor;
|
||||
extern DWORD g_dwCurrentThreadID;
|
||||
+extern int g_iKioskX;
|
||||
|
||||
|
||||
/*
|
||||
@@ -1234,6 +1235,11 @@
|
||||
}
|
||||
break;
|
||||
|
||||
+ case WM_USER_SET_KIOSK:
|
||||
+ g_iKioskX = (int)wParam;
|
||||
+ ErrorF ("Setting Kiosk X to %d\n", g_iKioskX);
|
||||
+ return 0;
|
||||
+
|
||||
case WM_ENDSESSION:
|
||||
case WM_GIVEUP:
|
||||
/* Delete the tray Icon */
|
||||
34
packaging/win32/xming/patches/xming-logdebug.patch
Normal file
34
packaging/win32/xming/patches/xming-logdebug.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
diff -urw xc-orig/programs/Xserver/Imakefile xc/programs/Xserver/Imakefile
|
||||
--- xc-orig/programs/Xserver/Imakefile 2011-12-11 01:39:54.142570606 +0100
|
||||
+++ xc/programs/Xserver/Imakefile 2011-12-11 01:50:12.251543048 +0100
|
||||
@@ -1046,7 +1046,7 @@
|
||||
# if defined(GlxUseWindows) && GlxUseWindows
|
||||
XWINGL32 = -lopengl32
|
||||
# endif
|
||||
-XWINW32 = -luser32 -lgdi32 -lws2_32 $(XWINGL32) $(PTHREADLIB)
|
||||
+XWINW32 = -lkernel32 -luser32 -lgdi32 -lws2_32 $(XWINGL32) $(PTHREADLIB)
|
||||
#else
|
||||
XWINW32 = -luser32 -lgdi32
|
||||
#endif
|
||||
diff -urw xc-orig/programs/Xserver/os/log.c xc/programs/Xserver/os/log.c
|
||||
--- xc-orig/programs/Xserver/os/log.c 2009-03-18 18:13:46.000000000 +0100
|
||||
+++ xc/programs/Xserver/os/log.c 2011-12-11 01:56:18.599526714 +0100
|
||||
@@ -95,6 +95,7 @@
|
||||
|
||||
#ifdef WIN32
|
||||
#include <process.h>
|
||||
+#include <windows.h>
|
||||
#define getpid(x) _getpid(x)
|
||||
#endif
|
||||
|
||||
@@ -270,6 +271,10 @@
|
||||
if ((verb < 0 || logVerbosity >= verb) && len > 0)
|
||||
fwrite(tmpBuffer, len, 1, stderr);
|
||||
if ((verb < 0 || logFileVerbosity >= verb) && len > 0) {
|
||||
+#ifdef WIN32
|
||||
+ // Copy everything to windows debug buffer
|
||||
+ OutputDebugStringA(tmpBuffer);
|
||||
+#endif
|
||||
if (logFile) {
|
||||
fwrite(tmpBuffer, len, 1, logFile);
|
||||
if (logFlush) {
|
||||
29
packaging/win32/xming/patches/xming-mutex.patch
Normal file
29
packaging/win32/xming/patches/xming-mutex.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/InitOutput.c xc/programs/Xserver/hw/xwin/InitOutput.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/InitOutput.c 2010-02-26 01:08:16.471542311 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/InitOutput.c 2010-02-26 01:25:24.370543791 +0100
|
||||
@@ -1180,8 +1180,10 @@
|
||||
winCheckDisplayNumber ()
|
||||
{
|
||||
int nDisp;
|
||||
+ int i;
|
||||
HANDLE mutex;
|
||||
char name[MAX_PATH];
|
||||
+ char * fs = "";
|
||||
char * pszPrefix = '\0';
|
||||
OSVERSIONINFO osvi = {0};
|
||||
|
||||
@@ -1207,8 +1209,13 @@
|
||||
pszPrefix = "Global\\";
|
||||
}
|
||||
|
||||
+ for (i = 0; i < g_iNumScreens; ++i)
|
||||
+ if (g_ScreenInfo[i].fFullScreen) {
|
||||
+ fs = "FS";
|
||||
+ break;
|
||||
+ }
|
||||
/* Setup Cygwin/X specific part of name */
|
||||
- snprintf (name, sizeof(name), "%sCYGWINX_DISPLAY:%d", pszPrefix, nDisp);
|
||||
+ snprintf (name, sizeof(name), "%sXMING_DISPLAY%s:%d", pszPrefix, fs, nDisp);
|
||||
|
||||
/* Windows automatically releases the mutex when this process exits */
|
||||
mutex = CreateMutex (NULL, FALSE, name);
|
||||
254
packaging/win32/xming/patches/xming-optionhide.patch
Normal file
254
packaging/win32/xming/patches/xming-optionhide.patch
Normal file
@@ -0,0 +1,254 @@
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/InitInput.c xc/programs/Xserver/hw/xwin/InitInput.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/InitInput.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/InitInput.c 2010-02-23 03:52:52.416690572 +0100
|
||||
@@ -42,8 +42,8 @@
|
||||
* Local function prototypes
|
||||
*/
|
||||
|
||||
-#ifdef XWIN_CLIPBOARD
|
||||
DISPATCH_PROC(winProcEstablishConnection);
|
||||
+#ifdef XWIN_CLIPBOARD
|
||||
DISPATCH_PROC(winProcQueryTree);
|
||||
DISPATCH_PROC(winProcSetSelectionOwner);
|
||||
#endif
|
||||
@@ -60,12 +60,13 @@
|
||||
* References to external symbols
|
||||
*/
|
||||
|
||||
+extern int g_iNumScreens;
|
||||
#ifdef HAS_DEVWINDOWS
|
||||
extern int g_fdMessageQueue;
|
||||
#endif
|
||||
extern Bool g_fXdmcpEnabled;
|
||||
-#ifdef XWIN_CLIPBOARD
|
||||
extern winDispatchProcPtr winProcEstablishConnectionOrig;
|
||||
+#ifdef XWIN_CLIPBOARD
|
||||
extern winDispatchProcPtr winProcQueryTreeOrig;
|
||||
#endif
|
||||
#ifdef XKB
|
||||
@@ -176,6 +177,41 @@
|
||||
}
|
||||
|
||||
|
||||
+void
|
||||
+winDelayedShowWindow()
|
||||
+{
|
||||
+ int i;
|
||||
+ ErrorF ("winDelayedShowWindow\n");
|
||||
+ for (i = 0; i < g_iNumScreens; ++i) {
|
||||
+ if ((g_ScreenInfo[i].pScreen) && g_ScreenInfo[i].fHideInitial) {
|
||||
+ HWND hwnd = (winGetScreenPriv(g_ScreenInfo[i].pScreen))->hwndScreen;
|
||||
+ ErrorF ("winDelayedShowWindow FG %d\n", i);
|
||||
+ ShowWindow(hwnd, g_ScreenInfo[i].origShowWindowMode);
|
||||
+ SetForegroundWindow(hwnd);
|
||||
+ LockSetForegroundWindow(LSFW_LOCK);
|
||||
+ SetFocus(hwnd);
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+#ifndef XWIN_CLIPBOARD
|
||||
+int
|
||||
+winProcEstablishConnection (ClientPtr client)
|
||||
+{
|
||||
+ int ret;
|
||||
+
|
||||
+ ErrorF ("winProcEstablishConnection - Hello\n");
|
||||
+
|
||||
+ winDelayedShowWindow();
|
||||
+
|
||||
+ /* Unwrap the original function, call it, and return */
|
||||
+ InitialVector[2] = winProcEstablishConnectionOrig;
|
||||
+ ret = (*winProcEstablishConnectionOrig) (client);
|
||||
+ winProcEstablishConnectionOrig = NULL;
|
||||
+ return ret;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
/* See Porting Layer Definition - p. 17 */
|
||||
void
|
||||
InitInput (int argc, char *argv[])
|
||||
@@ -186,7 +222,6 @@
|
||||
winDebug ("InitInput\n");
|
||||
#endif
|
||||
|
||||
-#ifdef XWIN_CLIPBOARD
|
||||
/*
|
||||
* Wrap some functions at every generation of the server.
|
||||
*/
|
||||
@@ -195,6 +230,7 @@
|
||||
winProcEstablishConnectionOrig = InitialVector[2];
|
||||
InitialVector[2] = winProcEstablishConnection;
|
||||
}
|
||||
+#ifdef XWIN_CLIPBOARD
|
||||
if (g_fXdmcpEnabled
|
||||
&& ProcVector[X_QueryTree] != winProcQueryTree)
|
||||
{
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/InitOutput.c xc/programs/Xserver/hw/xwin/InitOutput.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/InitOutput.c 2010-02-23 03:37:20.167701044 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/InitOutput.c 2010-02-23 03:51:21.386686516 +0100
|
||||
@@ -856,6 +856,10 @@
|
||||
"\tEXPERIMENTAL: Run the internal window manager.\n");
|
||||
#endif
|
||||
|
||||
+ ErrorF ("-hide\n"
|
||||
+ "\tInitially hide root window, then show it on first X11 client connect.\n"
|
||||
+ "\tUsed only in fullscreen and windowed mode.\n");
|
||||
+
|
||||
ErrorF ("-[no]keyhook\n"
|
||||
"\tGrab special windows key combinations like Alt-Tab or the Menu\n"
|
||||
"\tkey. These keys are discarded by default.\n");
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winclipboardwrappers.c xc/programs/Xserver/hw/xwin/winclipboardwrappers.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winclipboardwrappers.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winclipboardwrappers.c 2010-02-23 03:51:21.387687551 +0100
|
||||
@@ -177,6 +177,8 @@
|
||||
* an external client has connected.
|
||||
*/
|
||||
|
||||
+extern void winDelayedShowWindow();
|
||||
+
|
||||
int
|
||||
winProcEstablishConnection (ClientPtr client)
|
||||
{
|
||||
@@ -186,6 +188,8 @@
|
||||
|
||||
ErrorF ("winProcEstablishConnection - Hello\n");
|
||||
|
||||
+ winDelayedShowWindow();
|
||||
+
|
||||
/* Do nothing if clipboard is not enabled */
|
||||
if (!g_fClipboard)
|
||||
{
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/wincreatewnd.c xc/programs/Xserver/hw/xwin/wincreatewnd.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/wincreatewnd.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/wincreatewnd.c 2010-02-23 03:51:21.388687818 +0100
|
||||
@@ -120,13 +120,15 @@
|
||||
#ifdef XWIN_NATIVEGDI
|
||||
case WIN_SERVER_SHADOW_GDI:
|
||||
/* Show the window */
|
||||
- ShowWindow (*phwnd, SW_SHOWMAXIMIZED);
|
||||
+ ShowWindow (*phwnd, pScreenInfo->fHideInitial ? SW_HIDE : SW_SHOWMAXIMIZED);
|
||||
+ pScreenInfo->origShowWindowMode = SW_SHOWMAXIMIZED;
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
/* Hide the window */
|
||||
- ShowWindow (*phwnd, SW_SHOWNORMAL);
|
||||
+ ShowWindow (*phwnd, pScreenInfo->fHideInitial ? SW_HIDE : SW_SHOWNORMAL);
|
||||
+ pScreenInfo->origShowWindowMode = SW_SHOWNORMAL;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -134,6 +136,7 @@
|
||||
UpdateWindow (*phwnd);
|
||||
|
||||
/* Attempt to bring our window to the top of the display */
|
||||
+ if (!pScreenInfo->fHideInitial)
|
||||
BringWindowToTop (*phwnd);
|
||||
|
||||
return TRUE;
|
||||
@@ -373,7 +376,8 @@
|
||||
if (fForceShowWindow)
|
||||
{
|
||||
ErrorF("winCreateBoundingWindowWindowed - Setting normal windowstyle\n");
|
||||
- ShowWindow(*phwnd, SW_SHOW);
|
||||
+ ShowWindow(*phwnd, pScreenInfo->fHideInitial ? SW_HIDE : SW_SHOW);
|
||||
+ pScreenInfo->origShowWindowMode = SW_SHOW;
|
||||
}
|
||||
|
||||
/* Get the client area coordinates */
|
||||
@@ -468,8 +472,10 @@
|
||||
#endif
|
||||
ShowWindow (*phwnd, SW_HIDE);
|
||||
}
|
||||
- else
|
||||
- ShowWindow (*phwnd, SW_SHOWNORMAL);
|
||||
+ else {
|
||||
+ ShowWindow(*phwnd, pScreenInfo->fHideInitial ? SW_HIDE : SW_SHOWNORMAL);
|
||||
+ pScreenInfo->origShowWindowMode = SW_SHOWNORMAL;
|
||||
+ }
|
||||
if (!UpdateWindow (*phwnd))
|
||||
{
|
||||
ErrorF ("winCreateBoundingWindowWindowed - UpdateWindow () failed\n");
|
||||
@@ -485,6 +491,7 @@
|
||||
#ifdef XWIN_MULTIWINDOW
|
||||
&& !pScreenInfo->fMultiWindow
|
||||
#endif
|
||||
+ && !pScreenInfo->fHideInitial
|
||||
)
|
||||
{
|
||||
if (!BringWindowToTop (*phwnd))
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/win.h xc/programs/Xserver/hw/xwin/win.h
|
||||
--- xc-orig/programs/Xserver/hw/xwin/win.h 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/win.h 2010-02-23 03:51:21.388687818 +0100
|
||||
@@ -444,6 +444,10 @@
|
||||
|
||||
/* Did the user explicitly set this screen? */
|
||||
Bool fExplicitScreen;
|
||||
+
|
||||
+ /* Did the user requested to nitially hide our window? */
|
||||
+ Bool fHideInitial;
|
||||
+ DWORD origShowWindowMode;
|
||||
} winScreenInfo, *winScreenInfoPtr;
|
||||
|
||||
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winprocarg.c xc/programs/Xserver/hw/xwin/winprocarg.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winprocarg.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winprocarg.c 2010-02-23 03:51:21.389687596 +0100
|
||||
@@ -209,6 +209,7 @@
|
||||
g_ScreenInfo[i].fUseUnixKillKey = WIN_DEFAULT_UNIX_KILL;
|
||||
g_ScreenInfo[i].fIgnoreInput = FALSE;
|
||||
g_ScreenInfo[i].fExplicitScreen = FALSE;
|
||||
+ g_ScreenInfo[i].fHideInitial = FALSE;
|
||||
}
|
||||
|
||||
/* Signal that the default screens have been initialized */
|
||||
@@ -597,6 +598,32 @@
|
||||
}
|
||||
|
||||
/*
|
||||
+ * Look for the '-hide' argument
|
||||
+ */
|
||||
+ if (IS_OPTION ("-hide"))
|
||||
+ {
|
||||
+ /* Is this parameter attached to a screen or is it global? */
|
||||
+ if (-1 == g_iLastScreen)
|
||||
+ {
|
||||
+ int j;
|
||||
+
|
||||
+ /* Parameter is for all screens */
|
||||
+ for (j = 0; j < MAXSCREENS; j++)
|
||||
+ {
|
||||
+ g_ScreenInfo[j].fHideInitial = TRUE;
|
||||
+ }
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ /* Parameter is for a single screen */
|
||||
+ g_ScreenInfo[g_iLastScreen].fHideInitial = TRUE;
|
||||
+ }
|
||||
+
|
||||
+ /* Indicate that we have processed this argument */
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
+ /*
|
||||
* Look for the '-lesspointer' argument
|
||||
*/
|
||||
if (IS_OPTION ("-lesspointer"))
|
||||
diff -urw xc-orig/programs/Xserver/Imakefile xc/programs/Xserver/Imakefile
|
||||
--- xc-orig/programs/Xserver/Imakefile 2010-02-23 03:37:20.151687345 +0100
|
||||
+++ xc/programs/Xserver/Imakefile 2010-02-23 03:51:21.389687596 +0100
|
||||
@@ -1046,9 +1046,9 @@
|
||||
# if defined(GlxUseWindows) && GlxUseWindows
|
||||
XWINGL32 = -lopengl32
|
||||
# endif
|
||||
-XWINW32 = -lgdi32 -lws2_32 $(XWINGL32) $(PTHREADLIB)
|
||||
+XWINW32 = -luser32 -lgdi32 -lws2_32 $(XWINGL32) $(PTHREADLIB)
|
||||
#else
|
||||
-XWINW32 = -lgdi32
|
||||
+XWINW32 = -luser32 -lgdi32
|
||||
#endif
|
||||
XWINSYSLIBS = $(FONTLIBS) $(LDPRELIBS) $(XWINX11) $(SYSLIBS) $(XWINW32)
|
||||
|
||||
41
packaging/win32/xming/patches/xming-terminate.patch
Normal file
41
packaging/win32/xming/patches/xming-terminate.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
diff -urw xc-orig/programs/Xserver/dix/dispatch.c xc/programs/Xserver/dix/dispatch.c
|
||||
--- xc-orig/programs/Xserver/dix/dispatch.c 2009-03-18 18:13:47.000000000 +0100
|
||||
+++ xc/programs/Xserver/dix/dispatch.c 2010-03-01 02:03:20.986914924 +0100
|
||||
@@ -188,7 +188,7 @@
|
||||
|
||||
static int nextFreeClientID; /* always MIN free client ID */
|
||||
|
||||
-static int nClients; /* number of authorized clients */
|
||||
+volatile int nClients; /* number of authorized clients */
|
||||
|
||||
_X_EXPORT CallbackListPtr ClientStateCallback;
|
||||
|
||||
@@ -3617,6 +3617,7 @@
|
||||
if (client->clientState != ClientStateInitial &&
|
||||
client->clientState != ClientStateAuthenticating )
|
||||
{
|
||||
+ if (nClients > 0)
|
||||
--nClients;
|
||||
}
|
||||
}
|
||||
diff -urw xc-orig/programs/Xserver/hw/xwin/winclipboardthread.c xc/programs/Xserver/hw/xwin/winclipboardthread.c
|
||||
--- xc-orig/programs/Xserver/hw/xwin/winclipboardthread.c 2009-03-18 18:13:40.000000000 +0100
|
||||
+++ xc/programs/Xserver/hw/xwin/winclipboardthread.c 2010-03-01 02:03:47.160183052 +0100
|
||||
@@ -307,6 +307,17 @@
|
||||
/* Signal that the clipboard client has started */
|
||||
g_fClipboardStarted = TRUE;
|
||||
|
||||
+ /* Hack:
|
||||
+ * If -reset or -terminate has been specified on the cmdline,
|
||||
+ * tweak nClients in dix/dispatch.c in order to terminate the
|
||||
+ * server correctly (we are actually NOT a real client).
|
||||
+ */
|
||||
+ extern volatile char dispatchExceptionAtReset;
|
||||
+ if (dispatchExceptionAtReset) {
|
||||
+ extern volatile int nClients;
|
||||
+ nClients--;
|
||||
+ }
|
||||
+
|
||||
/* Loop for X events */
|
||||
while (1)
|
||||
{
|
||||
2
packaging/win32/xming/version.def
Normal file
2
packaging/win32/xming/version.def
Normal file
@@ -0,0 +1,2 @@
|
||||
#define XW32_VERSION 6,9,0,31
|
||||
#define XW32_VERSION_STRING "6.9.0.31"
|
||||
Reference in New Issue
Block a user