--- texworks-0.5~svn1026.orig/debian/README.Debian +++ texworks-0.5~svn1026/debian/README.Debian @@ -0,0 +1,16 @@ +texworks for Debian +------------------- + +An environment for authoring TeX (LaTeX, ConTeXt, etc) documents, with +a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean, +simple interface accessible to casual and non-technical users. + +Note to use SyncTeX feature you need to install TeX Live 2009 or later. + +Temporary modifications: +1. I borrowed texworks.desktop, texworks.xpm and texworks.1 by +Stefan Löffler in texworks-0.1.0~svn335~jaunty1 +and I modified them a bit for Debian, especially, texworks.xpm +was converted from texworks.png + + -- Atsuhito KOHDA Sun, 11 Oct 2009 15:25:52 +0900 --- texworks-0.5~svn1026.orig/debian/README.source +++ texworks-0.5~svn1026/debian/README.source @@ -0,0 +1,9 @@ +texworks for Debian +------------------- + + + + + + --- texworks-0.5~svn1026.orig/debian/changelog +++ texworks-0.5~svn1026/debian/changelog @@ -0,0 +1,161 @@ +texworks (0.5~svn1026-1) unstable; urgency=low + + * New Upstrean Release (rev 1026). + + -- Atsuhito KOHDA Thu, 26 Sep 2012 16:48:05 +0900 + +texworks (0.5~svn1007-1) unstable; urgency=low + + * New Upstream Release (rev 1007). + * Updated copyright file: added Charlie Sharpsteen as Upstream Authors. + + -- Atsuhito KOHDA Wed, 02 May 2012 16:27:37 +0900 + +texworks (0.5~svn956-1) unstable; urgency=low + + * New Upstream Release (rev 956). + * Fixed hunspell dictionaries problem with a setting -DTW_DICPATH in rules. + (Closes: #657702) + + -- Atsuhito KOHDA Tue, 31 Jan 2012 08:55:10 +0900 + +texworks (0.5~svn952-1) unstable; urgency=low + + * New Upstream Release (rev 952). + + -- Atsuhito KOHDA Mon, 12 Dec 2011 15:44:20 +0900 + +texworks (0.5~svn939-2) unstable; urgency=low + + * I failed to apply a patch suggested by Jakub Wilk in the previous + upload. This time I believe the patch is applied. (Closes: #632393) + * Removed unnecessary patch for luatex. It was included in the upstream. + + -- Atsuhito KOHDA Thu, 29 Sep 2011 07:48:29 +0900 + +texworks (0.5~svn939-1) unstable; urgency=low + + * New upstream release (rev 939). + * Applied a patch suggested by Jakub Wilk + (Closes: #632393) + + -- Atsuhito KOHDA Mon, 26 Sep 2011 15:39:22 +0900 + +texworks (0.5~svn930-1) unstable; urgency=low + + * New upstream release (rev 930). + + -- Atsuhito KOHDA Thu, 18 Aug 2011 11:22:40 +0900 + +texworks (0.5~svn862-1) unstable; urgency=low + + * New upstream release (rev 862). + * Installed manual borrowed from the latest stable version 0.4.3 + + -- Atsuhito KOHDA Thu, 14 Jul 2011 08:24:37 +0900 + +texworks (0.5~svn843-1) unstable; urgency=low + + * New upstream release (rev. 846). + I tested to build the package on AMD64 and found no problem. + (Closes: #628276) + + -- Atsuhito KOHDA Mon, 13 Jun 2011 17:50:43 +0900 + +texworks (0.5~svn808-1) unstable; urgency=low + + * New Upstream Release (rev. 808). (Closes: #625543) + * Fixed/Updated copyright file; added Stefan Löffler as Upstream Authors. + * Updated README.Debian a bit. + * Changed to use texworks.desktop, texworks.1 and .png files + of source trees instead of obsolete ones under debian. + To do so, refined rules file a bit. + * Updated control file and removed unnecessary texworks.menu and COPYING. + + -- Atsuhito KOHDA Fri, 06 May 2011 12:54:27 +0900 + +texworks (0.4.0-2) unstable; urgency=low + + * Added english manual. + * Updated Build-Depends; removed sharutils and replaced python2.6-dev with + python-dev + * Removed obsolete debian/patch-print and debian/document-print.png.enc + * Added texworks-help-en package which included manual for texworks. + + -- Atsuhito KOHDA Mon, 04 Apr 2011 13:42:12 +0900 + +texworks (0.4.0-1) unstable; urgency=low + + * New Upstream Release, now 0.4.0. (Rev. 759). + + -- Atsuhito KOHDA Tue, 22 Mar 2011 09:16:16 +0900 + +texworks (0.3~svn741-1) unstable; urgency=low + + * New Upstream Release. (Rev. 741) + * Removed printing support. Now it will offer to open the document + in the system's default viewer. + + -- Atsuhito KOHDA Tue, 21 Dec 2010 21:17:41 +0900 + +texworks (0.3~svn671-2) unstable; urgency=low + + * Uploaded to unstable. + + -- Atsuhito KOHDA Thu, 19 Aug 2010 15:15:38 +0900 + +texworks (0.3~svn671-1) experimental; urgency=low + + * New Upstream Release. (Rev.671) + * Updated patches. + + -- Atsuhito KOHDA Tue, 03 Aug 2010 15:31:17 +0900 + +texworks (0.3~svn606-1) experimental; urgency=low + + * New Upstream Release. (Rev.606) + * Updated patches. + + -- Atsuhito KOHDA Thu, 15 Apr 2010 08:15:38 +0900 + +texworks (0.3~svn569-3) experimental; urgency=low + + * Fixed TWPythonPlugin compilation problems on AMD64 by consulting + a package of Stefan Löffler. (Closes: #570841) + * Modified TW_HELPPATH as a package of Stefan Löffler. I expect one can + use a texworks-help-en package by Stefan Löffler now. + * Added LuaTeX in a list of Typeset engines for experiment. + + -- Atsuhito KOHDA Mon, 22 Feb 2010 12:52:39 +0900 + +texworks (0.3~svn569-2) experimental; urgency=low + + * Added Lua and Python scripting plugins. These are called + texworks-scripting-lua and texworks-scripting-python following packages + (Ubuntu version) of Stefan Löffler. + + -- Atsuhito KOHDA Thu, 18 Feb 2010 09:14:31 +0900 + +texworks (0.3~svn569-1) experimental; urgency=low + + * SVN version for experiment. + + -- Atsuhito KOHDA Mon, 15 Feb 2010 22:09:05 +0900 + +texworks (0.2.3-2) unstable; urgency=low + + * Rebuild under poppler 0.12 (Closes: #551435) + * Added note on synctex feature in README.Debian + * Fixed copyright file to express Jérôme Laurens correctly + * Added texlive-latex-base and texlive-xetex to Recommends and Suggests + respectively. + * Moved "uudecode debian/document-print.png.enc" to configure-stamp + from build-stamp because configure searched it. + + -- Atsuhito KOHDA Sun, 18 Oct 2009 19:16:52 +0900 + +texworks (0.2.3-1) unstable; urgency=low + + * Initial release (Closes: #538211) + + -- Atsuhito KOHDA Sun, 11 Oct 2009 15:25:52 +0900 --- texworks-0.5~svn1026.orig/debian/compat +++ texworks-0.5~svn1026/debian/compat @@ -0,0 +1 @@ +7 --- texworks-0.5~svn1026.orig/debian/rules +++ texworks-0.5~svn1026/debian/rules @@ -0,0 +1,149 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export PYTHON = $(shell pyversions -d) + +USDIR=$(CURDIR)/debian/texworks/usr/share +PLIDIR=plugins-src/TWLuaPlugin +PLIPYT=plugins-src/TWPythonPlugin + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + patch -p1 < ./debian/patch-py +# qmake-qt4 + + touch configure-stamp + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + # Lua plugin + cd $(PLIDIR) && qmake-qt4 -after \ + 'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\"' \ + 'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"' \ + 'target.path = /usr/lib/texworks' \ + && $(MAKE) + # Python plugin + cd $(PLIPYT) && qmake-qt4 -after \ + 'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\"' \ + 'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"' \ + 'target.path = /usr/lib/texworks' \ + && $(MAKE) + qmake-qt4 \ + 'INSTALL_PREFIX = /usr' \ + -after \ + 'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \ + 'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/hunspell\\\"' \ + TeXworks.pro \ + && $(MAKE) + #docbook-to-man debian/texworks.sgml > texworks.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + if [ -f Makefile ]; then $(MAKE) clean; fi + rm -f ./texworks ./Makefile src/DefaultBinaryPaths.h + if [ -d moc ]; then rmdir moc; fi + if [ -d obj ]; then rmdir obj; fi + if [ -d rcc ]; then rmdir rcc; fi + if [ -d ui ]; then rmdir ui; fi + if [ -f $(PLIDIR)/Makefile ]; then cd $(PLIDIR) && $(MAKE) clean; fi + if [ -d $(PLIDIR)/moc ]; then rmdir $(PLIDIR)/moc; fi + if [ -d $(PLIDIR)/obj ]; then rmdir $(PLIDIR)/obj; fi + if [ -d $(PLIDIR)/rcc ]; then rmdir $(PLIDIR)/rcc; fi + if [ -d $(PLIDIR)/ui ]; then rmdir $(PLIDIR)/ui; fi + if [ -f $(PLIPYT)/Makefile ]; then cd $(PLIPYT) && $(MAKE) clean; fi + if [ -d $(PLIPYT)/moc ]; then rmdir $(PLIPYT)/moc; fi + if [ -d $(PLIPYT)/obj ]; then rmdir $(PLIPYT)/obj; fi + if [ -d $(PLIPYT)/rcc ]; then rmdir $(PLIPYT)/rcc; fi + if [ -d $(PLIPYT)/ui ]; then rmdir $(PLIPYT)/ui; fi + patch -NRp1 < ./debian/patch-py || true + + rm -f $(PLIDIR)/libTWLuaPlugin.so $(PLIDIR)/Makefile + rm -f $(PLIPYT)/libTWPythonPlugin.so $(PLIPYT)/Makefile + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -A + + # Add here commands to install the package into debian/texworks. + qmake-qt4 \ + 'INSTALL_PREFIX = /usr' \ + -after \ + 'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \ + 'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/hunspell\\\"' \ + TeXworks.pro \ + && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/texworks install + # unnecessary file(lintial warning) + rm -f $(CURDIR)/debian/texworks/usr/share/doc/texworks/COPYING* + install -m 755 -p "$(PLIDIR)/libTWLuaPlugin.so" \ + $(CURDIR)/debian/texworks-scripting-lua/usr/lib/texworks + install -m 755 -p "$(PLIPYT)/libTWPythonPlugin.so" \ + $(CURDIR)/debian/texworks-scripting-python/usr/lib/texworks + # Install the manual + rm -rf $(CURDIR)/debian/texworks/usr/share/texworks-help/en + cp -r manual $(CURDIR)/debian/texworks-help-en/usr/share/texworks-help/TeXworks-manual + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install + dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure +#%: +# dh $@ --- texworks-0.5~svn1026.orig/debian/control +++ texworks-0.5~svn1026/debian/control @@ -0,0 +1,44 @@ +Source: texworks +Section: editors +Priority: extra +Maintainer: Atsuhito KOHDA +Build-Depends: debhelper (>= 7), libhunspell-dev, qt4-dev-tools, libpoppler-qt4-dev, libdbus-1-dev, liblua5.1-0-dev, python-dev +Standards-Version: 3.8.3 +Homepage: http://www.tug.org/texworks/ + +Package: texworks +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: texlive-latex-base, texworks-help-en +Suggests: texlive-xetex, texworks-scripting-lua, texworks-scripting-python +Description: Environment for authoring TeX (LaTeX, ConTeXt, etc) documents + An environment for authoring TeX (LaTeX, ConTeXt, etc) documents, with + a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean, + simple interface accessible to casual and non-technical users. + . + TeXworks is inspired by Dick Koch's award-winning TeXShop program for + Mac OS X, which has made quality typesetting through TeX accessible to + a wider community of users, without a technical or intimidating face. + The goal of TeXworks is to deliver a similarly integrated, easy-to-use + environment for users on other platforms, especially GNU/Linux and Windows. + +Package: texworks-scripting-lua +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, texworks +Description: Plugin to bring Lua scripting to TeXworks + . + For further information, see http://tug.org/texworks/ + +Package: texworks-scripting-python +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, texworks +Description: Plugin to bring Python scripting to TeXworks + . + For further information, see http://tug.org/texworks/ + +Package: texworks-help-en +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: texworks +Description: English help files for TeXworks + For furter information, see http://tug.org/texworks/ --- texworks-0.5~svn1026.orig/debian/copyright +++ texworks-0.5~svn1026/debian/copyright @@ -0,0 +1,72 @@ +This work was packaged for Debian by: + + Atsuhito KOHDA on Sun, 11 Oct 2009 15:25:52 +0900 + +It was downloaded from + +Upstream Authors: + + Jonathan Kew + Stefan Löffler + Charlie Sharpsteen + Jérôme Laurens + Till Tantau + +Copyright: + + TeXworks is copyright (C) 2007-2012 by Jonathan Kew, Stefan Löffler, + and Charlie Sharpsteen. + The SyncTeX code is copyright (c) 2008, 2009 by Jérôme Laurens + Beamer templates are Copyright 2004 by Till Tantau + +License of TeXworks: + + Distributed under the terms of the GNU General Public License, version 2 or (at your option) any later version. + +License of the SyncTeX: + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + 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 AUTHORS OR COPYRIGHT + HOLDERS 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 copyright holder + 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 copyright holder. + +License of the Beamer templates: + + % In principle, this file can be redistributed and/or modified under + % the terms of the GNU Public License, version 2. + % + % However, this file is supposed to be a template to be modified + % for your own needs. For this reason, if you use this file as a + % template and not specifically distribute it as part of a another + % package/program, I grant the extra permission to freely copy and + % modify this file as you see fit and even to delete this copyright + % notice. + +The Debian packaging is: + + Copyright (C) 2009 Atsuhito KOHDA + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. + --- texworks-0.5~svn1026.orig/debian/dirs +++ texworks-0.5~svn1026/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/pixmaps +usr/share/applications +usr/share/texworks-help --- texworks-0.5~svn1026.orig/debian/docs +++ texworks-0.5~svn1026/debian/docs @@ -0,0 +1 @@ +README --- texworks-0.5~svn1026.orig/debian/texworks-scripting-lua.dirs +++ texworks-0.5~svn1026/debian/texworks-scripting-lua.dirs @@ -0,0 +1 @@ +usr/lib/texworks --- texworks-0.5~svn1026.orig/debian/patch-luatex +++ texworks-0.5~svn1026/debian/patch-luatex @@ -0,0 +1,11 @@ +--- src/TWApp.cpp.org 2011-06-14 16:30:33.000000000 +0900 ++++ src/TWApp.cpp 2011-06-14 16:33:43.000000000 +0900 +@@ -844,6 +844,8 @@ + << Engine("pdfLaTeX", "pdflatex" EXE, QStringList("$synctexoption") << "$fullname", true) + << Engine("XeTeX", "xetex" EXE, QStringList("$synctexoption") << "$fullname", true) + << Engine("XeLaTeX", "xelatex" EXE, QStringList("$synctexoption") << "$fullname", true) ++ << Engine("LuaTeX", "luatex" EXE, QStringList("$synctexoption") << "$fullname", true) ++ << Engine("LuaLaTeX", "lualatex" EXE, QStringList("$synctexoption") << "$fullname", true) + << Engine("ConTeXt (LuaTeX)", "context" EXE, QStringList("--synctex") << "$fullname", true) + << Engine("ConTeXt (pdfTeX)", "texexec" EXE, QStringList("--synctex") << "$fullname", true) + << Engine("ConTeXt (XeTeX)", "texexec" EXE, QStringList("--synctex") << "--xtx" << "$fullname", true) --- texworks-0.5~svn1026.orig/debian/texworks-scripting-python.dirs +++ texworks-0.5~svn1026/debian/texworks-scripting-python.dirs @@ -0,0 +1 @@ +usr/lib/texworks --- texworks-0.5~svn1026.orig/debian/texworks-help-en.dirs +++ texworks-0.5~svn1026/debian/texworks-help-en.dirs @@ -0,0 +1 @@ +usr/share/texworks-help --- texworks-0.5~svn1026.orig/debian/patch-py +++ texworks-0.5~svn1026/debian/patch-py @@ -0,0 +1,13 @@ +--- texworks-0.5~svn930.orig/plugins-src/TWPythonPlugin/TWPythonPlugin.pro ++++ texworks-0.5~svn930/plugins-src/TWPythonPlugin/TWPythonPlugin.pro +@@ -50,8 +50,8 @@ + + unix:!macx { # on Unix-ish platforms we should rely on pkgconfig + # Python prior to 3.x doesn't register properly with pkg-config +- INCLUDEPATH += /usr/include/python2.6/ +- LIBS += -lpython2.6 ++ INCLUDEPATH += /usr/include/$(PYTHON)/ ++ LIBS += -l$(PYTHON) + + # uncomment these lines (and comment those above) to use Python 3 + # CONFIG += link_pkgconfig