public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-libs/boost-compute/files/, dev-libs/boost-compute/
@ 2015-06-05 10:47 Justin Lecher
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2015-06-05 10:47 UTC (permalink / raw
  To: gentoo-commits

commit:     1d6b89951f6d82039c7d2216c4a774bde14be8bd
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Jun  5 10:10:59 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun  5 10:10:59 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=1d6b8995

dev-libs/boost-compute: Fix BoostComputeConfig.cmake location

Package-Manager: portage-2.2.18

 dev-libs/boost-compute/ChangeLog                           |  9 ++++++++-
 ...oost-compute-0.4.ebuild => boost-compute-0.4-r1.ebuild} |  0
 dev-libs/boost-compute/boost-compute-9999.ebuild           |  4 ++++
 .../boost-compute/files/boost-compute-0.4-CMakeLists.patch | 14 ++++++++++++++
 4 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/dev-libs/boost-compute/ChangeLog b/dev-libs/boost-compute/ChangeLog
index eefb055..37d9336 100644
--- a/dev-libs/boost-compute/ChangeLog
+++ b/dev-libs/boost-compute/ChangeLog
@@ -1,10 +1,17 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*boost-compute-0.4-r1 (05 Jun 2015)
+
+  05 Jun 2015; Marius Brehler <marbre@linux.sungazer.de>
+  +boost-compute-0.4-r1.ebuild, +files/boost-compute-0.4-CMakeLists.patch,
+  -boost-compute-0.4.ebuild, boost-compute-9999.ebuild:
+  Fix BoostComputeConfig.cmake location
+
 *boost-compute-9999 (01 Feb 2015)
 *boost-compute-0.4 (01 Feb 2015)
 
   01 Feb 2015; Marius Brehler <marbre@linux.sungazer.de>
   +metadata.xml, +boost-compute-9999.ebuild, +boost-compute-0.4.ebuild:
   Add Boost.Compute to overlay
- 
\ No newline at end of file
+ 

diff --git a/dev-libs/boost-compute/boost-compute-0.4.ebuild b/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild
similarity index 100%
rename from dev-libs/boost-compute/boost-compute-0.4.ebuild
rename to dev-libs/boost-compute/boost-compute-0.4-r1.ebuild

diff --git a/dev-libs/boost-compute/boost-compute-9999.ebuild b/dev-libs/boost-compute/boost-compute-9999.ebuild
index 320fa9d..b9b09c9 100644
--- a/dev-libs/boost-compute/boost-compute-9999.ebuild
+++ b/dev-libs/boost-compute/boost-compute-9999.ebuild
@@ -26,3 +26,7 @@ RDEPEND="
 	virtual/opencl
 "
 DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}"-0.4-CMakeLists.patch
+)

diff --git a/dev-libs/boost-compute/files/boost-compute-0.4-CMakeLists.patch b/dev-libs/boost-compute/files/boost-compute-0.4-CMakeLists.patch
new file mode 100644
index 0000000..86d3a9e
--- /dev/null
+++ b/dev-libs/boost-compute/files/boost-compute-0.4-CMakeLists.patch
@@ -0,0 +1,14 @@
+Install the BoostComputeConfig to /usr/lib/cmake instead of /usr/share/cmake.
+
+Patch by Marius Brehler.
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -81,7 +81,7 @@ configure_file(
+ # install cmake config file
+ install(
+   FILES ${BoostCompute_BINARY_DIR}/BoostComputeConfig.cmake
+-  DESTINATION share/cmake/BoostCompute
++  DESTINATION lib/cmake/BoostCompute
+ )
+ 
+ # install header files


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-libs/boost-compute/files/, dev-libs/boost-compute/
@ 2015-09-09  7:11 Justin Lecher
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2015-09-09  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     4912235ae628f7dcbfb9988813f168e737e05aba
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Sep  8 09:12:34 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep  8 09:12:34 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4912235a

dev-libs/boost-compute: Install includes to /usr/include/boost/compute

Package-Manager: portage-2.2.20.1

 dev-libs/boost-compute/ChangeLog                   |  8 ++++++++
 dev-libs/boost-compute/boost-compute-0.4-r1.ebuild |  1 -
 ...ute-9999.ebuild => boost-compute-0.4-r2.ebuild} | 22 +++++++++-------------
 dev-libs/boost-compute/boost-compute-9999.ebuild   | 21 +++++++--------------
 ...te-0.4-Fix-install-destination-of-headers.patch | 22 ++++++++++++++++++++++
 5 files changed, 46 insertions(+), 28 deletions(-)

