Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466136 - dev-cpp/yaml-cpp-0.5.1 version bump
Summary: dev-cpp/yaml-cpp-0.5.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jesus Rivero (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 468970
  Show dependency tree
 
Reported: 2013-04-16 17:56 UTC by René 'Necoro' Neumann
Modified: 2013-05-20 02:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
yaml-cpp-0.5.1.ebuild (yaml-cpp-0.5.1.ebuild,622 bytes, text/plain)
2013-04-16 17:56 UTC, René 'Necoro' Neumann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2013-04-16 17:56:55 UTC
Created attachment 345720 [details]
yaml-cpp-0.5.1.ebuild

There is a new release for yaml-cpp. The old ebuild mostly works, but I did a few changes nevertheless:

* bumped to EAPI-5
* removed the S=... line -- unnecessary now
* called cmake-utils_src_prepare for completeness sake

Please note though, that >=yaml-cpp-0.5.0 has a new API. So it might be necessary to slot it (depending on the lib's consumers).
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-17 15:47:12 UTC
Comment on attachment 345720 [details]
yaml-cpp-0.5.1.ebuild

--- yaml-cpp-0.3.0.ebuild       2012-03-28 16:50:50.000000000 +0200
+++ -   2013-04-17 17:47:05.768990491 +0200
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild,v 1.2 2012/03/28 09:15:01 scarabeus Exp $
+# $Header: $
 
-EAPI=4
+EAPI=5
 
 inherit cmake-utils
 
@@ -12,19 +12,18 @@
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND=""
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}"
-
 src_prepare() {
        sed -i \
                -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
                yaml-cpp.pc.cmake || die
 
+       cmake-utils_src_prepare
 }
 
 src_configure() {
Comment 2 Yixun Lan archtester gentoo-dev 2013-05-07 07:19:41 UTC
new app-i18n/librime release, version 0.9.9 require >=yaml-cpp-0.5.0, and I haven't bumped yet.

for the new API change, I'm not sure whether version 0.3 and 0.5 will co-exist? but if it does, we may use subslot to solve this?

thanks
Comment 3 Yixun Lan archtester gentoo-dev 2013-05-07 08:08:25 UTC
I've grep whole portage tree, seems that media-libs/opencolorio and app-i18n/librime are the only two consumers 

test 
media-libs/opencolorio-1.0.8 compile fail with yaml-cpp-0.5.1, but fine with 0.3.0

librime-0.9.9 require >= yaml-cpp-0.5.x
(<=librime-0.9.8 won't compile with yaml-cpp-0.5.1 , but ok with 0.3.0)
Comment 4 Yixun Lan archtester gentoo-dev 2013-05-16 04:28:14 UTC
hey, any progress here?
Comment 5 Jesus Rivero (RETIRED) gentoo-dev 2013-05-16 23:04:31 UTC
Thanks guys, I'll take care of this over this weekend.
Sorry for the late reply.
Comment 6 Jesus Rivero (RETIRED) gentoo-dev 2013-05-20 02:10:23 UTC
Bumped. 

I don't think we need to bother with SLOTs or SUBSLOTs just now. Lets properly adjust the deps and revisit this later if needed.