wok-next annotate qt4/receipt @ rev 21720

qt4: replaced libIDL by libidl
author Hans-G?nter Theisgen
date Wed Aug 05 09:22:38 2020 +0100 (2020-08-05)
parents 12eb4c026405
children
rev   line source
pascal@19953 1 # SliTaz package receipt v2.
jozee@5369 2
jozee@5369 3 PACKAGE="qt4"
Hans-G?nter@21427 4 VERSION="4.8.7"
jozee@5369 5 CATEGORY="meta"
al@21020 6 SHORT_DESC="Qt x11 toolkit"
jozee@5369 7 MAINTAINER="allan316@gmail.com"
pascal@15215 8 LICENSE="GPL3 LGPL2.1"
al@21033 9 WEB_SITE="https://www.qt.io/developers/"
al@21020 10
Hans-G?nter@21427 11 SOURCE="qt-everywhere-opensource-src"
jozee@5369 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@17869 13 WGET_URL="http://download.qt-project.org/archive/qt/${VERSION%.*}/$VERSION/$TARBALL"
jozee@5369 14
Hans-G?nter@21427 15 BUILD_DEPENDS="alsa-lib-dev atk-dev autoconf automake bash binutils bison bzip2-dev
Hans-G?nter@21427 16 cairo-dev coreutils cups-dev dbus-dev expat-dev flex fontconfig-dev
Hans-G?nter@21427 17 freetype-dev gettext-dev glib-dev glu glu-dev glw glw-dev
Hans-G?nter@21427 18 gst0-plugins-base-dev gst0-python-dev gstreamer0-dev gtk2-dev jpeg-dev
Hans-G?nter@21720 19 libcap-dev libidl libmng-dev libpng-dev libtool libx11-dev libxml2-dev
Hans-G?nter@21427 20 linux-api-headers m4 make mercurial mesa-dev mesa-libegl mysql-dev
Hans-G?nter@21427 21 ncurses-dev openssl-dev pango-dev patch pcre-dev perl perl-xml-parser
Hans-G?nter@21427 22 perl-xml-simple pixman-dev postgresql-dev sqlite3-dev tiff-dev
Hans-G?nter@21427 23 unixODBC-dev unzip wayland-dev xorg-dev xorg-dev-proto zip"
Hans-G?nter@21427 24 SPLIT="libQt3Support libQtClucene libQtCore libQtDBus libQtDeclarative
Hans-G?nter@21427 25 libQtDesigner libQtGui libQtHelp libQtMultimedia libQtNetwork libQtOpenGL
Hans-G?nter@21427 26 libQtPlugins libQtScript libQtScriptTools libQtSql libQtSvg libQtTest
Hans-G?nter@21427 27 libQtWebkit-video libQtXml qmake Qt4-dev qt4-phonon qtconfig-phonon QtDesigner
Hans-G?nter@21427 28 qt-locale-cs qt-locale-da qt-locale-de qt-locale-es qt-locale-fr qt-locale-hu
Hans-G?nter@21427 29 qt-locale-pl qt-locale-pt qt-locale-ru qt-locale-sl qt-locale-sv qt-locale-uk
Hans-G?nter@21427 30 qt-locale-zh_CN qt-locale-zh_TW"
pankso@10647 31
Hans-G?nter@21427 32 compile_rules()
Hans-G?nter@21427 33 {
pascal@19975 34 export CXXFLAGS="$CXXFLAGS -std=gnu++98"
pascal@19975 35
monghitri@13992 36 #ugly fix for missing files, you probably could do better
monghitri@13992 37 mkdir -p $src/src/3rdparty/webkit/Source/WebKit2/generated
monghitri@13992 38
Hans-G?nter@21427 39 for i in $(grep MessageReceiver.cpp $stuff/missinglist)
Hans-G?nter@21427 40 do
al@21020 41 fileprefix=${i%MessageReceiver.cpp}
al@21020 42 cppfilename=$(find $src/src/3rdparty/webkit/Source/WebKit2 -name $fileprefix.cpp)
al@21020 43 dname=$(dirname $cppfilename)
al@21020 44 /usr/bin/python $src/src/3rdparty/webkit/Source/WebKit2/Scripts/generate-message-receiver.py $dname/$fileprefix.messages.in > $src/src/3rdparty/webkit/Source/WebKit2/generated/$i
Hans-G?nter@21427 45 done
al@21020 46
Hans-G?nter@21427 47 for i in $(grep Messages.h $stuff/missinglist)
Hans-G?nter@21427 48 do
al@21020 49 fileprefix=${i%Messages.h}
al@21020 50 hfilename=$(find $src/src/3rdparty/webkit/Source/WebKit2 -name $fileprefix.h)
al@21020 51 dname=$(dirname $hfilename)
al@21020 52 /usr/bin/python $src/src/3rdparty/webkit/Source/WebKit2/Scripts/generate-messages-header.py $dname/$fileprefix.messages.in > $src/src/3rdparty/webkit/Source/WebKit2/generated/$i
Hans-G?nter@21427 53 done
al@21020 54
Hans-G?nter@21427 55 ./configure \
Hans-G?nter@21427 56 -silent \
Hans-G?nter@21427 57 -prefix /usr \
Hans-G?nter@21427 58 -confirm-license \
Hans-G?nter@21427 59 -opensource \
Hans-G?nter@21427 60 -sysconfdir /etc \
Hans-G?nter@21427 61 -plugindir /usr/lib/qt/plugins \
Hans-G?nter@21427 62 -importdir /usr/lib/qt/imports \
Hans-G?nter@21427 63 -translationdir /usr/share/qt/translations \
Hans-G?nter@21427 64 -datadir /usr/share/qt \
Hans-G?nter@21427 65 -docdir /usr/share/doc/qt \
Hans-G?nter@21427 66 -examplesdir /usr/share/doc/qt/examples \
Hans-G?nter@21427 67 -demosdir /usr/share/doc/qt/demos \
Hans-G?nter@21427 68 -release \
Hans-G?nter@21427 69 -nomake demos \
Hans-G?nter@21427 70 -nomake examples \
Hans-G?nter@21427 71 -nomake docs \
Hans-G?nter@21427 72 -system-zlib \
Hans-G?nter@21427 73 -system-libtiff \
Hans-G?nter@21427 74 -system-libpng \
Hans-G?nter@21427 75 -system-libmng \
Hans-G?nter@21427 76 -system-libjpeg \
Hans-G?nter@21427 77 -system-sqlite \
Hans-G?nter@21427 78 -scripttools \
Hans-G?nter@21427 79 -glib \
Hans-G?nter@21427 80 -phonon \
Hans-G?nter@21427 81 -optimized-qmake \
Hans-G?nter@21427 82 -opengl \
Hans-G?nter@21427 83 -gtkstyle \
al@21020 84 &&
gokhlayeh@11574 85 make $MAKEFLAGS &&
al@21020 86 make INSTALL_ROOT=$install install
jozee@5369 87 }
jozee@5369 88
al@21020 89 # Generate a SliTaz locale Qt package.
Hans-G?nter@21427 90 genpkg_locale()
Hans-G?nter@21427 91 {
pascal@19953 92 LICENSE="GPL3 LGPL2.1 FDL other"
pascal@19953 93 usqt=/usr/share/qt/translations
pascal@19953 94 mkdir -p $fs$usqt
pascal@19953 95
Hans-G?nter@21427 96 for qm in $(find $install$usqt -name "*_$LOCALE.qm")
Hans-G?nter@21427 97 do
Hans-G?nter@21427 98 cp -a $install$usqt/${qm##*/} $fs$usqt
Hans-G?nter@21427 99 done
pascal@19953 100
Hans-G?nter@21427 101 if [ x$BOOK != x ]
Hans-G?nter@21427 102 then
pascal@19953 103 usqp=/usr/share/qt/phrasebooks
pascal@19953 104 mkdir -p $fs$usqp
Hans-G?nter@21427 105 cp -a $install$usqp/$BOOK.qph $fs$usqp
pascal@19953 106 fi
pascal@19953 107 }
pascal@19953 108
Hans-G?nter@21427 109 genpkg_rules()
Hans-G?nter@21427 110 {
pascal@19953 111 case $PACKAGE in
al@21020 112 qt4)
al@21020 113 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg \
al@21020 114 libQtXml libQtDesigner libQtScript libQt3Support libQtClucene \
al@21020 115 libQtDBus libQtHelp libQtOpenGL libQtSql libQtWebkit gstreamer0"
al@21020 116 PROVIDE="qt-x11-opensource-src Qt4"
al@21020 117 TAGS="qt"
al@21020 118 ;;
al@21020 119 libQt3Support)
al@21020 120 CAT="development|Qt3 support Library"
al@21020 121 DEPENDS="libQtGui libQtSql libQtXml"
al@21020 122 mkdir -p $fs/usr/lib
al@21020 123 cp -a $install/usr/lib/libQt3Support.so* $fs/usr/lib
al@21020 124 ;;
al@21020 125 libQtClucene)
al@21020 126 CAT="development|Qt clucene Library"
al@21020 127 DEPENDS="libQtCore"
al@21020 128 mkdir -p $fs/usr/lib
al@21020 129 cp -a $install/usr/lib/libQtCLucene.so* $fs/usr/lib
al@21020 130 ;;
al@21020 131 libQtCore)
al@21020 132 CAT="development|Qt Core files"
al@21020 133 DEPENDS="glib zlib gcc-lib-base"
al@21020 134 mkdir -p $fs/usr/lib
al@21020 135 cp -a $install/usr/lib/libQtCore.so* $fs/usr/lib
al@21020 136 ;;
al@21020 137 libQtDBus)
al@21020 138 CAT="development|Qt Dbus Library"
al@21020 139 DEPENDS="libQtXml"
al@21020 140 mkdir -p $fs/usr/lib $fs/usr/bin
al@21020 141 cp -a $install/usr/lib/libQtDBus.so* $fs/usr/lib
al@21020 142 cp -a $install/usr/bin/qdbus $fs/usr/bin
al@21020 143 ;;
al@21020 144 libQtDeclarative)
al@21020 145 CAT="development|Qt Declarative Library"
al@21020 146 DEPENDS="libQtCore libQtNetwork libQtGui libQtXml libQtSql \
pascal@19953 147 libQtSvg libQtScript"
al@21020 148 mkdir -p $fs/usr/lib
al@21020 149 cp -a $src/lib/libQtDeclarative.so* $fs/usr/lib
al@21020 150 ;;
al@21020 151 libQtDesigner)
al@21020 152 CAT="development|Qt Designer"
al@21020 153 DEPENDS="libQtCore libQtGui libQtScript libQtXml"
al@21020 154 mkdir -p $fs/usr/lib
al@21020 155 cp -a $install/usr/lib/libQtDesigner*.so* $fs/usr/lib
al@21020 156 ;;
al@21020 157 libQtGui)
al@21020 158 CAT="development|Qt Gui Library"
al@21078 159 DEPENDS="libQtCore expat fontconfig freetype libice \
al@21078 160 libsm libx11 libxau libxdmcp \
al@21078 161 libxext libxi libxrandr libxrender \
al@21078 162 libpng"
al@21020 163 mkdir -p $fs/usr/lib
al@21020 164 cp -a $install/usr/lib/libQtGui.so* $fs/usr/lib
pascal@19953 165
al@21020 166 mkdir -p $fs/usr/lib/qt/plugins/imageformats
al@21020 167 cp -a $install/usr/lib/qt/plugins/imageformats/libqjpeg.so $fs/usr/lib/qt/plugins/imageformats
al@21020 168 cp -a $install/usr/lib/qt/plugins/imageformats/libqgif.so $fs/usr/lib/qt/plugins/imageformats
al@21020 169
al@21020 170 mkdir -p $fs/etc/skel/.config
al@21020 171 cp -a $stuff/Trolltech.conf $fs/etc/skel/.config
al@21020 172 ;;
al@21020 173 libQtHelp)
al@21020 174 CAT="development|Qt help Library"
al@21020 175 DEPENDS="libQtGui libQtClucene libQtSql libQtXml"
al@21020 176 mkdir -p $fs/usr/lib
al@21020 177 cp -a $install/usr/lib/libQtHelp.so* $fs/usr/lib
al@21020 178 ;;
al@21020 179 libQtMultimedia)
al@21020 180 CAT="development|Qt Multimedia Library"
al@21020 181 DEPENDS="libQtGui alsa-lib"
al@21020 182 mkdir -p $fs/usr/lib
al@21020 183 cp -a $install/usr/lib/libQtMultimedia.so* $fs/usr/lib
al@21020 184 ;;
al@21020 185 libQtNetwork)
al@21020 186 CAT="development|Qt Network Library"
al@21020 187 DEPENDS="libQtCore"
al@21020 188 mkdir -p $fs/usr/lib
al@21020 189 cp -a $install/usr/lib/libQtNetwork.so* $fs/usr/lib
al@21020 190 ;;
al@21020 191 libQtOpenGL)
al@21020 192 CAT="development|Qt OpenGL Library"
al@21078 193 DEPENDS="libQtGui mesa glu libxxf86vm libxdamage libdrm"
al@21020 194 mkdir -p $fs/usr/lib
al@21020 195 cp -a $install/usr/lib/libQtOpenGL.so* $fs/usr/lib
al@21020 196 ;;
al@21020 197 libQtPlugins)
al@21020 198 CAT="development|qt x11 toolkit plugins"
al@21020 199 DEPENDS="libQtSql libQt3Support libQtGui libQtCore libQtXml \
pascal@19953 200 libQtNetwork libQtDBus libQtWebkit libQtScript \
pascal@19953 201 libQtDesigner libQtOpenGL libQtScriptTools libQtSvg \
pascal@19953 202 libQtTest libQtHelp"
al@21020 203 mkdir -p $fs/usr/lib/qt
al@21020 204 cp -a $install/usr/lib/qt/plugins $fs/usr/lib/qt
al@21020 205 find $fs -regex \
al@21020 206 '.*\(gstreamer\|libqsqlite\|qjpeg\|bqgif\|libqsvg\).*' -delete
al@21020 207 ;;
al@21020 208 libQtScript)
al@21020 209 CAT="development|Qt Script Lib"
al@21020 210 DEPENDS="libQtCore"
al@21020 211 mkdir -p $fs/usr/lib
al@21020 212 cp -a $install/usr/lib/libQtScript.so* $fs/usr/lib
al@21020 213 ;;
al@21020 214 libQtScriptTools)
al@21020 215 CAT="development|Qt ScriptTools Lib"
al@21020 216 DEPENDS="libQtScript libQtGui"
al@21020 217 mkdir -p $fs/usr/lib
al@21020 218 cp -a $install/usr/lib/libQtScriptTools.so* $fs/usr/lib
al@21020 219 ;;
al@21020 220 libQtSql)
al@21020 221 CAT="development|Qt sql Library"
al@21020 222 DEPENDS="libQtCore sqlite3"
al@21020 223 mkdir -p $fs/usr/lib
al@21020 224 cp -a $install/usr/lib/libQtSql.so* $fs/usr/lib
al@21020 225
al@21020 226 #file from libQtPlugins usable with sqlite preinstalled in core slitaz
al@21020 227 mkdir -p $fs/usr/lib/qt/plugins/sqldrivers
al@21020 228 cp -a $install/usr/lib/qt/plugins/sqldrivers/libqsqlite.so $fs/usr/lib/qt/plugins/sqldrivers/libqsqlite.so
al@21020 229 ;;
al@21020 230 libQtSvg)
al@21020 231 CAT="development|Qt Svg Library"
al@21078 232 DEPENDS="libQtCore libQtGui libQtXml libpng"
al@21020 233 mkdir -p $fs/usr/lib/qt/plugins/imageformats $fs/usr/lib/qt/plugins/iconengines
al@21020 234 cp -a $install/usr/lib/libQtSvg.so* $fs/usr/lib
al@21020 235 cp -a $install/usr/lib/qt/plugins/imageformats/libqsvg.so $fs/*/*/*/*/imageformats
al@21020 236 cp -a $install/usr/lib/qt/plugins/iconengines/libqsvgicon.so $fs/*/*/*/*/iconengines
al@21020 237 ;;
al@21020 238 libQtTest)
al@21020 239 CAT="development|Qt Test library"
al@21020 240 DEPENDS="libQtCore"
al@21020 241 mkdir -p $fs/usr/lib
al@21020 242 cp -a $install/usr/lib/libQtTest.so* $fs/usr/lib
al@21020 243 ;;
al@21020 244 libQtWebkit-video)
al@21020 245 CAT="multimedia|Web browser engine for Qt (with gstreamer HTML5 audio video support)"
al@21078 246 DEPENDS="libQtCore libQtGui libQtNetwork libpng \
pascal@19953 247 gst0-plugins-base gst0-plugins-good gst0-ffmpeg"
al@21020 248 SUGGESTED="gst0-plugins-bad gst0-plugins-ugly"
al@21020 249 mkdir -p $fs/usr/lib
al@21020 250 cp -a $install/usr/lib/libQtWebKit.so* $fs/usr/lib
al@21020 251 ;;
al@21020 252 libQtXml)
al@21020 253 CAT="development|Qt Xml library"
al@21020 254 DEPENDS="libQtNetwork"
al@21020 255 mkdir -p $fs/usr/lib
al@21020 256 cp -a $install/usr/lib/libQtXml.so* $fs/usr/lib
al@21020 257 cp -a $install/usr/lib/libQtXmlPatterns.so* $fs/usr/lib
al@21020 258 ;;
al@21020 259 qmake)
al@21020 260 CAT="development|Qt make"
al@21020 261 TAGS="qt"
al@21020 262 DEPENDS="zlib gcc-lib-base"
al@21020 263 mkdir -p $fs/usr/bin
al@21020 264 cp -a $install/usr/bin/qmake $fs/usr/bin
al@21020 265 cp -a $install/usr/bin/moc $fs/usr/bin
al@21020 266 cp -a $install/usr/bin/uic $fs/usr/bin
al@21020 267 ;;
al@21020 268 Qt4-dev)
al@21020 269 CAT="development|qt x11 toolkit"
al@21020 270 SUGGESTED="libmng nvidia"
al@21080 271 DEPENDS="QtDesigner jpeg libtiff libpng mesa glu \
pascal@19953 272 freetds libmysqlclient libpostgresqlclient libunixODBC \
al@21078 273 xcb-util libQt3Support libQtClucene libQtPlugins \
pascal@19953 274 libQtDBus libQtHelp libQtOpenGL libQtScript libQtSql \
pascal@19953 275 libQtScriptTools libQtWebkit libQtTest qtconfig \
pascal@19953 276 gcc-lib-base"
al@21020 277 mkdir -p $fs/usr/lib $fs/usr/include/private
al@21020 278 cp -a $install/usr/include $fs/usr
al@21020 279 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@21020 280 cp -a $install/usr/lib/*.*a $fs/usr/lib/
al@21020 281 cp -a $install/usr/lib/*.prl $fs/usr/lib/
al@21020 282 cp -a $install/usr/share $fs/usr
al@21020 283 cp -a $install/usr/lib/qt $fs/usr/lib
pascal@19953 284
al@21020 285 #private qt includes
Hans-G?nter@21427 286 for i in $src/include/*/private/*
Hans-G?nter@21427 287 do
al@21020 288 cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private #"MC
Hans-G?nter@21427 289 done
al@21020 290
al@21020 291 # all qt plugins are in libQtPlugins
al@21020 292 rm -rf $fs/usr/lib/qt/plugins
al@21020 293 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
al@21020 294 cp -a $install/usr/bin $fs/usr
al@21020 295 rm $fs/usr/bin/qmake
al@21020 296 rm $fs/usr/bin/designer
al@21020 297 # Linguist and assistant are now part of QTDesigner packages
al@21020 298 rm $fs/usr/bin/linguist
al@21020 299 rm $fs/usr/bin/assistant
al@21020 300 # qtconfig packaged now in separate package
al@21020 301 rm $fs/usr/bin/qtconfig
al@21020 302 rm $fs/usr/share/qt/translations/qtconfig*.qm
al@21020 303 ;;
al@21020 304 qt4-phonon)
al@21020 305 CAT="multimedia|Qt phonon library"
al@21020 306 DEPENDS="glib zlib gcc-lib-base"
al@21020 307 SUGGESTED="gst0-plugins-good"
al@21020 308 mkdir -p $fs/usr/lib
al@21020 309 cp -a $install/usr/lib/libphonon.so* $fs/usr/lib
al@21020 310 mkdir -p $fs/usr/lib/qt/plugins/phonon_backend
al@21020 311 cp -a $install/usr/lib/qt/plugins/phonon_backend/libphonon_gstreamer.so $fs/usr/lib/qt/plugins/phonon_backend/libphonon_gstreamer.so
al@21020 312 ;;
al@21020 313 qtconfig-phonon)
al@21020 314 CAT="x-window|Qtconfig is a tool that allows users to customize the default settings for Qt applications."
al@21020 315 DEPENDS="gst0-plugins-base libQt3Support libQtNetwork libQtDBus qt4-phonon"
al@21020 316 mkdir -p $fs/usr/bin $fs/usr/share/qt/translations
al@21020 317 cp -a $install/usr/bin/qtconfig $fs/usr/bin
al@21020 318 cp -a $install/usr/share/qt/translations/qtconfig*.qm $fs/usr/share/qt/translations
al@21020 319 ;;
al@21020 320 QtDesigner)
al@21020 321 CAT="development|Qt Designer"
al@21020 322 TAGS="qt"
al@21020 323 DEPENDS="libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
pascal@19953 324 libQtDesigner libQtScript expat fontconfig freetype \
al@21078 325 glib libice libsm libx11 libxau \
al@21078 326 libxdmcp libxext libxi libxrandr \
al@21078 327 libxrender zlib libpng gcc-lib-base"
al@21020 328 mkdir -p $fs/usr/bin \
al@21020 329 $fs/usr/share/pixmaps \
al@21020 330 $fs/usr/share/applications
pascal@19953 331
al@21020 332 cp -a $install/usr/bin/designer* $fs/usr/bin
al@21020 333 cp -a $install/usr/bin/linguist* $fs/usr/bin
al@21020 334 cp -a $install/usr/bin/assistant* $fs/usr/bin
al@21020 335
al@21020 336 # add missing icons
al@21020 337 cp -a $src/tools/assistant/tools/assistant/images/assistant.png $fs/usr/share/pixmaps
al@21020 338 cp -a $src/tools/designer/src/designer/images/designer.png $fs/usr/share/pixmaps
al@21020 339 cp -a $src/tools/linguist/linguist/images/icons/linguist-16-32.png $fs/usr/share/pixmaps
al@21020 340
al@21020 341 # add .desktop files
al@21020 342 cp -a $stuff/* $fs/usr/share/applications
al@21020 343 ;;
al@21020 344 qt-locale-cs)
al@21020 345 CAT="localization|Czech locale for Qt"
al@21020 346 LICENSE="GPL3 LGPL2.1 FDL other"
al@21020 347 LOCALE="cs" BOOK="" genpkg_locale
al@21020 348 ;;
al@21020 349 qt-locale-da)
al@21020 350 CAT="localization|Danish locale for Qt"
al@21020 351 LOCALE="da" BOOK="danish" genpkg_locale
al@21020 352 ;;
al@21020 353 qt-locale-de)
al@21020 354 CAT="localization|German locale for Qt"
al@21020 355 LOCALE="de" BOOK="german" genpkg_locale
al@21020 356 ;;
al@21020 357 qt-locale-es)
al@21020 358 CAT="localization|Spanish locale for Qt"
al@21020 359 LOCALE="es" BOOK="spanish" genpkg_locale
al@21020 360 ;;
al@21020 361 qt-locale-fr)
al@21020 362 CAT="localization|French locale for Qt"
al@21020 363 LOCALE="fr" BOOK="french" genpkg_locale
al@21020 364 ;;
al@21020 365 qt-locale-hu)
al@21020 366 CAT="localization|Hungarian locale for Qt"
al@21020 367 LOCALE="hu" BOOK="hungarian" genpkg_locale
al@21020 368 ;;
al@21020 369 qt-locale-pl)
al@21020 370 CAT="localization|Polish locale for Qt"
al@21020 371 LOCALE="pl" BOOK="polish" genpkg_locale
al@21020 372 ;;
al@21020 373 qt-locale-pt)
al@21020 374 CAT="localization|Portuguese locale for Qt"
al@21020 375 LOCALE="pt" BOOK="" genpkg_locale
al@21020 376 ;;
al@21020 377 qt-locale-ru)
al@21020 378 CAT="localization|Russian locale for Qt"
al@21020 379 LOCALE="ru" BOOK="russian" genpkg_locale
al@21020 380 ;;
al@21020 381 qt-locale-sl)
al@21020 382 CAT="localization|Slovenian locale for Qt"
al@21020 383 LOCALE="sl" BOOK="" genpkg_locale
al@21020 384 ;;
al@21020 385 qt-locale-sv)
al@21020 386 CAT="localization|Swedish locale for Qt"
al@21020 387 LOCALE="sv" BOOK="swedish" genpkg_locale
al@21020 388 ;;
al@21020 389 qt-locale-uk)
al@21020 390 CAT="localization|Ukrainian locale for Qt"
al@21020 391 LOCALE="uk" BOOK="" genpkg_locale
al@21020 392 ;;
al@21020 393 qt-locale-zh_CN)
al@21020 394 CAT="localization|Chinese Simplified locale for Qt"
al@21020 395 LOCALE="zh_CN" BOOK="" genpkg_locale
al@21020 396 ;;
al@21020 397 qt-locale-zh_TW)
al@21020 398 CAT="localization|Chinese Traditional locale for Qt"
al@21020 399 LOCALE="zh_TW" BOOK="" genpkg_locale
al@21020 400 ;;
pascal@19954 401 esac
jozee@5369 402 }
pascal@19953 403
Hans-G?nter@21427 404 post_install_libQtGui()
Hans-G?nter@21427 405 {
Hans-G?nter@21427 406 for i in $(ls "$1/home" 2>/dev/null)
Hans-G?nter@21427 407 do
al@21020 408 [ -f "$1/home/$i/.config/Trolltech.conf" ] && continue
al@21020 409 cp "$1/etc/skel/.config/Trolltech.conf" "$1/home/$i/.config"
al@21020 410 chroot "$1/" chown -R $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.config"
Hans-G?nter@21427 411 done
pascal@19953 412 }