[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texworks] 41/73: Imported Debian patch 0.5~svn1288-1



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texworks.

commit 71615eaae60e2d6177a407c2230cf6de8e314ba5
Merge: 685bc89 211ec79
Author: Atsuhito KOHDA <kohda@debian.org>
Date:   Tue Jun 4 14:11:27 2013 +0900

    Imported Debian patch 0.5~svn1288-1

 NEWS                                               |   16 +
 README                                             |    2 +-
 TeXworks.plist.in                                  |    6 +-
 debian/changelog                                   |    9 +
 debian/control                                     |    2 +-
 debian/rules                                       |    6 +-
 getDefaultBinPaths.sh                              |    1 +
 man/texworks.1                                     |    2 +-
 modules/QtPDF/.gitattributes                       |    1 +
 modules/QtPDF/.gitignore                           |    5 +
 modules/QtPDF/CMake/Modules/FindFontconfig.cmake   |   51 +
 modules/QtPDF/CMake/Modules/FindJBig2Dec.cmake     |   60 +
 modules/QtPDF/CMake/Modules/FindMuPDF.cmake        |   72 +
 modules/QtPDF/CMake/Modules/FindOpenJPEG.cmake     |   60 +
 modules/QtPDF/CMake/Modules/FindPoppler.cmake      |  117 +
 .../QtPDF/CMake/Modules/TranslationMacros.cmake    |   66 +
 modules/QtPDF/CMakeLists.txt                       |  384 ++
 modules/QtPDF/GNUmakefile                          |   44 +
 modules/QtPDF/PDFViewer.cpp                        |  262 ++
 modules/QtPDF/PDFViewer.h                          |   98 +
 modules/QtPDF/QtPDF.pro                            |   26 +
 modules/QtPDF/QtPDF_icons.qrc                      |    9 +
 modules/QtPDF/README.md                            |  150 +
 modules/QtPDF/docs/Rakefile                        |   37 +
 modules/QtPDF/docs/html/docs/.gitignore            |    0
 modules/QtPDF/docs/html/index.html                 |   12 +
 modules/QtPDF/docs/html/resources/docs.css         |  305 ++
 modules/QtPDF/docs/layout.mustache                 |  105 +
 modules/QtPDF/icons.qrc                            |   20 +
 modules/QtPDF/icons/README                         |   43 +
 modules/QtPDF/icons/document-open.png              |  Bin 0 -> 1437 bytes
 modules/QtPDF/icons/fitwidth.png                   |  Bin 0 -> 1186 bytes
 modules/QtPDF/icons/fitwindow.png                  |  Bin 0 -> 1110 bytes
 modules/QtPDF/icons/hand.png                       |  Bin 0 -> 1336 bytes
 modules/QtPDF/icons/lock.png                       |  Bin 0 -> 1529 bytes
 modules/QtPDF/icons/logo.png                       |  Bin 0 -> 33631 bytes
 modules/QtPDF/icons/magnifiercursor.png            |  Bin 0 -> 3798 bytes
 modules/QtPDF/icons/measure.png                    |  Bin 0 -> 1694 bytes
 modules/QtPDF/icons/pagemode-continuous.png        |  Bin 0 -> 1167 bytes
 modules/QtPDF/icons/pagemode-present.png           |  Bin 0 -> 1541 bytes
 modules/QtPDF/icons/pagemode-single.png            |  Bin 0 -> 992 bytes
 modules/QtPDF/icons/pagemode-twocols.png           |  Bin 0 -> 1398 bytes
 modules/QtPDF/icons/scalable/Emblem-readonly.svg   |  228 ++
 .../QtPDF/icons/scalable/Format-text-normal.svg    |  297 ++
 modules/QtPDF/icons/scalable/Measure.svg           |  469 +++
 modules/QtPDF/icons/scalable/Window-new.svg        |  214 ++
 .../QtPDF/icons/scalable/X-office-presentation.svg |  565 +++
 modules/QtPDF/icons/scalable/hand.svg              |  118 +
 modules/QtPDF/icons/scalable/logo.svg              |  218 ++
 modules/QtPDF/icons/scalable/page.svg              |  542 +++
 modules/QtPDF/icons/scalable/pagemode.svg          | 2939 +++++++++++++++
 modules/QtPDF/icons/scalable/select-text.svg       |  377 ++
 modules/QtPDF/icons/scalable/zoom-fit.svg          | 3854 ++++++++++++++++++++
 modules/QtPDF/icons/scalable/zoom.svg              |  250 ++
 modules/QtPDF/icons/select-text.png                |  Bin 0 -> 1780 bytes
 modules/QtPDF/icons/zoom-select.png                |  Bin 0 -> 2238 bytes
 modules/QtPDF/icons/zoom.png                       |  Bin 0 -> 1567 bytes
 modules/QtPDF/icons/zoomin.png                     |  Bin 0 -> 1714 bytes
 modules/QtPDF/icons/zoomincursor.png               |  Bin 0 -> 4162 bytes
 modules/QtPDF/icons/zoomout.png                    |  Bin 0 -> 1711 bytes
 modules/QtPDF/icons/zoomoutcursor.png              |  Bin 0 -> 4113 bytes
 modules/QtPDF/main.cpp                             |   14 +
 modules/QtPDF/src/PDFActions.cpp                   |  135 +
 modules/QtPDF/src/PDFActions.h                     |  165 +
 modules/QtPDF/src/PDFAnnotations.cpp               |   69 +
 modules/QtPDF/src/PDFAnnotations.h                 |  258 ++
 modules/QtPDF/src/PDFBackend.cpp                   |  748 ++++
 modules/QtPDF/src/PDFBackend.h                     |  646 ++++
 modules/QtPDF/src/PDFDocumentTools.cpp             | 1038 ++++++
 modules/QtPDF/src/PDFDocumentTools.h               |  300 ++
 modules/QtPDF/src/PDFDocumentView.cpp              | 3253 +++++++++++++++++
 modules/QtPDF/src/PDFDocumentView.h                |  617 ++++
 modules/QtPDF/src/PDFDocumentWidget.cpp            |   95 +
 modules/QtPDF/src/PDFDocumentWidget.h              |   46 +
 modules/QtPDF/src/PDFTransitions.cpp               |  718 ++++
 modules/QtPDF/src/PDFTransitions.h                 |  178 +
 modules/QtPDF/src/backends/MuPDFBackend.cpp        | 1369 +++++++
 modules/QtPDF/src/backends/MuPDFBackend.h          |  152 +
 modules/QtPDF/src/backends/PopplerQt4Backend.cpp   |  885 +++++
 modules/QtPDF/src/backends/PopplerQt4Backend.h     |  133 +
 modules/QtPDF/src/backends/ThreadSafetyREADME.md   |   60 +
 modules/QtPDF/trans/QtPDF_de.ts                    |  316 ++
 modules/QtPDF/unit-tests/TestQtPDF.cpp             |  322 ++
 modules/QtPDF/unit-tests/TestQtPDF.h               |   76 +
 modules/QtPDF/unit-tests/base14-fonts-locked.pdf   |  Bin 0 -> 4292 bytes
 modules/QtPDF/unit-tests/base14-fonts.pdf          |  222 ++
 modules/QtPDF/unit-tests/pdf-transitions.pdf       | 1733 +++++++++
 modules/QtPDF/unit-tests/pgfmanual.pdf             |  Bin 0 -> 5346838 bytes
 res/TeXworks.rc                                    |    2 +-
 src/CompletingEdit.cpp                             |    2 +-
 src/DefaultBinaryPathsWin.h                        |    2 +-
 src/DefaultPrefs.h                                 |    2 +-
 src/PDFDocument.cpp                                |   25 +-
 src/PDFDocument.h                                  |    5 +-
 src/PrefsDialog.cpp                                |    2 +-
 src/PrefsDialog.h                                  |    2 +-
 src/SvnRev.h                                       |    4 +-
 src/TWApp.cpp                                      |    4 +-
 src/TWScript.cpp                                   |    2 +-
 src/TeXDocument.cpp                                |   15 +-
 src/main.cpp                                       |    4 +-
 trans/TeXworks_af.qm                               |  Bin 56149 -> 55959 bytes
 trans/TeXworks_af.ts                               |  420 ++-
 trans/TeXworks_ar.qm                               |  Bin 52320 -> 52148 bytes
 trans/TeXworks_ar.ts                               |  420 ++-
 trans/TeXworks_ca.qm                               |  Bin 57802 -> 58427 bytes
 trans/TeXworks_ca.ts                               |  424 +--
 trans/TeXworks_cs.qm                               |  Bin 55897 -> 55709 bytes
 trans/TeXworks_cs.ts                               |  420 ++-
 trans/TeXworks_de.qm                               |  Bin 60207 -> 60432 bytes
 trans/TeXworks_de.ts                               |  420 ++-
 trans/TeXworks_es.qm                               |  Bin 59154 -> 59649 bytes
 trans/TeXworks_es.ts                               |   78 +-
 trans/TeXworks_fa.qm                               |  Bin 54108 -> 54956 bytes
 trans/TeXworks_fa.ts                               |  537 +--
 trans/TeXworks_fo.qm                               |  Bin 54185 -> 54782 bytes
 trans/TeXworks_fo.ts                               |  432 +--
 trans/TeXworks_fr.qm                               |  Bin 59559 -> 60230 bytes
 trans/TeXworks_fr.ts                               |  424 +--
 trans/TeXworks_it.qm                               |  Bin 56891 -> 56693 bytes
 trans/TeXworks_it.ts                               |   20 +-
 trans/TeXworks_ja.qm                               |  Bin 43878 -> 44429 bytes
 trans/TeXworks_ja.ts                               |   30 +-
 trans/TeXworks_ko.qm                               |  Bin 44008 -> 43868 bytes
 trans/TeXworks_ko.ts                               |   20 +-
 trans/TeXworks_nl.qm                               |  Bin 56919 -> 57526 bytes
 trans/TeXworks_nl.ts                               |   24 +-
 trans/TeXworks_pl.qm                               |  Bin 56861 -> 57486 bytes
 trans/TeXworks_pl.ts                               |  424 +--
 trans/TeXworks_pt_BR.qm                            |  Bin 57493 -> 57271 bytes
 trans/TeXworks_pt_BR.ts                            |   20 +-
 trans/TeXworks_ru.qm                               |  Bin 57062 -> 57677 bytes
 trans/TeXworks_ru.ts                               |   24 +-
 trans/TeXworks_sl.qm                               |  Bin 57268 -> 57899 bytes
 trans/TeXworks_sl.ts                               |  425 +--
 trans/TeXworks_tr.qm                               |  Bin 55806 -> 56431 bytes
 trans/TeXworks_tr.ts                               |   24 +-
 trans/TeXworks_zh_CN.qm                            |  Bin 41036 -> 40900 bytes
 trans/TeXworks_zh_CN.ts                            |   20 +-
 139 files changed, 28091 insertions(+), 2176 deletions(-)

