Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libdynd/files: libdynd-0.6.0-dont-install-test.patch libdynd-0.6.0-optional-cblosc.patch libdynd-0.6.0-out-of-git-versioning.patch libdynd-0.6.0-respect-libdir.patch
Date: Mon, 10 Feb 2014 23:30:14
Message-Id: 20140210233010.7977C2004C@flycatcher.gentoo.org
1 bicatali 14/02/10 23:30:10
2
3 Added: libdynd-0.6.0-dont-install-test.patch
4 libdynd-0.6.0-optional-cblosc.patch
5 libdynd-0.6.0-out-of-git-versioning.patch
6 libdynd-0.6.0-respect-libdir.patch
7 Log:
8 Initial import
9
10 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
11
12 Revision Changes Path
13 1.1 dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch?rev=1.1&content-type=text/plain
17
18 Index: libdynd-0.6.0-dont-install-test.patch
19 ===================================================================
20 --- tests/CMakeLists.txt.orig 2014-02-10 14:25:18.041841087 -0800
21 +++ tests/CMakeLists.txt 2014-02-10 14:25:40.224975614 -0800
22 @@ -105,12 +105,6 @@
23 )
24 endif()
25
26 -# If installation is requested, install the program
27 -if (DYND_INSTALL_LIB)
28 - install(TARGETS test_libdynd
29 - RUNTIME DESTINATION bin)
30 -endif()
31 -
32 # Compile-time tests: test code that is supposed to produce compile errors
33 # I couldn't find a properly specified way to do this, so hacked together
34 # this function.
35
36
37
38 1.1 dev-libs/libdynd/files/libdynd-0.6.0-optional-cblosc.patch
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/files/libdynd-0.6.0-optional-cblosc.patch?rev=1.1&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/files/libdynd-0.6.0-optional-cblosc.patch?rev=1.1&content-type=text/plain
42
43 Index: libdynd-0.6.0-optional-cblosc.patch
44 ===================================================================
45 --- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
46 +++ CMakeLists.txt 2014-02-10 14:51:16.401051546 -0800
47 @@ -56,8 +56,22 @@
48 set(CMAKE_VERBOSE_MAKEFILE 1)
49
50 # Embedded libraries
51 -add_subdirectory(thirdparty/blosc)
52 -include_directories(thirdparty/blosc/blosc)
53 +option(DYND_INTERNAL_CBLOSC
54 + "Build and use the bundled c-blosc library"
55 + OFF)
56 +if(DYND_INTERNAL_CBLOSC)
57 + add_subdirectory(thirdparty/blosc)
58 + include_directories(thirdparty/blosc/blosc)
59 +else()
60 + find_path(CBLOSC_INCLUDE_DIR blosc.h)
61 + find_library(CBLOSC_LIBRARY NAMES blosc)
62 + if (CBLOSC_INCLUDE_DIR AND CBLOSC_LIBRARY)
63 + message(STATUS "Found c-blosc library: ${CBLOSC_LIBRARY}")
64 + else ()
65 + message(ERROR "No c-blosc found. Consider using internal sources.")
66 + endif()
67 +endif(DYND_INTERNAL_CBLOSC)
68 +
69 add_subdirectory(thirdparty/datetime)
70 include_directories(thirdparty/datetime/include)
71
72
73
74
75 1.1 dev-libs/libdynd/files/libdynd-0.6.0-out-of-git-versioning.patch
76
77 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/files/libdynd-0.6.0-out-of-git-versioning.patch?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/files/libdynd-0.6.0-out-of-git-versioning.patch?rev=1.1&content-type=text/plain
79
80 Index: libdynd-0.6.0-out-of-git-versioning.patch
81 ===================================================================
82 --- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
83 +++ CMakeLists.txt 2014-02-10 14:55:48.245644726 -0800
84 @@ -86,9 +86,8 @@
85 endif()
86
87 # Get the git revision
88 -include(GetGitRevisionDescriptionDyND)
89 -get_git_head_revision("${CMAKE_CURRENT_SOURCE_DIR}" GIT_REFSPEC DYND_GIT_SHA1)
90 -git_describe("${CMAKE_CURRENT_SOURCE_DIR}" DYND_VERSION_STRING --dirty --match "v[0-9]*")
91 +set(DYND_GIT_SHA1 "9f2e102e3b0c44da82feaa431bb89a5d71b40498")
92 +set(DYND_VERSION_STRING "v0.6.0")
93 message(STATUS "DyND version: ${DYND_VERSION_STRING}")
94 configure_file(
95 "${CMAKE_CURRENT_SOURCE_DIR}/src/dynd/git_version.cpp.in"
96
97
98
99 1.1 dev-libs/libdynd/files/libdynd-0.6.0-respect-libdir.patch
100
101 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/files/libdynd-0.6.0-respect-libdir.patch?rev=1.1&view=markup
102 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/files/libdynd-0.6.0-respect-libdir.patch?rev=1.1&content-type=text/plain
103
104 Index: libdynd-0.6.0-respect-libdir.patch
105 ===================================================================
106 --- CMakeLists.txt.orig 2014-02-10 14:26:48.299381259 -0800
107 +++ CMakeLists.txt 2014-02-10 14:27:42.511704585 -0800
108 @@ -481,9 +481,9 @@
109 if (DYND_INSTALL_LIB)
110 # Install the libdynd binary
111 install(TARGETS libdynd
112 - RUNTIME DESTINATION lib
113 - LIBRARY DESTINATION lib
114 - ARCHIVE DESTINATION lib/static)
115 + RUNTIME DESTINATION lib${LIB_SUFFIX}
116 + LIBRARY DESTINATION lib${LIB_SUFFIX}
117 + ARCHIVE DESTINATION lib${LIB_SUFFIX}/static)
118 # Install the libdynd headers
119 install(DIRECTORY "include/dynd" DESTINATION "${CMAKE_INSTALL_PREFIX}/include")
120 # Install the libdynd-config script