commit libbluedevil for openSUSE:Factory

2014-12-28 Thread h_root
Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory 
checked in at 2014-12-29 00:33:15

Comparing /work/SRC/openSUSE:Factory/libbluedevil (Old)
 and  /work/SRC/openSUSE:Factory/.libbluedevil.new (New)


Package is libbluedevil

Changes:

--- /work/SRC/openSUSE:Factory/libbluedevil/libbluedevil.changes
2014-12-21 12:00:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.libbluedevil.new/libbluedevil.changes   
2014-12-29 00:33:18.0 +0100
@@ -1,0 +2,8 @@
+Tue Dec 23 23:32:58 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 2.1
+  * Adapter::name() now returns alias of adapter
+- Drop 0001-Adapter-name-now-returns-alias-of-adapter.patch, merged
+  upstream
+
+---

Old:

  0001-Adapter-name-now-returns-alias-of-adapter.patch
  libbluedevil-2.0.tar.xz

New:

  libbluedevil-2.1.tar.xz



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.FgY0fJ/_old  2014-12-29 00:33:20.0 +0100
+++ /var/tmp/diff_new_pack.FgY0fJ/_new  2014-12-29 00:33:20.0 +0100
@@ -18,15 +18,13 @@
 
 
 Name:   libbluedevil
-Version:2.0
+Version:2.1
 Release:0
 Summary:Qt Bluetooth client library
 License:LGPL-2.0+
 Group:  System/Libraries
 Url:http://www.kde.org
 Source: 
http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM 0001-Adapter-name-now-returns-alias-of-adapter.patch
-Patch0: 0001-Adapter-name-now-returns-alias-of-adapter.patch
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
 BuildRequires:  libqt4-devel
@@ -52,7 +50,6 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-%patch0 -p1
 
 %build
   %cmake_kde4 -d build

++ libbluedevil-2.0.tar.xz - libbluedevil-2.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-2.0/CMakeLists.txt 
new/libbluedevil-2.1/CMakeLists.txt
--- old/libbluedevil-2.0/CMakeLists.txt 2014-12-03 09:18:54.0 +0100
+++ new/libbluedevil-2.1/CMakeLists.txt 2014-12-22 12:20:44.0 +0100
@@ -31,7 +31,7 @@
   ARCHIVE DESTINATION ${LIB_INSTALL_DIR} 
COMPONENT Devel )
 
 
-set(GENERIC_LIB_VERSION 2.0)
+set(GENERIC_LIB_VERSION 2.1)
 set(GENERIC_LIB_SOVERSION 2)
 set(VERSION ${GENERIC_LIB_VERSION})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-2.0/bluedevil/bluedeviladapter.cpp 
