Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431134 - gnome-extra/connman-gnome-0.7 version bump
Summary: gnome-extra/connman-gnome-0.7 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://github.com/connectivity/connm...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-12 19:45 UTC by Coacher
Modified: 2016-04-14 14:37 UTC (History)
0 users

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


Attachments
connman-gnome-0.7.ebuild (connman-gnome-0.7.ebuild,826 bytes, text/plain)
2012-08-12 22:59 UTC, Coacher
Details
connman-gnome-0.7.ebuild (connman-gnome-0.7.ebuild,758 bytes, text/plain)
2012-08-13 18:31 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2012-08-12 19:45:33 UTC
Newer version of connman-gnome is available. Repository moved to github (see bug's URL) and latest release there is 0.7. It is updated to work with ConnMan 1.0 D-BUS API (0.5 doesn't work with connman >= 1.0) so please verbump to 0.7.

Reproducible: Always
Comment 1 Coacher 2012-08-12 22:59:04 UTC
Created attachment 321168 [details]
connman-gnome-0.7.ebuild

Proposed ebuild for connman-gnome-0.7
Comment 2 Coacher 2012-08-12 23:01:53 UTC
This also fixes this bug: https://bugs.gentoo.org/show_bug.cgi?id=412771
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-13 13:15:17 UTC
Comment on attachment 321168 [details]
connman-gnome-0.7.ebuild

--- connman-gnome-0.5.ebuild    2011-03-29 15:53:42.000000000 +0200
+++ -   2012-08-13 15:13:10.505961585 +0200
@@ -1,17 +1,19 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/connman-gnome/connman-gnome-0.5.ebuild,v 1.3 2011/03/29 12:20:45 angelos Exp $
+# $Header: $
 
 EAPI="2"

-DESCRIPTION="Provides a daemon for managing internet connections"
-HOMEPAGE="http://connman.net"
-SRC_URI="mirror://kernel/linux/network/connman/${P}.tar.gz"
+DESCRIPTION="GTK client for connman daemon"
+HOMEPAGE="https://github.com/connectivity/connman-gnome"
+SRC_URI="${HOMEPAGE}/tarball/${PV} -> ${P}.tar.gz"
+GITHUB_USER="connectivity"
+GITHUB_COMMIT="4b8c91d"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~arm ~amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
 
 RDEPEND=">=dev-libs/glib-2.16
        >=sys-apps/dbus-1.2
@@ -20,7 +22,18 @@
        net-misc/connman"
 
 DEPEND="${RDEPEND}
-       >=dev-util/intltool-0.35"
+       >=dev-util/intltool-0.35
+       >=dev-lang/perl-5.8.1"
+
+S="${WORKDIR}/${GITHUB_USER}-${PN}-${GITHUB_COMMIT}"
+
+src_prepare() {
+       ${S}/bootstrap || die "bootstrap failed"
+}
+
+src_configure() {
+       econf $(use_enable nls)
+}
 
 src_install() {
        emake DESTDIR="${D}" install || die "emake install failed"


You seem to have dropped the ~arm keyword. Any particular reason why?
Also, if you set EAPI=4, you could remove the entirety of src_install()!
Comment 4 Coacher 2012-08-13 18:31:43 UTC
Created attachment 321228 [details]
connman-gnome-0.7.ebuild

(In reply to comment #3)
> You seem to have dropped the ~arm keyword. Any particular reason why?

I just don't have arm hardware and unable to test this ebuild on it. Shouldn't do this, but I am already subconsciously followed ebuild writing guidelines:(

> Also, if you set EAPI=4, you could remove the entirety of src_install()!
Good point. Thanks.

Uploaded updated version.
Comment 5 Coacher 2012-10-02 09:46:26 UTC
A friendly reminder bump :)
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2013-02-18 12:24:20 UTC
I updated the ebuild to 0.7 as i was testing connman for the fun. Open a new bug if you find problem with the update and add me to cc if required.