* [gentoo-user] kstars and indilib
@ 2018-12-07 22:36 Alexander Puchmayr
2018-12-08 4:50 ` David Haller
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Puchmayr @ 2018-12-07 22:36 UTC (permalink / raw
To: gentoo-user
Hi there,
I tried to compile kstars with useflag indi, but the provided version in
portage is too old:
[build.log from kstars]
-- Checking for module 'libindi'
-- Found libindi, version 1.6.0
-- INDI version 1.5.0 found in /usr/include/libindi, but at least version
1.7.1 is required
-- INDI version 1.5.0 found in /usr/include/libindi, but at least version
1.7.1 is required
-- Found INDI: /usr/lib/libindiclient.a, /usr/include/libindi
I have no idea why it pretends to find indi-1.5.0, when 1.6 is installed :-(
Version 1.6 is currently the only version in portage, which renders the useflag
"indi" for kstars useless, as the resulting kstars binary does not support
indi.
https://indilib.org/download/gentoo.html shows a way to add an overlay, but
the repo proposed does not exist anymore.
Where do I find a ebuild for installing at least indilib-1.7.1?
Regards
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] kstars and indilib
2018-12-07 22:36 [gentoo-user] kstars and indilib Alexander Puchmayr
@ 2018-12-08 4:50 ` David Haller
2018-12-08 18:43 ` Alexander Puchmayr
0 siblings, 1 reply; 3+ messages in thread
From: David Haller @ 2018-12-08 4:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]
Hello,
On Fri, 07 Dec 2018, Alexander Puchmayr wrote:
>I tried to compile kstars with useflag indi, but the provided version in
>portage is too old:
>
>[build.log from kstars]
>1.7.1 is required
>1.7.1 is required
>
>I have no idea why it pretends to find indi-1.5.0, when 1.6 is installed :-(
Could be some cmake thingy ;)
>Version 1.6 is currently the only version in portage, which renders
>the useflag "indi" for kstars useless, as the resulting kstars binary
>does not support indi.
>
>https://indilib.org/download/gentoo.html shows a way to add an overlay, but
>the repo proposed does not exist anymore.
>
>Where do I find a ebuild for installing at least indilib-1.7.1?
Just updated the one in the tree in my local overlay, see attached
indilib-1.7.5.ebuild.
Oh, and I updated sci-astronomy/kstars to 2.9.8 there too, see also
attached inside a tarball with patches... Oh, a note on that, I've
added the knewstuff IUSE as I like to disable that generally, but as
it's a '+'ed, you should be fine. Not sure what the qtdatavis3d
feature does that I've added, I'm new to the program. ;) Hope I didn't
bork the Manifest while editing/packing/editing/packing... ;)
Any Questions?
HTH,
-dnh
--
> (Diva's Law of Software: quality is inversely proportional to price.)
Stevo's Addendum to Diva's Law of Software: But try explaining that to the PHB
[-- Attachment #2: sci-libs/indilib/indilib-1.7.5.ebuild --]
[-- Type: text/plain, Size: 1142 bytes --]
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PN="${PN/lib/}"
CMAKE_MAKEFILE_GENERATOR=emake
inherit cmake-utils udev
DESCRIPTION="INDI Astronomical Control Protocol library"
HOMEPAGE="http://www.indilib.org/"
SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}/${MY_PN}_${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+"
SLOT="0/1"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
IUSE="ogg test"
RDEPEND="
net-misc/curl
sci-libs/cfitsio:=
sci-libs/gsl:=
sci-libs/libnova
sys-libs/zlib:=
virtual/jpeg:0
virtual/libusb:0
ogg? (
media-libs/libogg
media-libs/libtheora
)
"
DEPEND="${RDEPEND}
sys-kernel/linux-headers
test? ( >=dev-cpp/gtest-1.8.0 )
"
DOCS=( AUTHORS ChangeLog COPYRIGHT README )
S=${WORKDIR}/${MY_PN}-${PV}/libindi
src_configure() {
local mycmakeargs=(
-DINDI_BUILD_QT5_CLIENT=OFF
-DINDI_BUILD_UNITTESTS=$(usex test)
-DUDEVRULES_INSTALL_DIR="$(get_udevdir)"
$(cmake-utils_use_find_package ogg OggTheora)
)
cmake-utils_src_configure ${S}/libindi
}
src_test() {
BUILD_DIR="${BUILD_DIR}"/test cmake-utils_src_test
}
[-- Attachment #3: sci-astronomy/kstars.tar.gz --]
[-- Type: application/x-compressed-tar, Size: 4048 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] kstars and indilib
2018-12-08 4:50 ` David Haller
@ 2018-12-08 18:43 ` Alexander Puchmayr
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Puchmayr @ 2018-12-08 18:43 UTC (permalink / raw
To: gentoo-user
Am Samstag, 8. Dezember 2018, 05:50:59 CET schrieb David Haller:
> Hello,
>
> Just updated the one in the tree in my local overlay, see attached
> indilib-1.7.5.ebuild.
>
Thanks a lot, works fine!
But there's still the problem that the stable version of kstars does not check
the correct version of indi and compiles a version not supporting it although
the use flag has been set.
Do you create a bug report for kstars or shall I do it?
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-08 18:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-07 22:36 [gentoo-user] kstars and indilib Alexander Puchmayr
2018-12-08 4:50 ` David Haller
2018-12-08 18:43 ` Alexander Puchmayr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox