aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-09-19 01:35:39 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-09-19 01:35:39 +0000
commit6cae8f886c8a48bf045fbd96591186417def0b6c (patch)
tree4234d98c9badd69b7d094a7a7c1d2c80fed2f9c3
parentbc26b09f023be303c1a29beed831ed0401422e84 (diff)
downloadports-6cae8f886c8a48bf045fbd96591186417def0b6c.tar.gz
ports-6cae8f886c8a48bf045fbd96591186417def0b6c.zip
Notes
-rw-r--r--korean/Makefile1
-rw-r--r--korean/qt31/Makefile14
-rw-r--r--korean/qt31/files/patch-src_kernel_qapplication_x11.cpp32
-rw-r--r--korean/qt31/files/patch-src_kernel_qinputcontext_x11.cpp17
-rw-r--r--korean/qt31/files/patch-src_kernel_qrichtext.cpp11
5 files changed, 0 insertions, 75 deletions
diff --git a/korean/Makefile b/korean/Makefile
index 21670c4e571a..da4016d74d00 100644
--- a/korean/Makefile
+++ b/korean/Makefile
@@ -65,7 +65,6 @@
SUBDIR += openoffice
SUBDIR += pgp.language
SUBDIR += pinetreefonts
- SUBDIR += qt31
SUBDIR += texinfo
SUBDIR += uniksc
SUBDIR += unzip
diff --git a/korean/qt31/Makefile b/korean/qt31/Makefile
deleted file mode 100644
index 2180447904a1..000000000000
--- a/korean/qt31/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-# Ports collection makefile for: ko-qt31
-# Date created: 23 April 2003
-# Whom: Hye-Shik Chang
-#
-# $FreeBSD$
-
-MASTERDIR= ${.CURDIR}/../../x11-toolkits/qt32
-EXTRA_PATCHES= ${.CURDIR}/files/patch-*
-CATEGORIES= korean x11-toolkits
-
-MAINTAINER= perky@FreeBSD.org
-COMMENT= Korean-Localized Qt, the C++ GUI Toolkit
-
-.include "${MASTERDIR}/Makefile"
diff --git a/korean/qt31/files/patch-src_kernel_qapplication_x11.cpp b/korean/qt31/files/patch-src_kernel_qapplication_x11.cpp
deleted file mode 100644
index e747c75fbd45..000000000000
--- a/korean/qt31/files/patch-src_kernel_qapplication_x11.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
---- src/kernel/qapplication_x11.cpp.orig Mon Dec 9 18:40:39 2002
-+++ src/kernel/qapplication_x11.cpp Fri Apr 25 16:57:49 2003
-@@ -3136,6 +3136,7 @@
- IMEnd with empty text (meaning the user has cancelled the
- input).
- */
-+#if 0
- QInputContext *qic =
- (QInputContext *) keywidget->topLevelWidget()->topData()->xic;
- extern bool qt_compose_emptied; // qinputcontext_x11.cpp
-@@ -3168,6 +3169,7 @@
- qt_compose_emptied = FALSE;
- qic->focusWidget = 0;
- }
-+#endif
- #endif // QT_NO_XIM
-
- return 1;
-@@ -4831,6 +4833,13 @@
- if ( qic ) {
- mb=TRUE;
- count = qic->lookupString(&xkeyevent, chars, &key, &status);
-+
-+ if (qic->composing && qic->focusWidget) {
-+ QIMEvent event(QEvent::IMEnd, QString::null, -1);
-+ QApplication::sendEvent(qic->focusWidget, &event);
-+ qic->composing = FALSE;
-+ qic->focusWidget = 0;
-+ }
- }
- }
- if ( !mb ) {
diff --git a/korean/qt31/files/patch-src_kernel_qinputcontext_x11.cpp b/korean/qt31/files/patch-src_kernel_qinputcontext_x11.cpp
deleted file mode 100644
index 0e9303e87a92..000000000000
--- a/korean/qt31/files/patch-src_kernel_qinputcontext_x11.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -uNr src/kernel/qinputcontext_x11.cpp.orig src/kernel/qinputcontext_x11.cpp
---- src/kernel/qinputcontext_x11.cpp.orig Thu Nov 7 22:07:34 2002
-+++ src/kernel/qinputcontext_x11.cpp Thu Nov 28 16:52:24 2002
-@@ -153,6 +153,13 @@
- }
- }
-
-+ if (! qic->composing) {
-+ qic->composing = TRUE;
-+ qic->focusWidget = qApp->focusWidget();
-+ QIMEvent startevent(QEvent::IMStart, QString::null, -1);
-+ QApplication::sendEvent(qic->focusWidget, &startevent);
-+ }
-+
- if (! qic->composing || ! qic->focusWidget) {
- // qDebug("compose event: invalid compose event %d %p",
- // qic->composing, qic->focusWidget);
diff --git a/korean/qt31/files/patch-src_kernel_qrichtext.cpp b/korean/qt31/files/patch-src_kernel_qrichtext.cpp
deleted file mode 100644
index 924902fdc3e1..000000000000
--- a/korean/qt31/files/patch-src_kernel_qrichtext.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/kernel/qrichtext.cpp.orig Fri Apr 25 14:57:22 2003
-+++ src/kernel/qrichtext.cpp Fri Apr 25 14:58:18 2003
-@@ -4636,7 +4636,7 @@
- color.setHsv( h1, s1, ( v1 + v2 ) / 2 );
- painter.setPen( cg.color( QColorGroup::Text ) );
- } else if ( selection == QTextDocument::IMSelectionText ) {
-- color = cg.color( QColorGroup::Foreground );
-+ color = cg.color( QColorGroup::Highlight );
- painter.setPen( cg.color( QColorGroup::HighlightedText ) );
- } else if ( !hasdoc || document()->invertSelectionText( selection ) ) {
- painter.setPen( cg.color( QColorGroup::HighlightedText ) );