Hello community,

here is the log from the commit of package uhd for openSUSE:Factory checked in 
at 2016-01-01 19:48:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uhd (Old)
 and      /work/SRC/openSUSE:Factory/.uhd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uhd"

Changes:
--------
--- /work/SRC/openSUSE:Factory/uhd/uhd.changes  2015-10-20 00:05:05.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.uhd.new/uhd.changes     2016-01-01 
19:50:04.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Dec 27 22:45:13 UTC 2015 - [email protected]
+
+- Add patch for correctly installing the C-API header files
+  * 0003-uhd-C-API-wrapper-fix-commit-30f87afcba71a07.patch
+
+-------------------------------------------------------------------

New:
----
  0003-uhd-C-API-wrapper-fix-commit-30f87afcba71a07.patch

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

Other differences:
------------------
++++++ uhd.spec ++++++
--- /var/tmp/diff_new_pack.HbGaTI/_old  2016-01-01 19:50:05.000000000 +0100
+++ /var/tmp/diff_new_pack.HbGaTI/_new  2016-01-01 19:50:05.000000000 +0100
@@ -28,6 +28,7 @@
 Url:            
http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki
 Source0:        
http://files.ettus.com/binaries/uhd_stable/uhd_%{src_ver}-release/uhd-%{version}.tar.gz
 Source1:        
http://files.ettus.com/binaries/images/uhd-images_%{img_ver}-release.tar.gz
+Patch0:         0003-uhd-C-API-wrapper-fix-commit-30f87afcba71a07.patch
 BuildRequires:  boost-devel >= 1.36
 BuildRequires:  cmake >= 2.6
 BuildRequires:  docutils
@@ -36,9 +37,9 @@
 BuildRequires:  gcc-c++
 BuildRequires:  orc
 BuildRequires:  pkg-config
+BuildRequires:  python-Mako >= 0.4
 BuildRequires:  python-cheetah >= 2.0.0
 BuildRequires:  python-devel >= 2.6
-BuildRequires:  python-Mako >= 0.4
 BuildRequires:  udev
 BuildRequires:  pkgconfig(libusb-1.0)
 BuildRequires:  pkgconfig(libxml-2.0)
@@ -109,7 +110,7 @@
 
 %prep
 %setup -q 
-#patch0 -p1
+%patch0 -p2
 
 # remove buildtime from documentation
 echo "HTML_TIMESTAMP         = NO" >> docs/Doxyfile.in

++++++ 0003-uhd-C-API-wrapper-fix-commit-30f87afcba71a07.patch ++++++
>From fee054dfaf9cf4dc389c8b35ee28c45c2dc63952 Mon Sep 17 00:00:00 2001
From: Moritz Fischer <[email protected]>
Date: Wed, 23 Sep 2015 15:16:10 -0700
Subject: [PATCH 3/3] uhd: C API wrapper, fix commit 30f87afcba71a07

The uhd/usrp_clock/usrp_clock.h doesn't get properly installed,
which isn't a big deal if examples are built in tree, but if
someone attempts to build a C application against libuhd,
uhd.h pulls in <uhd/usrp/usrp_clock.h> and fails as follows:

fatal error: uhd/usrp_clock/usrp_clock.h: No such file or directory

Signed-off-by: Moritz Fischer <[email protected]>
---
 host/include/uhd/usrp_clock/CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/host/include/uhd/usrp_clock/CMakeLists.txt 
b/host/include/uhd/usrp_clock/CMakeLists.txt
index 518cb77..c8c0e43 100644
--- a/host/include/uhd/usrp_clock/CMakeLists.txt
+++ b/host/include/uhd/usrp_clock/CMakeLists.txt
@@ -24,6 +24,8 @@ UHD_INSTALL(FILES
 
 IF(ENABLE_C_API)
     UHD_INSTALL(FILES
-        usrp_clock.h
+    usrp_clock.h
+    DESTINATION ${INCLUDE_DIR}/uhd/usrp_clock
+    COMPONENT headers
     )
 ENDIF(ENABLE_C_API)
-- 
2.1.4


Reply via email to