debian/0000755000000000000000000000000011756425543007202 5ustar debian/compat0000644000000000000000000000000211647245323010373 0ustar 9 debian/control0000644000000000000000000000174111756424371010606 0ustar Source: plasma-widget-message-indicator Section: kde Priority: optional Maintainer: The Ayatana Packagers Uploaders: Felix Geyer Build-Depends: debhelper (>= 9), cmake, libindicate-dev (>= 0.6.90), libindicate-qt-dev (>= 0.2.5.91), kdelibs5-dev, libdbusmenu-qt-dev (>= 0.3.0), pkg-kde-tools, pkg-config Standards-Version: 3.9.3 Homepage: https://launchpad.net/plasma-widget-message-indicator Vcs-Bzr: http://bzr.debian.org/bzr/pkg-ayatana/plasma-widget-message-indicator/debian Vcs-Browser: http://bzr.debian.org/loggerhead/pkg-ayatana/plasma-widget-message-indicator/debian Package: plasma-widget-message-indicator Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Plasma widget to display message indicators A Plasma widget which displays messages from message-indicator enabled applications. debian/changelog0000644000000000000000000001421111756425533011052 0ustar plasma-widget-message-indicator (0.5.8-3) unstable; urgency=low * Team upload. [ Felix Geyer ] * Bump libindicate version check to 0.7. - Add kubuntu_libindicate_pkgconfig.diff. - Build-depend on libindicate-dev >= 0.6.90. [ Evgeni Golov ] * Standards-Version: 3.9.3 -- Evgeni Golov Mon, 21 May 2012 13:47:36 +0200 plasma-widget-message-indicator (0.5.8-2) unstable; urgency=low * Team upload. [ Felix Geyer ] * Bump debhelper build-dependency to >= 9. -- Evgeni Golov Tue, 21 Feb 2012 19:39:28 +0100 plasma-widget-message-indicator (0.5.8-1) experimental; urgency=low * Upload to Debian. (Closes: #645508) * Set Maintainer to pkg-ayatana and add myself as uploader. * Change priority to optional. * Update Vcs control fields. * Drop Replaces/Conflicts plasma-widget-indicatordisplay. * Rename kubuntu_indicator_status.diff to indicator_status.diff. * Switch to debhelper compat level v9 which exports build flags. * Add myself to the copyright file. * Improve package description. -- Felix Geyer Sun, 16 Oct 2011 23:16:27 +0200 plasma-widget-message-indicator (0.5.8-0ubuntu1) oneiric; urgency=low * New upstream release. - Fixes crash when starting Thunderbird or Evolution. (LP: #631794) * Drop kubuntu_libindicate_06.diff, applied upstream. -- Felix Geyer Thu, 01 Sep 2011 18:46:10 +0200 plasma-widget-message-indicator (0.5.7-0ubuntu3) oneiric; urgency=low * Switch from cdbs to dh(1). (LP: #829768) * Build-depend on pkg-config. (LP: #829490) * Bump libindicate version check to 0.6. - Add 02_libindicate_06.diff * Bump Standards-Version to 3.9.2, no changes needed. * Update Vcs control fields. * Fix lintian warning description-synopsis-starts-with-article. -- Felix Geyer Fri, 19 Aug 2011 21:23:47 +0200 plasma-widget-message-indicator (0.5.7-0ubuntu2) natty; urgency=low * Add kubuntu_indicator_status.diff to fix the indicator icon sometimes turning green when clicking on it. (LP: #755537) * Add a watch file. -- Felix Geyer Sat, 09 Apr 2011 12:10:56 +0200 plasma-widget-message-indicator (0.5.7-0ubuntu1) natty; urgency=low * New upstream release * Remove kubuntu_01_fix_translation_domain.diff now upstream * Remove kubuntu_02_fix_text_overlap_in_systemtray.diff fixed in library -- Jonathan Riddell Tue, 08 Feb 2011 19:17:43 +0000 plasma-widget-message-indicator (0.5.6-0ubuntu5) natty; urgency=low * Build against libindicate-qt 0.2.5.91 for soname transition -- Jonathan Riddell Mon, 07 Feb 2011 18:00:26 +0000 plasma-widget-message-indicator (0.5.6-0ubuntu4) natty; urgency=low * Add missing build-depends on pkg-kde-tools -- Scott Kitterman Thu, 23 Dec 2010 01:06:35 -0500 plasma-widget-message-indicator (0.5.6-0ubuntu3) maverick; urgency=low * Add kubuntu_02_fix_text_overlap_in_systemtray.diff to work around text overlap in system tray LP: #632419 -- Aurélien Gâteau Thu, 30 Sep 2010 09:47:14 +0200 plasma-widget-message-indicator (0.5.6-0ubuntu2) maverick; urgency=low * Add kubuntu_01_fix_translation_domain.diff to create the correct translation domain LP: #633432 -- Jonathan Riddell Wed, 08 Sep 2010 19:44:12 +0100 plasma-widget-message-indicator (0.5.6-0ubuntu1) maverick; urgency=low * New upstream release, new icons -- Jonathan Riddell Fri, 03 Sep 2010 17:26:05 +0100 plasma-widget-message-indicator (0.5.5-0ubuntu1) maverick; urgency=low * New upstream release -- Jonathan Riddell Thu, 22 Jul 2010 10:57:17 +0100 plasma-widget-message-indicator (0.5.4-0ubuntu1) lucid; urgency=low * New upstream release -- Jonathan Riddell Thu, 08 Apr 2010 15:12:19 +0100 plasma-widget-message-indicator (0.5.2-0ubuntu2) lucid; urgency=low * Missing dependency libdbusmenu-qt-dev added (LP: #539700) -- David Sugar Tue, 16 Mar 2010 16:50:32 +0000 plasma-widget-message-indicator (0.5.2-0ubuntu1) lucid; urgency=low * New upstream release -- Jonathan Riddell Wed, 10 Mar 2010 17:42:46 +0000 plasma-widget-message-indicator (0.5.1-0ubuntu1) lucid; urgency=low * New upstream release -- Jonathan Riddell Fri, 19 Feb 2010 18:03:47 +0000 plasma-widget-message-indicator (0.5.0-0ubuntu2) lucid; urgency=low * Recompile against new libindicate -- Jonathan Riddell Mon, 15 Feb 2010 08:48:10 +0000 plasma-widget-message-indicator (0.5.0-0ubuntu1) lucid; urgency=low * New upstream release, renamed to plasma-widget-message-indicator * Change to source format 3.0 -- Jonathan Riddell Fri, 15 Jan 2010 12:59:19 +0000 plasma-widget-indicatordisplay (0.4.2-0ubuntu1) karmic; urgency=low * New upstream release -- Jonathan Riddell Fri, 09 Oct 2009 17:13:59 +0100 plasma-widget-indicatordisplay (0.4.1-0ubuntu2) karmic; urgency=low * Bump build-depeds to libindicate-qt-dev (>= 0.2.2-0ubuntu2) -- Jonathan Riddell Thu, 08 Oct 2009 11:40:34 +0100 plasma-widget-indicatordisplay (0.4.1-0ubuntu1) karmic; urgency=low * New upstream release -- Jonathan Riddell Wed, 07 Oct 2009 16:21:27 +0100 plasma-widget-indicatordisplay (0.4.0-0ubuntu1) karmic; urgency=low * New upstream release * Build-dep on libindicate-qt >= 0.2.1 -- Jonathan Riddell Mon, 21 Sep 2009 12:28:58 +0100 plasma-widget-indicatordisplay (0.3.0-0ubuntu1) karmic; urgency=low * New upstream release -- Jonathan Riddell Wed, 12 Aug 2009 17:26:51 +0100 plasma-widget-indicatordisplay (0.2.2-0ubuntu2) karmic; urgency=low * New upstream release, now properly GPL 3 licenced -- Jonathan Riddell Fri, 07 Aug 2009 18:13:44 +0100 plasma-widget-indicatordisplay (0.2.1-0ubuntu1) karmic; urgency=low * Initial release -- Aurélien Gâteau Wed, 05 Aug 2009 18:15:34 +0100 debian/copyright0000644000000000000000000000246211647245323011134 0ustar This package was debianized by Aurélien Gâteau on Fri, 31 Jul 2009 16:53:04 +0200. It was downloaded from Upstream Author: Aurélien Gâteau Copyright: Copyright (C) 2009 Canonical Ltd. License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. The Debian packaging is: Copyright (C) 2009 Canonical Ltd. Copyright (C) 2011 Felix Geyer and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/patches/0000755000000000000000000000000011756425543010631 5ustar debian/patches/indicator_status.diff0000644000000000000000000000615111647245323015040 0ustar Description: Fix the indicator icon sometimes turning green when clicking on it. Author: Felix Geyer Bug: https://bugs.launchpad.net/bugs/755537 --- plasma-widget-message-indicator-0.5.7.orig/src/message-indicator.h +++ plasma-widget-message-indicator-0.5.7/src/message-indicator.h @@ -61,6 +61,7 @@ private: Plasma::Svg* mSvg; QLabel* mNoIndicatorLabel; QWidget* mCurrentWidget; + Plasma::ItemStatus m_status; void initIcon(); void initSourceModel(); --- plasma-widget-message-indicator-0.5.7.orig/src/message-indicator.cpp +++ plasma-widget-message-indicator-0.5.7/src/message-indicator.cpp @@ -45,6 +45,7 @@ MessageIndicator::MessageIndicator(QObje , mView(new ExpandedTreeView(mStack)) , mSvg(new Plasma::Svg(this)) , mNoIndicatorLabel(new QLabel(mStack)) +, m_status(Plasma::UnknownStatus) { setBackgroundHints(StandardBackground); setAspectRatioMode(Plasma::ConstrainedSquare); @@ -191,7 +192,7 @@ void MessageIndicator::toolTipAboutToSho QSizeF oldSize = mSvg->size(); // FIXME: Hardcoded size mSvg->resize(32, 32); - QString element = status() == Plasma::NeedsAttentionStatus ? NEW_STUFF_ICON : NO_NEW_STUFF_ICON; + QString element = m_status == Plasma::NeedsAttentionStatus ? NEW_STUFF_ICON : NO_NEW_STUFF_ICON; QPixmap pix = mSvg->pixmap(element); mSvg->resize(oldSize); toolTip.setImage(pix); @@ -237,7 +238,7 @@ void MessageIndicator::paintInterface(QP int minSize = qMin(contentsRect.height(), contentsRect.width()); QRect contentsSquare = QRect(contentsRect.x() + (contentsRect.width() - minSize) / 2, contentsRect.y() + (contentsRect.height() - minSize) / 2, minSize, minSize); - QString element = status() == Plasma::NeedsAttentionStatus ? NEW_STUFF_ICON : NO_NEW_STUFF_ICON; + QString element = m_status == Plasma::NeedsAttentionStatus ? NEW_STUFF_ICON : NO_NEW_STUFF_ICON; mSvg->paint(painter, contentsSquare, element); } @@ -274,7 +275,6 @@ void MessageIndicator::slotDrawAttention void MessageIndicator::updateStatus() { - Plasma::ItemStatus status; if (mSourceModel && mSourceModel->rowCount() > 0) { // Check if one of the indicators want to draw attention QModelIndexList lst = mSourceModel->match(mSourceModel->index(0, 0), @@ -282,18 +282,18 @@ void MessageIndicator::updateStatus() QVariant(true), 1 /* hits */, Qt::MatchExactly | Qt::MatchRecursive); - status = lst.isEmpty() ? Plasma::ActiveStatus : Plasma::NeedsAttentionStatus; + m_status = lst.isEmpty() ? Plasma::ActiveStatus : Plasma::NeedsAttentionStatus; } else { - status = Plasma::PassiveStatus; + m_status = Plasma::PassiveStatus; } - setStatus(status); + setStatus(m_status); // Update icon update(); // Update views - if (status == Plasma::PassiveStatus) { + if (m_status == Plasma::PassiveStatus) { mView->hide(); mNoIndicatorLabel->show(); mCurrentWidget = mNoIndicatorLabel; debian/patches/series0000644000000000000000000000007111756424224012037 0ustar indicator_status.diff kubuntu_libindicate_pkgconfig.diff debian/patches/kubuntu_libindicate_pkgconfig.diff0000644000000000000000000000110111756424224017522 0ustar Description: Bump libindicate version check to 0.7. Author: Felix Geyer --- plasma-widget-message-indicator-0.5.8.orig/CMakeLists.txt +++ plasma-widget-message-indicator-0.5.8/CMakeLists.txt @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 2.6) find_package(KDE4 4.4 REQUIRED) include(KDE4Defaults) find_package(PkgConfig REQUIRED) -pkg_check_modules(INDICATE REQUIRED indicate-0.6) +pkg_check_modules(INDICATE REQUIRED indicate-0.7) pkg_check_modules(INDICATEQT REQUIRED indicate-qt>=0.2.5) pkg_check_modules(DBUSMENUQT REQUIRED dbusmenu-qt>=0.3.0) debian/source/0000755000000000000000000000000011756425543010502 5ustar debian/source/format0000644000000000000000000000001411647245323011703 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000015711647245323010260 0ustar #!/usr/bin/make -f %: dh $@ --with kde --parallel override_dh_auto_test: # disabled, require a dbus server debian/watch0000644000000000000000000000020711647245323010225 0ustar version=3 http://launchpad.net/plasma-widget-message-indicator/+download .*/plasma-widget-message-indicator-([0-9.]+)\.tar\.(?:gz|bz2)