new/libbluedevil-2.1/bluedevil/bluedeviladapter.cpp
--- old/libbluedevil-2.0/bluedevil/bluedeviladapter.cpp 2014-12-03 
09:18:54.0 +0100
+++ new/libbluedevil-2.1/bluedevil/bluedeviladapter.cpp 2014-12-22 
12:20:44.0 +0100
@@ -89,7 +89,7 @@
 for(i = changed_properties.constBegin(); i != 
changed_properties.constEnd(); ++i) {
   QVariant value = i.value();
   QString property = i.key();
-  if (property == Name) {
+  if (property == Alias) {
   emit m_q-nameChanged(value.toString());
   } else if (property == Powered) {
   emit m_q-poweredChanged(value.toBool());
@@ -141,12 +141,12 @@
 
 QString Adapter::name() const
 {
-return d-m_bluezAdapterInterface-name();
+return d-m_bluezAdapterInterface-alias();
 }
 
-QString Adapter::alias() const
+QString Adapter::systemName() const
 {
-return d-m_bluezAdapterInterface-alias();
+return d-m_bluezAdapterInterface-name();
 }
 
 quint32 Adapter::adapterClass() const
@@ -214,9 +214,9 @@
 return UUIDs;
 }
 
-void Adapter::setAlias(const QString alias)
+void Adapter::setName(const QString name)
 {
-d-m_bluezAdapterInterface-setAlias(alias);
+d-m_bluezAdapterInterface-setAlias(name);
 }
 
 void Adapter::setPowered(bool powered)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-2.0/bluedevil/bluedeviladapter.h 
new/libbluedevil-2.1/bluedevil/bluedeviladapter.h
--- old/libbluedevil-2.0/bluedevil/bluedeviladapter.h   2014-12-03 
09:18:54.0 +0100
+++ new/libbluedevil-2.1/bluedevil/bluedeviladapter.h   2014-12-22 
12:20:44.0 +0100
@@ -49,8 +49,8 @@
 Q_OBJECT
 
 Q_PROPERTY(QString address READ address)
-Q_PROPERTY(QString name READ name)
-Q_PROPERTY(QString alias READ alias WRITE setAlias)
+Q_PROPERTY(QString name READ name WRITE setName)
+Q_PROPERTY(QString systemName READ systemName)
 Q_PROPERTY(quint32 adapterClass READ adapterClass)
 Q_PROPERTY(bool powered READ isPowered WRITE setPowered)
 Q_PROPERTY(bool discoverable READ isDiscoverable WRITE setDiscoverable)
@@ -75,14 +75,19 @@
 QString address() 

commit libbluedevil for openSUSE:Factory

2014-12-21 Thread h_root
Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory 
checked in at 2014-12-21 12:00:45

Comparing /work/SRC/openSUSE:Factory/libbluedevil (Old)
 and  /work/SRC/openSUSE:Factory/.libbluedevil.new (New)


Package is libbluedevil

Changes:

--- /work/SRC/openSUSE:Factory/libbluedevil/libbluedevil.changes
2013-12-23 12:33:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.libbluedevil.new/libbluedevil.changes   
2014-12-21 12:00:35.0 +0100
@@ -1,0 +2,15 @@
+Fri Dec  5 21:40:14 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 2.0 Final:
+  * Do not set the Adapter back to powered, kde#329411
+  * Check adapter for nullptr in
+interfacesAdded/interfacesRemoved slots, kde#340577
+- Added 0001-Adapter-name-now-returns-alias-of-adapter.patch
+
+---
+Sat Dec 21 16:43:15 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Replace the tarball generated from tag, to the official one, from
+  KDE mirrors
+
+---

Old:

  libbluedevil-v2.0-rc1.tar.xz

New:

  0001-Adapter-name-now-returns-alias-of-adapter.patch
  libbluedevil-2.0.tar.xz



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.2jNU1O/_old  2014-12-21 12:00:36.0 +0100
+++ /var/tmp/diff_new_pack.2jNU1O/_new  2014-12-21 12:00:36.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libbluedevil
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2010 Raymond Wooninck tittiatc...@gmail.com
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,15 +18,15 @@
 
 
 Name:   libbluedevil
-Version:2.0~rc1
+Version:2.0
 Release:0
-%define rversion 2.0-rc1
 Summary:Qt Bluetooth client library
 License:LGPL-2.0+
 Group:  System/Libraries
 Url:http://www.kde.org
-#Source0:
http://download.kde.org/stable/libbluedevil/%{name}-v%{version}.tar.xz
-Source0:%{name}-v%{rversion}.tar.xz
+Source: 
http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM 0001-Adapter-name-now-returns-alias-of-adapter.patch
+Patch0: 0001-Adapter-name-now-returns-alias-of-adapter.patch
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
 BuildRequires:  libqt4-devel
@@ -51,7 +51,8 @@
 Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
 
 %prep
-%setup -q -n %{name}-v%{rversion}
+%setup -q -n %{name}-%{version}
+%patch0 -p1
 
 %build
   %cmake_kde4 -d build

++ 0001-Adapter-name-now-returns-alias-of-adapter.patch ++
From ec29ea82fd8e06ddebffd9c1dbdb53ec6872c3f2 Mon Sep 17 00:00:00 2001
From: David Rosca now...@gmail.com
Date: Sat, 13 Dec 2014 12:57:15 +0100
Subject: [PATCH 1/1] Adapter::name() now returns alias of adapter

According to Bluez docs, Alias property should be used
as a name for adapter. If no alias for adapter was set,
it returns original system name.

Added new method Adapter::systemName() that returns system
name (hostname) of the adapter.
---
 bluedevil/bluedeviladapter.cpp | 12 ++--
 bluedevil/bluedeviladapter.h   | 17 +++--
 2 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/bluedevil/bluedeviladapter.cpp b/bluedevil/bluedeviladapter.cpp
index 
668934aa783daa8a92ff89f6749294b0d0474953..e8d0abf9db424de9de732efd159626889a324572
 100644
--- a/bluedevil/bluedeviladapter.cpp
+++ b/bluedevil/bluedeviladapter.cpp
@@ -89,7 +89,7 @@ void Adapter::Private::_k_propertyChanged(const QString 
interface_name, const Q
 for(i = changed_properties.constBegin(); i != 
changed_properties.constEnd(); ++i) {
   QVariant value = i.value();
   QString property = i.key();
-  if (property == Name) {
+  if (property == Alias) {
   emit m_q-nameChanged(value.toString());
   } else if (property == Powered) {
   emit m_q-poweredChanged(value.toBool());
@@ -141,12 +141,12 @@ QString Adapter::address() const
 
 QString Adapter::name() const
 {
-return d-m_bluezAdapterInterface-name();
+return d-m_bluezAdapterInterface-alias();
 }
 
-QString Adapter::alias() const
+QString Adapter::systemName() const
 {
-return d-m_bluezAdapterInterface-alias();
+return d-m_bluezAdapterInterface-name();
 }
 
 quint32 Adapter::adapterClass() const
@@ -214,9 +214,9 @@ QStringList Adapter::UUIDs()
 return UUIDs;
 }
 
-void Adapter::setAlias(const QString alias)
+void Adapter::setName(const QString name)
 {
-d-m_bluezAdapterInterface-setAlias(alias);
+

commit libbluedevil for openSUSE:Factory

2013-12-23 Thread h_root
Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory 
checked in at 2013-12-23 12:33:32

Comparing /work/SRC/openSUSE:Factory/libbluedevil (Old)
 and  /work/SRC/openSUSE:Factory/.libbluedevil.new (New)


Package is libbluedevil

Changes:

--- /work/SRC/openSUSE:Factory/libbluedevil/libbluedevil.changes
2013-11-04 08:49:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.libbluedevil.new/libbluedevil.changes   
2013-12-23 12:33:34.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec 20 23:37:57 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to 2.0 rc1 - first version officially supporting BlueZ5
+
+---

Old:

  libbluedevil.tar.xz

New:

  libbluedevil-v2.0-rc1.tar.xz



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.hVSQUs/_old  2013-12-23 12:33:34.0 +0100
+++ /var/tmp/diff_new_pack.hVSQUs/_new  2013-12-23 12:33:34.0 +0100
@@ -18,14 +18,15 @@
 
 
 Name:   libbluedevil
-Version:1.9.4_bluez5
+Version:2.0~rc1
 Release:0
+%define rversion 2.0-rc1
 Summary:Qt Bluetooth client library
 License:LGPL-2.0+
 Group:  System/Libraries
 Url:http://www.kde.org
 #Source0:
http://download.kde.org/stable/libbluedevil/%{name}-v%{version}.tar.xz
-Source0:%{name}.tar.xz
+Source0:%{name}-v%{rversion}.tar.xz
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
 BuildRequires:  libqt4-devel
@@ -50,7 +51,7 @@
 Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}-v%{rversion}
 
 %build
   %cmake_kde4 -d build
@@ -60,9 +61,6 @@
   %kde4_makeinstall -C build
   %kde_post_install
 
-%clean
-rm -rf %{buildroot}
-
 %post -n libbluedevil2 -p /sbin/ldconfig
 
 %postun -n libbluedevil2 -p /sbin/ldconfig

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libbluedevil for openSUSE:Factory

2013-11-03 Thread h_root
Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory 
checked in at 2013-11-04 08:49:51

Comparing /work/SRC/openSUSE:Factory/libbluedevil (Old)
 and  /work/SRC/openSUSE:Factory/.libbluedevil.new (New)


Package is libbluedevil

Changes:

--- /work/SRC/openSUSE:Factory/libbluedevil/libbluedevil.changes
2013-09-04 13:54:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.libbluedevil.new/libbluedevil.changes   
2013-11-04 08:49:52.0 +0100
@@ -1,0 +2,7 @@
+Sat Nov  2 22:17:35 UTC 2013 - tittiatc...@gmail.com
+
+- Update to a git snapshot of the bluez5 branch. This would allow
+  at least some bluetooth functionality in KDE with Bluez5. 
+  Will be replaced by an official version as soon as available.
+
+---

Old:

  libbluedevil-v1.9.4.tar.xz

New:

  libbluedevil.tar.xz



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.T5vqb9/_old  2013-11-04 08:49:52.0 +0100
+++ /var/tmp/diff_new_pack.T5vqb9/_new  2013-11-04 08:49:52.0 +0100
@@ -18,13 +18,14 @@
 
 
 Name:   libbluedevil
-Version:1.9.4
+Version:1.9.4_bluez5
 Release:0
 Summary:Qt Bluetooth client library
 License:LGPL-2.0+
 Group:  System/Libraries
 Url:http://www.kde.org
-Source0:
http://download.kde.org/stable/libbluedevil/%{name}-v%{version}.tar.xz
+#Source0:
http://download.kde.org/stable/libbluedevil/%{name}-v%{version}.tar.xz
+Source0:%{name}.tar.xz
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
 BuildRequires:  libqt4-devel
@@ -36,20 +37,20 @@
 %package devel
 Summary:Qt Wrapper for Bluez
 Group:  Development/Libraries/C and C++
-Requires:   libbluedevil1 = %{version}
+Requires:   libbluedevil2 = %{version}
 
 %description devel
 Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
 
-%package -n libbluedevil1
+%package -n libbluedevil2
 Summary:Qt Wrapper for Bluez
 Group:  System/Libraries
 
-%description -n libbluedevil1
+%description -n libbluedevil2
 Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
 
 %prep
-%setup -q -n %{name}-v%{version}
+%setup -q -n %{name}
 
 %build
   %cmake_kde4 -d build
@@ -62,13 +63,13 @@
 %clean
 rm -rf %{buildroot}
 
-%post -n libbluedevil1 -p /sbin/ldconfig
+%post -n libbluedevil2 -p /sbin/ldconfig
 
-%postun -n libbluedevil1 -p /sbin/ldconfig
+%postun -n libbluedevil2 -p /sbin/ldconfig
 
-%files -n libbluedevil1
+%files -n libbluedevil2
 %defattr(-,root,root,-)
-%{_libdir}/libbluedevil.so.1*
+%{_libdir}/libbluedevil.so.2*
 
 %files devel
 %defattr(-,root,root,-)

++ libbluedevil-v1.9.4.tar.xz - libbluedevil.tar.xz ++
 6103 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libbluedevil for openSUSE:Factory

2013-09-04 Thread h_root
Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory 
checked in at 2013-09-04 13:54:12

Comparing /work/SRC/openSUSE:Factory/libbluedevil (Old)
 and  /work/SRC/openSUSE:Factory/.libbluedevil.new (New)


Package is libbluedevil

Changes:

--- /work/SRC/openSUSE:Factory/libbluedevil/libbluedevil.changes
2013-04-07 14:22:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.libbluedevil.new/libbluedevil.changes   
2013-09-04 13:54:26.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep  3 22:39:37 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to version 1.9.4
+  * Better handling of usable adapters
+  * Fix compilation in certain conditions
+
+---

Old:

  libbluedevil-1.9.3.tar.bz2

New:

  libbluedevil-v1.9.4.tar.xz



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.y4jvi1/_old  2013-09-04 13:54:27.0 +0200
+++ /var/tmp/diff_new_pack.y4jvi1/_new  2013-09-04 13:54:27.0 +0200
@@ -18,13 +18,13 @@
 
 
 Name:   libbluedevil
-Version:1.9.3
+Version:1.9.4
 Release:0
 Summary:Qt Bluetooth client library
 License:LGPL-2.0+
 Group:  System/Libraries
 Url:http://www.kde.org
-Source0:
ftp://ftp.kde.org/pub/kde/stable/libbluedevil/%{version}/src/%{name}-%{version}.tar.bz2
+Source0:
http://download.kde.org/stable/libbluedevil/%{name}-v%{version}.tar.xz
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
 BuildRequires:  libqt4-devel
@@ -49,7 +49,7 @@
 Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
 
 %prep
-%setup -q
+%setup -q -n %{name}-v%{version}
 
 %build
   %cmake_kde4 -d build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libbluedevil for openSUSE:Factory

2013-04-07 Thread h_root
Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory 
checked in at 2013-04-07 14:22:53

Comparing /work/SRC/openSUSE:Factory/libbluedevil (Old)
 and  /work/SRC/openSUSE:Factory/.libbluedevil.new (New)


Package is libbluedevil, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libbluedevil/libbluedevil.changes
2012-05-08 06:45:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.libbluedevil.new/libbluedevil.changes   
2013-04-07 14:22:54.0 +0200
@@ -1,0 +2,7 @@
+Fri Mar 29 16:16:50 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to version 1.9.3
+  * Do a better job knowing if there is an usable adapter
+  * Further improvements for kde#314356
+
+---

Old:

  libbluedevil-1.9.2.tar.bz2

New:

  libbluedevil-1.9.3.tar.bz2



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.uxj6me/_old  2013-04-07 14:22:55.0 +0200
+++ /var/tmp/diff_new_pack.uxj6me/_new  2013-04-07 14:22:55.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libbluedevil
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2010 Raymond Wooninck tittiatc...@gmail.com
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:   libbluedevil
-Version:1.9.2
+Version:1.9.3
 Release:0
 Summary:Qt Bluetooth client library
 License:LGPL-2.0+

++ libbluedevil-1.9.2.tar.bz2 - libbluedevil-1.9.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-1.9.2/bluedevil/bluedevildevice.cpp 
new/libbluedevil-1.9.3/bluedevil/bluedevildevice.cpp
--- old/libbluedevil-1.9.2/bluedevil/bluedevildevice.cpp2012-04-26 
05:28:30.0 +0200
+++ new/libbluedevil-1.9.3/bluedevil/bluedevildevice.cpp2013-03-24 
18:12:47.0 +0100
@@ -94,6 +94,7 @@
 QString m_alias;
 boolm_legacyPairing;
 boolm_propertiesFetched;
+boolm_deviceCreated;
 boolm_registrationOnBusRejected; // used for avoid trying to 
register this device more
  // than one time on the bus.
 
@@ -115,6 +116,7 @@
 , m_blocked(false)
 , m_legacyPairing(legacyPairing)
 , m_propertiesFetched(false)
+, m_deviceCreated(false)
 , m_registrationOnBusRejected(false)
 , m_q(q)
 {
@@ -140,6 +142,7 @@
 }
 
 if (m_registrationOnBusRejected) {
+m_deviceCreated = false;
 return false;
 }
 
@@ -152,6 +155,7 @@
 devicePath = m_adapter-createDevice(m_address);
 if (devicePath.isEmpty()) {
 m_registrationOnBusRejected = true;
+m_deviceCreated = false;
 return false;
 }
 }
@@ -168,7 +172,14 @@
 connect(m_bluezDeviceInterface, 
SIGNAL(PropertyChanged(QString,QDBusVariant)),
 m_q, SLOT(_k_propertyChanged(QString,QDBusVariant)));
 
-const QVariantMap data = 
m_bluezDeviceInterface-GetProperties().value();
+QDBusPendingReply QVariantMap  rep = 
m_bluezDeviceInterface-GetProperties();
+rep.waitForFinished();
+
+if (rep.isError() || !rep.isValid()) {
+return false;
+}
+
+const QVariantMap data = rep.value();
 m_paired = data[Paired].toBool();
 m_connected = data[Connected].toBool();
 m_trusted = data[Trusted].toBool();
@@ -186,6 +197,7 @@
 m_adapter-addDeviceWithUBI(devicePath, m_q);
 }
 
+m_deviceCreated = true;
 return true;
 }
 
@@ -409,6 +421,12 @@
 return d-m_blocked;
 }
 
+bool Device::isReady()
+{
+ENSURE_PROPERTIES_FETCHED
+return d-m_deviceCreated;
+}
+
 bool Device::registerDevice()
 {
 const bool res = d-_k_ensureDeviceCreated();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-1.9.2/bluedevil/bluedevildevice.h 
new/libbluedevil-1.9.3/bluedevil/bluedevildevice.h
--- old/libbluedevil-1.9.2/bluedevil/bluedevildevice.h  2012-04-26 
05:28:30.0 +0200
+++ new/libbluedevil-1.9.3/bluedevil/bluedevildevice.h  2013-03-24 
18:12:47.0 +0100
@@ -251,6 +251,12 @@
  */
 bool isBlocked();
 
+/**
+ * @return Whether the device is ready to be used or note
+ *
+ * @note If the given device address or path is incorrect this will stay 
false.
+ */
+bool isReady();
 public Q_SLOTS:
 /**
  * It is not mandatory to 

commit libbluedevil for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory 
checked in at 2012-05-08 06:45:50

Comparing /work/SRC/openSUSE:Factory/libbluedevil (Old)
 and  /work/SRC/openSUSE:Factory/.libbluedevil.new (New)


Package is libbluedevil, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libbluedevil/libbluedevil.changes
2011-11-05 11:20:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.libbluedevil.new/libbluedevil.changes   
2012-05-08 06:45:59.0 +0200
@@ -1,0 +2,8 @@
+Tue May  1 10:36:55 UTC 2012 - m...@suse.com
+
+- Update to version 1.9.2
+  * Fill properties with defaults in case that GetProperties is not valid 
(kde#288865)
+  * Print possible errors using qDebug and fix dbus handling
+  * When BlueZ service is unregistered, remove all adapters
+
+---

Old:

  libbluedevil-1.9.1.tar.bz2

New:

  libbluedevil-1.9.2.tar.bz2



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.cNpaHn/_old  2012-05-08 06:46:00.0 +0200
+++ /var/tmp/diff_new_pack.cNpaHn/_new  2012-05-08 06:46:00.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libbluedevil
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2010 Raymond Wooninck tittiatc...@gmail.com
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,14 +17,13 @@
 #
 
 
-
 Name:   libbluedevil
-Version:1.9.1
-Release:1
-License:LGPL-2.0+
+Version:1.9.2
+Release:0
 Summary:Qt Bluetooth client library
-Url:http://www.kde.org
+License:LGPL-2.0+
 Group:  System/Libraries
+Url:http://www.kde.org
 Source0:
ftp://ftp.kde.org/pub/kde/stable/libbluedevil/%{version}/src/%{name}-%{version}.tar.bz2
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem

++ libbluedevil-1.9.1.tar.bz2 - libbluedevil-1.9.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-1.9.1/.gitignore 
new/libbluedevil-1.9.2/.gitignore
--- old/libbluedevil-1.9.1/.gitignore   1970-01-01 01:00:00.0 +0100
+++ new/libbluedevil-1.9.2/.gitignore   2012-04-26 05:28:30.0 +0200
@@ -0,0 +1,4 @@
+build
+.kdev4
+libbluedevil.kdev4
+doc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-1.9.1/bluedevil/bluedevil.pc.in 
new/libbluedevil-1.9.2/bluedevil/bluedevil.pc.in
--- old/libbluedevil-1.9.1/bluedevil/bluedevil.pc.in2011-10-09 
12:42:22.0 +0200
+++ new/libbluedevil-1.9.2/bluedevil/bluedevil.pc.in2012-04-26 
05:28:30.0 +0200
@@ -1,5 +1,5 @@
 prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@CMAKE_INSTALL_PREFIX@/lib
+libdir=@LIB_INSTALL_DIR@
 includedir=@CMAKE_INSTALL_PREFIX@/include
 
 Name: bluedevil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-1.9.1/bluedevil/bluedeviladapter.cpp 
new/libbluedevil-1.9.2/bluedevil/bluedeviladapter.cpp
--- old/libbluedevil-1.9.1/bluedevil/bluedeviladapter.cpp   2011-10-09 
12:42:22.0 +0200
+++ new/libbluedevil-1.9.2/bluedevil/bluedeviladapter.cpp   2012-04-26 
05:28:30.0 +0200
@@ -41,6 +41,7 @@
 ~Private();
 
 void fetchProperties();
+void setDefaultProperties();
 void startDiscovery();
 
 void _k_deviceCreated(const QDBusObjectPath objectPath);
@@ -88,7 +89,19 @@
 
 void Adapter::Private::fetchProperties()
 {
-const QVariantMap properties = 
m_bluezAdapterInterface-GetProperties().value();
+QDBusPendingReply QVariantMap  reply = 
m_bluezAdapterInterface-GetProperties();
+
+//This may happen when the AdapterRemoved signal has been emitted but the 
adapter
+//is still returned by Manager::defaultAdapter
+reply.waitForFinished();
+if (!reply.isValid() || reply.isError()) {
+qDebug()  reply.error().name();
+qDebug()  reply.error().message();
+setDefaultProperties();
+return;
+}
+
+const QVariantMap properties = reply.value();
 m_address = properties[Address].toString();
 m_name = properties[Name].toString();
 m_class = properties[Class].toUInt();
@@ -106,6 +119,19 @@
 m_propertiesFetched = true;
 }
 
+void Adapter::Private::setDefaultProperties()
+{
+m_address = QString();
+m_name = QString();
+m_class = 0;
+m_powered = false;
+m_discoverable = false;
+m_pairable = false;
+m_pairableTimeout = 0;
+m_discoverableTimeout = 0;
+m_discovering = false;
+}
+
 void 

commit libbluedevil for openSUSE:Factory

2011-11-05 Thread h_root
Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory 
checked in at 2011-11-05 10:58:14

Comparing /work/SRC/openSUSE:Factory/libbluedevil (Old)
 and  /work/SRC/openSUSE:Factory/.libbluedevil.new (New)


Package is libbluedevil, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libbluedevil/libbluedevil.changes
2011-09-26 10:07:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.libbluedevil.new/libbluedevil.changes   
2011-11-05 11:20:23.0 +0100
@@ -1,0 +2,10 @@
+Sun Oct 30 11:06:42 UTC 2011 - asterios.dra...@gmail.com
+
+- Update to 1.9.1:
+  * Do not clean the device list on discovery start.
+- Spec file updates:
+  * Changed License: to LGPL-2.0+.
+  * Removed bluez-devel from BuildRequires: (not needed).
+- Removed the devicelistnoclean.diff patch (fixed upstream).
+
+---

Old:

  devicelistnoclean.diff
  libbluedevil-1.9.tar.bz2

New:

  libbluedevil-1.9.1.tar.bz2



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.vglEj8/_old  2011-11-05 11:20:47.0 +0100
+++ /var/tmp/diff_new_pack.vglEj8/_new  2011-11-05 11:20:47.0 +0100
@@ -19,16 +19,13 @@
 
 
 Name:   libbluedevil
-Version:1.9.0
+Version:1.9.1
 Release:1
-%define rversion 1.9
-License:GPL
+License:LGPL-2.0+
 Summary:Qt Bluetooth client library
 Url:http://www.kde.org
 Group:  System/Libraries
-Source: %{name}-%{rversion}.tar.bz2
-Patch0: devicelistnoclean.diff
-BuildRequires:  bluez-devel
+Source0:
ftp://ftp.kde.org/pub/kde/stable/libbluedevil/%{version}/src/%{name}-%{version}.tar.bz2
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
 BuildRequires:  libqt4-devel
@@ -37,9 +34,7 @@
 %description
 Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
 
-
 %package devel
-
 Summary:Qt Wrapper for Bluez
 Group:  Development/Libraries/C and C++
 Requires:   libbluedevil1 = %{version}
@@ -47,19 +42,15 @@
 %description devel
 Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
 
-
 %package -n libbluedevil1
-
 Summary:Qt Wrapper for Bluez
 Group:  System/Libraries
 
 %description -n libbluedevil1
 Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
 
-
 %prep
-%setup -n %{name}-%{rversion} -q
-%patch0 -p1
+%setup -q
 
 %build
   %cmake_kde4 -d build
@@ -77,11 +68,11 @@
 %postun -n libbluedevil1 -p /sbin/ldconfig
 
 %files -n libbluedevil1
-%defattr(-,root,root)
-%{_libdir}/libbluedevil.so.*
+%defattr(-,root,root,-)
+%{_libdir}/libbluedevil.so.1*
 
 %files devel
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %{_includedir}/bluedevil/
 %{_libdir}/libbluedevil.so
 %{_libdir}/pkgconfig/bluedevil.pc

++ libbluedevil-1.9.tar.bz2 - libbluedevil-1.9.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-1.9/CMakeLists.txt 
new/libbluedevil-1.9.1/CMakeLists.txt
--- old/libbluedevil-1.9/CMakeLists.txt 2011-04-12 23:17:08.0 +0200
+++ new/libbluedevil-1.9.1/CMakeLists.txt   2011-10-09 12:42:22.0 
+0200
@@ -5,6 +5,18 @@
 
 find_package(Qt4 REQUIRED)
 
+include(CheckCXXCompilerFlag)
+
+check_cxx_compiler_flag(-fvisibility=hidden _HAVE_VISIBILITY)
+if (_HAVE_VISIBILITY AND NOT WIN32)
+  set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fvisibility=hidden)
+
+  check_cxx_compiler_flag(-fvisibility-inlines-hidden _HAVE_VISIBILITY_INLINES)
+  if (_HAVE_VISIBILITY_INLINES)
+set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden)
+  endif (_HAVE_VISIBILITY_INLINES)
+endif (_HAVE_VISIBILITY AND NOT WIN32)
+
 #
 ### lib64/32 support kde like
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluedevil-1.9/bluedevil/bluedeviladapter.cpp 
new/libbluedevil-1.9.1/bluedevil/bluedeviladapter.cpp
--- old/libbluedevil-1.9/bluedevil/bluedeviladapter.cpp 2011-04-12 
23:17:08.0 +0200
+++ new/libbluedevil-1.9.1/bluedevil/bluedeviladapter.cpp   2011-10-09 
12:42:22.0 +0200
@@ -112,7 +112,6 @@
 m_devicesMap.clear();
 m_devicesMapUBIKey.clear();
 m_knownDevices.clear();
-m_devices.clear();
 m_bluezAdapterInterface-StartDiscovery();
 }
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libbluedevil for openSUSE:Factory

2011-09-26 Thread h_root

Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory
checked in at Mon Sep 26 10:07:33 CEST 2011.




--- libbluedevil/libbluedevil.changes   2011-07-25 16:58:16.0 +0200
+++ /mounts/work_src_done/STABLE/libbluedevil/libbluedevil.changes  
2011-09-23 15:21:57.0 +0200
@@ -1,0 +2,7 @@
+Fri Sep 23 13:18:21 UTC 2011 - wstephen...@suse.com
+
+- Add patch from author:
+  * Do not clean the device list on discovery start
+  http://lists.opensuse.org/archive/opensuse-kde/2011-09/msg00264.html
+
+---

calling whatdependson for head-i586


New:

  devicelistnoclean.diff



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.aqbsEa/_old  2011-09-26 10:07:29.0 +0200
+++ /var/tmp/diff_new_pack.aqbsEa/_new  2011-09-26 10:07:29.0 +0200
@@ -27,6 +27,7 @@
 Url:http://www.kde.org
 Group:  System/Libraries
 Source: %{name}-%{rversion}.tar.bz2
+Patch0: devicelistnoclean.diff
 BuildRequires:  bluez-devel
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
@@ -58,6 +59,7 @@
 
 %prep
 %setup -n %{name}-%{rversion} -q
+%patch0 -p1
 
 %build
   %cmake_kde4 -d build

++ devicelistnoclean.diff ++
commit 071d96dea397aeaffa19b1e2a73c921b75a7858d
Author: Alex Fiestas afiestas@xxx
Date: Sun Sep 18 03:21:57 2011 +0200

Do not clean the deviceList each time we start a discovering

Index: libbluedevil-1.9/bluedevil/bluedeviladapter.cpp
===
--- libbluedevil-1.9.orig/bluedevil/bluedeviladapter.cpp
+++ libbluedevil-1.9/bluedevil/bluedeviladapter.cpp
@@ -112,7 +112,6 @@ void Adapter::Private::startDiscovery()
 m_devicesMap.clear();
 m_devicesMapUBIKey.clear();
 m_knownDevices.clear();
-m_devices.clear();
 m_bluezAdapterInterface-StartDiscovery();
 }
 





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libbluedevil for openSUSE:Factory

2011-04-07 Thread h_root

Hello community,

here is the log from the commit of package libbluedevil for openSUSE:Factory
checked in at Thu Apr 7 10:25:39 CEST 2011.




--- KDE/libbluedevil/libbluedevil.changes   2010-11-13 00:47:02.0 
+0100
+++ /mounts/work_src_done/STABLE/libbluedevil/libbluedevil.changes  
2011-04-04 09:20:10.0 +0200
@@ -1,0 +2,7 @@
+Mon Apr  4 07:17:44 UTC 2011 - wstephen...@novell.com
+
+- Workarounded bluez consistency for default adapter
+  (this will fix some adapter detection errors)
+- Added a new signal to fix device scanning
+
+---

calling whatdependson for head-i586


Old:

  libbluedevil-v1.8-1.tar.bz2

New:

  libbluedevil-v1.8.1.tar.bz2



Other differences:
--
++ libbluedevil.spec ++
--- /var/tmp/diff_new_pack.9YwsWx/_old  2011-04-07 10:24:52.0 +0200
+++ /var/tmp/diff_new_pack.9YwsWx/_new  2011-04-07 10:24:52.0 +0200
@@ -26,9 +26,9 @@
 Group:  System/GUI/KDE
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:Qt Bluetooth client library
-Version:1.8
+Version:1.8.1
 Release:1
-%define rversion v1.8-1
+%define rversion v1.8.1
 Source: %{name}-%rversion.tar.bz2
 %kde4_runtime_requires
 

++ libbluedevil-v1.8-1.tar.bz2 - libbluedevil-v1.8.1.tar.bz2 ++
 89411 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org