[share-like-connect] initial import

Jaroslav Reznik jreznik at fedoraproject.org
Tue Feb 21 17:11:35 UTC 2012


commit 30cd92b7e33d0825f970aaea86e977b6835330a6
Author: Jaroslav Reznik <jreznik at redhat.com>
Date:   Tue Feb 21 18:11:28 2012 +0100

    initial import

 .gitignore                             |    1 +
 share-like-connect-0.2-fix-build.patch |   35 ++++++++++++++
 share-like-connect.spec                |   79 ++++++++++++++++++++++++++++++++
 sources                                |    1 +
 4 files changed, 116 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..92829d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/share-like-connect-0.2.tar.bz2
diff --git a/share-like-connect-0.2-fix-build.patch b/share-like-connect-0.2-fix-build.patch
new file mode 100644
index 0000000..d59af9f
--- /dev/null
+++ b/share-like-connect-0.2-fix-build.patch
@@ -0,0 +1,35 @@
+diff -up share-like-connect-0.2/activecontentservice/activecontentwatcher.cpp.fix-build share-like-connect-0.2/activecontentservice/activecontentwatcher.cpp
+--- share-like-connect-0.2/activecontentservice/activecontentwatcher.cpp.fix-build	2011-12-12 20:50:01.000000000 +0100
++++ share-like-connect-0.2/activecontentservice/activecontentwatcher.cpp	2012-02-19 11:14:24.302479671 +0100
+@@ -93,4 +93,4 @@ void ActiveContentWatcher::Private::serv
+ 
+ } // namespace ActiveContent
+ 
+-#include "activecontent.moc"
++#include "activecontentwatcher.moc"
+diff -up share-like-connect-0.2/activecontentservice/activecontentwatcher.h.fix-build share-like-connect-0.2/activecontentservice/activecontentwatcher.h
+--- share-like-connect-0.2/activecontentservice/activecontentwatcher.h.fix-build	2011-12-12 20:50:01.000000000 +0100
++++ share-like-connect-0.2/activecontentservice/activecontentwatcher.h	2012-02-19 11:08:56.329696513 +0100
+@@ -48,7 +48,7 @@ public:
+ private:
+     Private * const d;
+ 
+-    Q_PRIVATE_SLOT(d, serviceOwnerChanged(QString,QString,QString));
++    Q_PRIVATE_SLOT(d, void serviceOwnerChanged(QString,QString,QString));
+ };
+ 
+ } // namespace ActiveContent
+diff -up share-like-connect-0.2/activecontentservice/CMakeLists.txt.fix-build share-like-connect-0.2/activecontentservice/CMakeLists.txt
+--- share-like-connect-0.2/activecontentservice/CMakeLists.txt.fix-build	2011-12-12 20:50:01.000000000 +0100
++++ share-like-connect-0.2/activecontentservice/CMakeLists.txt	2012-02-19 10:41:32.594901036 +0100
+@@ -10,8 +10,8 @@ set(activecontentservice_HEADERS
+    activecontentservice.h
+ )
+ 
+-kde4_add_library(activecontentservice ${activecontetnservice_SRCS})
+-target_link_libraries(activecontentservice ${KDE4_KDECORE_LIBS})
++kde4_add_library(activecontentservice SHARED ${activecontetnservice_SRCS})
++target_link_libraries(activecontentservice ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS})
+ 
+ install(TARGETS activecontentservice ${INSTALL_TARGETS_DEFAULT_ARGS})
+ install(FILES ${activecontentservice_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/activecontentservice COMPONENT Devel)
diff --git a/share-like-connect.spec b/share-like-connect.spec
new file mode 100644
index 0000000..9106ad7
--- /dev/null
+++ b/share-like-connect.spec
@@ -0,0 +1,79 @@
+Name:           share-like-connect
+Version:        0.2
+Release:        1%{?dist}
+Summary:        Share, like and connect concept for Plasma Active
+
+License:        LGPLv2+
+URL:            https://projects.kde.org/projects/playground/base/share-like-connect
+Source0:        ftp://ftp.kde.org/pub/kde/stable/active/2.0/src/%{name}-%{version}.tar.bz2
+
+BuildRequires:  cmake >= 2.6
+BuildRequires:  kdelibs-devel
+BuildRequires:  kactivities-devel
+BuildRequires:  kde-runtime
+
+# Fix missing linking to KDE4_QTGUI_LIBS and fix messed qt stuff
+Patch0:         share-like-connect-0.2-fix-build.patch
+
+%description
+Share, like and connect concept for Plasma Active.
+
+Share-like-connect is part of Plasma Active project.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .fix-build
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc LICENSE.LGPL-2 LICENSE.LGPL-2.1
+%{_kde4_libdir}/kde4/imports/org/kde/plasma/slccomponents/*.qml
+%{_kde4_libdir}/kde4/imports/org/kde/plasma/slccomponents/qmldir
+%{_kde4_libdir}/kde4/plasma_dataengine_sharelikeconnect.so
+%{_kde4_libdir}/kde4/sharelikeconnect_provider_*.so
+%{_kde4_libdir}/libactivecontentservice.so
+%{_kde4_libdir}/libsharelikeconnect.so
+%{_kde4_datadir}/kde4/apps/plasma/plasmoids/org.kde.sharelikeconnect/contents/ui/Icon.qml
+%{_kde4_datadir}/kde4/apps/plasma/plasmoids/org.kde.sharelikeconnect/contents/ui/sharelikeconnect.qml
+%{_kde4_datadir}/kde4/apps/plasma/plasmoids/org.kde.sharelikeconnect/metadata.desktop
+%{_kde4_datadir}/kde4/apps/plasma/services/slcservice.operations
+%{_kde4_datadir}/kde4/apps/plasma/slcmenuitems/DefaultItem.qml
+%{_kde4_datadir}/kde4/apps/plasma/slcmenuitems/org.kde.sharelikeconnect.ratingItem.qml
+%{_kde4_datadir}/kde4/services/plasma-applet-sharelikeconnect.desktop
+%{_kde4_datadir}/kde4/services/plasma-dataengine-sharelikeconnect.desktop
+%{_kde4_datadir}/kde4/services/sharelikeconnect-provider-*.desktop
+%{_kde4_datadir}/kde4/servicetypes/plasma-sharelikeconnect-provider.desktop
+
+%files devel
+%{_kde4_includedir}/activecontentservice/activecontent.h
+%{_kde4_includedir}/activecontentservice/activecontentservice.h
+
+%changelog
+* Sat Feb 18 2012 Radek Novacek <rnovacek at redhat.com> 0.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..9b39cd5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+432df8b41c6bcf807f3db66c7b676139  share-like-connect-0.2.tar.bz2


More information about the scm-commits mailing list