Re: [gentoo-user] kstars and indilib

2018-12-07 Thread David Haller
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
# 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
}


kstars.tar.gz
Description: sci-astronomy/kstars.tar.gz


[gentoo-user] Re: configure.ac and Makefile.am easy_view ?

2015-03-28 Thread James
Todd Goodman tsg at bonedaddy.net writes:


 * Michael Orlitzky mjo at gentoo.org [150328 12:11]:
  On 03/28/2015 10:36 AM, James wrote:
   James wireless at tampabay.rr.com writes:

   Often, I need to inspect and ponder these files: configure.ac 
   and Makefile
   .am for a given ebuild. Is there an easy way to look at them without 
   compiling the ebuild ? 


  Those files are part of the upstream tarball. The easiest way to fetch
  the sources without compiling them is with `emerge -f`. Then you can
  copy the tarball out of $DISTDIR and unpack it somewhere.

  Some ebuilds may patch configure.ac or Makefile.am -- in that case it's
  a little harder. I'm sure there's an elegant way to do it, but what I
  usually do is begin to emerge the package and Ctrl-C it when it starts
  compiling. Then you can find the sources under /var/tmp/portage.

 Wouldn't 'ebuild ebuild_file_name prepare' do what you want without
 trying to time a Ctrl-C?


The man page says: Prepares  the extracted sources by running the
src_prepare() function specified in the ebuild file. When src_prepare()
starts, the  current working  directory  will  be  set to ${S}.

