Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577130 - sci-astronomy/stellarium-0.14.2 always disables TelescopeControl
Summary: sci-astronomy/stellarium-0.14.2 always disables TelescopeControl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-12 09:37 UTC by nkurtov
Modified: 2018-11-10 14:02 UTC (History)
0 users

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 nkurtov 2016-03-12 09:37:43 UTC
TelescopeControl does not work in sci-astronomy/stellarium-0.14.2, the ebuild contains this comment:
# Turn off TelescopeControl since dev-qt/qtserialport isn't
# marked stable and is missing keywords besides.

The workaround is to build stellarium from head, it detects qtserialport and enables support for TelescopeControl.

Please support TelescopeControl in the ebuilds.
Comment 1 Chris 2017-05-02 13:13:56 UTC
cat stellarium-0.15.1.ebuild-diff.patch 
--- /usr/portage/sci-astronomy/stellarium/stellarium-0.15.1.ebuild      2017-03-20 00:23:41.000000000 +1100
+++ /usr/local/portage/sci-astronomy/stellarium/stellarium-0.15.1.ebuild        2017-04-23 23:48:29.939963707 +1000
@@ -19,7 +19,7 @@
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug media nls stars"
+IUSE="debug media nls serial stars"
 
 RESTRICT="test" # There are no tests
 
@@ -34,7 +34,8 @@
        dev-qt/qtwidgets:5
        virtual/opengl
        sys-libs/zlib
-       media? ( dev-qt/qtmultimedia:5[widgets] )"
+       media? ( dev-qt/qtmultimedia:5[widgets] )
+       serial? ( dev-qt/qtserialport:5 )"
 DEPEND="${RDEPEND}
        dev-qt/qttest:5
        dev-qt/qtconcurrent:5
@@ -61,12 +62,6 @@
                        -e 's/STRING(REGEX REPLACE ".po" "" \([a-z]*\).*$/SET(\1 '"${L10N//-/_})/" \
                        po/stellarium{,-skycultures,-remotecontrol}/CMakeLists.txt || die #403647
        fi
-       # Turn off TelescopeControl since dev-qt/qtserialport isn't
-       # marked stable and is missing keywords besides.
-       sed -i \
-               -e '/SimpleDrawLine/  s:0:1:g' \
-               -e '/TelescopeControl/s:1:0:g' \
-               CMakeLists.txt || die
        use debug || append-cppflags -DQT_NO_DEBUG #415769
 }

### Patch works for me, I have telescope control ( Skywatcher SynScan v3 Dobson GoTo ) Via USB -> Serial cable I also set a serial use flag so you could pull in the qtserialport package as not everyone may or may not want the whole KDE environment . i hope this helps.
Comment 2 Samuel Bauer 2018-02-08 20:27:44 UTC
+1 for the telescope control via serial, I know some people that are really interested in seeing astronomical free software progressing.
The sad counterpart is that gentoo user not owning telescope are now forced to compile qtserialport. Latest, unstable, ebuilds do not expose a flag to drop telescope support.

comment #1
> I also set a serial use flag so you could pull in the qtserialport package
> as not everyone may or may not want the whole KDE environment.
> i hope this helps.

I would rather suggest 'telescope', as a self descriptive use flag name.
Comment 3 Andreas Sturmlechner gentoo-dev 2018-11-10 14:02:35 UTC
0.16.0-r1 depends on dev-qt/qtserialport.