I have made the following changes intended for :
  CE:UX:MTF / profiled

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/5981

Thank You,
Marko Saukko

[This message was auto-generated]

---

Request # 5981:

Messages from BOSS:

State: review at 2012-08-21T16:14:31 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: Project:MTF:UX / profiled -> CE:UX:MTF / profiled
  
changes files:
--------------
--- profiled.changes
+++ profiled.changes
@@ -0,0 +1,3 @@
+* Tue Aug 21 2012 Marko Saukko <[email protected]> - 0.30.2.1
+- Fix compile with new glib: profiled-0.30.2.1-fix-linking-with-new-glib.patch
+

new:
----
  profiled-0.30.2.1-fix-linking-with-new-glib.patch

spec files:
-----------
--- profiled.spec
+++ profiled.spec
@@ -1,11 +1,13 @@
 # 
 # Do NOT Edit the Auto-generated Part!
-# Generated by: spectacle version 0.23
+# Generated by: spectacle version 0.25
 # 
+
+Name:       profiled
+
 # >> macros
 # << macros
 
-Name:       profiled
 Summary:    Profile daemon, manages user settings
 Version:    0.30.2.1
 Release:    1
@@ -14,6 +16,7 @@
 URL:        http://meego.gitorious.org/meego-middleware/profiled
 Source0:    %{name}-%{version}.tar.bz2
 Source100:  profiled.yaml
+Patch0:     profiled-0.30.2.1-fix-linking-with-new-glib.patch
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 BuildRequires:  pkgconfig(dbus-1)
@@ -21,7 +24,6 @@
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  doxygen
 
-
 %description
 Gets default set of settings from profile data packages
 that are installed on the device .
@@ -33,7 +35,6 @@
 active clients can be avare of changes without polling.
 
 
-
 %package doc
 Summary:    API documentation for libprofile
 Group:      Documentation
@@ -69,6 +70,8 @@
 %prep
 %setup -q -n ./%{name}-%{version}
 
+# profiled-0.30.2.1-fix-linking-with-new-glib.patch
+%patch0 -p1
 # >> setup
 # << setup
 
@@ -81,6 +84,7 @@
 # >> build post
 
 # << build post
+
 %install
 rm -rf %{buildroot}
 # >> install pre
@@ -96,21 +100,10 @@
 # << install post
 
 
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
-
-
-
-
-
-
-
-
-
-
 %files
 %defattr(-,root,root,-)
 # >> files
@@ -124,7 +117,6 @@
 %{_datadir}/dbus-1/services/profiled.service
 # << files
 
-
 %files doc
 %defattr(-,root,root,-)
 # >> files doc
@@ -145,4 +137,3 @@
 %{_libdir}/libprofile.so
 %{_libdir}/pkgconfig/profile.pc
 # << files devel
-

other changes:
--------------

++++++ profiled-0.30.2.1-fix-linking-with-new-glib.patch (new)
--- profiled-0.30.2.1-fix-linking-with-new-glib.patch
+++ profiled-0.30.2.1-fix-linking-with-new-glib.patch
@@ -0,0 +1,27 @@
+From 61e1575f4c8820a54398fe9aed3f861fbaaa98fb Mon Sep 17 00:00:00 2001
+From: Marko Saukko <[email protected]>
+Date: Tue, 21 Aug 2012 15:13:30 +0000
+Subject: [PATCH] Fix linking with new glib by adding missing library to
+ linking.
+
+Signed-off-by: Marko Saukko <[email protected]>
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index a35edaf..1aeaef5 100644
+--- a/Makefile
++++ b/Makefile
+@@ -80,7 +80,7 @@ PKG_CFLAGS   := $(filter-out -I%, $(filter-out -D%, 
$(PKG_CFLAGS)))
+ 
+ CPPFLAGS += $(PKG_CPPFLAGS)
+ CFLAGS   += $(PKG_CFLAGS)
+-LDLIBS   += $(PKG_LDLIBS)
++LDLIBS   += $(PKG_LDLIBS) -lrt
+ 
+ ifeq ($(USE_SYSTEM_BUS),y)
+ CPPFLAGS += -DUSE_SYSTEM_BUS
+-- 
+1.7.10.3
+

++++++ profiled.yaml
--- profiled.yaml
+++ profiled.yaml
@@ -7,6 +7,8 @@
 URL: http://meego.gitorious.org/meego-middleware/profiled
 Sources:
     - "%{name}-%{version}.tar.bz2"
+Patches:
+    - profiled-0.30.2.1-fix-linking-with-new-glib.patch
 Description: |
     Gets default set of settings from profile data packages
     that are installed on the device .



Reply via email to