summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqscintilla
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-05 20:24:55 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-05 20:24:55 +0200
commit66558bf7ba6bd4c25d1ebb13f233ea61bb9e0252 (patch)
treebbab545b01450bbe6ce70113ec641860445e3863 /redhat/dependencies/tqscintilla
parent84236b1a97dac6fc43ba593b98577f7b820a1c36 (diff)
downloadtde-packaging-66558bf7ba6bd4c25d1ebb13f233ea61bb9e0252.tar.gz
tde-packaging-66558bf7ba6bd4c25d1ebb13f233ea61bb9e0252.zip
RPM Packaging: lot of R14 packages
Diffstat (limited to 'redhat/dependencies/tqscintilla')
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-14.0.0-ftbfs.patch15
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec178
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-ftbfs.patch614
-rw-r--r--redhat/dependencies/tqscintilla/trinity-tqscintilla.spec235
4 files changed, 193 insertions, 849 deletions
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0-ftbfs.patch b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..0323dee9c
--- /dev/null
+++ b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0-ftbfs.patch
@@ -0,0 +1,15 @@
+--- trinity-tqscintilla-14.0.0~pre20+a3562a94/qt/qscintilla.pro.ORI 2013-07-02 19:27:56.391143562 +0200
++++ trinity-tqscintilla-14.0.0~pre20+a3562a94/qt/qscintilla.pro 2013-07-02 19:30:59.279346578 +0200
+@@ -211,10 +211,10 @@
+ qscintilla_ru.ts
+
+
+-header.path = $(QTDIR)/include
++header.path = /usr/include/tqt3
+ header.files = qextscintilla*.h
+
+-trans.path = $(QTDIR)/translations
++trans.path = /usr/share/tqt3/translations
+ trans.files = qscintilla_*.qm
+
+ INSTALLS += header trans
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
new file mode 100644
index 000000000..7bad7ffb1
--- /dev/null
+++ b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
@@ -0,0 +1,178 @@
+# Default version for this component
+%define tdecomp tqscintilla
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: TQt source code editing component based on Scintilla
+Version: 1.7.1
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Development/Tools
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+Url: http://www.riverbankcomputing.co.uk/qscintilla/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+# Fix FTBFS when using TQT3
+Patch0: tqscintilla-14.0.0-ftbfs.patch
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+%description
+Scintilla is a free source code editing component. It has features found
+in standard editing components, as well as features especially useful
+when editing and debugging source code.
+
+TQScintilla is a port or Scintilla to the TQt GUI toolkit.
+
+
+%package designer
+Summary: TQScintilla designer plugin
+Group: Development/Tools
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tqt3-designer
+
+%description designer
+%{summary}.
+
+%package devel
+Summary: TQScintilla Development Files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tqt3-devel
+
+%description devel
+%{summary}.
+
+%package doc
+Summary: TQScintilla Documentation
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+%{summary}.
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .ftbfs
+
+%__sed -i "designer/designer.pro" \
+ -e "s|\$(QTDIR)|%{_libdir}/tqt3|" \
+ -e "s|# DESTDIR|DESTDIR|"
+
+( cd qt; tqmake "DESTDIR=$PWD/../tmplib" )
+( cd designer; tqmake )
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+%__make %{?_smp_mflags} -C qt
+%__make %{?_smp_mflags} -C designer
+
+
+%install
+unset QTDIR QTINC QTLIB
+export QTDIR=%{_libdir}/tqt3
+%__rm -rf $RPM_BUILD_ROOT
+
+# Installs the QT part
+%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install
+
+# Installs supplementary headers
+for i in include/*.h; do
+ %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/}
+done
+
+# Installs the HTML documentation
+for i in doc/html/*; do
+ %__install -D -m 644 $i %{buildroot}%{tde_docdir}/HTML/en/%{name}/${i##*/}
+done
+
+# Installs the Designer plugin
+for i in designer/*.so; do
+ %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
+done
+
+# Installs libraries
+%__mkdir_p %{buildroot}%{_libdir}
+%__mv -f tmplib/* %{buildroot}%{_libdir}
+
+# Fix private headers location
+%__mv -f %{buildroot}/private %{buildroot}%{_includedir}/tqt3
+%__mv -f %{buildroot}%{_includedir}/tqt3 %{buildroot}%{_includedir}/tqscintilla
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog LICENSE NEWS README
+%{_libdir}/libqscintilla.so.*
+%{_datadir}/tqt3/translations/*.qm
+
+%files designer
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/designer/*.so
+
+%files devel
+%defattr(-,root,root,-)
+%doc doc/html doc/Scintilla example
+%{_includedir}/tqscintilla/*.h
+%{_includedir}/tqscintilla/private/*.h
+%{_libdir}/libqscintilla.so
+
+%files doc
+%defattr(-,root,root,-)
+%{tde_docdir}/HTML/en/%{name}
+
+%changelog
+* Tue Jul 02 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.1-1
+- Initial build for TDE 14.0.0
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-ftbfs.patch b/redhat/dependencies/tqscintilla/tqscintilla-ftbfs.patch
deleted file mode 100644
index b4bb5b08e..000000000
--- a/redhat/dependencies/tqscintilla/tqscintilla-ftbfs.patch
+++ /dev/null
@@ -1,614 +0,0 @@
---- tqscintilla-master/qt/qextscintillacommandset.cpp.ORI 2011-12-04 14:33:29.344201345 +0100
-+++ tqscintilla-master/qt/qextscintillacommandset.cpp 2011-12-04 14:35:03.180233103 +0100
-@@ -43,525 +43,525 @@
- QextScintillaBase::SCI_LINEDOWN,
- TQt::Key_Down,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move down one line")
- },
- {
- QextScintillaBase::SCI_LINEDOWNEXTEND,
- TQt::Key_Down | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection down one line")
- },
- {
- QextScintillaBase::SCI_LINESCROLLDOWN,
- TQt::Key_Down | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Scroll view down one line")
- },
- {
- QextScintillaBase::SCI_LINEDOWNRECTEXTEND,
- TQt::Key_Down | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection down one line")
- },
- {
- QextScintillaBase::SCI_LINEUP,
- TQt::Key_Up,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move up one line")
- },
- {
- QextScintillaBase::SCI_LINEUPEXTEND,
- TQt::Key_Up | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection up one line")
- },
- {
- QextScintillaBase::SCI_LINESCROLLUP,
- TQt::Key_Up | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Scroll view up one line")
- },
- {
- QextScintillaBase::SCI_LINEUPRECTEXTEND,
- TQt::Key_Up | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection up one line")
- },
- {
- QextScintillaBase::SCI_PARAUP,
- TQt::Key_BracketLeft | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move up one paragraph")
- },
- {
- QextScintillaBase::SCI_PARAUPEXTEND,
- TQt::Key_BracketLeft | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection up one paragraph")
- },
- {
- QextScintillaBase::SCI_PARADOWN,
- TQt::Key_BracketRight | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move down one paragraph")
- },
- {
- QextScintillaBase::SCI_PARADOWNEXTEND,
- TQt::Key_BracketRight | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection down one paragraph")
- },
- {
- QextScintillaBase::SCI_CHARLEFT,
- TQt::Key_Left,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move left one character")
- },
- {
- QextScintillaBase::SCI_CHARLEFTEXTEND,
- TQt::Key_Left | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection left one character")
- },
- {
- QextScintillaBase::SCI_WORDLEFT,
- TQt::Key_Left | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move left one word")
- },
- {
- QextScintillaBase::SCI_WORDLEFTEXTEND,
- TQt::Key_Left | TQt::SHIFT | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection left one word")
- },
- {
- QextScintillaBase::SCI_CHARLEFTRECTEXTEND,
- TQt::Key_Left | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection left one character")
- },
- {
- QextScintillaBase::SCI_CHARRIGHT,
- TQt::Key_Right,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move right one character")
- },
- {
- QextScintillaBase::SCI_CHARRIGHTEXTEND,
- TQt::Key_Right | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection right one character")
- },
- {
- QextScintillaBase::SCI_WORDRIGHT,
- TQt::Key_Right | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move right one word")
- },
- {
- QextScintillaBase::SCI_WORDRIGHTEXTEND,
- TQt::Key_Right | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection right one word")
- },
- {
- QextScintillaBase::SCI_CHARRIGHTRECTEXTEND,
- TQt::Key_Right | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection right one character")
- },
- {
- QextScintillaBase::SCI_WORDPARTLEFT,
- TQt::Key_Slash | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move left one word part")
- },
- {
- QextScintillaBase::SCI_WORDPARTLEFTEXTEND,
- TQt::Key_Slash | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection left one word part")
- },
- {
- QextScintillaBase::SCI_WORDPARTRIGHT,
- TQt::Key_Backslash | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move right one word part")
- },
- {
- QextScintillaBase::SCI_WORDPARTRIGHTEXTEND,
- TQt::Key_Backslash | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection right one word part")
- },
- {
- QextScintillaBase::SCI_VCHOME,
- TQt::Key_Home,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to first visible character in line")
- },
- {
- QextScintillaBase::SCI_VCHOMEEXTEND,
- TQt::Key_Home | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to first visible character in line")
- },
- {
- QextScintillaBase::SCI_DOCUMENTSTART,
- TQt::Key_Home | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to start of text")
- },
- {
- QextScintillaBase::SCI_DOCUMENTSTARTEXTEND,
- TQt::Key_Home | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to start of text")
- },
- {
- QextScintillaBase::SCI_HOMEDISPLAY,
- TQt::Key_Home | TQt::ALT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to start of displayed line")
- },
- {
- QextScintillaBase::SCI_HOMEDISPLAYEXTEND,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to start of line")
- },
- {
- QextScintillaBase::SCI_VCHOMERECTEXTEND,
- TQt::Key_Home | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection to first visible character in line")
- },
- {
- QextScintillaBase::SCI_LINEEND,
- TQt::Key_End,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to end of line")
- },
- {
- QextScintillaBase::SCI_LINEENDEXTEND,
- TQt::Key_End | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to end of line")
- },
- {
- QextScintillaBase::SCI_DOCUMENTEND,
- TQt::Key_End | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to end of text")
- },
- {
- QextScintillaBase::SCI_DOCUMENTENDEXTEND,
- TQt::Key_End | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to end of text")
- },
- {
- QextScintillaBase::SCI_LINEENDDISPLAY,
- TQt::Key_End | TQt::ALT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to end of displayed line")
- },
- {
- QextScintillaBase::SCI_LINEENDDISPLAYEXTEND,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to end of displayed line")
- },
- {
- QextScintillaBase::SCI_LINEENDRECTEXTEND,
- TQt::Key_End | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection to end of line")
- },
- {
- QextScintillaBase::SCI_PAGEUP,
- TQt::Key_Prior,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move up one page")
- },
- {
- QextScintillaBase::SCI_PAGEUPEXTEND,
- TQt::Key_Prior | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection up one page")
- },
- {
- QextScintillaBase::SCI_PAGEUPRECTEXTEND,
- TQt::Key_Prior | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection up one page")
- },
- {
- QextScintillaBase::SCI_PAGEDOWN,
- TQt::Key_Next,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move down one page")
- },
- {
- QextScintillaBase::SCI_PAGEDOWNEXTEND,
- TQt::Key_Next | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection down one page")
- },
- {
- QextScintillaBase::SCI_PAGEDOWNRECTEXTEND,
- TQt::Key_Next | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection down one page")
- },
- {
- QextScintillaBase::SCI_CLEAR,
- TQt::Key_Delete,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete current character")
- },
- {
- QextScintillaBase::SCI_CUT,
- TQt::Key_X | TQt::CTRL,
- TQt::Key_Delete | TQt::SHIFT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Cut selection")
- },
- {
- QextScintillaBase::SCI_DELWORDRIGHT,
- TQt::Key_Delete | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete word to right")
- },
- {
- QextScintillaBase::SCI_DELLINERIGHT,
- TQt::Key_Delete | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete line to right")
- },
- {
- QextScintillaBase::SCI_EDITTOGGLEOVERTYPE,
- TQt::Key_Insert,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Toggle insert/overtype")
- },
- {
- QextScintillaBase::SCI_PASTE,
- TQt::Key_V | TQt::CTRL,
- TQt::Key_Insert | TQt::SHIFT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Paste")
- },
- {
- QextScintillaBase::SCI_COPY,
- TQt::Key_C | TQt::CTRL,
- TQt::Key_Insert | TQt::CTRL,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Copy selection")
- },
- {
- QextScintillaBase::SCI_CANCEL,
- TQt::Key_Escape,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Cancel")
- },
- {
- QextScintillaBase::SCI_DELETEBACK,
- TQt::Key_Backspace,
- TQt::Key_Backspace | TQt::SHIFT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete previous character")
- },
- {
- QextScintillaBase::SCI_DELWORDLEFT,
- TQt::Key_Backspace | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete word to left")
- },
- {
- QextScintillaBase::SCI_UNDO,
- TQt::Key_Z | TQt::CTRL,
- TQt::Key_Backspace | TQt::ALT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Undo the last command")
- },
- {
- QextScintillaBase::SCI_DELLINELEFT,
- TQt::Key_Backspace | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete line to left")
- },
- {
- QextScintillaBase::SCI_REDO,
- TQt::Key_Y | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Redo last command")
- },
- {
- QextScintillaBase::SCI_SELECTALL,
- TQt::Key_A | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Select all text")
- },
- {
- QextScintillaBase::SCI_TAB,
- TQt::Key_Tab,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Indent one level")
- },
- {
- QextScintillaBase::SCI_BACKTAB,
- TQt::Key_Tab | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move back one indentation level")
- },
- {
- QextScintillaBase::SCI_NEWLINE,
- TQt::Key_Return,
- TQt::Key_Return | TQt::SHIFT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Insert new line")
- },
- {
- QextScintillaBase::SCI_ZOOMIN,
- TQt::Key_Plus | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Zoom in")
- },
- {
- QextScintillaBase::SCI_ZOOMOUT,
- TQt::Key_Minus | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Zoom out")
- },
- {
- QextScintillaBase::SCI_SETZOOM,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Set zoom")
- },
- {
- QextScintillaBase::SCI_FORMFEED,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Formfeed")
- },
- {
- QextScintillaBase::SCI_LINECUT,
- TQt::Key_L | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Cut current line")
- },
- {
- QextScintillaBase::SCI_LINEDELETE,
- TQt::Key_L | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete current line")
- },
- {
- QextScintillaBase::SCI_LINECOPY,
- TQt::Key_T | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Copy current line")
- },
- {
- QextScintillaBase::SCI_LINETRANSPOSE,
- TQt::Key_T | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Swap current and previous lines")
- },
- {
- QextScintillaBase::SCI_SELECTIONDUPLICATE,
- TQt::Key_D | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Duplicate selection")
- },
- {
- QextScintillaBase::SCI_LOWERCASE,
- TQt::Key_U | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Convert selection to lower case")
- },
- {
- QextScintillaBase::SCI_UPPERCASE,
- TQt::Key_U | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Convert selection to upper case")
- },
- {
- QextScintillaBase::SCI_DELETEBACKNOTLINE,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete previous character if not at line start")
- },
- };
---- tqscintilla-master/designer/designer.pro.ORI 2011-12-04 14:41:08.714487484 +0100
-+++ tqscintilla-master/designer/designer.pro 2011-12-04 14:41:21.248222899 +0100
-@@ -5,7 +5,7 @@
- TARGET = qscintillaplugin
- # DESTDIR = $(QTDIR)/plugins/designer
- INCLUDEPATH = ../qt /usr/include/tqt
--LIBPATH += ../tmplib
-+LIBPATH += ../tmplib ../qt
- CONFIG += qt warn_on release plugin
-
- SOURCES += qscintillaplugin.cpp
diff --git a/redhat/dependencies/tqscintilla/trinity-tqscintilla.spec b/redhat/dependencies/tqscintilla/trinity-tqscintilla.spec
deleted file mode 100644
index 1c23e0bee..000000000
--- a/redhat/dependencies/tqscintilla/trinity-tqscintilla.spec
+++ /dev/null
@@ -1,235 +0,0 @@
-# Default version for this component
-%define kdecomp libtqscintilla
-%define version 1.7.1
-%define release 1
-
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?_prefix}" != "/usr"
-%define _variant .opt
-%define _docdir %{_prefix}/share/doc
-%endif
-
-# TDE 3.5.13 specific building variables
-BuildRequires: autoconf automake libtool m4
-%define tde_docdir %{_docdir}/kde
-%define tde_includedir %{_includedir}/kde
-%define tde_libdir %{_libdir}/trinity
-
-%global qtdir %(qmake -query QT_INSTALL_PREFIX)
-%global qtdata %(qmake -query QT_INSTALL_DATA)
-%global qtinc %{qtdir}/include
-%global qtlib %{qtdir}/lib
-
-
-Name: %{kdecomp}
-Summary: TQt source code editing component based on Scintilla
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
-
-License: GPLv2+
-Group: Development/Tools
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-Url: http://www.riverbankcomputing.co.uk/qscintilla/
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-# This file is a GIT snapshot
-Source0: tqscintilla-master.tar.gz
-
-# Fix FTBFS
-Patch0: tqscintilla-ftbfs.patch
-
-BuildRequires: tqtinterface-devel
-BuildRequires: trinity-kdelibs-devel
-BuildRequires: trinity-kdebase-devel
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-
-%description
-Scintilla is a free source code editing component. It has features found
-in standard editing components, as well as features especially useful
-when editing and debugging source code.
-
-TQScintilla is a port or Scintilla to the TQt GUI toolkit.
-
-
-%package designer
-Summary: TQScintilla designer plugin
-Group: Development/Tools
-Requires: %{name} = %{version}-%{release}
-Requires: qt-designer
-%description designer
-%{summary}.
-
-%package devel
-Summary: TQScintilla Development Files
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: qt-devel
-%description devel
-%{summary}.
-
-%package doc
-Summary: TQScintilla Documentation
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-%description doc
-%{summary}.
-
-%prep
-%setup -q -n tqscintilla-master
-%patch0 -p1
-
-# Ugly hack to modify TQT include directory inside autoconf files.
-# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
-%__sed -i */*.pro \
- -e "s|/usr/include/tqt|%{_includedir}/tqt|g"
-
-( cd qt; qmake "DESTDIR=$PWD/../tmplib" )
-( cd designer; qmake )
-
-
-%build
-unset QTDIR; . /etc/profile.d/qt.sh
-export PATH="%{_bindir}:${PATH}"
-export LDFLAGS="-L%{_libdir} -I%{_includedir}"
-
-%__make %{?_smp_mflags} -C qt
-%__make %{?_smp_mflags} -C designer
-
-
-%install
-%__rm -rf $RPM_BUILD_ROOT
-
-# Installs the QT part
-%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install
-
-# Installs supplementary headers
-for i in include/*.h; do
- %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/}
-done
-
-# Installs the HTML documentation
-for i in doc/html/*; do
- %__install -D -m 644 $i %{buildroot}%{tde_docdir}/HTML/en/%{name}/${i##*/}
-done
-
-# Installs the Designer plugin
-for i in designer/*.so; do
- %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
-done
-
-# Installs libraries
-%__mkdir_p %{buildroot}%{_libdir}
-%__mv -f tmplib/* %{buildroot}%{_libdir}
-
-%clean
-%__rm -rf $RPM_BUILD_ROOT
-
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-
-%files
-%defattr(-,root,root,-)
-%doc ChangeLog LICENSE NEWS README
-%{_libdir}/*.so.*
-%{qtdir}/translations/*.qm
-
-%files designer
-%defattr(-,root,root,-)
-%{qtdir}/plugins/designer/*.so
-
-%files devel
-%defattr(-,root,root,-)
-%doc doc/html doc/Scintilla example
-%{qtinc}/*.h
-%{qtinc}/private/*.h
-%{_libdir}/*.so
-
-%files doc
-%defattr(-,root,root,-)
-%{tde_docdir}/HTML/en/%{name}
-
-%changelog
-* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.7.1-3
-- respin (BuildID)
-
-* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.7.1-2
-- License: GPLv2+
-
-* Mon Dec 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.7.1-1
-- QScintilla-1.71-gpl-1.7.1
-
-* Thu Nov 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.7-1
-- QScintilla1-1.71-gpl-1.7 (#214192)
-
-* Sun Sep 03 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.3
-- FC6 rebuild.
-- Export flags.
-
-* Mon Feb 13 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.2
-- FC5 Rebuild.
-
-* Tue Jan 31 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.1
-- Rebuild for FC5.
-
-* Wed Sep 14 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 1.6-3
-- Fix permissions in prep, not in install.
-
-* Tue Sep 13 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 1.6-2
-- Fix permissions on doc files to be 0644.
-
-* Sun Sep 11 2005 Konstantin Ryabitsev <icon@linux.duke.edu> 1.6-1
-- Update to 1.65-gpl-1.6
-- Use the patch from Aurelien Bompard to build sanely in buildroot
-- Include docs and examples for the -devel package
-
-* Sat Aug 27 2005 Konstantin Ryabitsev <icon@linux.duke.edu> 1.5.1-1
-- Adapt for Fedora Extras
-- Drop 0-Epoch
-- Make specfile simpler
-- Move .so to devel
-
-* Mon Mar 09 2005 Rex Dieter 0:1.5.1-0.0.kde
-- 1.5.1
-
-* Thu Sep 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.4-0.1.kde
-- updated designer-incpath patch: don't require an already installed
- qscintilla-devel
-- BuildConflicts: qscintilla-devel != %%version
-
-* Thu Sep 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.4-0.0.kde
-- 1.4
-- include designer plugin
-- Prereq: %%qtdir
-
-* Fri May 28 2004 Rex Dieter <rexdieter at sf.net> 0:1.3-0.fdr.0
-- 1.3
-
-* Thu Mar 11 2004 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.6
-- dynamically determine version for qt dependancy.
-
-* Wed Mar 10 2004 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.5
-- (re)build against qt-3.3.1
-
-* Wed Dec 03 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.4
-- remove extraneous macros
-- (re)build against qt-3.2.3
-
-* Mon Nov 10 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.3
-- (re)build against qt-3.2.2
-
-* Wed Sep 17 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.2
-- use Epoch's in Requires
-
-* Tue Aug 19 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.1
-- 1.2
-