From fc60b21deb6d19453962498d2cef391f10590b79 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 16 May 2009 22:03:19 +0000 Subject: add texworks for windows and for x86_64-linux, and tlpsrc git-svn-id: svn://tug.org/texlive/trunk@13137 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/win32/QtCore4.dll | Bin 0 -> 2023424 bytes Master/bin/win32/QtGui4.dll | Bin 0 -> 7352320 bytes Master/bin/win32/QtXml4.dll | Bin 0 -> 364544 bytes Master/bin/win32/freetype.dll | Bin 0 -> 397312 bytes Master/bin/win32/jpeg62.dll | Bin 0 -> 127488 bytes Master/bin/win32/libhunspell.dll | Bin 0 -> 327680 bytes Master/bin/win32/poppler-qt4.dll | Bin 0 -> 1630208 bytes Master/bin/win32/texworks.exe | Bin 0 -> 1347584 bytes Master/bin/win32/zlib1.dll | Bin 0 -> 75264 bytes Master/bin/x86_64-linux/texworks | Bin 0 -> 1573864 bytes Master/tlpkg/tlpostcode/texworks.pl | 41 ++++++++++++++++++++++++++++++++++++ Master/tlpkg/tlpsrc/texworks.tlpsrc | 13 ++++++++++++ 12 files changed, 54 insertions(+) create mode 100644 Master/bin/win32/QtCore4.dll create mode 100644 Master/bin/win32/QtGui4.dll create mode 100644 Master/bin/win32/QtXml4.dll create mode 100644 Master/bin/win32/freetype.dll create mode 100644 Master/bin/win32/jpeg62.dll create mode 100644 Master/bin/win32/libhunspell.dll create mode 100644 Master/bin/win32/poppler-qt4.dll create mode 100755 Master/bin/win32/texworks.exe create mode 100644 Master/bin/win32/zlib1.dll create mode 100755 Master/bin/x86_64-linux/texworks create mode 100644 Master/tlpkg/tlpostcode/texworks.pl create mode 100644 Master/tlpkg/tlpsrc/texworks.tlpsrc diff --git a/Master/bin/win32/QtCore4.dll b/Master/bin/win32/QtCore4.dll new file mode 100644 index 00000000000..ab3b75d26b9 Binary files /dev/null and b/Master/bin/win32/QtCore4.dll differ diff --git a/Master/bin/win32/QtGui4.dll b/Master/bin/win32/QtGui4.dll new file mode 100644 index 00000000000..84f9922c4ba Binary files /dev/null and b/Master/bin/win32/QtGui4.dll differ diff --git a/Master/bin/win32/QtXml4.dll b/Master/bin/win32/QtXml4.dll new file mode 100644 index 00000000000..3bcb4e88454 Binary files /dev/null and b/Master/bin/win32/QtXml4.dll differ diff --git a/Master/bin/win32/freetype.dll b/Master/bin/win32/freetype.dll new file mode 100644 index 00000000000..dd6c062b6fe Binary files /dev/null and b/Master/bin/win32/freetype.dll differ diff --git a/Master/bin/win32/jpeg62.dll b/Master/bin/win32/jpeg62.dll new file mode 100644 index 00000000000..21c03d55164 Binary files /dev/null and b/Master/bin/win32/jpeg62.dll differ diff --git a/Master/bin/win32/libhunspell.dll b/Master/bin/win32/libhunspell.dll new file mode 100644 index 00000000000..e2b038d6ab3 Binary files /dev/null and b/Master/bin/win32/libhunspell.dll differ diff --git a/Master/bin/win32/poppler-qt4.dll b/Master/bin/win32/poppler-qt4.dll new file mode 100644 index 00000000000..838817331a6 Binary files /dev/null and b/Master/bin/win32/poppler-qt4.dll differ diff --git a/Master/bin/win32/texworks.exe b/Master/bin/win32/texworks.exe new file mode 100755 index 00000000000..38152b7b696 Binary files /dev/null and b/Master/bin/win32/texworks.exe differ diff --git a/Master/bin/win32/zlib1.dll b/Master/bin/win32/zlib1.dll new file mode 100644 index 00000000000..31996cd3e2e Binary files /dev/null and b/Master/bin/win32/zlib1.dll differ diff --git a/Master/bin/x86_64-linux/texworks b/Master/bin/x86_64-linux/texworks new file mode 100755 index 00000000000..5637a67af27 Binary files /dev/null and b/Master/bin/x86_64-linux/texworks differ diff --git a/Master/tlpkg/tlpostcode/texworks.pl b/Master/tlpkg/tlpostcode/texworks.pl new file mode 100644 index 00000000000..af0937a94e9 --- /dev/null +++ b/Master/tlpkg/tlpostcode/texworks.pl @@ -0,0 +1,41 @@ +# $Id$ +# post action for texworks +# Copyright 2009 Norbert Preining +# This file is licensed under the GNU General Public License version 2 +# or any later version. + +my $texdir; +my $mode; + +BEGIN { + $^W = 1; + $mode = $ARGV[0]; + $texdir = $ARGV[1]; + # make Perl find our packages first: + unshift (@INC, "$texdir/tlpkg"); +} + +use TeXLive::TLUtils qw(win32 mkdirhier conv_to_w32_path log info tlwarn); + +if ($mode eq "install") { + for my $f (<$texdir/bin/*>) { + next if ! -d $f; + open (TWI, ">$f/texworks-setup.ini") + || tlwarn "Cannot open $f/texworks-setup.ini"; + print TWI "defaultbinpaths = $f\n"; + close TWI; + } +} elsif ($mode eq "remove") { + unlink <$texdir/bin/texworks-setup.ini>; +} else { + tlwarn ("texworks post action: unknown mode $mode\n"); +} + +exit 0; + +### Local Variables: +### perl-indent-level: 2 +### tab-width: 2 +### indent-tabs-mode: nil +### End: +# vim:set tabstop=2 expandtab: # diff --git a/Master/tlpkg/tlpsrc/texworks.tlpsrc b/Master/tlpkg/tlpsrc/texworks.tlpsrc new file mode 100644 index 00000000000..65fb4455144 --- /dev/null +++ b/Master/tlpkg/tlpsrc/texworks.tlpsrc @@ -0,0 +1,13 @@ +name texworks +category TLCore +postaction script file=tlpkg/tlpostcode/texworks.pl +runpattern f tlpkg/tlpostcode/texworks.pl +binpattern f bin/${ARCH}/texworks +binpattern f bin/win32/freetype.dll +binpattern f bin/win32/jpeg62.dll +binpattern f bin/win32/libhunspell.dll +binpattern f bin/win32/poppler-qt4.dll +binpattern f bin/win32/QtCore4.dll +binpattern f bin/win32/QtGui4.dll +binpattern f bin/win32/QtXml4.dll +binpattern f bin/win32/zlib1.dll -- cgit v1.2.3