Kubuntu Qt Packaging

Jonathan Riddell jriddell at ubuntu.com
Wed Nov 10 12:21:13 UTC 2010


It's merging season here at Kubuntu.  If you find it useful I'll send
differences between our packages and Debian's highlighting anything
that might be interesting for Debian.

In our Qt package we still build QtWebkit but don't ship it (separate
source package used for that).  This is so QtAssisstant uses QtWebkit
not a basic HTML widget.

A default Trolltech.conf file is added to load the KDE plugins path by
default, this means it can find the Oxygen theme (loading a KDE
application will add this so it's only useful for non-KDE users who
load non-KDE Qt applications).

There's a couple patches from our Chinese developers including
switching to ibus support.

We build with lzma to save CD space.

We also had a patch review session with Thiago at the Ubuntu summit
and many of the patches can go upstream, some can be dropped, notes at
https://wiki.kubuntu.org/UDSProceedings/N/ApplicationDevelopers#Qt%20Patch%20Review


  * Merge with Debian, remaining changes:
    - Do not package firebird and ibase packages, remove from
  debian/rules and
      debian/control
    - libqt4-sql-ibase not recommend for libqt4-sql
    - libqtgui4: suggest, not recommend, qt4-qtconfig
    - build with -no-phonon
    - do not build libqt4-phonon, disable in debian/control
    - Build packages with lzma compression using the dh addon from
      pkg-kde-tools
    - Rules to remove po dir in clean
    - Add MessagesQt.sh
    - Rules to create Messages.sh link to MessagesQt.sh and rules to
  create po
      dir and exectue extract-messages.sh in
  common-install-prehook-impl
    - Make libqt4-dev depend on libx11-dev
    - In debian/rules Set DEB_HOST_ARCH and
  DEB_HOST_ARCH_OS. Configure with
      "-arch armv6" option on ARM
    - Add and install Trolltech.conf in libqtcore4.install
    - Build QtWebkit and use it only for QtAssistant
      + Rule to put qt_webkit_version.pri in mkspecs/modules
      + Rule to remove libQtWebKit* after build
      + Exclude usr/bin/assistant-qt4 from dh_shlibdeps
    - kubuntu_08_add_missing_bold_style.diff to make qt support bold
  style CJK
      fonts
    - kubuntu_09_use_ft_glyph_embolden_to_fake_bold.diff to make qt
  support
      bold style CJK fonts
    - kubuntu_10_ibus_input_method.diff to change default input method
    - kubuntu_12_fix_stack_protector.diff restore the stack protector
      compiler flag (LP: #538237).
    - kubuntu_15_appmenu.diff  from Aurelien Gateau, adds support
      for external menu bars exported over dbus
    - kubuntu_16_qt-designer-toplevel-mode-menubar.diff from Aurelien
      Gateau to keep designer working with global menu when in
  toplevel
      mode
    - kubuntu_17_enable_qtwebkit_for_qtassistant.diff Build QtWebkit
  so
      QtAssistant is able to link 
      against it. (LP: #624697)
    - kubuntu_18_fix_qtreeview_regression.diff
      (http://bugreports.qt.nokia.com/browse/QTBUG-13567
       https://bugs.kde.org/show_bug.cgi?id=246997)
    - kubuntu_19_gtkstyle_inactive_background.diff fixes
      http://bugreports.qt.nokia.com/browse/QTBUG-13792
      'GTK style: Wrong foreground color for selected item when
  unfocused'
    - kubuntu_20_gtkstyle_tabwidget_focus.diff fixes
      http://bugreports.qt.nokia.com/browse/QTBUG-14161
     'Tab focus incorrectly drawn with Ubuntu Ambience theme'
    - kubuntu_21_fix_phantom_cursor.diff cursor would disappear after
      attempting to paste something
      (http://bugreports.qt.nokia.com/browse/QTBUG-6185)
    - Fix Lucid -> Maverick upgrade (LP: #652029) libqt4-help replaces
      libqtcore4 (<< 4:4.7.0)



More information about the pkg-kde-talk mailing list