diff --cc debian/changelog
index 25facaa,0000000..921ff81
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,173 -1,0 +1,182 @@@
++texworks (0.5~svn1288-1) unstable; urgency=low
++
++  * New Upstream Release (rev 1288).
++  * Fixed rules clean target.  obj -> objs
++  * Fixed control file.  Added zlib1g-dev to Build-Depends field.
++    (Closes: #710102)
++
++ -- Atsuhito KOHDA <kohda@debian.org>  Tue, 04 Jun 2013 14:11:27 +0900
++
 +texworks (0.5~svn1035-1) unstable; urgency=low
 +
 +  * New Upstream Release (rev 1035).
 +
 + -- Atsuhito KOHDA <kohda@debian.org>  Mon, 25 Feb 2013 15:40:07 +0900
 +
 +texworks (0.5~svn1031-1) unstable; urgency=low
 +
 +  * New Upstrean Release (rev 1031).
 +
 + -- Atsuhito KOHDA <kohda@debian.org>  Wed, 23 Jan 2013 14:16:22 +0900
 +
 +texworks (0.5~svn1026-1) unstable; urgency=low
 +
 +  * New Upstrean Release (rev 1026).
 +
 + -- Atsuhito KOHDA <kohda@debian.org>  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 <kohda@debian.org>  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 <kohda@debian.org>  Tue, 31 Jan 2012 08:55:10 +0900
 +
 +texworks (0.5~svn952-1) unstable; urgency=low
 +
 +  * New Upstream Release (rev 952).
 +
 + -- Atsuhito KOHDA <kohda@debian.org>  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 <kohda@debian.org>  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 <jwilk AT debian.org>
 +    (Closes: #632393)
 +
 + -- Atsuhito KOHDA <kohda@debian.org>  Mon, 26 Sep 2011 15:39:22 +0900
 +
 +texworks (0.5~svn930-1) unstable; urgency=low
 +
 +  * New upstream release (rev 930).
 +
 + -- Atsuhito KOHDA <kohda@debian.org>  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 <kohda@debian.org>  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 <kohda@debian.org>  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 <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 e6fb777,0000000..18fc0d4
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,44 -1,0 +1,44 @@@
 +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
++Build-Depends: debhelper (>= 7), libhunspell-dev, qt4-dev-tools, libpoppler-qt4-dev, libdbus-1-dev, liblua5.1-0-dev, python-dev, zlib1g-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/
diff --cc debian/rules
index 8ac88db,0000000..88d3bd9
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,149 -1,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 objs ]; then rmdir objs; 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)/objs ]; then rmdir $(PLIDIR)/objs; 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)/objs ]; then rmdir $(PLIPYT)/objs; 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  $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texworks.git


Reply to: