Link-time optimization in debian packages
Hi, I have currently the problem that I have to use large, computing intensive applications [1,2]. These are usually implemented in many source files. I used in the past pseudo c files which include all other c files [3]. Of course, this is a hack and don't work in many situation due to conflicting local symbols. I played around a little bit with GCC's LTO [4]. It is really impressive for this kind of applications. I had a size reduction and speed increase with the tested applications. Of course, it was just a small testset and not really scientific. Link time-optimization exchanges the meaning of flags slightly [5]. It is currently necessary to provide the optimization related flags from CFLAGS/CXXFLAGS also in LDFLAGS. Otherwise the LTO will not really to a optimization step. I already found some smaller problems related to weird asm usage in some pic library code [6], but I would doubt that this is a big show blocker and will be fixed soon(tm). My question is now whether there are already plans to use LTO in Debian packages, any big debian related studies, policies, release goals, ...? It could also be interesting for large projects like Iceweasel, LibreOffice, ... Maybe the KDE Debian Package maintainer have a reason why they don't use KDE4_ENABLE_FINAL --- which would also be an argument against LTO. [1] http://packages.qa.debian.org/p/povray.html [2] http://packages.qa.debian.org/m/mednafen.html [3] see KDE4_ENABLE_FINAL in all KDE libraries/applications [4] http://gcc.gnu.org/wiki/LinkTimeOptimization [5] http://gcc.gnu.org/wiki/lto/OptionHandling [6] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49286 -- Emil Langrock -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201106051318.43581.emil.langr...@gmx.de
Bug#626035: [libkdeui5] Plasma randomly crashes
Package: libkdeui5 Version: 4:4.6.2-1 Severity: normal Tags: patch I have the problem that I have random plasma crashes of plasma - it seems that it is the crash which can be seen at https://bugs.kde.org/show_bug.cgi?id=258706 The patch is available at https://projects.kde.org/projects/kde/kdelibs/repository/revisions/a8d16682c31ef523ffebba6e19283a19cd5f5627 The patch is not part of 4.6.3 --- System information. --- Architecture: amd64 Kernel: Linux 2.6.38-2-amd64 Debian Release: wheezy/sid 500 unstablewww.debian-multimedia.org 500 unstableftp.debian.org 500 testing ftp.debian.org 1 experimentalwww.debian-multimedia.org 1 experimentalftp.debian.org --- Package information. --- Depends (Version) | Installed =-+-== libattica0(>= 0.1.90) | 0.2.0-1 libc6 (>= 2.2.5) | 2.13-2 libdbusmenu-qt2(>= 0.3.2) | 0.8.0-1 libice6 (>= 1:1.0.0) | 2:1.0.7-1 libkdecore5 (= 4:4.6.2-1) | 4:4.6.2-1 libqt4-dbus (>= 4:4.7.0) | 4:4.7.2-4 libqt4-network (>= 4:4.7.0) | 4:4.7.2-4 libqt4-svg (>= 4:4.7.0) | 4:4.7.2-4 libqt4-xml (>= 4:4.7.0) | 4:4.7.2-4 libqtcore4 (>= 4:4.7.0) | 4:4.7.2-4 libqtgui4(>= 4:4.7.0) | 4:4.7.2-4 libsm6| 2:1.2.0-1 libstdc++6 (>= 4.1.1) | 4.6.0-6 libx11-6 | 2:1.4.3-1 libxrender1 | 1:0.9.6-1 Recommends (Version) | Installed -+-=== kdelibs5-data (>= 4:4.6.2-1) | 4:4.6.2-1 Suggests (Version) | Installed ===-+-=== hspell | -- Emil Langrock -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201105080924.12136.emil.langr...@gmx.de
Bug#625646: [akregator] Click one article, it gets unread but the next one is displayed
Package: akregator Version: 4:4.4.11.1-1 Severity: normal Tags: patch Since the update to 4.6.2, with displaying only unread articles in akregator, clicking an unread article (regardless of the source) makes the article unread and disappearing (the article is still there in the "all article list"). The next article in the list is displayed instead of the one clicked. Changing to all articles makes the behavior go away. The clicked article gets downloaded and displayed as it should. Problem description is here: https://bugs.kde.org/show_bug.cgi?id=271149 Fix is available here: https://projects.kde.org/projects/kde/kdepim/repository/revisions/1380ce172e4f98ab433085721f0e8fddef4ba621 --- System information. --- Architecture: amd64 Kernel: Linux 2.6.38-2-amd64 Debian Release: wheezy/sid 500 unstablewww.debian-multimedia.org 500 unstableftp.debian.org 500 testing ftp.debian.org 1 experimentalwww.debian-multimedia.org 1 experimentalftp.debian.org --- Package information. --- Depends (Version) | Installed ===-+-=== kdebase-runtime | 4:4.6.2-1 libc6(>= 2.2.5) | 2.13-2 libgcc1(>= 1:4.1.1) | 1:4.6.0-6 libkcmutils4 (>= 4:4.6) | 4:4.6.2-1 libkde3support4 (>= 4:4.6) | 4:4.6.2-1 libkdecore5 (>= 4:4.6) | 4:4.6.2-1 libkdepim4 (= 4:4.4.11.1-1) | 4:4.4.11.1-1 libkdeui5(>= 4:4.6) | 4:4.6.2-1 libkhtml5(>= 4:4.6) | 4:4.6.2-1 libkio5 (>= 4:4.6) | 4:4.6.2-1 libknotifyconfig4(>= 4:4.6) | 4:4.6.2-1 libkontactinterface4 (>= 4:4.6) | 4:4.6.2-1 libkparts4 (>= 4:4.6) | 4:4.6.2-1 libkpimutils4(>= 4:4.6) | 4:4.6.2-1 libqt4-dbus(>= 4:4.5.3) | 4:4.7.2-4 libqt4-xml (>= 4:4.5.3) | 4:4.7.2-4 libqtcore4 (>= 4:4.7.0~beta2) | 4:4.7.2-4 libqtgui4 (>= 4:4.5.3) | 4:4.7.2-4 libstdc++6 (>= 4.4.0) | 4.6.0-6 libsyndication4 (>= 4:4.6) | 4:4.6.2-1 Package's Recommends field is empty. Package's Suggests field is empty. -- Emil Langrock -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201105042144.28285.emil.langr...@gmx.de
Bug#606949: [kopete] kwallet timeout
tag 606949 + squeeze sid patch fixed-upstream forwarded 606949 https://bugs.kde.org/226270 thanks This was already fixed in kde in r1151086 [1]. I tested it using the attached patch for the kdenetwork 4.4.5-2 package. It is quite irritating that I usually cannot enter my password in kwallet before kopete asks me directly for _all_ my instant messaging account related passwords. This makes kwallet in combination with kopete unusable for me. [1] http://websvn.kde.org/branches/KDE/4.5/kdenetwork/kopete/libkopete/kopetewalletmanager.cpp?r1=1143427&r2=1151086&pathrev=1151086&view=patch diff -Nru kdenetwork-4.4.5/debian/changelog kdenetwork-4.4.5/debian/changelog --- kdenetwork-4.4.5/debian/changelog 2010-11-28 16:44:33.0 +0100 +++ kdenetwork-4.4.5/debian/changelog 2011-02-11 14:27:11.0 +0100 @@ -1,3 +1,10 @@ +kdenetwork (4:4.4.5-2kwallettimeout) squeeze-proposed-updates; urgency=low + + * debian/patches: +- Add 04_kwallettimeout.diff, Disable kwallet timeout for kopete + + -- Emil Langrock Fri, 11 Feb 2011 14:26:22 +0100 + kdenetwork (4:4.4.5-2) unstable; urgency=low * Point debian/control Vcs fields to the new Git repository. diff -Nru kdenetwork-4.4.5/debian/patches/04_kwallettimeout.diff kdenetwork-4.4.5/debian/patches/04_kwallettimeout.diff --- kdenetwork-4.4.5/debian/patches/04_kwallettimeout.diff 1970-01-01 01:00:00.0 +0100 +++ kdenetwork-4.4.5/debian/patches/04_kwallettimeout.diff 2011-02-11 14:25:44.0 +0100 @@ -0,0 +1,73 @@ +--- a/kopete/libkopete/kopetewalletmanager.cpp 2010/06/27 18:59:06 1143427 b/kopete/libkopete/kopetewalletmanager.cpp 2010/07/17 18:52:43 1151086 +@@ -25,8 +25,6 @@ + #include + #include + +-#define KWALLET_TIMEOUT 15000 +- + static WId mainWindowID() + { + if ( QWidget *w = Kopete::UI::Global::mainWidget() ) +@@ -37,7 +35,7 @@ + class Kopete::WalletManager::Private + { + public: +- Private() : wallet(0), signal(0), firstTry(true) {} ++ Private() : wallet(0), signal(0) {} + ~Private() { delete wallet; delete signal; } + + KWallet::Wallet *wallet; +@@ -50,16 +48,11 @@ + // instead, we store a KopeteWalletSignal which we connect to, and create + // a new one for each set of requests. + KopeteWalletSignal *signal; +- +- bool firstTry; +- QTimer timeoutTimer; + }; + + Kopete::WalletManager::WalletManager() + : d( new Private ) + { +- d->timeoutTimer.setSingleShot( true ); +- connect( &(d->timeoutTimer), SIGNAL(timeout()), this, SLOT(slotWalletChangedStatus()) ); + } + + Kopete::WalletManager::~WalletManager() +@@ -115,15 +108,12 @@ + return; + } + +- d->firstTry = true; +- d->timeoutTimer.start( KWALLET_TIMEOUT ); + connect( d->wallet, SIGNAL(walletOpened(bool)), SLOT(slotWalletChangedStatus()) ); + } + + void Kopete::WalletManager::slotWalletChangedStatus() + { + kDebug(14010) << " isOpen: " << d->wallet->isOpen(); +- d->timeoutTimer.stop(); + + if( d->wallet->isOpen() ) + { +@@ -149,18 +139,7 @@ + delete d->wallet; + d->wallet = 0; + +- if ( d->firstTry ) +- { +- // Try again if it's the first failure +- kDebug(14010) << "wallet open timeout"; +- openWalletInner(); +- d->firstTry = false; +- return; +- } +- else +- { +- kWarning(14010) << "wallet open error"; +- } ++ kWarning(14010) << "wallet open error"; + } + + emitWalletOpened( d->wallet ); diff -Nru kdenetwork-4.4.5/debian/patches/series kdenetwork-4.4.5/debian/patches/series --- kdenetwork-4.4.5/debian/patches/series 2010-11-28 14:38:27.0 +0100 +++ kdenetwork-4.4.5/debian/patches/series 2011-02-11 14:21:59.0 +0100 @@ -1,3 +1,4 @@ 01_backport_use_system_libktorrent.diff 02_debian_libktorrent_porting.diff 03_kopete_icq_login_fix.diff +04_kwallettimeout.diff
Bug#595769: [qtcreator] Doesn't start due to library mismatch in experimental
Package: qtcreator Version: 2.0.0-1 Severity: normal It seems that the version of qtcreator in experimental doesn't work with qt 4.7.0~rc1 from experimental: /usr/bin/qtcreator.bin: symbol lookup error: /usr/lib/qtcreator/plugins/Nokia/libQmlProjectManager.so: undefined symbol: _ZN19QDeclarativePrivate12registerTypeERKNS_12RegisterTypeE It was probably not build against the experimental libraries, but against some other ones. Please use pbuilder or cowbuilder with an experimental build chroot when uploading things to experimental. --- System information. --- Architecture: amd64 Kernel: Linux 2.6.35-trunk-amd64 Debian Release: squeeze/sid 500 unstablewww.debian-multimedia.org 500 unstableftp.debian.org 500 testing ftp.debian.org 500 stable ftp.debian.org 1 experimentalftp.debian.org --- Package information. --- Depends(Version) | Installed -+-=== libc6 (>= 2.2.5) | 2.11.2-5 libgcc1 (>= 1:4.1.1) | 1:4.5.1-5 libqt4-network(>= 4:4.7.0~beta2) | 4:4.7.0~rc1-1 libqtcore4(>= 4:4.7.0~beta2) | 4:4.7.0~rc1-1 libqtgui4 (>= 4:4.7.0~beta2) | 4:4.7.0~rc1-1 libstdc++6(>= 4.4.0) | 4.5.1-5 libqt4-help | 4:4.7.0~rc1-1 libqt4-sql-sqlite| 4:4.7.0~rc1-1 Recommends (Version) | Installed ==-+-=== qtcreator-doc | 2.0.0-1 qt4-dev-tools | 4:4.7.0~rc1-1 qt4-doc| 4:4.7.0~rc1-1 qt4-demos | 4:4.7.0~rc1-1 gdb| 7.1-2 make | 3.81-8 xterm | 261-1 OR x-terminal-emulator| Suggests(Version) | Installed =-+-=== cmake | 2.8.2-2 git-core | 1:1.7.1-1.1 subversion| 1.6.12dfsg-1 -- Emil Langrock -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201009061618.18254.emil.langr...@gmx.de