Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506102 - dev-libs/tinyxml2: version bump from 1.0.9 to 2.0.2
Summary: dev-libs/tinyxml2: version bump from 1.0.9 to 2.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-28 18:02 UTC by J.Borme
Modified: 2014-03-29 00:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J.Borme 2014-03-28 18:02:16 UTC
tinyxml2 1.0.9 was imported on 2012-11-23. Meanwhile, eight versions were published, currently being in 2.0.2. I think it would be good to have the new  major revision in the tree.

I used the ebuild version 1.0.9_20121123 as a basis, just commented out the patches (out of ignorance about what they do, maybe they are not useful anymore for the current version) and updated the SRC_URI. Everything compiles and my project calling tinyxml2 works fine with this version.

--- /usr/portage/dev-libs/tinyxml2/tinyxml2-1.0.9_p20121123.ebuild	2013-01-06 21:31:09.000000000 +0000
+++ tinyxml2-2.0.2.ebuild	2014-03-28 17:56:52.203307393 +0000
@@ -9,18 +9,13 @@
 
 DESCRIPTION="A simple, small, efficient, C++ XML parser"
 HOMEPAGE="http://www.grinninglizard.com/tinyxml2/"
-SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.bz2"
+SRC_URI="https://github.com/leethomason/tinyxml2/archive/${PV}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="static-libs test"
 
-PATCHES=(
-	"${FILESDIR}"/${P}-test.patch
-	"${FILESDIR}"/${PN}-1.0.1_p20120531-test-return-status.patch
-)
-
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_build static-libs STATIC_LIBS)
Comment 1 Tim Harder gentoo-dev 2014-03-28 20:14:31 UTC
How nice, upstream is finally tagging releases. :)
Comment 2 Tim Harder gentoo-dev 2014-03-29 00:31:12 UTC
Added to the tree.