diff --git a/dev-libs/boost-compute/ChangeLog b/dev-libs/boost-compute/ChangeLog
index 1beef49..e7d434f 100644
--- a/dev-libs/boost-compute/ChangeLog
+++ b/dev-libs/boost-compute/ChangeLog
@@ -1,6 +1,14 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+*boost-compute-0.4-r2 (08 Sep 2015)
+
+  08 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+  +boost-compute-0.4-r2.ebuild,
+  +files/boost-compute-0.4-Fix-install-destination-of-headers.patch,
+  -boost-compute-0.4-r1.ebuild, boost-compute-9999.ebuild:
+  dev-libs/boost-compute: Install includes to /usr/include/boost/compute
+
   05 Jun 2015; Marius Brehler <marbre@linux.sungazer.de>
   boost-compute-9999.ebuild, metadata.xml:
   dev-libs/boost-compute: Update HOMEPAGE, SRC_URI and github remote-id: project

diff --git a/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild b/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild
deleted file mode 120000
index 9782d2a..0000000
--- a/dev-libs/boost-compute/boost-compute-0.4-r1.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-boost-compute-9999.ebuild
\ No newline at end of file

diff --git a/dev-libs/boost-compute/boost-compute-9999.ebuild b/dev-libs/boost-compute/boost-compute-0.4-r2.ebuild
similarity index 51%
copy from dev-libs/boost-compute/boost-compute-9999.ebuild
copy to dev-libs/boost-compute/boost-compute-0.4-r2.ebuild
index 93b8d7b..bd588d2 100644
--- a/dev-libs/boost-compute/boost-compute-9999.ebuild
+++ b/dev-libs/boost-compute/boost-compute-0.4-r2.ebuild
@@ -8,25 +8,21 @@ inherit eutils cmake-utils
 
 DESCRIPTION="A header-only C++ Computing Library for OpenCL"
 HOMEPAGE="https://github.com/boostorg/compute"
+SRC_URI="https://github.com/boostorg/compute/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+S="${WORKDIR}/compute-${PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0"
-if [[ ${PV} == "9999" ]] ; then
-	EGIT_REPO_URI="https://github.com/boostorg/compute.git git://github.com/boostorg/compute.git"
-	inherit git-r3
-	KEYWORDS=""
-else
-	SRC_URI="https://github.com/boostorg/compute/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-	S="${WORKDIR}/compute-${PV}"
-fi
+
+PATCHES=(
+	"${FILESDIR}/${P}"-Fix-install-destination-of-headers.patch
+	"${FILESDIR}/${P}"-CMakeLists.patch
+)
+
 
 RDEPEND="
 	dev-libs/boost
 	virtual/opencl
 "
 DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}"-0.4-CMakeLists.patch
-)

diff --git a/dev-libs/boost-compute/boost-compute-9999.ebuild b/dev-libs/boost-compute/boost-compute-9999.ebuild
index 93b8d7b..f4c2059 100644
--- a/dev-libs/boost-compute/boost-compute-9999.ebuild
+++ b/dev-libs/boost-compute/boost-compute-9999.ebuild
@@ -4,29 +4,22 @@
 
 EAPI=5
 
-inherit eutils cmake-utils
+inherit eutils cmake-utils git-r3
 
 DESCRIPTION="A header-only C++ Computing Library for OpenCL"
 HOMEPAGE="https://github.com/boostorg/compute"
+EGIT_REPO_URI="https://github.com/boostorg/compute.git git://github.com/boostorg/compute.git"
+KEYWORDS=""
 
 LICENSE="Boost-1.0"
 SLOT="0"
-if [[ ${PV} == "9999" ]] ; then
-	EGIT_REPO_URI="https://github.com/boostorg/compute.git git://github.com/boostorg/compute.git"
-	inherit git-r3
-	KEYWORDS=""
-else
-	SRC_URI="https://github.com/boostorg/compute/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-	S="${WORKDIR}/compute-${PV}"
-fi
+
+PATCHES=(
+	"${FILESDIR}/${PN}"-0.4-Fix-install-destination-of-headers.patch
+)
 
 RDEPEND="
 	dev-libs/boost
 	virtual/opencl
 "
 DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}"-0.4-CMakeLists.patch
-)

diff --git a/dev-libs/boost-compute/files/boost-compute-0.4-Fix-install-destination-of-headers.patch b/dev-libs/boost-compute/files/boost-compute-0.4-Fix-install-destination-of-headers.patch
new file mode 100644
index 0000000..c37ddd5
--- /dev/null
+++ b/dev-libs/boost-compute/files/boost-compute-0.4-Fix-install-destination-of-headers.patch
@@ -0,0 +1,22 @@
+From 3df0527cad686a4e9a3cd84ead97702cf8964da3 Mon Sep 17 00:00:00 2001
+From: Marius Brehler <marius.brehler@tu-dortmund.de>
+Date: Tue, 8 Sep 2015 10:35:56 +0200
+Subject: [PATCH] Fix install destination of headers
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3695681..56b47b6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -109,4 +109,4 @@ install(
+ )
+ 
+ # install header files
+-install(DIRECTORY include/boost DESTINATION include/compute)
++install(DIRECTORY include/boost DESTINATION include)
+-- 
+2.4.6
+


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-09  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05 10:47 [gentoo-commits] proj/sci:master commit in: dev-libs/boost-compute/files/, dev-libs/boost-compute/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2015-09-09  7:11 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox