[texworks] 18/73: Imported Debian patch 0.5~svn808-1
This is an automated email from the git hooks/post-receive script.
preining pushed a commit to branch master
in repository texworks.
commit 34b4aa3ae504ac2175ac7a294f61025022083132
Merge: 381b149 5af7e9a
Author: Atsuhito KOHDA <kohda@debian.org>
Date: Fri May 6 12:54:27 2011 +0900
Imported Debian patch 0.5~svn808-1
TeXworks.plist => Info.plist | 6 +-
PACKAGING | 103 +
TeXworks.plist | 6 +-
TeXworks.pro | 10 +
debian/README.Debian | 3 +-
debian/changelog | 12 +
debian/control | 9 +-
debian/copyright | 3 +-
debian/patch-luatex | 2 +-
debian/patch-plugin | 22 -
debian/rules | 44 +-
debian/texworks.1 | 49 -
debian/texworks.desktop | 14 -
debian/texworks.menu | 3 -
debian/texworks.xpm | 157 -
debian/watch.ex | 23 -
getDefaultBinPaths.sh | 20 +
lib-patches/README | 20 +-
...dling.patch => poppler-mac-font-handling.patch} | 294 +-
lib-patches/poppler-qt4-globalparams.patch | 99 +-
lib-patches/poppler-win32-font-handling.patch | 53 +
manual/en/Acknowledgements.html | 72 -
manual/en/AdvanceduseScripting.html | 234 -
manual/en/Beyondthismanual.html | 138 -
manual/en/CompilingTw.html | 104 -
manual/en/CustomizingTw.html | 15555 -------------------
manual/en/Firststeps.html | 733 -
manual/en/GoingfurtherEditingtools.html | 845 -
manual/en/GoingfurtherOthertools.html | 523 -
manual/en/Installation.html | 270 -
manual/en/Introduction.html | 291 -
manual/en/Regularexpressions.html | 759 -
manual/en/TeXworks-manual.pdf | Bin 1134975 -> 0 bytes
manual/en/bibname.html | 99 -
manual/en/contentsname.html | 217 -
manual/en/images/LMB.png | Bin 2689 -> 0 bytes
manual/en/images/Linux.png | Bin 3879 -> 0 bytes
manual/en/images/Mac.png | Bin 4487 -> 0 bytes
manual/en/images/MacCmdKey.png | Bin 519 -> 0 bytes
manual/en/images/MacOptKey.png | Bin 433 -> 0 bytes
manual/en/images/RMB.png | Bin 2686 -> 0 bytes
manual/en/images/TeXworks.png | Bin 18331 -> 0 bytes
manual/en/images/Windows.png | Bin 4362 -> 0 bytes
manual/en/images/cmsy10-c-41.png | Bin 754 -> 0 bytes
manual/en/images/cmsy10-c-4d.png | Bin 949 -> 0 bytes
manual/en/images/cmsy10-c-53.png | Bin 752 -> 0 bytes
manual/en/images/consoleOutput.png | Bin 106582 -> 0 bytes
manual/en/images/errorParsingScript.png | Bin 49978 -> 0 bytes
manual/en/images/example.png | Bin 8966 -> 0 bytes
manual/en/images/iconAbortTypesetting.png | Bin 3888 -> 0 bytes
manual/en/images/iconTypeset.png | Bin 2724 -> 0 bytes
manual/en/images/index0x.png | Bin 638 -> 0 bytes
manual/en/images/index1x.png | Bin 588 -> 0 bytes
manual/en/images/index2x.png | Bin 672 -> 0 bytes
manual/en/images/index3x.png | Bin 670 -> 0 bytes
manual/en/images/index4x.png | Bin 655 -> 0 bytes
manual/en/images/index5x.png | Bin 655 -> 0 bytes
manual/en/images/index6x.png | Bin 655 -> 0 bytes
manual/en/images/index7x.png | Bin 654 -> 0 bytes
manual/en/images/index8x.png | Bin 657 -> 0 bytes
manual/en/images/interface-summary.png | Bin 280306 -> 0 bytes
manual/en/images/replaceDialog.png | Bin 121595 -> 0 bytes
manual/en/images/screenshotHardWrapDlg.png | Bin 72393 -> 0 bytes
manual/en/images/toolbar1.png | Bin 16859 -> 0 bytes
manual/en/images/toolbar2.png | Bin 35711 -> 0 bytes
manual/en/index.css | 337 -
manual/en/index.html | 204 -
manual/en/index10.html | 38 -
manual/en/index12.html | 38 -
manual/en/index13.html | 48 -
manual/en/index14.html | 41 -
manual/en/index15.html | 42 -
manual/en/index16.html | 40 -
manual/en/index17.html | 39 -
manual/en/index18.html | 44 -
manual/en/index19.html | 39 -
manual/en/index2.html | 72 -
manual/en/index20.html | 40 -
manual/en/index21.html | 40 -
manual/en/index23.html | 43 -
manual/en/index24.html | 41 -
manual/en/index25.html | 38 -
manual/en/index26.html | 39 -
manual/en/index27.html | 38 -
manual/en/index28.html | 47 -
manual/en/index29.html | 50 -
manual/en/index30.html | 40 -
manual/en/index32.html | 41 -
manual/en/index33.html | 39 -
manual/en/index34.html | 38 -
manual/en/index36.html | 38 -
manual/en/index37.html | 41 -
manual/en/index40.html | 55 -
manual/en/index41.html | 40 -
manual/en/index42.html | 42 -
manual/en/index44.html | 42 -
manual/en/index45.html | 38 -
manual/en/index46.html | 39 -
manual/en/index47.html | 40 -
manual/en/index48.html | 40 -
manual/en/index49.html | 40 -
manual/en/index5.html | 37 -
manual/en/index6.html | 34 -
manual/en/index8.html | 47 -
manual/en/index9.html | 41 -
manual/en/indexname.html | 403 -
manual/en/manual.css | 127 -
manual/en/tw-help-title.txt | 1 -
plugins-src/TWLuaPlugin/TWLuaPlugin.cpp | 2 +-
plugins-src/TWPythonPlugin/TWPythonPlugin.cpp | 29 +-
plugins-src/TWPythonPlugin/TWPythonPlugin.pro | 7 +-
res/icon-blender/tw-logo-blender-v10.blend | Bin 0 -> 1732878 bytes
res/images/TeXworks-setup.ico | Bin 0 -> 106216 bytes
res/images/TeXworks.ico | Bin 175905 -> 175905 bytes
res/images/back.PSD | Bin 0 -> 3706 bytes
res/images/back2.PSD | Bin 0 -> 3641 bytes
res/images/first.PSD | Bin 0 -> 4341 bytes
res/images/forward2.PSD | Bin 0 -> 3816 bytes
res/images/last.PSD | Bin 0 -> 4504 bytes
res/resfiles/completion/tw-latex.txt | 3 +
src/ClickableLabel.h | 67 +
src/CompletingEdit.cpp | 3 +-
src/{TWVersion.h => DefaultBinaryPathsWin.h} | 6 +-
src/FindDialog.cpp | 36 +-
src/FindDialog.h | 10 +-
src/PDFDocument.cpp | 56 +-
src/PDFDocument.h | 8 +-
src/PDFDocument.ui | 8 +-
src/PrefsDialog.cpp | 10 +-
src/PrefsDialog.h | 2 +-
src/PrefsDialog.ui | 110 +-
src/ResourcesDialog.cpp | 92 +
src/{TWVersion.h => ResourcesDialog.h} | 37 +-
src/ResourcesDialog.ui | 128 +
src/SvnRev.h | 4 +-
src/TWApp.cpp | 32 +-
src/TWApp.h | 1 +
src/TWScript.cpp | 4 +-
src/TWUtils.cpp | 46 +-
src/TWUtils.h | 5 +-
src/TWVersion.h | 4 +-
src/TeXDocument.cpp | 128 +-
src/TeXDocument.h | 13 +-
src/TeXDocument.ui | 13 +-
src/TeXHighlighter.cpp | 12 +-
src/main.cpp | 11 +-
testcases/README | 22 +
testcases/base14-fonts.pdf | 222 +
testcases/base14-fonts.png | Bin 0 -> 88126 bytes
testcases/poppler-data.pdf | Bin 0 -> 328470 bytes
testcases/poppler-data.png | Bin 0 -> 111633 bytes
texworks.desktop | 45 +-
trans/TeXworks_af.qm | Bin 47701 -> 51634 bytes
trans/TeXworks_af.ts | 939 +-
trans/TeXworks_ar.qm | Bin 45384 -> 48839 bytes
trans/TeXworks_ar.ts | 892 +-
trans/TeXworks_ca.qm | Bin 49234 -> 53233 bytes
trans/TeXworks_ca.ts | 892 +-
trans/TeXworks_cs.qm | Bin 48079 -> 51676 bytes
trans/TeXworks_cs.ts | 891 +-
trans/TeXworks_de.qm | Bin 50451 -> 54758 bytes
trans/TeXworks_de.ts | 892 +-
trans/TeXworks_es.qm | Bin 51230 -> 55587 bytes
trans/TeXworks_es.ts | 119 +-
trans/TeXworks_fa.qm | Bin 46070 -> 49791 bytes
trans/TeXworks_fa.ts | 156 +-
trans/TeXworks_fo.qm | Bin 46121 -> 49704 bytes
trans/TeXworks_fo.ts | 891 +-
trans/TeXworks_fr.qm | Bin 47971 -> 52192 bytes
trans/TeXworks_fr.ts | 939 +-
trans/TeXworks_it.qm | Bin 38243 -> 52530 bytes
trans/TeXworks_it.ts | 299 +-
trans/TeXworks_ja.qm | Bin 30935 -> 30667 bytes
trans/TeXworks_ja.ts | 93 +-
trans/TeXworks_ko.qm | Bin 38214 -> 40993 bytes
trans/TeXworks_ko.ts | 98 +-
trans/TeXworks_nl.qm | Bin 36551 -> 52262 bytes
trans/TeXworks_nl.ts | 316 +-
trans/TeXworks_pl.qm | Bin 48413 -> 52438 bytes
trans/TeXworks_pl.ts | 899 +-
trans/TeXworks_pt_BR.qm | Bin 38459 -> 37865 bytes
trans/TeXworks_pt_BR.ts | 91 +-
trans/TeXworks_ru.qm | Bin 49208 -> 48608 bytes
trans/TeXworks_ru.ts | 195 +-
trans/TeXworks_sl.qm | Bin 49145 -> 53171 bytes
trans/TeXworks_sl.ts | 908 +-
trans/TeXworks_tr.qm | Bin 47828 -> 51663 bytes
trans/TeXworks_tr.ts | 102 +-
trans/TeXworks_zh_CN.qm | Bin 35984 -> 38333 bytes
trans/TeXworks_zh_CN.ts | 293 +-
win32/README | 18 +
win32/extra-setup-languages/Afrikaans-1-5.1.11.isl | 311 +
win32/extra-setup-languages/Arabic-4-5.1.11.isl | 317 +
.../ChineseSimp-12-5.1.11.isl | 320 +
win32/extra-setup-languages/Farsi-2-5.1.11.isl | 318 +
win32/extra-setup-languages/Korean-5-5.1.11.isl | 324 +
win32/extra-setup-languages/Turkish-3-5.1.11.isl | 310 +
win32/fonts/README | 13 +
win32/fonts/d050000l.pfb | Bin 0 -> 45955 bytes
win32/texworks-setup-script.iss | 109 +
200 files changed, 9322 insertions(+), 27252 deletions(-)
diff --cc debian/README.Debian
index 2367b15,0000000..39a3e8e
mode 100644,000000..100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@@ -1,17 -1,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 which
- will be in Debian soon.
++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 <st.loeffler@gmail.com> 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 <kohda@debian.org> Sun, 11 Oct 2009 15:25:52 +0900
diff --cc debian/changelog
index da9baa5,0000000..62ccee0
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,85 -1,0 +1,97 @@@
++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 <kohda@debian.org> 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 <kohda@debian.org> 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 <kohda@debian.org> 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 <kohda@debian.org> Tue, 21 Dec 2010 21:17:41 +0900
+
+texworks (0.3~svn671-2) unstable; urgency=low
+
+ * Uploaded to unstable.
+
+ -- Atsuhito KOHDA <kohda@debian.org> 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 <kohda@debian.org> 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 <kohda@debian.org> 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 <kohda@debian.org> 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 <kohda@debian.org> Thu, 18 Feb 2010 09:14:31 +0900
+
+texworks (0.3~svn569-1) experimental; urgency=low
+
+ * SVN version for experiment.
+
+ -- Atsuhito KOHDA <kohda@debian.org> 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 <kohda@debian.org> Sun, 18 Oct 2009 19:16:52 +0900
+
+texworks (0.2.3-1) unstable; urgency=low
+
+ * Initial release (Closes: #538211)
+
+ -- Atsuhito KOHDA <kohda@debian.org> Sun, 11 Oct 2009 15:25:52 +0900
diff --cc debian/control
index ecddeba,0000000..bc3cd28
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,44 -1,0 +1,37 @@@
+Source: texworks
+Section: editors
+Priority: extra
+Maintainer: Atsuhito KOHDA <kohda@debian.org>
+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: An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
++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/
diff --cc debian/copyright
index 36c632c,0000000..1b3efa6
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,69 -1,0 +1,70 @@@
+This work was packaged for Debian by:
+
+ Atsuhito KOHDA <kohda@debian.org> on Sun, 11 Oct 2009 15:25:52 +0900
+
+It was downloaded from <http://code.google.com/p/texworks/>
+
+Upstream Authors:
+
+ Jonathan Kew <jfkthame AT googlemail DOT com>
++ Stefan Löffler <st DOT loeffler AT gmail DOT com>
+ Jérôme Laurens <jerome DOT laurens AT u-bourgogne DOT fr>
+ Till Tantau <tantau AT users DOT sourceforge DOT net>
+
+Copyright:
+
- TeXworks is copyright (c) 2007-09 by Jonathan Kew.
++ TeXworks is copyright (C) 2007-2011 by Jonathan Kew and Stefan Löffler.
+ 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 <kohda@debian.org>
+
+and is licensed under the GPL version 3,
+see `/usr/share/common-licenses/GPL-3'.
+
diff --cc debian/patch-luatex
index faf8217,0000000..02c8bd0
mode 100644,000000..100644
--- a/debian/patch-luatex
+++ b/debian/patch-luatex
@@@ -1,11 -1,0 +1,11 @@@
+--- texworks-0.3/src/TWApp.cpp.orig 2010-02-22 13:19:33.000000000 +0900
++++ texworks-0.3/src/TWApp.cpp 2010-02-22 13:20:27.000000000 +0900
- @@ -841,6 +841,8 @@
++@@ -832,6 +832,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 (MKII)", "texmfstart" EXE, QStringList("texexec") << "--synctex" << "$fullname", true)
+ << Engine("XeConTeXt (MKII)", "texmfstart" EXE, QStringList("texexec") << "--xtx" << "--synctex" << "$fullname", true)
+ << Engine("BibTeX", "bibtex" EXE, QStringList("$basename"), false)
diff --cc debian/rules
index 970ed2a,0000000..68b801d
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,133 -1,0 +1,145 @@@
+#!/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
+
+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-print
- # uudecode debian/document-print.png.enc
- # mv document-print.png res/tango/
- patch -p1 < ./debian/patch-plugin
+ patch -p1 < ./debian/patch-luatex
+# qmake-qt4
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ # Lua plugin
- cd $(PLIDIR) && qmake-qt4 -after 'target.path = /usr/lib/texworks' && $(MAKE)
++ 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 'target.path = /usr/lib/texworks' && $(MAKE)
- qmake-qt4 && $(MAKE)
++ 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\\\"' \
++ 'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"' \
++ 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-luatex || true
- # patch -NRp1 < ./debian/patch-print || true
- patch -NRp1 < ./debian/patch-plugin || true
+
- # rm -f document-print.png res/tango/document-print.png
+ 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.
- # $(MAKE) DESTDIR=$(CURDIR)/debian/texworks install
- install -m 755 -p ./texworks $(CURDIR)/debian/texworks/usr/bin
- cp debian/texworks.xpm $(USDIR)/pixmaps/
- cp debian/texworks.desktop $(USDIR)/applications/
++ 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\\\"' \
++ 'QMAKE_CXXFLAGS += -DTW_BUILD_ID=Debian -DTW_HELPPATH=\\\"/usr/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"' \
++ 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
- cp -r manual $(CURDIR)/debian/texworks-help-en/usr/share/texworks-help/TeXworks-manual
++# 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 debian/texworks.1
++ 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 $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texworks.git
Reply to: