Mailinglist Archive: opensuse-commit (1318 mails)

< Previous Next >
commit dbus-1-qt3
  • From: root@xxxxxxx (h_root)
  • Date: Wed, 16 Aug 2006 12:57:58 +0200 (CEST)
  • Message-id: <20060816105758.48A719515F@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package dbus-1-qt3
checked in at Wed Aug 16 12:57:58 CEST 2006.

--------
New Changes file:

--- /dev/null 2002-12-09 23:01:21.000000000 +0100
+++ dbus-1-qt3/dbus-1-qt3.changes 2006-08-16 11:07:41.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Tue Aug 1 23:03:23 CEST 2006 - thoenig@xxxxxxx
+
+- split out binings to sparate spec files
+

New:
----
dbus-1-qt3.changes
dbus-1-qt3.spec
dbus-qt3-0.62.tar.gz
dbus-qt3-compile-fix-thoenig-01.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dbus-1-qt3.spec ++++++
#
# spec file for package dbus-1-qt3 (Version 0.62)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name: dbus-1-qt3
BuildRequires: dbus-1 dbus-1-devel qt3-devel unsermake
URL: http://dbus.freedesktop.org/
License: Other License(s), see package, Other uncritical OpenSource License
Group: Development/Libraries/KDE
Version: 0.62
Release: 10
Autoreqprov: on
Summary: QT3/KDE bindings for D-Bus
Source0: dbus-qt3-%{version}.tar.gz
Patch0: dbus-qt3-compile-fix-thoenig-01.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: dbus-1 = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
Provides: dbus-1-qt:/usr/%_lib/libdbus-qt-1.so.1
%package -n dbus-1-qt3-devel
Summary: Developer package for QT3/KDE bindings for D-Bus
Requires: dbus-1 = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
Requires: dbus-1-qt3 = %{version}
Requires: dbus-1-devel
Autoreqprov: on
Group: Development/Libraries/KDE

%description
QT3/KDE bindings for D-Bus.



Authors:
--------
Olivier Andrieu <oliv__a@xxxxxxxxxxxxxxxxxxxxx>
Philip Blundell <pb@xxxxxxxxxxx>
Anders Carlsson <andersca@xxxxxxxxx>
Kristian Hogsberg <krh@xxxxxxxxxx>
Alex Larsson <alexl@xxxxxxxxxx>
Michael Meeks <michael@xxxxxxxxxx>
Seth Nickell <seth@xxxxxxxxx>
Havoc Pennington <hp@xxxxxxxxxx>
Harri Porten <porten@xxxxxxx>
Matthew Rickard <mjricka@xxxxxxxxxxxxxx>
Zack Rusin <zack@xxxxxxx>
Joe Shaw <joe@xxxxxxxxxxx>
Colin Walters <walters@xxxxxxx>
David Zeuthen <david@xxxxxxxx>


%description -n dbus-1-qt3-devel
Developer package for QT3/KDE bindings for D-Bus.



Authors:
--------
Olivier Andrieu <oliv__a@xxxxxxxxxxxxxxxxxxxxx>
Philip Blundell <pb@xxxxxxxxxxx>
Anders Carlsson <andersca@xxxxxxxxx>
Kristian Hogsberg <krh@xxxxxxxxxx>
Alex Larsson <alexl@xxxxxxxxxx>
Michael Meeks <michael@xxxxxxxxxx>
Seth Nickell <seth@xxxxxxxxx>
Havoc Pennington <hp@xxxxxxxxxx>
Harri Porten <porten@xxxxxxx>
Matthew Rickard <mjricka@xxxxxxxxxxxxxx>
Zack Rusin <zack@xxxxxxx>
Joe Shaw <joe@xxxxxxxxxxx>
Colin Walters <walters@xxxxxxx>
David Zeuthen <david@xxxxxxxx>

%prep
%setup -n dbus-qt3-%{version} -q
%patch0 -p0

%build
export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fno-strict-aliasing -fPIC"
./configure \
--prefix=%{_prefix} \
--exec_prefix=%{_exec_prefix} \
--sysconfdir=%{_sysconfdir} \
--datadir=%{_datadir} \
--localstatedir=%{_localstatedir} \
--libdir=%{_libdir} \
--mandir=%{_mandir}
make

%install
make DESTDIR=%{buildroot} install

%post
%{run_ldconfig}

%postun
%{run_ldconfig}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root)
%{_libdir}/libdbus-qt-1.so.1*

%files -n dbus-1-qt3-devel
%defattr(-, root, root)
%dir %{_includedir}/dbus-1.0
%dir %{_includedir}/dbus-1.0/dbus
%{_includedir}/dbus-1.0/dbus/connection.h
%{_includedir}/dbus-1.0/dbus/dbus-qt.h
%{_includedir}/dbus-1.0/dbus/message.h
%{_includedir}/dbus-1.0/dbus/server.h
%{_libdir}/libdbus-qt-1.la
%{_libdir}/libdbus-qt-1.so

%changelog -n dbus-1-qt3
* Tue Aug 01 2006 - thoenig@xxxxxxx
- split out binings to sparate spec files
++++++ dbus-qt3-compile-fix-thoenig-01.diff ++++++
--- dbus-qt3/connection.cpp 2005-04-18 05:19:17.000000000 -0600
+++ dbus-qt3/connection.cpp 2005-04-19 14:35:07.000000000 -0600
@@ -154,6 +154,7 @@

void* Connection::virtual_hook( int, void* )
{
+ return (void *)NULL;
}

void Connection::dbus_connection_setup_with_qt_main (DBusConnection *connection)
--- dbus-qt3/message.cpp 2005-04-18 05:19:17.000000000 -0600
+++ dbus-qt3/message.cpp 2005-04-19 14:55:32.000000000 -0600
@@ -359,6 +359,7 @@
Message Message::operator=( const Message& other )
{
//FIXME: ref the other.d->msg instead of copying it?
+ return (Message &)(d->msg);
}
/**
* Destructs message.
@@ -508,42 +509,49 @@
const dbus_bool_t right_size_bool = b;
dbus_message_append_args( d->msg, DBUS_TYPE_BOOLEAN, &right_size_bool,
DBUS_TYPE_INVALID );
+ return (Message &)(d->msg);
}

Message& Message::operator<<( Q_INT8 byte )
{
dbus_message_append_args( d->msg, DBUS_TYPE_BYTE, &byte,
DBUS_TYPE_INVALID );
+ return (Message &)(d->msg);
}

Message& Message::operator<<( Q_INT32 num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_INT32, &num,
DBUS_TYPE_INVALID );
+ return (Message &)(d->msg);
}

Message& Message::operator<<( Q_UINT32 num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_UINT32, &num,
DBUS_TYPE_INVALID );
+ return (Message &)(d->msg);
}

Message& Message::operator<<( Q_INT64 num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_INT64, &num,
DBUS_TYPE_INVALID );
+ return (Message &)(d->msg);
}

Message& Message::operator<<( Q_UINT64 num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_UINT64, &num,
DBUS_TYPE_INVALID );
+ return (Message &)(d->msg);
}

Message& Message::operator<<( double num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_DOUBLE, &num,
DBUS_TYPE_INVALID );
+ return (Message &)(d->msg);
}

Message& Message::operator<<( const QString& str )
@@ -551,11 +559,13 @@
const char *u = str.utf8();
dbus_message_append_args( d->msg, DBUS_TYPE_STRING, &u,
DBUS_TYPE_INVALID );
+ return (Message &)(d->msg);
}

Message& Message::operator<<( const QVariant& custom )
{
//FIXME: imeplement
+ return (Message &)(d->msg);
}

}


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread