Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qthelp/files/, dev-qt/qthelp/
Date: Tue, 30 Jul 2013 18:26:02
Message-Id: 1375208766.553d44ebef8a9221f9717216a34c30de5730e94c.pesa@gentoo
1 commit: 553d44ebef8a9221f9717216a34c30de5730e94c
2 Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com>
3 AuthorDate: Tue Jul 30 18:26:06 2013 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 30 18:26:06 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=553d44eb
7
8 [dev-qt/qthelp] Sync with portage.
9
10 Package-Manager: portage-2.2.0_alpha190
11
12 ---
13 dev-qt/qthelp/files/qthelp-4.7-fix-compat.patch | 123 ----------------------
14 dev-qt/qthelp/files/qthelp-4.8.5-fix-compat.patch | 21 ++++
15 dev-qt/qthelp/qthelp-4.8.9999.ebuild | 12 ++-
16 3 files changed, 31 insertions(+), 125 deletions(-)
17
18 diff --git a/dev-qt/qthelp/files/qthelp-4.7-fix-compat.patch b/dev-qt/qthelp/files/qthelp-4.7-fix-compat.patch
19 deleted file mode 100644
20 index 1c28c15..0000000
21 --- a/dev-qt/qthelp/files/qthelp-4.7-fix-compat.patch
22 +++ /dev/null
23 @@ -1,123 +0,0 @@
24 ---- tools/assistant/compat/compat.pro 2010-10-08 16:54:09.804000000 +0300
25 -+++ tools/assistant/compat/compat.pro 2010-10-08 16:54:37.884000000 +0300
26 -@@ -14,6 +14,8 @@
27 -
28 - PROJECTNAME = Assistant
29 -
30 -+DESTDIR = ../../../bin
31 -+
32 - FORMS += helpdialog.ui \
33 - mainwindow.ui \
34 - tabbedbrowser.ui \
35 -@@ -59,6 +61,9 @@
36 - TARGET = Assistant_adp
37 - }
38 -
39 -+target.path=$$[QT_INSTALL_BINS]
40 -+INSTALLS += target
41 -+
42 - TRANSLATIONS = translations/assistant_adp_de.ts \
43 - translations/assistant_adp_ja.ts \
44 - translations/assistant_adp_pl.ts \
45 ---- tools/assistant/assistant.pro 2010-09-10 12:04:47.000000000 +0300
46 -+++ tools/assistant/assistant.pro 2010-06-02 05:03:09.000000000 +0300
47 -@@ -3,4 +3,6 @@
48 -
49 - SUBDIRS += lib/fulltextsearch \
50 - lib \
51 -- tools
52 -+ tools \
53 -+ compat \
54 -+ compat/lib \
55 -\ No newline at end of file
56 ---- /dev/null
57 -+++ tools/assistant/compat/lib/QtAssistant/qassistantclient_global.h
58 -@@ -0,0 +1 @@
59 -+#include "../qassistantclient_global.h"
60 ---- /dev/null 2010-09-28 21:07:22.854999850 +0300
61 -+++ tools/assistant/compat/assistant.pro 2010-06-02 05:03:09.000000000 +0300
62 -@@ -0,0 +1,84 @@
63 -+include($$QT_SOURCE_TREE/tools/shared/fontpanel/fontpanel.pri)
64 -+
65 -+TEMPLATE = app
66 -+LANGUAGE = C++
67 -+TARGET = assistant_adp
68 -+
69 -+CONFIG += qt warn_on
70 -+
71 -+unix:contains(QT_CONFIG, dbus):QT += dbus
72 -+
73 -+build_all:!build_pass {
74 -+ CONFIG -= build_all
75 -+ CONFIG += release
76 -+}
77 -+QT += xml network
78 -+
79 -+PROJECTNAME = Assistant
80 -+DESTDIR = ../../../bin
81 -+
82 -+FORMS += helpdialog.ui \
83 -+ mainwindow.ui \
84 -+ tabbedbrowser.ui \
85 -+ topicchooser.ui
86 -+
87 -+SOURCES += main.cpp \
88 -+ helpwindow.cpp \
89 -+ topicchooser.cpp \
90 -+ docuparser.cpp \
91 -+ index.cpp \
92 -+ profile.cpp \
93 -+ config.cpp \
94 -+ helpdialog.cpp \
95 -+ mainwindow.cpp \
96 -+ tabbedbrowser.cpp \
97 -+ fontsettingsdialog.cpp
98 -+
99 -+HEADERS += helpwindow.h \
100 -+ topicchooser.h \
101 -+ docuparser.h \
102 -+ index.h \
103 -+ profile.h \
104 -+ helpdialog.h \
105 -+ mainwindow.h \
106 -+ tabbedbrowser.h \
107 -+ config.h \
108 -+ fontsettingsdialog.h
109 -+
110 -+RESOURCES += assistant.qrc
111 -+
112 -+contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
113 -+DEFINES += QT_KEYWORDS
114 -+#DEFINES += QT_PALMTOPCENTER_DOCS
115 -+
116 -+win32 {
117 -+ !wince*:LIBS += -lshell32
118 -+ RC_FILE = assistant.rc
119 -+}
120 -+
121 -+mac {
122 -+ ICON = assistant.icns
123 -+ TARGET = Assistant_adp
124 -+ QMAKE_INFO_PLIST = Info_mac.plist
125 -+}
126 -+
127 -+target.path=$$[QT_INSTALL_BINS]
128 -+INSTALLS += target
129 -+
130 -+TRANSLATIONS = assistant_de.ts
131 -+
132 -+unix:!contains(QT_CONFIG, zlib):LIBS += -lz
133 -+
134 -+contains(CONFIG, static): {
135 -+ win32 {
136 -+ exists($$[QT_INSTALL_PLUGINS]/imageformats/qjpeg.lib) {
137 -+ QTPLUGIN += qjpeg
138 -+ DEFINES += USE_STATIC_JPEG_PLUGIN
139 -+ }
140 -+ } else {
141 -+ exists($$[QT_INSTALL_PLUGINS]/imageformats/qjpeg.a) {
142 -+ QTPLUGIN += qjpeg
143 -+ DEFINES += USE_STATIC_JPEG_PLUGIN
144 -+ }
145 -+ }
146 -+}
147
148 diff --git a/dev-qt/qthelp/files/qthelp-4.8.5-fix-compat.patch b/dev-qt/qthelp/files/qthelp-4.8.5-fix-compat.patch
149 new file mode 100644
150 index 0000000..cc76219
151 --- /dev/null
152 +++ b/dev-qt/qthelp/files/qthelp-4.8.5-fix-compat.patch
153 @@ -0,0 +1,21 @@
154 +--- tools/assistant/compat/compat.pro 2010-10-08 16:54:09.804000000 +0300
155 ++++ tools/assistant/compat/compat.pro 2010-10-08 16:54:37.884000000 +0300
156 +@@ -14,6 +14,8 @@
157 +
158 + PROJECTNAME = Assistant
159 +
160 ++DESTDIR = ../../../bin
161 ++
162 + FORMS += helpdialog.ui \
163 + mainwindow.ui \
164 + tabbedbrowser.ui \
165 +@@ -59,6 +61,9 @@
166 + TARGET = Assistant_adp
167 + }
168 +
169 ++target.path=$$[QT_INSTALL_BINS]
170 ++INSTALLS += target
171 ++
172 + TRANSLATIONS = translations/assistant_adp_de.ts \
173 + translations/assistant_adp_ja.ts \
174 + translations/assistant_adp_pl.ts \
175
176 diff --git a/dev-qt/qthelp/qthelp-4.8.9999.ebuild b/dev-qt/qthelp/qthelp-4.8.9999.ebuild
177 index 0ee9df7..4749453 100644
178 --- a/dev-qt/qthelp/qthelp-4.8.9999.ebuild
179 +++ b/dev-qt/qthelp/qthelp-4.8.9999.ebuild
180 @@ -26,6 +26,10 @@ DEPEND="
181 ~dev-qt/qtcore-${PV}[aqua=,debug=]
182 ~dev-qt/qtgui-${PV}[aqua=,debug=]
183 ~dev-qt/qtsql-${PV}[aqua=,debug=,sqlite]
184 + compat? (
185 + ~dev-qt/qtdbus-${PV}[aqua=,debug=]
186 + sys-libs/zlib
187 + )
188 "
189 RDEPEND="${DEPEND}"
190
191 @@ -45,6 +49,10 @@ pkg_setup() {
192 src
193 tools"
194
195 + use compat && QT4_TARGET_DIRECTORIES+="
196 + tools/assistant/compat
197 + tools/assistant/compat/lib"
198 +
199 qt4-build_pkg_setup
200 }
201
202 @@ -65,7 +73,7 @@ src_unpack() {
203 src_prepare() {
204 qt4-build_src_prepare
205
206 - use compat && epatch "${FILESDIR}"/${PN}-4.7-fix-compat.patch
207 + use compat && epatch "${FILESDIR}"/${PN}-4.8.5-fix-compat.patch
208
209 # bug 348034
210 sed -i -e '/^sub-qdoc3\.depends/d' doc/doc.pri || die
211 @@ -77,7 +85,7 @@ src_configure() {
212 -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite2 -no-sql-odbc
213 -sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb
214 -no-multimedia -no-opengl -no-phonon -no-svg -no-webkit -no-xmlpatterns
215 - -no-nas-sound -no-dbus -no-cups -no-nis -fontconfig"
216 + -no-nas-sound -no-cups -no-nis -fontconfig"
217
218 qt4-build_src_configure
219 }