[Pkg-kde-extras] Bug#722138: [kde-telepathy-minimal] Missing Depends on kde-telepathy-desktop-applets

2013-09-08 Thread Sven Eckelmann
Package: kde-telepathy-minimal
Version: 0.6.3
Severity: normal
X-Debbugs-CC: lindner_ma...@yahoo.de

The changelog of meta-kde-telepathy_0.6.3 said

  * Replace plasma-widget dependencies with new package
kde-telepathy-desktop-applets

but only the dependency to plasma-widget-telepathy-presence was removed and no
dependency to kde-telepathy-desktop-applets was added.

The relevant commit is ac816971fbd5ddee02323147869834f1e299 [1] (the
replacing) and 319e330949d59743d8db4d384474407c91d233c5 [2] (dependencies were
removed again).

[1] 
http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-extras/kde-telepathy/meta-kde-telepathy.git;a=commit;h=ac816971fbd5ddee02323147869834f1e299
[2] 
http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-extras/kde-telepathy/meta-kde-telepathy.git;a=commit;h=319e330949d59743d8db4d384474407c91d233c5

--- System information. ---
Architecture: i386
Kernel:   Linux 3.10-2-686-pae

Debian Release: jessie/sid
  500 unstablehttp.debian.net 
  500 testing www.deb-multimedia.org 
  500 stable  http.debian.net 
1 experimentalhttp.debian.net 

--- Package information. ---
Depends(Version) | Installed
-+-
kde-config-telepathy-accounts (= 0.6.3) | 0.6.3-1
kde-telepathy-approver(= 0.6.3) | 0.6.3-1
kde-telepathy-auth-handler(= 0.6.3) | 0.6.3-1
kde-telepathy-contact-list(= 0.6.3) | 0.6.3-1
kde-telepathy-integration-module  (= 0.6.3) | 0.6.3-1
kde-telepathy-text-ui (= 0.6.3) | 0.6.3-1
telepathy-mission-control-5  (= 1:5.12) | 1:5.14.1-2
telepathy-connection-manager | 


Recommends(Version) | Installed
===-+-===
telepathy-gabble| 0.18.0-1
telepathy-salut | 0.8.1-1
telepathy-haze  | 0.6.0-1
telepathy-logger| 0.8.0-2


Suggests (Version) | Installed
==-+-===
telepathy-rakia| 0.7.4-1
telepathy-idle | 

signature.asc
Description: This is a digitally signed message part.
___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

[Pkg-kde-extras] Bug#582065: unable to resize window

2010-09-15 Thread Sven Eckelmann
tags 582065 + patch
thanks

Christoph Pfister wrote:
 Can you please elaborate a bit? You can't resize at all or you can't
 make the window smaller than some size?

I personally cannot really answer that question, but I have the problem that I 
could not resize the window bellow a magic size. This was the maximum size 
of all (visible or not) minimal sizes widgets inside the QStackedLayout.

My workaround is currently to provide a own layout. The only difference is the 
calculation of the minimal size of the main layout using only the visible 
layout inside the QStackedLayout.

Now I can resize it again in the minimal size of 92x62 pixel (more than small 
enough for me - I just wanted to get it to something like 320x240 instead of 
~800x200).

Maybe it is what he wanted - otherwise just ignore it.

This maybe fixes upsteam bug #226183 and #240068

Best regards,
Sven
From f0f9ffa6e1f729497478b7bba8a80aea6e591eb2 Mon Sep 17 00:00:00 2001
From: Sven Eckelmann sven.eckelm...@gmx.de
Date: Wed, 15 Sep 2010 21:10:30 +0200
Subject: [PATCH] Allow to resize window according to visible widgets

Currently the biggest widget/layout in a QStackedLayout determines what
the minimum size is. Kaffeine usually wants only the current visible
widgets/layout to set the limits of the complete window. This is
especially important when Kaffeine runs in the minimal mode which only
has the mediawidget visible and should not have the minimum size of the
relative big start tab.

