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

[texworks] 06/73: Imported Debian patch 0.3~svn569-2



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

preining pushed a commit to branch master
in repository texworks.

commit e0f68555adb16ca11f3e2d7f6ee54ac388e2f7b1
Author: Atsuhito KOHDA <kohda@debian.org>
Date:   Thu Feb 18 09:14:31 2010 +0900

    Imported Debian patch 0.3~svn569-2
---
 debian/changelog                      |   8 ++
 debian/control                        |  20 ++-
 debian/patch-plugin                   |  11 ++
 debian/rules                          |  37 +++++-
 debian/texworks-scripting-lua.dirs    |   1 +
 debian/texworks-scripting-python.dirs |   1 +
 plugins-src/TWLuaPlugin/Makefile      | 234 ++++++++++++++++++++++++++++++++++
 plugins-src/TWPythonPlugin/Makefile   | 231 +++++++++++++++++++++++++++++++++
 8 files changed, 535 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aba55f6..edd3da7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+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.
diff --git a/debian/control b/debian/control
index 5da92ea..6969aed 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ 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, sharutils
+Build-Depends: debhelper (>= 7), libhunspell-dev, qt4-dev-tools, libpoppler-qt4-dev, libdbus-1-dev, sharutils, liblua5.1-0-dev, python2.6-dev
 Standards-Version: 3.8.3
 Homepage: http://www.tug.org/texworks/
 
@@ -10,7 +10,7 @@ Package: texworks
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: texlive-latex-base
-Suggests: texlive-xetex
+Suggests: texlive-xetex, texworks-scripting-lua, texworks-scripting-python
 Description: An 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,
@@ -21,3 +21,19 @@ Description: An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
  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
+Recommends: 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
+Recommends: texworks
+Description: Plugin to bring Python scripting to TeXworks
+ .
+ For further information, see http://tug.org/texworks/
diff --git a/debian/patch-plugin b/debian/patch-plugin
new file mode 100644
index 0000000..75835c0
--- /dev/null
+++ b/debian/patch-plugin
@@ -0,0 +1,11 @@
+--- texworks-0.3~svn569.orig/TeXworks.pro
++++ texworks-0.3~svn569/TeXworks.pro
+@@ -88,7 +88,7 @@
+ 	# Enclose the path in \\\" (which later gets expanded to \", which in turn
+ 	# gets expanded to " in the c++ code)
+ 	QMAKE_CXXFLAGS += -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\"
+-	QMAKE_CXXFLAGS += -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\"
++	QMAKE_CXXFLAGS += -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"
+ 	QMAKE_CXXFLAGS += -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"
+ }
+ 
diff --git a/debian/rules b/debian/rules
index 47be618..481f22a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,8 @@
 #export DH_VERBOSE=1
 
 USDIR=$(CURDIR)/debian/texworks/usr/share
+PLIDIR=plugins-src/TWLuaPlugin
+PLIPYT=plugins-src/TWPythonPlugin
 
 configure: configure-stamp
 configure-stamp:
@@ -18,6 +20,7 @@ configure-stamp:
 	patch -p1 < ./debian/patch-print
 	uudecode debian/document-print.png.enc
 	mv document-print.png res/tango/
+	patch -p1 < ./debian/patch-plugin
 	qmake-qt4
 
 	touch configure-stamp
@@ -30,6 +33,10 @@ build-stamp: configure-stamp
 
 	# Add here commands to compile the package.
 	$(MAKE)
+	# Lua plugin
+	cd $(PLIDIR) && qmake-qt4 -after 'target.path = /usr/lib/texworks' && $(MAKE)
+	# Python plugin
+	cd $(PLIPYT) && qmake-qt4 -after 'target.path = /usr/lib/texworks' && $(MAKE)
 	#docbook-to-man debian/texworks.sgml > texworks.1
 
 	touch $@
@@ -42,12 +49,26 @@ clean:
 	# 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 [ -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-print || true
+	patch -NRp1 < ./debian/patch-plugin || true
+
 	rm -f document-print.png res/tango/document-print.png
+	rm -f $(PLIDIR)/libTWLuaPlugin.so
+	rm -f $(PLIPYT)/libTWPythonPlugin.so
 
 	dh_clean 
 
