debian/0000775000000000000000000000000012360115201007157 5ustar debian/docs0000664000000000000000000000000712311700035010030 0ustar README debian/rules0000775000000000000000000001254012315610676010261 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CFLAGS = -Wall -g CPPFLAGS= CXXFLAGS= LDFLAGS= ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 -g CXXFLAGS += -O0 else CFLAGS += $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS += $(shell dpkg-buildflags --get CPPFLAGS) CXXFLAGS += $(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS) endif DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS) PYTHON3S := $(shell py3versions -vr debian/control) PYTHONS := $(shell pyversions -vr debian/control) $(PYTHON3S) # Update this on SO name bumps so files get shoved around correctly SONAME=11 configure-stamp: dh_testdir mkdir QSciQt4 mkdir QSciQt5 cp -r Qt4Qt5/* QSciQt5 mkdir designer-Qt4 cd Qt4Qt5 && qmake-qt4 QMAKE_STRIP="" DESTDIR=../QSciQt4 cd designer-Qt4Qt5 && qmake-qt4 INCLUDEPATH+=../Qt4Qt5 QMAKE_LIBDIR+=../QSciQt4 QMAKE_STRIP="" DESTDIR=../designer-Qt4 cd QSciQt5 && qmake -qt=qt5-$(DEB_HOST_MULTIARCH) QMAKE_STRIP="" DESTDIR=../QSciQt5 touch $@ configure: configure-stamp $(PYTHONS:%=Python/build-%/configure-stamp) Python/build-%/configure-stamp: dh_testdir mkdir -p Python/build-$* cd Python/build-$* \ && python$* ../configure.py -n ../../Qt4Qt5/ -o ../../QSciQt4 \ --sip-incdir=/usr/include/python$* -c \ --destdir=$(CUR_DIR)/usr/lib/python$*/dist-packages/PyQt4 case "$*" in 3*) \ mkdir -p Python/buildqt5-$* ; \ esac case "$*" in 3*) \ cd Python/buildqt5-$* \ && QT_SELECT=qt5-$(DEB_HOST_MULTIARCH) python$* ../configure.py -n ../../QSciQt5/ -o ../../QSciQt5 \ --sip-incdir=/usr/include/python$* -c --pyqt=PyQt5 \ --qmake=/usr/bin/qmake \ --destdir=$(CUR_DIR)/usr/lib/python$*/dist-packages/PyQt5; \ esac touch $@ build-library-stamp: configure dh_testdir cd Qt4Qt5 && $(MAKE) cd QSciQt5 && $(MAKE) cd designer-Qt4Qt5 && $(MAKE) touch $@ build: build-arch build-indep build-arch: build-library-stamp $(PYTHONS:%=Python/build-%/build-stamp) Python/build-%/build-stamp: Python/build-%/configure-stamp build-library-stamp dh_testdir $(MAKE) -C Python/build-$* touch $@ build-indep: build-stamp build-stamp: clean: dh_testdir dh_testroot -cd Qt4Qt5 && $(MAKE) distclean -cd designer-Qt4Qt5 && $(MAKE) distclean rm -rf Python/build* rm -rf QSciQt4 rm -rf QSciQt5 rm -rf designer-Qt4 rm -f *-stamp dh_clean install-python-%: $(MAKE) -C Python/build-$* install INSTALL_ROOT=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C Python/buildqt5-$* install INSTALL_ROOT=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp case "$*" in 3*) \ ABITAG=`python$* -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))"`; \ for f in `find debian/tmp/usr/lib/python3* -name '*.so' ! -name '*.cpython*.so'`; do \ mv $$f $${f%.so}.$$ABITAG.so; \ done; \ esac install: build dh_testdir dh_testroot dh_prep dh_installdirs cd Qt4Qt5 && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install cd QSciQt5 && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/libqt5scintilla2-$(SONAME) install mkdir -p $(CURDIR)/debian/libqt5scintilla2-dev/usr/include/qt5/Qsci mkdir -p $(CURDIR)/debian/libqt5scintilla2-dev/usr/lib mkdir -p $(CURDIR)/debian/libqt5scintilla2-dev/usr/share/qt5/mkspecs/features mv $(CURDIR)/debian/libqt5scintilla2-$(SONAME)/usr/include/qt5/Qsci/*.h $(CURDIR)/debian/libqt5scintilla2-dev/usr/include/qt5/Qsci/ rm -rf $(CURDIR)/debian/libqt5scintilla2-$(SONAME)/usr/include mv $(CURDIR)/debian/libqt5scintilla2-$(SONAME)/usr/lib/*.so $(CURDIR)/debian/libqt5scintilla2-dev/usr/lib mv $(CURDIR)/debian/libqt5scintilla2-$(SONAME)/usr/share/qt5/mkspecs/features/* $(CURDIR)/debian/libqt5scintilla2-dev/usr/share/qt5/mkspecs/features mkdir -p $(CURDIR)/debian/libqt5scintilla2-l10n/usr/share/qt5/translations mv $(CURDIR)/debian/libqt5scintilla2-$(SONAME)/usr/share/qt5/translations/* $(CURDIR)/debian/libqt5scintilla2-l10n/usr/share/qt5/translations mkdir -p $(CURDIR)/debian/libqscintilla2-doc/usr/share/qt5/qsci/api/python mv $(CURDIR)/debian/libqt5scintilla2-$(SONAME)/usr/share/qt5/qsci/api/python/* $(CURDIR)/debian/libqscintilla2-doc/usr/share/qt5/qsci/api/python rm -rf $(CURDIR)/debian/libqt5scintilla2-$(SONAME)/usr/share/qt5 cd designer-Qt4Qt5 && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install for p in $(PYTHONS) ; do \ $(MAKE) -f debian/rules install-python-$$p;\ done binary-common: dh_testdir dh_testroot dh_installman dh_install --sourcedir=$(CURDIR)/debian/tmp dh_installchangelogs NEWS dh_installdocs -A dh_installexamples dh_link dh_strip dh_compress dh_fixperms dh_python2 dh_python3 rm -rf $(CURDIR)/debian/python-qscintilla2/usr/share/pyshared dh_sip dh_sip3 dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture independant packages using the common target. binary-indep: install $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common # Build architecture dependant packages using the common target. binary-arch: install $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure .NOTPARALLEL: debian/patches/0000775000000000000000000000000012360115442010615 5ustar debian/patches/designer_link_fix.patch0000664000000000000000000000137412360115442015326 0ustar Description: Link Qt4 designer plugin with Qt4 library * Patch designer-Qt4Qt5/designer.pro to explicitly link with the Qt4 version of the qscintilla2 library to fix runtime inability to find qscintilla2 symbols (LP: #1314114) Author: Scott Kitterman Origin: vendor Bug-Debian: http://bugs.debian.org/753581 Bug-Ubuntu: https://bugs.launchpad.net/bugs/1314114 Forwarded: not-needed Last-Update: 2014-07-11 --- qscintilla2-2.8.1.orig/designer-Qt4Qt5/designer.pro +++ qscintilla2-2.8.1/designer-Qt4Qt5/designer.pro @@ -8,8 +8,10 @@ CONFIG += release plugin qscintilla2 greaterThan(QT_MAJOR_VERSION, 4) { QT += designer + LIBS += -lqt5scintilla2 } else { CONFIG += designer + LIBS += -lqscintilla2 } macx { debian/patches/remove-logo-privacy-issue.diff0000664000000000000000000000173212312412246016505 0ustar Remove use of http://www.scintilla.org/SciBreak.jpg when the SCintilla docs are accessed to resolve privacy-breach-logo lintian error. Not forwarded, not needed. Index: qscintilla2-2.8.1/doc/Scintilla/index.html =================================================================== --- qscintilla2-2.8.1.orig/doc/Scintilla/index.html 2013-11-04 09:56:48.000000000 -0500 +++ qscintilla2-2.8.1/doc/Scintilla/index.html 2014-03-19 18:03:38.102166838 -0400 @@ -63,13 +63,6 @@ - - - - -
-   -