I work with /usr/local/portage/* on a variety of new ebuilds and other
hacks. Sometime these  files under /var/tmp/portage are persistent and
sometimes they are not. I'm not sure where you set the rules (configs?)
to keep various files around a while after cleaning up. Surely I've
experimented with the ebuilds of new codes I'm putting together, so
I look for guidance and a semantic that other, more experienced folks use
with ebuilds. I just compiled seamonkey last night (Installed versions: 
2.33.1(12:56:48 AM 03/28/2015) and it is not there, but I also installed
firefox and it is there in (var/tmp/portage/www-client/firefox-24.5.0/)

 so # find . -print | grep -i '.*[.]ac'

./work/mozilla-esr24/toolkit/crashreporter/google-breakpad/configure.ac
./work/mozilla-esr24/toolkit/crashreporter/google-breakpad/src/
third_party/glog/configure.ac
./work/mozilla-esr24/js/src/ctypes/libffi/configure.ac
./work/mozilla-esr24/memory/jemalloc/src/configure.ac
./work/mozilla-esr24/gfx/harfbuzz/configure.ac
./work/mozilla-esr24/modules/freetype2/builds/unix/configure.ac
./work/mozilla-esr24/media/webrtc/trunk/testing/gtest/configure.ac

and  # find . -print | grep -i 'Makefile.am'

./net-analyzer/iftop-1.0_pre4/work/iftop-1.0pre4/Makefile.am
./net-analyzer/iftop-1.0_pre4/work/iftop-1.0pre4/config/Makefile.am
./x11-misc/pcmanfm-0.9.10/work/pcmanfm-0.9.10/Makefile.am
./x11-misc/pcmanfm-0.9.10/work/pcmanfm-0.9.10/data/Makefile.am
snip

likewise I've been hacking at ebuilds for apache (spark and mesos)
The spark file are still under /var/tmp/portage/sys-cluster but the mesos
files, compiled just yesterday are not under /var/tmp/portage.  The 
same is true for ebuild in the portage tree. Some are there, some remain
and others who knows.

So with this in mind, how do I tag certain ebuilds to at least save the
configure.ac and Makefile.am files only for selected ebuild; either of which
may be in /usr/portage or /usr/local/portage?  (sorry for not being more
clear). Is this just some inconsistency in how various ebuilds are constructed?

Ideas and comments are most welcome.

James





[gentoo-user] Tensorflow 2.1.0 failing to compile

2020-04-24 Thread Aisha Tammy
ortage/euses-2.5.9
app-portage/gemato-14.3
app-portage/gentoolkit-0.4.8
app-portage/genup-1.0.26
app-portage/layman-2.4.2-r1
app-portage/mirrorselect-2.2.4-r1
app-portage/portage-utils-0.80
app-portage/repoman-2.3.20
app-portage/showem-1.0.3
app-shells/bash-4.4_p23-r1
app-shells/push-2.0-r1
app-shells/quoter-3.0_p2-r1
app-text/asciidoc-8.6.10_p20181016-r1
app-text/aspell-0.60.8
app-text/build-docbook-catalog-1.21
app-text/docbook-xml-dtd-4.1.2-r7
app-text/docbook-xml-dtd-4.2-r3
app-text/docbook-xml-dtd-4.3-r2
app-text/docbook-xml-dtd-4.4-r3
app-text/docbook-xml-dtd-4.5-r2
app-text/docbook-xsl-stylesheets-1.79.1-r2
app-text/manpager-1
app-text/openjade-1.3.2-r9
app-text/opensp-1.5.2-r3
app-text/po4a-0.47-r1
app-text/sgml-common-0.6.3-r7
app-text/wgetpaste-2.29-r1
app-text/xmlto-0.0.28-r1
dev-cpp/gtest-1.9.0_pre20190607
dev-db/lmdb-0.9.23
dev-db/sqlite-3.31.1
dev-java/icedtea-bin-3.15.0
dev-java/java-config-2.2.0-r4
dev-lang/ghc-8.6.5
dev-lang/nasm-2.14.02
dev-lang/perl-5.30.1
dev-lang/python-2.7.17-r2
dev-lang/python-3.6.10-r1
dev-lang/python-3.7.7-r1
dev-lang/python-3.8.2-r1
dev-lang/python-exec-2.4.6-r1
dev-lang/ruby-2.4.10
dev-lang/ruby-2.5.8
dev-lang/swig-3.0.12
dev-lang/vala-0.46.7
dev-libs/atk-2.34.1
dev-libs/crc32c-1.0.6
dev-libs/cudnn-7.6.5.32
dev-libs/dbus-glib-0.110
dev-libs/double-conversion-3.1.5
dev-libs/elfutils-0.177
dev-libs/expat-2.2.8
dev-libs/flatbuffers-1.12.0
dev-libs/fribidi-1.0.9
dev-libs/glib-2.62.6
dev-libs/gmp-6.2.0-r1
dev-libs/gobject-introspection-1.62.0
dev-libs/gobject-introspection-common-1.62.0
dev-libs/icu-65.1-r1
dev-libs/iniparser-3.1-r1
dev-libs/ivykis-0.42.4
dev-libs/jansson-2.11
dev-libs/jsoncpp-1.9.2-r2
dev-libs/libaio-0.3.110
dev-libs/libassuan-2.5.3
dev-libs/libbsd-0.10.0
dev-libs/libclc-0.2.0_pre20191024
dev-libs/libcroco-0.6.13
dev-libs/libevdev-1.9.0
dev-libs/libevent-2.1.8
dev-libs/libffi-3.3-r1
dev-libs/libgcrypt-1.8.5
dev-libs/libgpg-error-1.36
dev-libs/libgudev-233-r1
dev-libs/libinput-1.15.4
dev-libs/libksba-1.3.5-r1
dev-libs/libltdl-2.4.6
dev-libs/libpcre2-10.34
dev-libs/libpcre-8.42
dev-libs/libpipeline-1.5.2
dev-libs/libtasn1-4.13
dev-libs/libunistring-0.9.10
dev-libs/libusb-1.0.21-r1
dev-libs/libuv-1.35.0
dev-libs/libx86emu-1.1
dev-libs/libxml2-2.9.9-r3
dev-libs/libxslt-1.1.33-r1
dev-libs/libyaml-0.2.2
dev-libs/lzo-2.10
dev-libs/mpc-1.1.0-r1
dev-libs/mpfr-4.0.2
dev-libs/nettle-3.4.1
dev-libs/newt-0.52.21
dev-libs/npth-1.3
dev-libs/nspr-4.25
dev-libs/nss-3.51
dev-libs/nsync-1.20.1
dev-libs/ocl-icd-2.2.12
dev-libs/openssl-1.1.1g
dev-libs/openssl-compat-1.0.2u
dev-libs/popt-1.16-r2
dev-libs/protobuf-3.11.4
dev-libs/re2-0.2019.12.01
dev-libs/vala-common-0.46.7
dev-perl/Authen-SASL-2.160.0-r1
dev-perl/Class-Inspector-1.320.0
dev-perl/Digest-HMAC-1.30.0-r1
dev-perl/Error-0.170.250
dev-perl/File-ShareDir-1.104.0
dev-perl/File-ShareDir-Install-0.110.0
dev-perl/libintl-perl-1.310.0
dev-perl/Locale-gettext-1.70.0
dev-perl/MailTools-2.190.0
dev-perl/Module-Build-0.422.400
dev-perl/SGMLSpm-1.1-r1
dev-perl/TermReadKey-2.370.0
dev-perl/Text-CharWidth-0.40.0-r1
dev-perl/Text-Unidecode-1.300.0
dev-perl/Text-WrapI18N-0.60.0-r1
dev-perl/TimeDate-2.300.0
dev-perl/Unicode-EastAsianWidth-1.330.0-r1
dev-perl/XML-Parser-2.440.0
dev-python/absl-py-0.7.1
dev-python/astor-0.8.1
dev-python/bleach-3.1.4-r1
dev-python/blinker-1.4-r1
dev-python/bz2file-0.98
dev-python/cachetools-3.1.1
dev-python/certifi-2019.11.28
dev-python/cffi-1.14.0
dev-python/chardet-3.0.4
dev-python/click-7.0-r1
dev-python/cryptography-2.8-r1
dev-python/cython-0.29.15
dev-python/enum34-1.1.6-r1
dev-python/funcsigs-1.0.2-r1
dev-python/gast-0.2.2
dev-python/google-auth-1.6.3
dev-python/google-auth-oauthlib-0.4.1
dev-python/google-pasta-0.1.1
dev-python/grpcio-1.26.0-r1
dev-python/grpcio-tools-1.26.0
dev-python/html5lib-1.0.1-r2
dev-python/idna-2.8
dev-python/ipaddress-1.0.23
dev-python/lxml-4.5.0
dev-python/mako-1.1.1
dev-python/markdown-3.2.1
dev-python/markupsafe-1.1.1
dev-python/mock-2.0.0
dev-python/namespace-google-1
dev-python/numpy-1.16.5-r1
dev-python/oauthlib-3.0.1
dev-python/olefile-0.46
dev-python/opt-einsum-3.0.1
dev-python/pbr-4.2.0-r1
dev-python/pillow-7.0.0
dev-python/ply-3.11
dev-python/protobuf-python-3.11.4
dev-python/pyasn1-0.4.3
dev-python/pyasn1-modules-0.2.1
dev-python/pybind11-2.4.3
dev-python/pyblake2-1.1.2
dev-python/pycairo-1.18.2
dev-python/pycparser-2.19-r1
dev-python/pygobject-3.34.0
dev-python/pyjwt-1.7.1-r1
dev-python/pyopenssl-19.1.0
dev-python/PySocks-1.7.1
dev-python/pyyaml-5.3.1
dev-python/requests-2.22.0
dev-python/requests-oauthlib-0.7.0
dev-python/rsa-4.0
dev-python/setuptools-44.0.0
dev-python/simplejson-3.17.0
dev-python/six-1.14.0
dev-python/ssl-fetch-0.4
dev-python/termcolor-1.1.0-r1
dev-python/urllib3-1.25.8
dev-python/webencodings-0.5.1-r1
dev-python/werkzeug-0.16.1
dev-python/wheel-0.34.2
dev-python/wrapt-1.11.2-r1
dev-ruby/did_you_mean-1.1.2
dev-ruby/did_you_mean-1.2.1
dev-ruby/json-2.3.0
dev-ruby/kpeg-1.1.0-r1
dev-ruby/minitest-5.11.3
dev-ruby/net-telnet-0.1.1-r1
de

[gentoo-user] KDE update revdep-rebuild.sh fail

2018-04-02 Thread Daniel Frey
 with link time reference
symbol _ZTI26QPlatformIntegrationPlugin, version Qt_5 not defined in
file libQt5Gui.so.5 with link time reference
symbol _ZTV13QPlatformMenu, version Qt_5 not defined in file
libQt5Gui.so.5 with link time reference
symbol _ZTV15QPlatformCursor, version Qt_5 not defined in file
libQt5Gui.so.5 with link time reference
symbol _ZTV16QPlatformMenuBar, version Qt_5 not defined in file
libQt5Gui.so.5 with link time reference
symbol _ZTV17QPlatformMenuItem, version Qt_5 not defined in file
libQt5Gui.so.5 with link time reference
symbol _ZTV24QPlatformNativeInterface, version Qt_5 not defined in file
libQt5Gui.so.5 with link time reference)
[ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *-> media-gfx/exiv2-0.26_p20171104
media-gfx/ebdftopcf-2
media-gfx/graphite2-1.3.10
media-gfx/xsane
 *   /usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so -> kde-plasma/kwin
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot   app-accessibility/at-spi2-atk:2
app-accessibility/at-spi2-core:2 app-admin/eselect:0
app-admin/killproc:0 app-admin/lib_users:0 app-admin/logrotate:0
app-admin/perl-cleaner:0 app-admin/sudo:0 app-admin/syslog-ng:0
app-arch/bzip2:0/1 app-arch/cabextract:0 app-arch/cpio:0 app-arch/gcab:0
app-arch/gzip:0 app-arch/libarchive:0/13 app-arch/p7zip:0
app-arch/rpm2targz:0 app-arch/snappy:0/1 app-arch/tar:0
app-arch/unrar:0/5 app-arch/unzip:0 app-arch/xz-utils:0 app-arch/zip:0
app-cdr/cdrdao:0 app-cdr/cdrtools:0 app-cdr/dvd+rw-tools:0
app-crypt/gcr:0/1 app-crypt/gnupg:0 app-crypt/gpgme:1/11
app-crypt/libsecret:0 app-crypt/mhash:0 app-crypt/mit-krb5:0
app-crypt/p11-kit:0 app-crypt/pinentry:0 app-crypt/qca:2
app-crypt/rhash:0 app-dicts/myspell-en:0 app-doc/doxygen:0
app-doc/xmltoman:0 app-editors/vim:0 app-editors/vim-core:0
app-emulation/vmware-tools:0 app-emulation/wine-desktop-common:0
app-emulation/wine-gecko:2.47 app-emulation/wine-mono:4.6.4
app-emulation/wine-vanilla:2.0.3 app-eselect/eselect-cdparanoia:0
app-eselect/eselect-ctags:0 app-eselect/eselect-fontconfig:0
app-eselect/eselect-lib-bin-symlink:0 app-eselect/eselect-mesa:0
app-eselect/eselect-mpg123:0 app-eselect/eselect-notify-send:0
app-eselect/eselect-opencl:0 app-eselect/eselect-opengl:0
app-eselect/eselect-pinentry:0 app-eselect/eselect-python:0
app-eselect/eselect-qtgraphicssystem:0 app-eselect/eselect-ruby:0
app-eselect/eselect-vi:0 app-eselect/eselect-wine:0
app-eselect/eselect-wxwidgets:0 app-i18n/uchardet:0 app-misc/c_rehash:0
app-misc/ca-certificates:0 app-misc/editor-wrapper:0 app-misc/gtypist:0
app-misc/media-player-info:0 app-misc/mime-types:0 app-misc/pax-utils:0
app-office/libreoffice:0 app-portage/cpuid2cpuflags:0
app-portage/elt-patches:0 app-portage/genlop:0 app-portage/gentoolkit:0
app-portage/layman:0 app-portage/portage-utils:0 app-shells/bash:0
app-text/build-docbook-catalog:0 app-text/docbook-dsssl-stylesheets:0
app-text/docbook-sgml-dtd:3.0 app-text/docbook-xml-dtd:4.1.2
app-text/docbook-xml-dtd:4.2 app-text/docbook-xml-dtd:4.3
app-text/docbook-xml-dtd:4.4 app-text/docbook-xml-dtd:4.5
app-text/docbook-xsl-stylesheets:0 app-text/enchant:0
app-text/fbreader:0 app-text/ghostscript-gpl:0
app-text/gnome-doc-utils:0 app-text/hunspell:0/1.6 app-text/iso-codes:0
app-text/libabw:0 app-text/libebook:0 app-text/libetonyek:0
app-text/libexttextcat:0 app-text/liblangtag:0 app-text/libmspub:0
app-text/libmwaw:0 app-text/libodfgen:0 app-text/libpaper:0
app-text/libspectre:0 app-text/libstaroffice:0 app-text/libwpd:0.10
app-text/libwpg:0.3 app-text/libwps:0 app-text/mupdf:0/1.11
app-text/mythes:0 app-text/openjade:0 app-text/opensp:0 app-text/po4a:0
app-text/poppler:0/73 app-text/poppler-data:0 app-text/qpdf:0/18
app-text/scrollkeeper-dtd:1.0 app-text/sgml-common:0 app-text/xmlto:0
app-text/yelp-tools:0 app-vim/gentoo-syntax:0 app-vim/vim-spell-en:0
dev-cpp/atkmm:0 dev-cpp/cairomm:0 dev-cpp/clucene:1 dev-cpp/gconfmm:0
dev-cpp/glibmm:2 dev-cpp/gtest:0 dev-cpp/gtkmm:2.4 dev-cpp/gtkmm:3.0
dev-cpp/libcmis:0.5 dev-cpp/libglademm:2.4 dev-cpp/pangomm:1.4
dev-db/mariadb:0/18 dev-db/mysql-init-scripts:0 dev-db/sqlite:3
dev-db/unixODBC:0 dev-lang/luajit:2 dev-lang/nasm:0 dev-lang/orc:0
dev-lang/perl:0/5.24 dev-lang/python:2.7 dev-lang/python:3.4/3.4m
dev-lang/python:3.5/3.5m dev-lang/python-exec:2 dev-lang/ruby:2.2
dev-lang/ruby:2.3 dev-lang/spidermonkey:0/mozjs185 dev-lang/swig:0
dev-lang/vala:0.36 dev-lang/yasm:0 dev-libs/appstream-glib:0/8
dev-libs/apr:1 dev-libs/apr-util:1 dev-libs/atk:0
dev-libs/boost:0/1.65.0 dev-libs/crossguid:0 dev-libs/crypto++:0/5.6
dev-libs/dbus-glib:0 dev-libs/double-conversion:0/1 dev-libs/elfutils:0
dev-libs/expat:0 dev-libs/fribidi:0 dev-libs/glib:2 dev-libs/gmp:0/10.4
dev-libs/gobject-introspection:0 dev-libs/gobject-introspection-co