diff options
Diffstat (limited to 'sci-libs/indilib')
-rw-r--r-- | sci-libs/indilib/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/indilib/files/indiserver.conf | 39 | ||||
-rw-r--r-- | sci-libs/indilib/files/indiserver.sh | 49 | ||||
-rw-r--r-- | sci-libs/indilib/indilib-1.8.6.ebuild | 75 | ||||
-rw-r--r-- | sci-libs/indilib/indilib-9999.ebuild | 73 | ||||
-rw-r--r-- | sci-libs/indilib/metadata.xml | 42 |
6 files changed, 0 insertions, 279 deletions
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest deleted file mode 100644 index 768c59a..0000000 --- a/sci-libs/indilib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST indilib-1.8.6.tar.gz 2166393 SHA256 525123277aa96bd8eb23720a8fac97a5d066b012f0023fbabe688bfead7e98d0 SHA512 c966b92cd9d66dcafd26b5ff7b062c22d035367111496c84777dfed5b22403631107f43dcdc535036198d2e108689aa99e003e9ad047a0af687ad247df155850 WHIRLPOOL 947a73b057e2620ba016886598e88660326c053f8049377a1170463a6e4d7f0e1c70041d6c84925b8681b504f3321b311c7da534ea85a77b8def487d465a44f0 diff --git a/sci-libs/indilib/files/indiserver.conf b/sci-libs/indilib/files/indiserver.conf deleted file mode 100644 index 19b4d98..0000000 --- a/sci-libs/indilib/files/indiserver.conf +++ /dev/null @@ -1,39 +0,0 @@ -# This is configuration file for indiserver init script -# -# INDISERVER_OPTS can be used to set flags and options passed to the indiserver binary. -# Available options are -# -# -p <number> Sets the number TCP/IP port number indiserver will listen to. -# Default value is 7624 if not set. -# -# -v, -vv, -vvv Increase verbosity of the output. -# -# -l <dir> Sets the directory where the log will be created. File will -# be named YYYY-MM-DD.islog (this cannot be changed). Use -# app-admin/logrotate to automatically remove old logs if necessary -# -# -m <number> If the client is <number> of MBs behind the server, it should -# be killed. Defaults value is 64. -# -# If you want to use indiserver with the -f flag enabled see INDISERVER_FIFO variable. - -INDISERVER_OPTS="-l /var/log/ -v" - -# You should set INDISERVER_DRIVERS variable to include any driver you want to use, unless -# you use dynamic startup and shutdown of drivers (see the description to the -f option). -# You can get all available drivers by issuing command ls -al /usr/bin/indi_*. Just include -# filenames of the binary drivers you want to use. - -INDISERVER_DRIVERS="" - -# If you want to use indiserver in fifo mode for dynamic startup and shutdown of -# drivers, set the absolute path to the FIFO file (pipe). Init script will create this file -# automaticaly and pass the -f option to the indiserver binary. - -INDISERVER_FIFO="" - -# Configure owner of the indiserver process. This must be existing user account. If you use devices -# connected by USB and serial link this user has to be member of the usb and uucp groups. Defaults to -# indiserver created when sci-libs/indilib has been installed. - -INDISERVER_USER="" diff --git a/sci-libs/indilib/files/indiserver.sh b/sci-libs/indilib/files/indiserver.sh deleted file mode 100644 index 8444109..0000000 --- a/sci-libs/indilib/files/indiserver.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/sbin/openrc-run - -if [ ! "${INDISERVER_USER}" ]; then - INDISERVER_USER="indiserver" -fi - -description="indiserver - INDI astronomical control library server" -command="/usr/bin/indiserver" - -if [ "${INDISERVER_FIFO}" ]; then - command_args="${INDISERVER_OPTS} -f ${INDISERVER_FIFO} ${INDISERVER_DRIVERS}" -else - command_args="${INDISERVER_OPTS} ${INDISERVER_DRIVERS}" -fi - -pidfile="/var/run/indiserver.pid" -start_stop_daemon_args="--pidfile ${pidfile} --make-pidfile --background --user ${INDISERVER_USER}" - -start_pre() { - IFS=' ' read -ra DRIVER <<< "${INDISERVER_DRIVERS}" - for file in "${DRIVER[@]}"; do - if [ ! -x /usr/bin/"${file}" ]; then - eerror "Driver ${file} not found. Please check configuration file." - exit 1 - fi - done - if [ "${INDISERVER_FIFO}" ]; then - INDISERVER_OPTS="-f ${INDISERVER_FIFO} ${INDISERVER_OPTS}" - if [ ! -p "${INDISERVER_FIFO}" ]; then - if ! /usr/bin/mkfifo ${INDISERVER_FIFO}; then - eerror "Could not create FIFO file in ${INDISERVER_FIFO}!" - eerror "indiserver is started with user ${INDISERVER_USER}" - eerror "Check permissions or unset INDISERVER_FIFO in config." - exit 1 - fi - chown indiserver:indiserver ${INDISERVER_FIFO} - else - ewarn "Strange. FIFO file ${INDISERVER_FIFO} already exists" - fi - fi - return 0 - } - -stop_post() { - if [ -p "${INDISERVER_FIFO}" ]; then - rm -rf "${INDISERVER_FIFO}" - fi - return 0 - } diff --git a/sci-libs/indilib/indilib-1.8.6.ebuild b/sci-libs/indilib/indilib-1.8.6.ebuild deleted file mode 100644 index bc9ff22..0000000 --- a/sci-libs/indilib/indilib-1.8.6.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="${PN/lib/}" - -inherit cmake udev user - -DESCRIPTION="INDI Astronomical Control Protocol library" -HOMEPAGE="http://www.indilib.org/" -SRC_URI="https://github.com/${PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz" - -LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~amd64 ~x86" -IUSE="ogg test drivers qt5 websocket" - -RDEPEND=" - sci-libs/cfitsio:= - sci-libs/fftw:3.0= - sci-libs/libnova:= - sci-libs/gsl:= - sys-libs/zlib - virtual/jpeg:0 - virtual/libusb:0 - net-misc/curl - qt5? ( dev-qt/qtnetwork:5 ) - ogg? ( - media-libs/libogg - media-libs/libtheora - ) - websocket? ( dev-libs/boost:= ) -" -DEPEND="${RDEPEND} - kernel_linux? ( sys-kernel/linux-headers ) - drivers? ( sci-libs/indilib-drivers ) - test? ( >=dev-cpp/gtest-1.8.0 ) - websocket? ( dev-cpp/websocketpp ) -" - -RESTRICT="!test? ( test )" - -DOCS=( AUTHORS ChangeLog README ) - -S=${WORKDIR}/${MY_PN}-${PV} - -src_configure() { - local mycmakeargs=( - -DUDEVRULES_INSTALL_DIR=$(get_udevdir)/rules.d - -DINDI_BUILD_UNITTESTS=$(usex test) - -DINDI_BUILD_QT5_CLIENT=$(usex qt5) - $(cmake_use_find_package ogg OggTheora) - -DINDI_BUILD_WEBSOCKET=$(usex websocket) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - newinitd "${FILESDIR}/indiserver.sh" indiserver - newconfd "${FILESDIR}/indiserver.conf" indiserver -} - -src_test() { - BUILD_DIR="${BUILD_DIR}"/test cmake_src_test -} - -pkg_postinst() { - enewgroup indiserver - enewuser indiserver -1 -1 -1 "usb,uucp,video,indiserver" - elog "You can use init script in /etc/init.d/indiserver to start" - elog "indiserver automatically." - elog "Configuration is in /etc/conf.d/indiserver." -} diff --git a/sci-libs/indilib/indilib-9999.ebuild b/sci-libs/indilib/indilib-9999.ebuild deleted file mode 100644 index dc1ca40..0000000 --- a/sci-libs/indilib/indilib-9999.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake git-r3 udev user - -DESCRIPTION="INDI Astronomical Control Protocol library" -HOMEPAGE="http://indi.sourceforge.net/index.php/Main_Page" -EGIT_REPO_URI="https://github.com/indilib/indi.git" - -LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" -SLOT="0/1" -KEYWORDS="" -IUSE="ogg test drivers qt5 websocket" - -RDEPEND=" - sci-libs/cfitsio:= - sci-libs/fftw:3.0= - sci-libs/libnova:= - sci-libs/gsl:= - sys-libs/zlib - virtual/jpeg:0 - virtual/libusb:0 - net-misc/curl - qt5? ( dev-qt/qtnetwork:5 ) - ogg? ( - media-libs/libogg - media-libs/libtheora - ) - websocket? ( dev-libs/boost:= )" - -DEPEND="${RDEPEND} - kernel_linux? ( sys-kernel/linux-headers ) - drivers? ( sci-libs/indilib-drivers ) - test? ( >=dev-cpp/gtest-1.8.0 ) - websocket? ( dev-cpp/websocketpp ) -" - -RESTRICT="!test? ( test )" - -DOCS=( AUTHORS ChangeLog README ) - -S="${WORKDIR}/${P}" - -src_configure() { - local mycmakeargs=( - -DUDEVRULES_INSTALL_DIR=$(get_udevdir)/rules.d - -DINDI_BUILD_UNITTESTS=$(usex test) - -DINDI_BUILD_QT5_CLIENT=$(usex qt5) - $(cmake_use_find_package ogg OggTheora) - -DINDI_BUILD_WEBSOCKET=$(usex websocket) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - newinitd "${FILESDIR}/indiserver.sh" indiserver - newconfd "${FILESDIR}/indiserver.conf" indiserver -} - -src_test() { - BUILD_DIR="${BUILD_DIR}"/test cmake_src_test -} - -pkg_postinst() { - enewgroup indiserver - enewuser indiserver -1 -1 -1 "usb,uucp,video,indiserver" - elog "You can use init script in /etc/init.d/indiserver to start" - elog "indiserver automatically." - elog "Configuration is in /etc/conf.d/indiserver." -} diff --git a/sci-libs/indilib/metadata.xml b/sci-libs/indilib/metadata.xml deleted file mode 100644 index ae64d74..0000000 --- a/sci-libs/indilib/metadata.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>ctibor@brancik.cz</email> - <name>Ctibor Brančík</name> - </maintainer> - <longdescription> - INDI is a protocol designed to support control, automation, data acquisition, and exchange among hardware devices and software frontends. - INDI stands for the Instrument-Neutral-Distributed-Interface, and was developed by Elwood C. Downey of ClearSky Institute. - </longdescription> - <use> - <flag name='drivers'>Installs <pkg>sci-libs/indilib-drivers</pkg> which is a metapackage for indilib 3rd party drivers.</flag> - <flag name='websocket'>Enable support for WebSocket protocol</flag> - </use> - <upstream> - <maintainer status="active"> - <email>mutlaqja@ikarustech.com</email> - <name>Jasem Mutlaq</name> - </maintainer> - <maintainer status="active"> - <email>info@cloudmakers.eu</email> - <name>Peter Polakovic</name> - </maintainer> - <maintainer status="active"> - <email>info@ClearSkyInstitute.com</email> - <name>Elwood Downey</name> - </maintainer> - <maintainer status="active"> - <email>zerjio@zerjio.com</email> - <name>Sergio Alonso</name> - </maintainer> - <maintainer status="active"> - <email>mas.ignacio@gmail.com</email> - <name>Nacho Mas</name> - </maintainer> - <changelog>https://indilib.org/about/news.html</changelog> - <doc lang="en">http://indilib.org/about/discover-indi.html</doc> - <bugs-to>https://github.com/indilib/indi/issues</bugs-to> - <remote-id type="github">indilib</remote-id> - </upstream> -</pkgmetadata> |