New upstream version 1.0.5
This commit is contained in:
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 ...
|
||||
Reference in New Issue
Block a user