Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880847 - app-misc/geoclue + net-libs/libsoup-3.x
Summary: app-misc/geoclue + net-libs/libsoup-3.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-11-10 20:47 UTC by Vladislav Mikhailikov
Modified: 2023-01-28 22:30 UTC (History)
2 users (show)

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


Attachments
Updated ebuild (geoclue-2.6.0-r100.ebuild,2.33 KB, text/plain)
2022-11-10 20:47 UTC, Vladislav Mikhailikov
Details
Required patch for libsoup-3.x (geoclue-2.6.0-libsoup-3.2.patch,174.24 KB, patch)
2022-11-10 20:48 UTC, Vladislav Mikhailikov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav Mikhailikov 2022-11-10 20:47:14 UTC
Created attachment 830685 [details]
Updated ebuild

According to proposed upstream patch from Gnome repo (https://gitlab.freedesktop.org/msandova/geoclue/-/tree/soup3-2/) I slightly corrected ebuild to make geoclue work with soup:3.0. Tested on x64.
Comment 1 Vladislav Mikhailikov 2022-11-10 20:48:24 UTC
Created attachment 830687 [details, diff]
Required patch for libsoup-3.x
Comment 2 Vladislav Mikhailikov 2022-11-10 20:52:36 UTC
Original idea was taken from this Project:GNOME/libsoup:3 transition (https://wiki.gentoo.org/wiki/Project:GNOME/libsoup:3_transition).
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-11 23:53:07 UTC
Please link to the upstream MR(s).
Comment 4 Chris Mayo 2022-11-23 19:25:41 UTC
libsoup:3 support merged [1]. That commit can't just be applied to 2.6.0 though, as indicated by the size of the attachment here.

A snapshot ebuild can be created easily from geoclue-2.6.0.ebuild with:

COMMIT=66dbd6decf607ade17bc845c84e8cf5c5ceb8a53

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${COMMIT}.tar.bz2 -> ${P}.tar.bz2"

S="${WORKDIR}/${PN}-${COMMIT}"

(and of course updated net-libs/libsoup dependency).


On the other hand, maybe only a few weeks until a new release [2].


[1]
https://gitlab.freedesktop.org/geoclue/geoclue/-/commit/66dbd6decf607ade17bc845c84e8cf5c5ceb8a53

[2]
https://gitlab.freedesktop.org/geoclue/geoclue/-/merge_requests/129#note_1626086
Comment 5 Maciej S. Szmigiero 2023-01-28 13:16:09 UTC
FYI: Geoclue 2.7.0 was released yesterday with libsoup3.0 support.
Comment 6 Larry the Git Cow gentoo-dev 2023-01-28 22:30:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4706b7b7f08dc98878e77715b0f580e02ffbfd42

commit 4706b7b7f08dc98878e77715b0f580e02ffbfd42
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-01-28 22:18:48 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-01-28 22:20:33 +0000

    app-misc/geoclue: Version bump to 2.7.0
    
    Closes: https://bugs.gentoo.org/880847
    Closes: https://bugs.gentoo.org/892391
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-misc/geoclue/Manifest             |  1 +
 app-misc/geoclue/geoclue-2.7.0.ebuild | 81 +++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)