Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429722 - Version bump app-admin/elektra-0.8.3
Summary: Version bump app-admin/elektra-0.8.3
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-03 20:48 UTC by Tomáš Chvátal (RETIRED)
Modified: 2012-12-14 15:49 UTC (History)
2 users (show)

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


Attachments
elektra-0.8.3.ebuild (elektra-0.8.3.ebuild,1.70 KB, text/plain)
2012-10-28 12:26 UTC, Andreas Sturmlechner
Details
elektra-0.8.3.ebuild.diff (elektra-0.8.3.ebuild.diff,2.70 KB, patch)
2012-11-01 19:01 UTC, Andreas Sturmlechner
Details | Diff
elektra-0.8.3-fix-yajl-if-user-config.patch (elektra-0.8.3-fix-yajl-if-user-config.patch,814 bytes, patch)
2012-11-01 19:07 UTC, Andreas Sturmlechner
Details | Diff
elektra-0.8.3-introduce-attributes.patch (elektra-0.8.3-introduce-attributes.patch,806 bytes, patch)
2012-11-01 19:07 UTC, Andreas Sturmlechner
Details | Diff
elektra-0.8.3.ebuild-r1.diff (elektra-0.8.3.ebuild.diff,2.69 KB, patch)
2012-11-02 01:15 UTC, Andreas Sturmlechner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-03 20:48:37 UTC
Please update elektra to latest version.

They switched the buildsystem to cmake.

The SRC_URI changed now it is not PN/P but PN/releases/P.
Comment 1 Andreas Sturmlechner gentoo-dev 2012-10-27 13:31:43 UTC
Current version: 0.8.3
Comment 2 Andreas Sturmlechner gentoo-dev 2012-10-28 12:26:43 UTC
Created attachment 327578 [details]
elektra-0.8.3.ebuild

Turns out I'd give it a try. Find attached my first try at an ebuild for cmake-based elektra-0.8.3.

What works not:
- man files are installed in wrong location, but at least that way there is no file collision with sys-apps/man-pages (.../man3/err.3)
- build with USE="yajl" currently errors out
- media-libs/oyranos-0.4.0 won't build against that version. hopefully 0.9 will have sorted that out
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2012-10-28 13:06:23 UTC
Wrong:

s/elektra-api/elektra-${PV}

Correct:

s/elektra-api/elektra-${PF}

;;

Wrong:

PLUGINS="${PLUGINS};doc"

Correct:

PLUGINS+=";doc"

;;

And also define the plugins as local variable for configure scope.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2012-10-28 13:06:46 UTC
And you lack quotes over $S and die on that sed
Comment 5 Andreas Sturmlechner gentoo-dev 2012-11-01 19:01:20 UTC
Created attachment 327972 [details, diff]
elektra-0.8.3.ebuild.diff

Second attempt:
- fixed quotation and PLUGIN var
- moar USE-flags
- yajl plugin only builds with <dev-libs/yajl-2
- two patches to fix QA issues related to yail plugin
- man files renaming inspired by media-libs/allegro ebuild
- couldn't find a better way around the original man file location as to simply delete it after install...

Submitting this as patch over the old one.


Plus: I already had a successful oyranos-0.9.0 (released yesterday) build against elektra-0.8.3 with a slightly altered oyranos-0.4.0.ebuild.
Comment 6 Andreas Sturmlechner gentoo-dev 2012-11-01 19:07:30 UTC
Created attachment 327974 [details, diff]
elektra-0.8.3-fix-yajl-if-user-config.patch
Comment 7 Andreas Sturmlechner gentoo-dev 2012-11-01 19:07:46 UTC
Created attachment 327976 [details, diff]
elektra-0.8.3-introduce-attributes.patch
Comment 8 Michael Weber (RETIRED) gentoo-dev 2012-11-02 00:24:48 UTC
Thanks for the contribution, I look into it tomorrow morning.
Comment 9 Andreas Sturmlechner gentoo-dev 2012-11-02 01:15:04 UTC
Created attachment 328012 [details, diff]
elektra-0.8.3.ebuild-r1.diff

fixes stupid duplicate USE flag
Comment 10 Michael Weber (RETIRED) gentoo-dev 2012-11-04 10:40:53 UTC
+*elektra-0.8.3 (04 Nov 2012)
+
+  04 Nov 2012; Michael Weber <xmw@gentoo.org> +elektra-0.8.3.ebuild,
+  +files/elektra-0.8.3-fix-yajl-if-user-config.patch,
+  +files/elektra-0.8.3-introduce-attributes.patch:
+  Version bump, big thanks to Andreas Sturmlechner doing all the work on bug
+  429722.
Comment 11 Michael Weber (RETIRED) gentoo-dev 2012-11-04 10:42:15 UTC
@Andreas: Do you know a current homepage/website of this project? the HOMEPAGE variable points to an outdated sourceforge page.
Comment 12 Andreas Sturmlechner gentoo-dev 2012-11-04 11:48:35 UTC
markus-raab.org links to www.libelektra.org which currently forwards to http://freedesktop.org/wiki/Software/Elektra

thx for credits :)
Comment 13 Michael Weber (RETIRED) gentoo-dev 2012-11-04 12:04:17 UTC
+  04 Nov 2012; Michael Weber <xmw@gentoo.org> elektra-0.7.1-r2.ebuild,
+  elektra-0.8.3.ebuild:
+  Update HOMEPAGE
Comment 14 Andreas Sturmlechner gentoo-dev 2012-12-14 15:49:58 UTC
I looked at the in-portage ebuild again and noticed that it still contains the duplicate 'simpleini' flag (which doesn't do anything).