@@ -55,13 +76,17 @@ install: build
 	dh_testdir
 	dh_testroot
 	dh_prep  
-	dh_installdirs
+	dh_installdirs -A
 
 	# Add here commands to install the package into debian/texworks.
 #	$(MAKE) DESTDIR=$(CURDIR)/debian/texworks install
-	cp ./texworks $(CURDIR)/debian/texworks/usr/bin
+	install -m 755 -p ./texworks $(CURDIR)/debian/texworks/usr/bin
 	cp debian/texworks.xpm $(USDIR)/pixmaps/
 	cp debian/texworks.desktop $(USDIR)/applications/
+	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
 
 # Build architecture-independent files here.
 binary-indep: install
diff --git a/debian/texworks-scripting-lua.dirs b/debian/texworks-scripting-lua.dirs
new file mode 100644
index 0000000..c74b9bd
--- /dev/null
+++ b/debian/texworks-scripting-lua.dirs
@@ -0,0 +1 @@
+usr/lib/texworks
diff --git a/debian/texworks-scripting-python.dirs b/debian/texworks-scripting-python.dirs
new file mode 100644
index 0000000..c74b9bd
--- /dev/null
+++ b/debian/texworks-scripting-python.dirs
@@ -0,0 +1 @@
+usr/lib/texworks
diff --git a/plugins-src/TWLuaPlugin/Makefile b/plugins-src/TWLuaPlugin/Makefile
new file mode 100644
index 0000000..dcf45fe
--- /dev/null
+++ b/plugins-src/TWLuaPlugin/Makefile
@@ -0,0 +1,234 @@
+#############################################################################
+# Makefile for building: libTWLuaPlugin.so
+# Generated by qmake (2.01a) (Qt 4.5.3) on: ? 2? 18 12:37:48 2010
+# Project:  TWLuaPlugin.pro
+# Template: lib
+# Command: /usr/bin/qmake-qt4 -unix -after  target.path\ =\ /usr/lib/texworks -o Makefile TWLuaPlugin.pro
+#############################################################################
+
+####### Compiler, tools and options
+
+CC            = gcc
+CXX           = g++
+DEFINES       = -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
+CFLAGS        = -pipe -O2 -I/usr/include/lua5.1 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
+CXXFLAGS      = -pipe -O2 -I/usr/include/lua5.1 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
+INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../src -Imoc
+LINK          = g++
+LFLAGS        = -Wl,-O1 -shared
+LIBS          = $(SUBLIBS)  -L/usr/lib -llua5.1 -lQtGui -lQtCore -lpthread
+AR            = ar cqs
+RANLIB        = 
+QMAKE         = /usr/bin/qmake-qt4
+TAR           = tar -cf
+COMPRESS      = gzip -9f
+COPY          = cp -f
+SED           = sed
+COPY_FILE     = $(COPY)
+COPY_DIR      = $(COPY) -r
+INSTALL_FILE  = install -m 644 -p
+INSTALL_DIR   = $(COPY_DIR)
+INSTALL_PROGRAM = install -m 755 -p
+DEL_FILE      = rm -f
+SYMLINK       = ln -sf
+DEL_DIR       = rmdir
+MOVE          = mv -f
+CHK_DIR_EXISTS= test -d
+MKDIR         = mkdir -p
+
+####### Output directory
+
+OBJECTS_DIR   = obj/
+
+####### Files
+
+SOURCES       = TWLuaPlugin.cpp \
+		../../src/TWScript.cpp moc/moc_TWLuaPlugin.cpp \
+		moc/moc_TWScript.cpp
+OBJECTS       = obj/TWLuaPlugin.o \
+		obj/TWScript.o \
+		obj/moc_TWLuaPlugin.o \
+		obj/moc_TWScript.o
+DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
+		/usr/share/qt4/mkspecs/common/unix.conf \
+		/usr/share/qt4/mkspecs/common/linux.conf \
+		/usr/share/qt4/mkspecs/qconfig.pri \
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
+		/usr/share/qt4/mkspecs/features/release.prf \
+		/usr/share/qt4/mkspecs/features/default_post.prf \
+		/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
+		/usr/share/qt4/mkspecs/features/qt.prf \
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
+		/usr/share/qt4/mkspecs/features/moc.prf \
+		/usr/share/qt4/mkspecs/features/resources.prf \
+		/usr/share/qt4/mkspecs/features/uic.prf \
+		/usr/share/qt4/mkspecs/features/yacc.prf \
+		/usr/share/qt4/mkspecs/features/lex.prf \
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+		TWLuaPlugin.pro
+QMAKE_TARGET  = TWLuaPlugin
+DESTDIR       = 
+TARGET        = libTWLuaPlugin.so
+TARGETD       = libTWLuaPlugin.so
+
+first: all
+####### Implicit rules
+
+.SUFFIXES: .o .c .cpp .cc .cxx .C
+
+.cpp.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cc.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cxx.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.C.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.c.o:
+	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
+
+####### Build rules
+
+all: Makefile  $(TARGET)
+
+$(TARGET):  $(OBJECTS) $(SUBLIBS) $(OBJCOMP)  
+	-$(DEL_FILE) $(TARGET)
+	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
+
+
+
+Makefile: TWLuaPlugin.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
+		/usr/share/qt4/mkspecs/common/unix.conf \
+		/usr/share/qt4/mkspecs/common/linux.conf \
+		/usr/share/qt4/mkspecs/qconfig.pri \
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
+		/usr/share/qt4/mkspecs/features/release.prf \
+		/usr/share/qt4/mkspecs/features/default_post.prf \
+		/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
+		/usr/share/qt4/mkspecs/features/qt.prf \
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
+		/usr/share/qt4/mkspecs/features/moc.prf \
+		/usr/share/qt4/mkspecs/features/resources.prf \
+		/usr/share/qt4/mkspecs/features/uic.prf \
+		/usr/share/qt4/mkspecs/features/yacc.prf \
+		/usr/share/qt4/mkspecs/features/lex.prf \
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+		/usr/lib/libQtGui.prl \
+		/usr/lib/libQtCore.prl
+	$(QMAKE) -unix -after  target.path\ =\ /usr/lib/texworks -o Makefile TWLuaPlugin.pro
+/usr/share/qt4/mkspecs/common/g++.conf:
+/usr/share/qt4/mkspecs/common/unix.conf:
+/usr/share/qt4/mkspecs/common/linux.conf:
+/usr/share/qt4/mkspecs/qconfig.pri:
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
+/usr/share/qt4/mkspecs/features/qt_config.prf:
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
+/usr/share/qt4/mkspecs/features/default_pre.prf:
+/usr/share/qt4/mkspecs/features/release.prf:
+/usr/share/qt4/mkspecs/features/default_post.prf:
+/usr/share/qt4/mkspecs/features/link_pkgconfig.prf:
+/usr/share/qt4/mkspecs/features/warn_on.prf:
+/usr/share/qt4/mkspecs/features/qt.prf:
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
+/usr/share/qt4/mkspecs/features/moc.prf:
+/usr/share/qt4/mkspecs/features/resources.prf:
+/usr/share/qt4/mkspecs/features/uic.prf:
+/usr/share/qt4/mkspecs/features/yacc.prf:
+/usr/share/qt4/mkspecs/features/lex.prf:
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
+/usr/lib/libQtGui.prl:
+/usr/lib/libQtCore.prl:
+qmake:  FORCE
+	@$(QMAKE) -unix -after  target.path\ =\ /usr/lib/texworks -o Makefile TWLuaPlugin.pro
+
+dist: 
+	@$(CHK_DIR_EXISTS) obj/TWLuaPlugin1.0.0 || $(MKDIR) obj/TWLuaPlugin1.0.0 
+	$(COPY_FILE) --parents $(SOURCES) $(DIST) obj/TWLuaPlugin1.0.0/ && $(COPY_FILE) --parents TWLuaPlugin.h ../../src/TWScript.h obj/TWLuaPlugin1.0.0/ && $(COPY_FILE) --parents TWLuaPlugin.cpp ../../src/TWScript.cpp obj/TWLuaPlugin1.0.0/ && (cd `dirname obj/TWLuaPlugin1.0.0` && $(TAR) TWLuaPlugin1.0.0.tar TWLuaPlugin1.0.0 && $(COMPRESS) TWLuaPlugin1.0.0.tar) && $(MOVE) `dirname obj/TWLuaPlugin1.0.0`/TWLuaPlugin1.0.0.tar.gz . && $(DEL_FILE) -r obj/TWLuaPlugin1.0.0
+
+
+clean:compiler_clean 
+	-$(DEL_FILE) $(OBJECTS)
+	-$(DEL_FILE) *~ core *.core
+
+
+####### Sub-libraries
+
+distclean: clean
+	-$(DEL_FILE) $(TARGET) 
+	-$(DEL_FILE) Makefile
+
+
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
+
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
+
+compiler_moc_header_make_all: moc/moc_TWLuaPlugin.cpp moc/moc_TWScript.cpp
+compiler_moc_header_clean:
+	-$(DEL_FILE) moc/moc_TWLuaPlugin.cpp moc/moc_TWScript.cpp
+moc/moc_TWLuaPlugin.cpp: TWLuaPlugin.h
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) TWLuaPlugin.h -o moc/moc_TWLuaPlugin.cpp
+
+moc/moc_TWScript.cpp: ../../src/TWScript.h
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ../../src/TWScript.h -o moc/moc_TWScript.cpp
+
+compiler_rcc_make_all:
+compiler_rcc_clean:
+compiler_image_collection_make_all: qmake_image_collection.cpp
+compiler_image_collection_clean:
+	-$(DEL_FILE) qmake_image_collection.cpp
+compiler_moc_source_make_all:
+compiler_moc_source_clean:
+compiler_uic_make_all:
+compiler_uic_clean:
+compiler_yacc_decl_make_all:
+compiler_yacc_decl_clean:
+compiler_yacc_impl_make_all:
+compiler_yacc_impl_clean:
+compiler_lex_make_all:
+compiler_lex_clean:
+compiler_clean: compiler_moc_header_clean 
+
+####### Compile
+
+obj/TWLuaPlugin.o: TWLuaPlugin.cpp TWLuaPlugin.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/TWLuaPlugin.o TWLuaPlugin.cpp
+
+obj/TWScript.o: ../../src/TWScript.cpp ../../src/TWScript.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/TWScript.o ../../src/TWScript.cpp
+
+obj/moc_TWLuaPlugin.o: moc/moc_TWLuaPlugin.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_TWLuaPlugin.o moc/moc_TWLuaPlugin.cpp
+
+obj/moc_TWScript.o: moc/moc_TWScript.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_TWScript.o moc/moc_TWScript.cpp
+
+####### Install
+
+install_target: first FORCE
+	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/texworks/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/texworks/ 
+	-$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
+	-strip --strip-unneeded "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
+
+uninstall_target:  FORCE
+	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
+	-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/texworks/ 
+
+
+install:  install_target  FORCE
+
+uninstall: uninstall_target   FORCE
+
+FORCE:
+
diff --git a/plugins-src/TWPythonPlugin/Makefile b/plugins-src/TWPythonPlugin/Makefile
new file mode 100644
index 0000000..1f70a2a
--- /dev/null
+++ b/plugins-src/TWPythonPlugin/Makefile
@@ -0,0 +1,231 @@
+#############################################################################
+# Makefile for building: libTWPythonPlugin.so
+# Generated by qmake (2.01a) (Qt 4.5.3) on: ? 2? 18 12:37:53 2010
+# Project:  TWPythonPlugin.pro
+# Template: lib
+# Command: /usr/bin/qmake-qt4 -unix -after  target.path\ =\ /usr/lib/texworks -o Makefile TWPythonPlugin.pro
+#############################################################################
+
+####### Compiler, tools and options
+
+CC            = gcc
+CXX           = g++
+DEFINES       = -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
+CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
+CXXFLAGS      = -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
+INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../src -I/usr/include/python2.6 -Imoc
+LINK          = g++
+LFLAGS        = -Wl,-O1 -shared
+LIBS          = $(SUBLIBS)  -L/usr/lib -lpython2.6 -lQtGui -lQtCore -lpthread
+AR            = ar cqs
+RANLIB        = 
+QMAKE         = /usr/bin/qmake-qt4
+TAR           = tar -cf
+COMPRESS      = gzip -9f
+COPY          = cp -f
+SED           = sed
+COPY_FILE     = $(COPY)
+COPY_DIR      = $(COPY) -r
+INSTALL_FILE  = install -m 644 -p
+INSTALL_DIR   = $(COPY_DIR)
+INSTALL_PROGRAM = install -m 755 -p
+DEL_FILE      = rm -f
+SYMLINK       = ln -sf
+DEL_DIR       = rmdir
+MOVE          = mv -f
+CHK_DIR_EXISTS= test -d
+MKDIR         = mkdir -p
+
+####### Output directory
+
+OBJECTS_DIR   = obj/
+
+####### Files
+
+SOURCES       = TWPythonPlugin.cpp \
+		../../src/TWScript.cpp moc/moc_TWPythonPlugin.cpp \
+		moc/moc_TWScript.cpp
+OBJECTS       = obj/TWPythonPlugin.o \
+		obj/TWScript.o \
+		obj/moc_TWPythonPlugin.o \
+		obj/moc_TWScript.o
+DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
+		/usr/share/qt4/mkspecs/common/unix.conf \
+		/usr/share/qt4/mkspecs/common/linux.conf \
+		/usr/share/qt4/mkspecs/qconfig.pri \
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
+		/usr/share/qt4/mkspecs/features/release.prf \
+		/usr/share/qt4/mkspecs/features/default_post.prf \
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
+		/usr/share/qt4/mkspecs/features/qt.prf \
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
+		/usr/share/qt4/mkspecs/features/moc.prf \
+		/usr/share/qt4/mkspecs/features/resources.prf \
+		/usr/share/qt4/mkspecs/features/uic.prf \
+		/usr/share/qt4/mkspecs/features/yacc.prf \
+		/usr/share/qt4/mkspecs/features/lex.prf \
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+		TWPythonPlugin.pro
+QMAKE_TARGET  = TWPythonPlugin
+DESTDIR       = 
+TARGET        = libTWPythonPlugin.so
+TARGETD       = libTWPythonPlugin.so
+
+first: all
+####### Implicit rules
+
+.SUFFIXES: .o .c .cpp .cc .cxx .C
+
+.cpp.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cc.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cxx.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.C.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.c.o:
+	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
+
+####### Build rules
+
+all: Makefile  $(TARGET)
+
+$(TARGET):  $(OBJECTS) $(SUBLIBS) $(OBJCOMP)  
+	-$(DEL_FILE) $(TARGET)
+	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
+
+
+
+Makefile: TWPythonPlugin.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
+		/usr/share/qt4/mkspecs/common/unix.conf \
+		/usr/share/qt4/mkspecs/common/linux.conf \
+		/usr/share/qt4/mkspecs/qconfig.pri \
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
+		/usr/share/qt4/mkspecs/features/release.prf \
+		/usr/share/qt4/mkspecs/features/default_post.prf \
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
+		/usr/share/qt4/mkspecs/features/qt.prf \
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
+		/usr/share/qt4/mkspecs/features/moc.prf \
+		/usr/share/qt4/mkspecs/features/resources.prf \
+		/usr/share/qt4/mkspecs/features/uic.prf \
+		/usr/share/qt4/mkspecs/features/yacc.prf \
+		/usr/share/qt4/mkspecs/features/lex.prf \
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+		/usr/lib/libQtGui.prl \
+		/usr/lib/libQtCore.prl
+	$(QMAKE) -unix -after  target.path\ =\ /usr/lib/texworks -o Makefile TWPythonPlugin.pro
+/usr/share/qt4/mkspecs/common/g++.conf:
+/usr/share/qt4/mkspecs/common/unix.conf:
+/usr/share/qt4/mkspecs/common/linux.conf:
+/usr/share/qt4/mkspecs/qconfig.pri:
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
+/usr/share/qt4/mkspecs/features/qt_config.prf:
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
+/usr/share/qt4/mkspecs/features/default_pre.prf:
+/usr/share/qt4/mkspecs/features/release.prf:
+/usr/share/qt4/mkspecs/features/default_post.prf:
+/usr/share/qt4/mkspecs/features/warn_on.prf:
+/usr/share/qt4/mkspecs/features/qt.prf:
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
+/usr/share/qt4/mkspecs/features/moc.prf:
+/usr/share/qt4/mkspecs/features/resources.prf:
+/usr/share/qt4/mkspecs/features/uic.prf:
+/usr/share/qt4/mkspecs/features/yacc.prf:
+/usr/share/qt4/mkspecs/features/lex.prf:
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
+/usr/lib/libQtGui.prl:
+/usr/lib/libQtCore.prl:
+qmake:  FORCE
+	@$(QMAKE) -unix -after  target.path\ =\ /usr/lib/texworks -o Makefile TWPythonPlugin.pro
+
+dist: 
+	@$(CHK_DIR_EXISTS) obj/TWPythonPlugin1.0.0 || $(MKDIR) obj/TWPythonPlugin1.0.0 
+	$(COPY_FILE) --parents $(SOURCES) $(DIST) obj/TWPythonPlugin1.0.0/ && $(COPY_FILE) --parents TWPythonPlugin.h ../../src/TWScript.h obj/TWPythonPlugin1.0.0/ && $(COPY_FILE) --parents TWPythonPlugin.cpp ../../src/TWScript.cpp obj/TWPythonPlugin1.0.0/ && (cd `dirname obj/TWPythonPlugin1.0.0` && $(TAR) TWPythonPlugin1.0.0.tar TWPythonPlugin1.0.0 && $(COMPRESS) TWPythonPlugin1.0.0.tar) && $(MOVE) `dirname obj/TWPythonPlugin1.0.0`/TWPythonPlugin1.0.0.tar.gz . && $(DEL_FILE) -r obj/TWPythonPlu [...]
+
+
+clean:compiler_clean 
+	-$(DEL_FILE) $(OBJECTS)
+	-$(DEL_FILE) *~ core *.core
+
+
+####### Sub-libraries
+
+distclean: clean
+	-$(DEL_FILE) $(TARGET) 
+	-$(DEL_FILE) Makefile
+
+
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
+
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
+
+compiler_moc_header_make_all: moc/moc_TWPythonPlugin.cpp moc/moc_TWScript.cpp
+compiler_moc_header_clean:
+	-$(DEL_FILE) moc/moc_TWPythonPlugin.cpp moc/moc_TWScript.cpp
+moc/moc_TWPythonPlugin.cpp: TWPythonPlugin.h
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) TWPythonPlugin.h -o moc/moc_TWPythonPlugin.cpp
+
+moc/moc_TWScript.cpp: ../../src/TWScript.h
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ../../src/TWScript.h -o moc/moc_TWScript.cpp
+
+compiler_rcc_make_all:
+compiler_rcc_clean:
+compiler_image_collection_make_all: qmake_image_collection.cpp
+compiler_image_collection_clean:
+	-$(DEL_FILE) qmake_image_collection.cpp
+compiler_moc_source_make_all:
+compiler_moc_source_clean:
+compiler_uic_make_all:
+compiler_uic_clean:
+compiler_yacc_decl_make_all:
+compiler_yacc_decl_clean:
+compiler_yacc_impl_make_all:
+compiler_yacc_impl_clean:
+compiler_lex_make_all:
+compiler_lex_clean:
+compiler_clean: compiler_moc_header_clean 
+
+####### Compile
+
+obj/TWPythonPlugin.o: TWPythonPlugin.cpp TWPythonPlugin.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/TWPythonPlugin.o TWPythonPlugin.cpp
+
+obj/TWScript.o: ../../src/TWScript.cpp ../../src/TWScript.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/TWScript.o ../../src/TWScript.cpp
+
+obj/moc_TWPythonPlugin.o: moc/moc_TWPythonPlugin.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_TWPythonPlugin.o moc/moc_TWPythonPlugin.cpp
+
+obj/moc_TWScript.o: moc/moc_TWScript.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_TWScript.o moc/moc_TWScript.cpp
+
+####### Install
+
+install_target: first FORCE
+	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/texworks/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/texworks/ 
+	-$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
+	-strip --strip-unneeded "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
+
+uninstall_target:  FORCE
+	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
+	-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/texworks/ 
+
+
+install:  install_target  FORCE
+
+uninstall: uninstall_target   FORCE
+
+FORCE:
+

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


Reply to: