Hello community, here is the log from the commit of package QtZeitgeist for openSUSE:Factory checked in at Thu Aug 11 15:00:12 CEST 2011.
-------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/QtZeitgeist/QtZeitgeist.changes 2011-07-22 11:28:57.000000000 +0200 @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Jul 22 11:14:25 UTC 2011 - toddrme2...@gmail.com + +- Initial version \ No newline at end of file calling whatdependson for head-i586 New: ---- QtZeitgeist-0.7.0-fix_build.patch QtZeitgeist-0.7.0.tar.bz2 QtZeitgeist.changes QtZeitgeist.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ QtZeitgeist.spec ++++++ # # spec file for package QtZeitgeist # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: QtZeitgeist %define libname libqzeitgeist0 Version: 0.7.0 Release: 1 License: LGPL v2.1 Summary: Qt Zeitgeist Library Group: Development/Libraries/KDE Url: http://releases.zeitgeist-project.com/qzeitgeist/ Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libkde4-devel BuildRequires: pkg-config Patch0: QtZeitgeist-0.7.0-fix_build.patch %description Zeitgeist is a service which logs the user's activities and notifications, anywhere from files opened to websites visited and conversations, and makes this information readily available for other applications to use. It is also able to establish relationships between items based on similarity and usage patterns. This package provides the Qt interface for Zeitgeist %prep %setup -q -n %{name}-%{version}-Source %patch0 -p1 %build %cmake_kde4 -d build %make_jobs %install cd build %makeinstall %kde_post_install cd .. %package -n %{libname} License: LGPL v2.1 Summary: Qt Zeitgeist Library Group: Development/Libraries/KDE %description -n %{libname} Zeitgeist is a service which logs the user's activities and notifications, anywhere from files opened to websites visited and conversations, and makes this information readily available for other applications to use. It is also able to establish relationships between items based on similarity and usage patterns. This package provides the Qt interface for Zeitgeist %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %defattr(-,root,root) %doc README COPYING %_libdir/libqzeitgeist.so.* %package devel License: LGPL v2.1 Summary: Development files for QtZeitgeist Group: Development/Libraries/KDE Requires: %{libname} = %{version} Requires: libqt4-devel %description devel Zeitgeist is a service which logs the user's activities and notifications, anywhere from files opened to websites visited and conversations, and makes this information readily available for other applications to use. It is also able to establish relationships between items based on similarity and usage patterns. This package provides headers and libraries needed to build against the Qt interface for Zeitgeist %files devel %defattr(-,root,root) %_kde4_includedir/QtZeitgeist %_libdir/libqzeitgeist.so %_datadir/qzeitgeist %_libdir/pkgconfig/QtZeitgeist.pc %changelog ++++++ QtZeitgeist-0.7.0-fix_build.patch ++++++ --- a/CMakeLists.txt 2011-03-28 18:16:34.000000000 +0200 +++ b/CMakeLists.txt 2011-05-25 05:07:25.000000000 +0200 @@ -7,6 +7,13 @@ find_package(Qt4 4.7.0 COMPONENTS QtCore QtDBus QtTest REQUIRED) +include(CheckCXXCompilerFlag) + +check_cxx_compiler_flag(-fvisibility=hidden __HAVE_GCC_VISIBILITY) +if (__HAVE_GCC_VISIBILITY AND NOT WIN32) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") +endif (__HAVE_GCC_VISIBILITY AND NOT WIN32) + set(CPACK_PACKAGE_VERSION_MAJOR "0") set(CPACK_PACKAGE_VERSION_MINOR "7") @@ -39,7 +46,7 @@ # Generate pkg-config file configure_file(${CMAKE_SOURCE_DIR}/QtZeitgeist.pc.in ${CMAKE_BINARY_DIR}/QtZeitgeist.pc) -install(FILES ${CMAKE_BINARY_DIR}/QtZeitgeist.pc DESTINATION lib/pkgconfig) +install(FILES ${CMAKE_BINARY_DIR}/QtZeitgeist.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig) add_subdirectory(include) add_subdirectory(src) --- a/QtZeitgeist.pc.in 2011-03-28 18:16:34.000000000 +0200 +++ b/QtZeitgeist.pc.in 2011-05-25 05:07:25.000000000 +0200 @@ -1,11 +1,11 @@ prefix=${CMAKE_INSTALL_PREFIX} exec_prefix=${CMAKE_INSTALL_PREFIX} -libdir=${CMAKE_INSTALL_PREFIX}/lib +libdir=${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} includedir=${CMAKE_INSTALL_PREFIX}/include Name: QtZeitgeist Description: Qt Zeitgeist library Version: 0.0.1 Requires: QtCore QtDBus -Libs: -L${CMAKE_INSTALL_PREFIX}/lib -lQtZeitgeist +Libs: -L${libdir} -lQtZeitgeist Cflags: -I${CMAKE_INSTALL_PREFIX}/include/QtZeitgeist -I${CMAKE_INSTALL_PREFIX}/include/ --- a/include/QtZeitgeist/DataModel/datasource.h 2011-03-28 18:16:34.000000000 +0200 +++ b/include/QtZeitgeist/DataModel/datasource.h 2011-05-25 05:07:25.000000000 +0200 @@ -145,6 +145,11 @@ DataSource &datasource); }; +Q_DECL_EXPORT QDBusArgument & operator << (QDBusArgument &argument, + const DataSource &datasource); +Q_DECL_EXPORT const QDBusArgument & operator >> (const QDBusArgument &argument, + DataSource &datasource); + // Create additional types. typedef QList<DataSource> DataSourceList; --- a/include/QtZeitgeist/DataModel/event.h 2011-03-28 18:16:34.000000000 +0200 +++ b/include/QtZeitgeist/DataModel/event.h 2011-05-25 05:07:25.000000000 +0200 @@ -219,6 +219,11 @@ Event &event); }; +Q_DECL_EXPORT QDBusArgument & operator << (QDBusArgument &argument, + const Event &event); +Q_DECL_EXPORT const QDBusArgument & operator >> (const QDBusArgument &argument, + Event &event); + // Create additional types. typedef QList<Event> EventList; typedef QList<quint32> EventIdList; --- a/include/QtZeitgeist/DataModel/timerange.h 2011-03-28 18:16:34.000000000 +0200 +++ b/include/QtZeitgeist/DataModel/timerange.h 2011-05-25 05:07:25.000000000 +0200 @@ -141,6 +141,11 @@ TimeRange &event); }; +Q_DECL_EXPORT QDBusArgument & operator << (QDBusArgument &argument, + const TimeRange &event); +Q_DECL_EXPORT const QDBusArgument & operator >> (const QDBusArgument &argument, + TimeRange &event); + }; }; --- a/include/QtZeitgeist/qtzeitgeist.h 2011-03-28 18:16:34.000000000 +0200 +++ b/include/QtZeitgeist/qtzeitgeist.h 2011-05-25 05:07:25.000000000 +0200 @@ -22,6 +22,8 @@ #ifndef QTZEITGEIST_H_ #define QTZEITGEIST_H_ +#include <QtGlobal> + namespace QtZeitgeist { @@ -33,7 +35,7 @@ * registering custom types. * Note: It's really important to call this function before using the library. */ -void init(); +Q_DECL_EXPORT void init(); }; #endif // QTZEITGEIST_H_ --- a/src/CMakeLists.txt 2011-03-28 18:16:34.000000000 +0200 +++ b/src/CMakeLists.txt 2011-05-25 05:07:25.000000000 +0200 @@ -47,5 +47,5 @@ add_library(qzeitgeist SHARED ${library_SRCS} ${library_MOC_SRCS}) target_link_libraries(qzeitgeist ${QT_LIBRARIES} ${QDBUS_LDFLAGS}) set_target_properties(qzeitgeist PROPERTIES VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}" SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}) -install(TARGETS qzeitgeist EXPORT QZeitgeistExport DESTINATION ${CMAKE_INSTALL_PREFIX}/lib) +install(TARGETS qzeitgeist EXPORT QZeitgeistExport DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}) install(EXPORT QZeitgeistExport DESTINATION ${CMAKE_INSTALL_PREFIX}/share/qzeitgeist/cmake NAMESPACE QZEITGEIST_) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org