[BRLTTY] A DOS precompiled version?

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Oct 17 22:14:32 EDT 2007


Dave Mielke, le Wed 17 Oct 2007 16:37:54 -0400, a écrit :
> [quoted lines by Lee Maschmeyer on 2007/10/17 at 12:41 -0400]
> 
> >I wonder if there shouldn't be a precompiled version for DOS in a zip file. 
> 
> Yes, and also for Windows. Do we need both Cygwin and MinGW, or is one of them 
> good enough?

I uploaded the 3.9-1 package for integration into the cygwin
distribution.

As before, I compiled a MinGW version which is available on
http://brl.thefreecat.org/brltty/brltty-win-3.9.zip

I'm still doing that by hand because a lot of details keep changing, see
attached notes.
Feel free to take all this for inspiration.

Samuel
-------------- next part --------------
cygwin$ tar xzf brltty-3.9.tgz

ming$ T=/d/brltty-3.9
ming$ cd /d/home/samy/brltty-3.9
# edit Programs/main.c to replace BRLAPI_DEFAUTH by "none" and replace ":0+127.0.0.1:0" by ":0"
ming$ ./configure --enable-relocatable-install --prefix=/
ming$ make
ming$ make install prefix=$T
ming$ cp /bin/libiconv-2.dll $T/bin
ming$ cp /c/windows/system32/libusb0.dll $T/bin
ming$ rm -f $T/bin/brltty-install
ming$ cp /d/install.bat $T/
ming$ cp /d/uninstall.bat $T/

ming$ mkdir $T/doc
ming$ cp -a Documents/BrlAPIref Documents/Manual-BrlAPI Documents/Manual-BRLTTY $T/doc/
ming$ for i in ChangeLog HISTORY TODO README.Windows ; do cp Documents/$i $T/doc/$i.txt ; done
ming$ for i in COPYING COPYING-API README ; do cp $i $T/$i.txt ; done
ming$ cp /d/README.first.txt $T/

ming$ mkdir $T/BrailleDrivers
ming$ cd BrailleDrivers
ming$ for i in * ; do cp -f $i/README $T/BrailleDrivers/$i.README ; done
ming$ cd ..

ming$ mkdir $T/SpeechDrivers
ming$ cd SpeechDrivers
ming$ for i in * ; do cp -f $i/README $T/SpeechDrivers/$i.README ; done
ming$ cd ..

ming$ rm -f $T/etc/brlapi.key
ming$ cp Documents/brltty.conf $T/etc/

ming$ cd Bindings/Python
ming$ python setup.py bdist_wininst --skip-build
ming$ cp dist/Brlapi-0.5.1.win32.exe $T/
ming$ cd ../..

ming$ unix2dos *.txt *.bat BrailleDrivers/* SpeechDrivers/* etc/brltty.conf include/**/* doc/**/*

ming$ cd /d
ming$ zip -r brltty-win-3.9.zip brltty-3.9


More information about the BRLTTY mailing list