Signed-off-by: Sven Eckelmann sven.eckelm...@gmx.de
---
 src/mainwindow.cpp |   50 +-
 1 files changed, 49 insertions(+), 1 deletions(-)

diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 7e534c2..50586e9 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -53,6 +53,51 @@ private:
 	QAbstractButton *addShortcut(const QString name, const KIcon icon, QWidget *parent);
 };
 
+class KaffeineLayout : public QStackedLayout
+{
+public:
+	explicit KaffeineLayout(QWidget *widget) : QStackedLayout(widget) {};
+	~KaffeineLayout() { }
+
+	virtual QSize minimumSize() const
+	{
+		QWidget *w = this-currentWidget();
+		QSize s(0, 0);
+
+		if (!w)
+			return s;
+
+		const QSize sizeHint = w-sizeHint();
+		const QSize minSizeHint = w-minimumSizeHint();
+		const QSize minSize =  w-minimumSize();
+		const QSize maxSize = w-maximumSize();
+		const QSizePolicy sizePolicy =  w-sizePolicy();
+
+		if (sizePolicy.horizontalPolicy() != QSizePolicy::Ignored) {
+			if (sizePolicy.horizontalPolicy()  QSizePolicy::ShrinkFlag)
+s.setWidth(minSizeHint.width());
+			else
+s.setWidth(qMax(sizeHint.width(), minSizeHint.width()));
+		}
+
+		if (sizePolicy.verticalPolicy() != QSizePolicy::Ignored) {
+			if (sizePolicy.verticalPolicy()  QSizePolicy::ShrinkFlag) {
+s.setHeight(minSizeHint.height());
+			} else {
+s.setHeight(qMax(sizeHint.height(), minSizeHint.height()));
+			}
+		}
+
+		s = s.boundedTo(maxSize);
+		if (minSize.width()  0)
+			s.setWidth(minSize.width());
+		if (minSize.height()  0)
+			s.setHeight(minSize.height());
+
+		return s.expandedTo(QSize(0,0));
+	}
+};
+
 StartTab::StartTab(MainWindow *mainWindow)
 {
 	setBackgroundRole(QPalette::Base);
@@ -273,7 +318,7 @@ MainWindow::MainWindow()
 	// main area
 
 	QWidget *widget = new QWidget(this);
-	stackedLayout = new QStackedLayout(widget);
+	stackedLayout = new KaffeineLayout(widget);
 	setCentralWidget(widget);
 
 	mediaWidget = new MediaWidget(playerMenu, controlBar, collection, widget);
@@ -556,6 +601,9 @@ void MainWindow::resizeToVideo(int factor)
 			setWindowState(windowState()  ~Qt::WindowMaximized);
 		}
 
+		if (mediaWidget-sizeHint().isEmpty())
+			return;
+
 		resize(size() - centralWidget()-size() + factor * mediaWidget-sizeHint());
 	}
 }
-- 
1.7.2.3



signature.asc
Description: This is a digitally signed message part.
___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras

[Pkg-kde-extras] Bug#499713: [kipi-plugins] images2mpg not posix compatible but only depends on /bin/sh

2008-09-21 Thread Sven Eckelmann
Package: kipi-plugins
Version: 0.1.5-2
Severity: normal
Tags: patch

The current version of images2mpg will fail when you don't have bash installed 
as you default shell (/bin/sh). It can be tested when you install dash and 
reconfigure your system by using dpkg-reconfigure dash and then say Yes 
that dash should be you default shell. When you now start images2mpg -i you 
will get some shell errors:
[: 246: 1: unexpected operator
shift: 546: can't shift that many

To fix this the shell must be changed to /bin/bash.. The problem seems to be 
created by debian and not by upstream. The problematic patch is in 
debian/patches/50_images2mpg_default_bin_folder.diff


--- System information. ---
Architecture: amd64
Kernel:   Linux 2.6.26-1-amd64

Debian Release: lenny/sid
  500 unstableftp.de.debian.org 
  500 unstabledebian.netcologne.de 
1 experimentalftp.debian.org




signature.asc
Description: This is a digitally signed message part.
___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras