Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-qt/qthelp/files: disable-webkit.patch qthelp-4.7-fix-compat.patch qthelp-4.8.2+gcc-4.7.patch
Date: Sat, 02 Mar 2013 15:30:25
Message-Id: 20130302153020.839E22171D@flycatcher.gentoo.org
1 yngwin 13/03/02 15:30:20
2
3 Added: disable-webkit.patch qthelp-4.7-fix-compat.patch
4 qthelp-4.8.2+gcc-4.7.patch
5 Log:
6 Move to new dev-qt category
7
8 (Portage version: 2.2.0_alpha164/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x2B2474AD43CE296E!)
9
10 Revision Changes Path
11 1.1 dev-qt/qthelp/files/disable-webkit.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/files/disable-webkit.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/files/disable-webkit.patch?rev=1.1&content-type=text/plain
15
16 Index: disable-webkit.patch
17 ===================================================================
18 Index: qt-everywhere-opensource-src-4.8.9999/tools/assistant/tools/assistant/assistant.pro
19 ===================================================================
20 --- qt-everywhere-opensource-src-4.8.9999.orig/tools/assistant/tools/assistant/assistant.pro
21 +++ qt-everywhere-opensource-src-4.8.9999/tools/assistant/tools/assistant/assistant.pro
22 @@ -2,7 +2,6 @@ include(../../../shared/fontpanel/fontpa
23 TEMPLATE = app
24 LANGUAGE = C++
25 TARGET = assistant
26 -contains(QT_CONFIG, webkit):QT += webkit
27 CONFIG += qt \
28 warn_on \
29 help
30 @@ -81,11 +80,8 @@ SOURCES += aboutdialog.cpp \
31 openpageswidget.cpp \
32 openpagesmanager.cpp \
33 openpagesswitcher.cpp
34 -contains(QT_CONFIG, webkit) {
35 - SOURCES += helpviewer_qwv.cpp
36 -} else {
37 - SOURCES += helpviewer_qtb.cpp
38 -}
39 +
40 +SOURCES += helpviewer_qtb.cpp
41
42 FORMS += bookmarkdialog.ui \
43 bookmarkmanagerwidget.ui \
44
45
46 1.1 dev-qt/qthelp/files/qthelp-4.7-fix-compat.patch
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/files/qthelp-4.7-fix-compat.patch?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/files/qthelp-4.7-fix-compat.patch?rev=1.1&content-type=text/plain
50
51 Index: qthelp-4.7-fix-compat.patch
52 ===================================================================
53 --- tools/assistant/compat/compat.pro 2010-10-08 16:54:09.804000000 +0300
54 +++ tools/assistant/compat/compat.pro 2010-10-08 16:54:37.884000000 +0300
55 @@ -14,6 +14,8 @@
56
57 PROJECTNAME = Assistant
58
59 +DESTDIR = ../../../bin
60 +
61 FORMS += helpdialog.ui \
62 mainwindow.ui \
63 tabbedbrowser.ui \
64 @@ -59,6 +61,9 @@
65 TARGET = Assistant_adp
66 }
67
68 +target.path=$$[QT_INSTALL_BINS]
69 +INSTALLS += target
70 +
71 TRANSLATIONS = translations/assistant_adp_de.ts \
72 translations/assistant_adp_ja.ts \
73 translations/assistant_adp_pl.ts \
74 --- tools/assistant/assistant.pro 2010-09-10 12:04:47.000000000 +0300
75 +++ tools/assistant/assistant.pro 2010-06-02 05:03:09.000000000 +0300
76 @@ -3,4 +3,6 @@
77
78 SUBDIRS += lib/fulltextsearch \
79 lib \
80 - tools
81 + tools \
82 + compat \
83 + compat/lib \
84 \ No newline at end of file
85 --- /dev/null
86 +++ tools/assistant/compat/lib/QtAssistant/qassistantclient_global.h
87 @@ -0,0 +1 @@
88 +#include "../qassistantclient_global.h"
89 --- /dev/null 2010-09-28 21:07:22.854999850 +0300
90 +++ tools/assistant/compat/assistant.pro 2010-06-02 05:03:09.000000000 +0300
91 @@ -0,0 +1,84 @@
92 +include($$QT_SOURCE_TREE/tools/shared/fontpanel/fontpanel.pri)
93 +
94 +TEMPLATE = app
95 +LANGUAGE = C++
96 +TARGET = assistant_adp
97 +
98 +CONFIG += qt warn_on
99 +
100 +unix:contains(QT_CONFIG, dbus):QT += dbus
101 +
102 +build_all:!build_pass {
103 + CONFIG -= build_all
104 + CONFIG += release
105 +}
106 +QT += xml network
107 +
108 +PROJECTNAME = Assistant
109 +DESTDIR = ../../../bin
110 +
111 +FORMS += helpdialog.ui \
112 + mainwindow.ui \
113 + tabbedbrowser.ui \
114 + topicchooser.ui
115 +
116 +SOURCES += main.cpp \
117 + helpwindow.cpp \
118 + topicchooser.cpp \
119 + docuparser.cpp \
120 + index.cpp \
121 + profile.cpp \
122 + config.cpp \
123 + helpdialog.cpp \
124 + mainwindow.cpp \
125 + tabbedbrowser.cpp \
126 + fontsettingsdialog.cpp
127 +
128 +HEADERS += helpwindow.h \
129 + topicchooser.h \
130 + docuparser.h \
131 + index.h \
132 + profile.h \
133 + helpdialog.h \
134 + mainwindow.h \
135 + tabbedbrowser.h \
136 + config.h \
137 + fontsettingsdialog.h
138 +
139 +RESOURCES += assistant.qrc
140 +
141 +contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
142 +DEFINES += QT_KEYWORDS
143 +#DEFINES += QT_PALMTOPCENTER_DOCS
144 +
145 +win32 {
146 + !wince*:LIBS += -lshell32
147 + RC_FILE = assistant.rc
148 +}
149 +
150 +mac {
151 + ICON = assistant.icns
152 + TARGET = Assistant_adp
153 + QMAKE_INFO_PLIST = Info_mac.plist
154 +}
155 +
156 +target.path=$$[QT_INSTALL_BINS]
157 +INSTALLS += target
158 +
159 +TRANSLATIONS = assistant_de.ts
160 +
161 +unix:!contains(QT_CONFIG, zlib):LIBS += -lz
162 +
163 +contains(CONFIG, static): {
164 + win32 {
165 + exists($$[QT_INSTALL_PLUGINS]/imageformats/qjpeg.lib) {
166 + QTPLUGIN += qjpeg
167 + DEFINES += USE_STATIC_JPEG_PLUGIN
168 + }
169 + } else {
170 + exists($$[QT_INSTALL_PLUGINS]/imageformats/qjpeg.a) {
171 + QTPLUGIN += qjpeg
172 + DEFINES += USE_STATIC_JPEG_PLUGIN
173 + }
174 + }
175 +}
176
177
178
179 1.1 dev-qt/qthelp/files/qthelp-4.8.2+gcc-4.7.patch
180
181 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/files/qthelp-4.8.2+gcc-4.7.patch?rev=1.1&view=markup
182 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/files/qthelp-4.8.2+gcc-4.7.patch?rev=1.1&content-type=text/plain
183
184 Index: qthelp-4.8.2+gcc-4.7.patch
185 ===================================================================
186 --- tools/assistant/tools/assistant/mainwindow.cpp 2012-06-27 03:02:37.539564947 +0200
187 +++ tools/assistant/tools/assistant/mainwindow.cpp 2012-06-27 03:03:18.843561620 +0200
188 @@ -944,8 +944,7 @@ void MainWindow::updateApplicationFont()
189 if (helpEngine.usesAppFont())
190 font = helpEngine.appFont();
191
192 - const QWidgetList &widgets = qApp->allWidgets();
193 - foreach (QWidget* widget, widgets)
194 + foreach (QWidget* widget, QApplication::allWidgets())
195 widget->setFont(font);
196 }