Compare commits

...

36 Commits

Author SHA1 Message Date
Florian Tham
54ac49be30 gui-apps/swaync dazu 2025-11-16 13:55:30 +01:00
Florian Tham
e2cb317136 media-libs/lensfun entfernt 2025-05-06 09:10:11 +02:00
Florian Tham
e9bb0d01bf app-misc/tmux: enable sixel support 2024-12-14 20:23:57 +01:00
Florian Tham
9ef66744ae Merge branch 'master' of git.qcft.de:flo/overlay 2024-07-12 08:03:13 +02:00
Florian Tham
7b4942a513 dev-vcs/git-remote-gcrypt EAPI bump 2024-07-12 08:03:08 +02:00
Florian Tham
1d02c683d8 sci-astronomy/xephem entfernt 2024-06-20 14:33:12 +02:00
Florian Tham
396b96453f media-libs/glyr entfernt 2024-01-06 17:28:10 +01:00
Florian Tham
841823e509 net-analyzer/testssl entfernt 2023-03-19 18:09:46 +01:00
Florian Tham
ca93c1d792 app-admin/rcm entfernt 2023-01-17 08:30:08 +01:00
Florian Tham
c671b42549 Merge branch 'master' of git.qcft.de:flo/overlay 2023-01-05 08:14:37 +01:00
Florian Tham
e0c1884822 rcm 1.3.6 dazu 2023-01-05 08:14:33 +01:00
Florian Tham
abebad3080 altes Zeug entfernt 2022-08-29 09:30:31 +02:00
Florian Tham
d87518dfc4 net-firewall/ferm entfernt 2022-08-25 11:59:29 +02:00
Florian Tham
96bcdcb41b media-libs/lensfun-0.3.3-r1 dazu
Der Ebuild behebt das Problem der kaputten Python-Installation.
2022-07-07 10:10:00 +02:00
Florian Tham
a9d192c1f0 x11-misc/* entfernt 2022-01-22 23:41:28 +01:00
Florian Tham
918c3e0388 sys-fs/fscrypt entfernt 2022-01-22 23:40:55 +01:00
Florian Tham
1508ca1664 app-misc/* entfernt 2022-01-22 23:39:54 +01:00
Florian Tham
180f4e0df7 app-text/calibre wieder entfernt 2021-09-09 11:18:48 +02:00
Florian Tham
6fbd971cb3 media-sound/beets entfernt 2021-08-28 16:02:26 +02:00
Florian Tham
c766def3cd rm .swp 2021-08-28 16:01:59 +02:00
Florian Tham
dd4a4a719c app-text/calibre-5.16.1-r100 dazu
Mit Patch für https://bugs.gentoo.org/show_bug.cgi?id=800233.
2021-08-10 09:54:59 +02:00
Florian Tham
47c4c2096e dev-python/csvkit entfernt 2021-07-16 12:52:49 +02:00
Florian Tham
70289ea6dd media-gfx/flameshot entfernt 2021-06-30 15:21:01 +02:00
Florian Tham
06a575a5d7 sys-kernel/gentoo-sources-4.8.15 entfernt 2021-05-31 09:13:00 +02:00
Florian Tham
8cfe0d54e4 gnome-extra/gnome-shell-extension-hibernate-status wieder entefrnt 2021-03-20 20:09:45 +01:00
Florian Tham
7842f7b234 gnome-extra/gnome-shell-extension-hibernate-status dazu 2021-03-20 20:02:11 +01:00
Florian Tham
45346338d7 media-gfx/flameshot-0.9.0 dazu 2021-03-01 12:09:41 +01:00
Florian Tham
5d4d67ef95 altes Zeug entfernt 2021-02-13 11:13:52 +01:00
Florian Tham
b9a9e7bc73 altes Zeug entfernt 2021-02-13 11:12:48 +01:00
Florian Tham
b0b03d1667 media-gfx/flameshot-0.8.5 dazu 2021-02-13 11:08:57 +01:00
Florian Tham
f8bba28a20 alte ebuilds entfernt 2021-02-01 08:55:15 +01:00
Florian Tham
d5f8afaa52 net-wireless/qspectrumanalyser entfernt 2021-01-26 09:13:58 +01:00
Florian Tham
b01812704c dev-python/simplesoapy entfernt 2021-01-26 09:12:35 +01:00
Florian Tham
07e2c5d7a1 fix OpenSSH service waiting for timeout
Patch for https://github.com/gsauthof/dracut-sshd/issues/2
2020-11-15 11:30:56 +01:00
Florian Tham
393ea8de23 sys-kernel/dracut-sshd 2020-11-02 21:18:40 +01:00
Florian Tham
0d24bc151e sys-fs/fscrypt-0.2.9-r1 dazu
Source: https://gitlab.com/shibotto/shibotto-overlay

Gentoo Bugtracker: https://bugs.gentoo.org/727038
2020-10-25 21:11:49 +01:00
110 changed files with 338 additions and 2867 deletions

View File

@@ -1,2 +0,0 @@
EBUILD rcm-9999.ebuild 416 SHA256 57fb70579fa668e0e36ec69a25fe6602373dae0f43a8c486198b9d20a1ca0a47 SHA512 9551e347b4f8529481064658d5ccb6363c2e1710042e90197a996eb50d242c02ca9dadec1dfcfcdb6f8c367e3c02b24065da51e794a5efe40c97ce0d676ef92e WHIRLPOOL 6157d7db5c71345da96e520605bba9b47f46a3acf4241e1bdfcde2998a8ef9d9190ac25ba180e20b71d87e04ad6ecb00b8fcfd49796f5a4cf79e021ee6d26686
MISC metadata.xml 611 SHA256 fcf271608ad4d7dd7c9662cc1977eeacb0c3a0656636809df0998f591afddb49 SHA512 508ce28286fa519f6d071d06b1c75e23113f67b9d96d879d4fdd0ab9bfc9bbfaef5fa8e33c0e8a617aeaf58c3e979cb19fc2171779a8cd7e4de06ebad733bbb0 WHIRLPOOL bd1a656747fd4a4ed5069bd5caf0266479aa1f0d26ce6556b533205513e6a10d17d3b878f0175b48416444d8bf30013a3fd765e3706c92f8d20041911681363e

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>fgtham+genbugs@gmail.com</email>
<name>Florian Tham</name>
<description>Proxy maintainer - set to assignee on bugs</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">thoughtbot/rcm</remote-id>
</upstream>
<longdescription lang="en">
rcm is a management suite for dotfiles.
</longdescription>
</pkgmetadata>

View File

@@ -1,24 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit git-r3
DESCRIPTION="rc file (dotfile) management"
HOMEPAGE="https://github.com/thoughtbot/rcm"
EGIT_REPO_URI="https://github.com/thoughtbot/rcm.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="dev-ruby/mustache"
RDEPEND="${DEPEND}"
src_prepare () {
./autogen.sh
default
}

View File

@@ -1,4 +0,0 @@
AUX anki-2.1.0_beta25-web-folder.patch 498 SHA256 c5faabfa528904f47c6262c7096d97be6ab8c9f4fa18f436f4124d0670b29e74 SHA512 779806afd6c0eaaac149c89bbe8da2394630aa5a611001307808339f29237b4d7f3db7e1f66241ef67e179a5ab96d64371e1b198044cd9f88389d03a5c9d8478 WHIRLPOOL eb37b16f5a983ead6d1ca2b0d2230a976176901393f2b63d5540b0d3bbd1785091249f1ae03a1aa16c497434cf315682b576e5cd19aa1eaf91c1d6e258fdcf37
DIST anki-2.1.0_beta37.tgz 4146403 SHA256 459e01d3bc132b0cb26d846e6d48b20eb416d55d7d19b569690b4f4961021860 SHA512 77b41b3b4d02e1f31d8b93a5f78c7e1187fe9ee97d83b0bbe900ef463caa792bebe1d06d6610002c5615df69f426b61c7bbf3bc53c035ca7933f3011663bb909 WHIRLPOOL d81f3e8085b518f8dc4a17dfec6f340c930fc5b2a44177bd72340e3a7b062fea6e6b5d325900d9ebd266c8e290b803c83e56721190e2f0e2feb5de9e8fa78057
EBUILD anki-2.1.0_beta37.ebuild 1917 SHA256 30069185e246b9d8f6fcee9e4e2e5269f13deb9ea3cbb7f176aa3bbbb43dd55f SHA512 3c8e2f3056028d8de9cb6ad2510c9838fc2450e0b992dfaee69fc40fa60ad8a16eebb30c0ccb573a66a33b506475239482b5bf2598c2b881e2e1a52dadf9d81d WHIRLPOOL f722225f0d14ce1e2fdc185ab5e7a2c290668a1877e988c0da3bf919642950d1efce15789bbb1e2131af8f9198e395a3650454efbc3bbbf3ca8652c520dfc66b
MISC metadata.xml 619 SHA256 3087a19894696285b894be483ae3974f72eba2b194187c7763a9c7d5fbfc6ef9 SHA512 8b6656964a3c2cee9761b278839f31546a3fe2a4efd500cd015658af3502b548888e939bbeee45ead9c88632ade12c7f0ed33fcf8cdfc6d0ac91de63ac8bb351 WHIRLPOOL 897e92fd6fd8a6e3e1b5bb1cc2fb192e97e951474dd39fd75c7fd16f2fd24449be35a304b79b7aacfcfbe13de54fa831ffc89b835e1afa74e05b553e66790c1c

View File

@@ -1,86 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
PYTHON_REQ_USE="sqlite"
inherit eutils python-single-r1 xdg
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
HOMEPAGE="https://apps.ankiweb.net"
MY_P="${P/_/}"
SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> ${P}.tgz"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="latex +recording +sound test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
dev-python/PyQt5[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
>=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]
recording? (
media-sound/lame
>=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
)
sound? ( media-video/mplayer )
latex? (
app-text/texlive
app-text/dvipng
)
"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
PATCHES=( "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch )
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
default
sed -i -e "s/updates=True/updates=False/" \
aqt/profiles.py || die
}
src_compile() {
:;
}
src_test() {
sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
-i tools/tests.sh || die
./tools/tests.sh || die
}
src_install() {
cp tools/runanki.system tools/anki
doicon ${PN}.png
domenu ${PN}.desktop
doman ${PN}.1
dodoc README.md README.development
python_domodule aqt anki
python_doscript tools/anki
# Localization files go into the anki directory:
python_moduleinto anki
python_domodule locale
# not sure if this is correct, but
# site-packages/aqt/mediasrv.py wants the directory
insinto /usr/share/anki
doins -r web
}

View File

@@ -1,11 +0,0 @@
--- anki-2.1.0beta25/aqt/mediasrv.py
+++ anki-2.1.0beta25/aqt/mediasrv.py
@@ -13,7 +13,7 @@
# locate web folder in source/binary distribution
def _getExportFolder():
# running from source?
- srcFolder = os.path.join(os.path.dirname(__file__), "..")
+ srcFolder = os.path.join(os.path.dirname(__file__), "..", "..", "..", "..", "share", "anki")
webInSrcFolder = os.path.abspath(os.path.join(srcFolder, "web"))
if os.path.exists(webInSrcFolder):
return webInSrcFolder

View File

@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
<longdescription lang="en">
Anki is a program designed to help you remember facts
(such as words and phrases in a foreign language) as
quickly, easily and efficiently as possible.
</longdescription>
<use>
<flag name="recording">
Enable support for audio recording
</flag>
<flag name="sound">
Enable support for adding sound to cards
</flag>
</use>
</pkgmetadata>

View File

@@ -1 +0,0 @@
EBUILD buku-9999.ebuild 708 SHA256 97ecf67a883daf7619dcd1e544909ac562d44aca393cacb2a8dcd0d21a78bb94 SHA512 e2db18d20dc13f0525012aaec6635d9f486be061f9862b6f77a4a3b3aaee47d43ac03716029509d1ce8aacd50fb1fd0a244a05e2d53df781d24f79e6c190daff WHIRLPOOL 8ff5a6f9a936dbb7282ad8c792f878d4b8b9fb6b4d0228ddaba848a1828db37be467d9d0bfe4ceb5134a40f767bb9ea265c97d4ad195df36ed53edd810ca139d

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{3_3,3_4,3_5,3_6} )
PYTHON_REQ_USE="ncurses"
inherit autotools git-r3 bash-completion-r1
DESCRIPTION="Powerful command-line bookmark manager. Your mini-web!"
HOMEPAGE="https://github.com/jarun/buku"
EGIT_REPO_URI="https://github.com/jarun/${PN}"
EGIT_CLONE_TYPE=shallow
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="
dev-python/urllib3
>=dev-python/beautifulsoup-4.0
dev-python/cryptography
dev-python/requests
"
src_prepare() {
export PREFIX="/usr"
default
}
src_install() {
default
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
}

View File

@@ -1,4 +0,0 @@
DIST gcalcli-3.3.2.tar.gz 1674569 SHA256 69c31b5bee1390b4187a48b85b57ba95e40db231489d3deec8c3d387305d2ff3 SHA512 725290de1c7c768ad48e77bcc74e65b2676aab2fe5d40bdf59e63e1552d96dbe849fe99680b1f33c8adebcf2ee4a1ad898879820e20d8b2050679348820f4ba0 WHIRLPOOL 86acaf08d36af331524e514c6bfc37e6591ec570dd5c25c0bca6b111aa901636082cc961b70fcadbc32616e72f6c09bbc8460aa97f15a146fa341850fa416d15
DIST gcalcli-3.3.tar.gz 1673721 SHA256 ad7a4e10d8966b1468f9948ebd2e0fbde15982d850626f2a1d671a9ec3303c4f SHA512 b58c2aabaa514da715558af2c8ef579b30e31003204953feb9f51be6cd8066e40c317844eecc43396b71590b717230f0ff94fa8c14b9a0486746e723a718b876 WHIRLPOOL f0541ce1c766b329381e3cc4776601e3195f2ffb636654e46b9a7928b3c24160576c384791be9eab1320a2610138ddeb87d0716c637190f91ea3eed3aa0a989a
EBUILD gcalcli-3.3.2.ebuild 784 SHA256 8f611c14de0a6ae485fe980b49c1435d87fdb2da3139c92fe7632cc4ad785b27 SHA512 a98222c45092332d05b481fbccd531237eefdd02b7b8cb907f919551a02b008a2ab7365455b34a9cf1ca46b382a863f6b8967b9fa81bd1a4a0d0f1244125837b WHIRLPOOL 311ce1144d9d26ea478d949af2065363483ce8090842314f22b36ae80ce11bf67c4cb734b20c9cfba45cefb88a367ed6d174a219485d1b451240a307ef1ac1e7
EBUILD gcalcli-3.3.ebuild 784 SHA256 8f611c14de0a6ae485fe980b49c1435d87fdb2da3139c92fe7632cc4ad785b27 SHA512 a98222c45092332d05b481fbccd531237eefdd02b7b8cb907f919551a02b008a2ab7365455b34a9cf1ca46b382a863f6b8967b9fa81bd1a4a0d0f1244125837b WHIRLPOOL 311ce1144d9d26ea478d949af2065363483ce8090842314f22b36ae80ce11bf67c4cb734b20c9cfba45cefb88a367ed6d174a219485d1b451240a307ef1ac1e7

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/gcalcli/gcalcli-3.3.ebuild,v 1.2 2015/06/30 21:51:01 flo Exp $
EAPI=5
# google-api-python-client only supports these
PYTHON_COMPAT=( python2_7 pypy )
inherit python-r1
DESCRIPTION="Google Calendar Command Line Interface"
HOMEPAGE="https://github.com/insanum/gcalcli"
SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="dev-python/python-dateutil
dev-python/google-api-python-client
dev-python/gdata
dev-python/vobject"
src_install() {
dodoc -r ChangeLog README.md docs
python_foreach_impl python_doscript ${PN}
}

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/gcalcli/gcalcli-3.3.ebuild,v 1.2 2015/06/30 21:51:01 flo Exp $
EAPI=5
# google-api-python-client only supports these
PYTHON_COMPAT=( python2_7 pypy )
inherit python-r1
DESCRIPTION="Google Calendar Command Line Interface"
HOMEPAGE="https://github.com/insanum/gcalcli"
SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="dev-python/python-dateutil
dev-python/google-api-python-client
dev-python/gdata
dev-python/vobject"
src_install() {
dodoc -r ChangeLog README.md docs
python_foreach_impl python_doscript ${PN}
}

View File

@@ -1 +0,0 @@
EBUILD googler-9999.ebuild 562 SHA256 9df2a3d4284bb95fb2842e1f8cb8e9ff24c8d56fcbf8e129ef1399118fc8c484 SHA512 806c696c2d6292cf8449f0dc89382eb96d469d34025f08d959680e3c679b63160c494155446b4cc37e0b01a6408d7cd0350f6ace5ae08dcf1e7101aca4339293 WHIRLPOOL deaee5c81b79546bf872a4a1012c86da916ff5fffa36ab16ca26b6421b286c24bda506e53822d53aff29f1f479e764b7e1bf0047d104881758bdc29b9049154e

View File

@@ -1,28 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools git-r3 bash-completion-r1
DESCRIPTION="Google Search, Google Site Search, Google News from the terminal"
HOMEPAGE="https://github.com/jarun/googler"
EGIT_REPO_URI="https://github.com/jarun/${PN}"
EGIT_CLONE_TYPE=shallow
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND=""
DEPEND=""
src_prepare() {
export PREFIX="/usr"
default
}
src_install() {
default
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
}

View File

@@ -1 +0,0 @@
EBUILD nnn-9999.ebuild 541 SHA256 135737d7fafe78b36d49698c77a0accace6cd5bc7a6925bf2725dac047e06c47 SHA512 f117f065de21368419089dc2d33ea2bc15e38fcd9568358f37a4641fdbab3f55b75efd8a94584e336bc419633e267d4cb4d8dcb7a3836607f93f593aa3d16f69 WHIRLPOOL 0a8670735725b71324e873cbcea23266912ef52794adf6adce2aee81ac3248d1bb7c4fec5814b2c7e7fb94dac3ed09ee2745f70c06ac83649bd43f2233d65981

View File

@@ -1,28 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools git-r3 bash-completion-r1
DESCRIPTION="The missing terminal file browser for X"
HOMEPAGE="https://github.com/jarun/nnn"
EGIT_REPO_URI="https://github.com/jarun/${PN}"
EGIT_CLONE_TYPE=shallow
LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND=""
DEPEND=""
src_prepare() {
export PREFIX="/usr"
default
}
src_install() {
default
newbashcomp scripts/auto-completion/bash/${PN}-completion.bash ${PN}
}

View File

@@ -1,2 +0,0 @@
DIST tasksh-1.1.0.tar.gz 419407 SHA256 eef7c6677d6291b1c0e13595e8c9606d7f8dc1060d197a0d088cc1fddcb70024 SHA512 ba8820c26a86085f996cf884c57e8fd7913cded40ea81d3f17242295e865ed1058b2c0af78d76b2f64aebf96c981665fb2482808d41312e5ff40ecb1eba7bf8a WHIRLPOOL 6d380a830c9124a0b73752eba1b93e53d782c44e58cea2deb23d48b4ee99320a887884a75d03171a1f4d4ddef5cc13808bfee161b3f2c7e8717a81da6016f625
EBUILD tasksh-1.1.0.ebuild 641 SHA256 e66296721bbb371a061c51e0814e78c25fbd7313522604938a66b4f694b54437 SHA512 d34dfe1f4c1a94c1f50c9b0696247d8e0709d9bb0e463a819ce3b2a12bf72177b901d13ecea92b00fb328f57eac7df8f1808d3716903fe362eb2e6b119e3a0c5 WHIRLPOOL d91c2e6c27a02824805b72035191fcaf625e1b5f1b3e6d95cd06a23965dd85c00cfaf843e53267e81d53208358b0ee294e451102b59a3304b646a835b9eba6d2

View File

@@ -1,30 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Tasksh is a shell command that wraps Taskwarrior commands."
HOMEPAGE="https://tasktools.org/projects/tasksh.html"
SRC_URI="https://taskwarrior.org/download/tasksh-1.1.0.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-util/cmake
sys-libs/readline"
RDEPEND="${DEPEND}"
src_compile() {
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr ${S}
make
}
src_install() {
dobin src/tasksh
doman doc/man/tasksh.1
dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README.md
}

View File

@@ -1,2 +0,0 @@
DIST timew-1.0.0.tar.gz 140539 SHA256 ac027910e1e8365bdd218a8b42389b26d017d38d3c96516c408db6d5a44e0bb5 SHA512 0539ff93b2375c154d126c39aa84f21b57b62f51c220c80b2e323a4d6aefd2eda6f87c04112e096222102b019ee3683a78b9ee9d6fbf6736d4a34c529f6152f5 WHIRLPOOL 77ede6c679203071c3da95f708326f626906266547301b9ce2f2c8ae768f6b4082fb32bcc325a22e7295f5894477786960632ff201771b3512d978bf8c379c75
EBUILD timew-1.0.0.ebuild 781 SHA256 fb1e4ba08f77cbe64199b5a5d34d3b6e453a42335c4b662752c2b91f9532f8ab SHA512 3b4545f616ffac7ccc48c1b6b4f9fe6cc2bac40d373b9fd29b55b21c8aaccc5d67d326b92e566ceeef9b24d6ad625310975f38949373b4434eeb7ef69ee68834 WHIRLPOOL 6fb88462fd64380c3264e1a09c62c2a49efe028cd35aa1e0256db58a73bd551e2b2d9e73da9147b09504213bb95290ef164d4df5f049d1dc0a051a7f357da5b6

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Timewarrior is a command-line time tracker."
HOMEPAGE="https://timewarrior.net"
SRC_URI="https://taskwarrior.org/download/timew-1.0.0.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-util/cmake"
RDEPEND="${DEPEND}"
src_compile() {
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr ${S}
make
}
src_install() {
dobin src/timew
doman doc/man/timew.1
dodoc ChangeLog README.md LICENSE AUTHORS NEWS
docinto holidays
dodoc doc/holidays/{README,holidays.en-US,refresh}
docinto themes
dodoc doc/themes/{README,*.theme}
docinto ext
dodoc ext/{README,csv.py,debug.py,on-modify.timewarrior,totals.py}
}

7
app-misc/tmux/Manifest Normal file
View File

@@ -0,0 +1,7 @@
AUX tmux-2.4-flags.patch 456 BLAKE2B df85b32486894e8e3c5531937461ad46ca5effc5dd4d31b4f7a3f9bcf8d3dfa38fc186a603a90fe734b25781b9d517115c2b089648c29e4605fa9610f6dc311a SHA512 505d5ec4fa1d7844870c67aedccac3a147db1971464fc21d19319bb343fb6fd73b696e85298f8592e46900774b35b250cc53841b05514333c44c3e973bcdb860
AUX tmux-3.5-fix-xterm-sym.patch 1263 BLAKE2B ec47a799cd7301cb53eb24d3435a3772017af05b92c414874c3cb413cb913d18a3dabe773ca28474488ef1921011de2010df483e833fec52d411d2f88e9ae07b SHA512 50bea66e52fa86021e2d56c7bcb702d8361f34832dbcb20efda99de037d438ca6a3d114b5c19f8bcf1b8aaf66289871bb4cf7d4d44da6985c7c907fa322f4471
AUX tmux.service 124 BLAKE2B a4eecfeb4baa24433408c9dfb4848d420da4d54a2c62f6a4e05b0538e7b4c75bcec113d6ca86fea5085264903122e92e9adf7572e94ffafa3fe7f2038148b717 SHA512 73d3daf5362222da3e91641cc776c66fdaea50048000827a5eaa8693c769da73a320c19488aec6fd7660095eb6c44ef02f3473b2443909d55451442dfea70d28
AUX tmux.socket 132 BLAKE2B 9aa90b43f2eaedfce327287cc8eee4808c7870364668c54d0ffd4b5064d45a4c986702fdf64dde5fe24496635e700e1385a92a02060cb07819b48ab9d381b65b SHA512 fd2a8feb7474702515e9186a801fa5601feca5aedd39138d0f0623911b93255bc7cf4aa0ee066ba2c059601a21f2eb29794fe041d5a8cff91c63584e579aaff9
DIST tmux-3.4.tar.gz 707213 BLAKE2B 2b1990b95d7439702e9287402d9828d4ecab573202c099aa482969c047b540d4b899f79d87587fc712e727d9cebf5fa7393512087e469fc355b4a30b1894e229 SHA512 bd3880211d99d8ee15947000abf8a1832fdfa48b29b2df81b66d5969cf3f4e64e746f984f6139bfc57e3ebee7fe8dc7cbb6bccb779307607de6c376969fecbff
EBUILD tmux-3.4-r101.ebuild 2216 BLAKE2B 78e3d6cf46a6626940ca87188119c5852f0c3a28519be278dc076c424455fcd55df8e253f1727d9dbe71214a7d7684913c8933c3a978f9815d4123a33a5630fa SHA512 88f8e253a1a5bff023fa4529fc8d688319cd43857fdabc0b5fcb89174bb6c5526704b0c0cee45a50f923ba33f0e6993847344d77366068368ca87c3f734600f0
MISC metadata.xml 768 BLAKE2B c443cc60d807e1ffbfaa0499585f050566543a7337d4fa61569e03a6405077ebee7d81487530e75ccb3923aa5a1428e54c55b3cf7480a0aa786ad089c5e8a18b SHA512 cc26ffb4a98b8d207a3fc0aeaafe56b335bdf5d8b33b79a4b405e0c9220fe56d36b1d8a0203d611081c42ab81ecc476ded90ae98cc0fd4fe4bf6e47d312ee2ec

View File

@@ -0,0 +1,15 @@
Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- tmux-2.4/Makefile.am
+++ tmux-2.4/Makefile.am
@@ -17,9 +17,8 @@
# Set flags for gcc.
if IS_GCC
-AM_CFLAGS += -std=gnu99 -O2
+AM_CFLAGS += -std=gnu99
if IS_DEBUG
-AM_CFLAGS += -g
AM_CFLAGS += -Wno-long-long -Wall -W -Wformat=2
AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare

View File

@@ -0,0 +1,38 @@
https://github.com/tmux/tmux/commit/934035db7197d4510b330df8d8963f78e9c8756d
From: nicm <nicm>
Date: Mon, 14 Oct 2024 20:26:45 +0000
Subject: [PATCH] Set ACS flag for REP. Reported by Romain Francoise, GitHub
issue 4182.
--- a/input.c
+++ b/input.c
@@ -1145,7 +1145,6 @@ input_print(struct input_ctx *ictx)
ictx->cell.cell.attr |= GRID_ATTR_CHARSET;
else
ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;
-
utf8_set(&ictx->cell.cell.data, ictx->ch);
screen_write_collect_add(sctx, &ictx->cell.cell);
@@ -1349,7 +1348,7 @@ input_csi_dispatch(struct input_ctx *ictx)
struct screen_write_ctx *sctx = &ictx->ctx;
struct screen *s = sctx->s;
struct input_table_entry *entry;
- int i, n, m, ek;
+ int i, n, m, ek, set;
u_int cx, bg = ictx->cell.cell.bg;
if (ictx->flags & INPUT_DISCARD)
@@ -1592,6 +1591,11 @@ input_csi_dispatch(struct input_ctx *ictx)
if (~ictx->flags & INPUT_LAST)
break;
+ set = ictx->cell.set == 0 ? ictx->cell.g0set : ictx->cell.g1set;
+ if (set == 1)
+ ictx->cell.cell.attr |= GRID_ATTR_CHARSET;
+ else
+ ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;
utf8_copy(&ictx->cell.cell.data, &ictx->last);
for (i = 0; i < n; i++)
screen_write_collect_add(sctx, &ictx->cell.cell);

View File

@@ -0,0 +1,9 @@
[Unit]
Requires=tmux@%i.socket
[Service]
ExecStart=/usr/bin/tmux -D
[Install]
Also=tmux@%i.socket
DefaultInstance=default

View File

@@ -0,0 +1,8 @@
[Socket]
ListenStream=/tmp/tmux-%U/%i
DirectoryMode=0700
SocketMode=0660
[Install]
WantedBy=sockets.target
DefaultInstance=default

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>shell-tools@gentoo.org</email>
<name>Gentoo Shell Tools Project</name>
</maintainer>
<use>
<flag name="utempter">Include libutempter support</flag>
<flag name="sixel">Include SIXEL graphics support</flag>
</use>
<longdescription>
tmux is a "terminal multiplexer", it enables a number of terminals
(or windows) to be accessed and controlled from a single terminal.
tmux is intended to be a simple, modern, BSD-licensed alternative to
programs such as <pkg>app-misc/screen</pkg>.
</longdescription>
<upstream>
<remote-id type="github">tmux/tmux</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,96 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic systemd
DESCRIPTION="Terminal multiplexer"
HOMEPAGE="https://tmux.github.io/"
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b"
EGIT_REPO_URI="https://github.com/tmux/tmux.git"
else
SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz"
if [[ ${PV} != *_rc* ]] ; then
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
fi
S="${WORKDIR}/${P/_/-}"
fi
LICENSE="ISC"
SLOT="0"
IUSE="debug selinux systemd utempter vim-syntax +sixel"
DEPEND="
dev-libs/libevent:=
sys-libs/ncurses:=
systemd? ( sys-apps/systemd:= )
utempter? ( sys-libs/libutempter )
kernel_Darwin? ( dev-libs/libutf8proc:= )
"
BDEPEND="
virtual/pkgconfig
app-alternatives/yacc
"
RDEPEND="
${DEPEND}
selinux? ( sec-policy/selinux-screen )
vim-syntax? ( app-vim/vim-tmux )
"
QA_CONFIG_IMPL_DECL_SKIP=(
# BSD only functions
strtonum recallocarray
# missing on musl, tmux has fallback impl which it uses
b64_ntop
)
DOCS=( CHANGES README )
PATCHES=(
"${FILESDIR}"/${PN}-2.4-flags.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
# bug 438558
# 1.7 segfaults when entering copy mode if compiled with -Os
replace-flags -Os -O2
local myeconfargs=(
--sysconfdir="${EPREFIX}"/etc
$(use_enable debug)
$(use_enable systemd)
$(use_enable utempter)
$(use_enable sixel)
# For now, we only expose this for macOS, because
# upstream strongly encourage it. I'm not sure it's
# needed on Linux right now.
$(use_enable kernel_Darwin utf8proc)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
einstalldocs
dodoc example_tmux.conf
docompress -x /usr/share/doc/${PF}/example_tmux.conf
if use systemd; then
systemd_newuserunit "${FILESDIR}"/tmux.service tmux@.service
systemd_newuserunit "${FILESDIR}"/tmux.socket tmux@.socket
fi
}

View File

@@ -1 +0,0 @@
EBUILD QtPy-shim-9999.ebuild 784 SHA256 79d8d3bdbadbc18b7698b554824cc3b62ad2f3609e16ad15ae2deb743da12501 SHA512 467d6bd5d842c27dd6a1f321b7921eb870ac666af3b49b33abd88f6e6c1ea0e8ccc90a9869a06dd9ef510326236ef9e6da1eee967e28ec6359d1c08d039255c4 WHIRLPOOL d4aa70065185dc24ac45201db7472c8d0f79fe2f55c1cfbdbc06cc21ef3d3edb734c39026031e775d16c919761271321cdd9c34e12f70d72d840f8577b6091ec

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit distutils-r1
DESCRIPTION="Minimal Python 2 & 3 shim around all Qt bindings"
HOMEPAGE="https://github.com/mottosso/Qt.py"
LICENSE="MIT"
SLOT="0"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mottosso/Qt.py.git"
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/mottosso/Qt.py/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/Qt.py-"${PV}"
fi
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
|| (
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/PyQt4[${PYTHON_USEDEP}]
dev-python/pyside[${PYTHON_USEDEP}]
)"

View File

@@ -1,4 +0,0 @@
DIST csvkit-0.9.0.tar.gz 34232 SHA256 a60248609d350bce8fb75d5955fab517b5cec02a455070c1707ebfb0890fae08 SHA512 f0e51ffb82760f1683752d538362f715fe63f19a4d1915700b17c3da7b031afed40d68300c9b59636540e71b1d17017cedffff5f0c4817122b2887f22891c220 WHIRLPOOL f445defef1ab1a2b53667467d96d7d383229f1a6efe5b661d77f71579851e83b2961cb4692e324645321a34da0acad0176ec70e2be4579c73c89b364f1e058b8
DIST csvkit-0.9.1.zip 3966737 SHA256 d4769600a4a958aefb9cfbc76bd4beab88abee2181cf539f350d0b9bd242d888 SHA512 37ee11b2757bd82a9cca63a813ec42ddb93e37c9b5fe61c068bb420648472ccacd23d6c2e71e5cb9aa7ddbbb686b9941c5f324aa45e5627e4cf491d05115ecb4 WHIRLPOOL 19bca4511205b0a8e26a56f84b098433a7c198dda9f3ed0cbb7d1a7845a102f137891988581ea8373e1abf145f9b28cdcac37c1ad3737a1db06a0059ad564739
EBUILD csvkit-0.9.0.ebuild 983 SHA256 9f7146e07872b1e258fc4ae2e1b0505735aba89a8f6dfaa352e6f241fcf080ea SHA512 c09895d96b7174666393861afb842df36103e77902e61cef33f16e66c675d257681b0897fbbd39149acbd8d82658a6026b6ffa868e7807f5f3a68bf1a792f3ed WHIRLPOOL 8b199b7865e73bb1ae8b25fa92fb28bcfc6daa94362c92a5f43b3a9c67fd82aa9698028b6dbc685d5e6398c190ba4a83a906e3bf66229a81d82ee7f5afbd844e
EBUILD csvkit-0.9.1.ebuild 1010 SHA256 7efc6e1fcfe3d81c7eb02a89b904ad6b5387b603239f14ea08dc7040bb9db272 SHA512 84825171f94058ef9501bca989373aa451eed2c8304e0f86c1efa159bdf280c6b5c833a567bf0cbceb1dd9c1e3076d87dc55cb545db71831f58e5cd555b3e862 WHIRLPOOL b9156aa54fa6dec162327b42ad501c92fee685cee713fb43296e9db17ff009b23aef8c0376651f8f0f1d2adc3aa87c02b0f25928b5ee7049533088a681738b0f

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
MY_PV="${PV}"
DESCRIPTION="csvkit is a suite of utilities for converting to and working with CSV."
HOMEPAGE="http://csvkit.readthedocs.org/en/${PV}/"
SRC_URI="https://pypi.python.org/packages/source/c/csvkit/csvkit-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
=dev-python/dbf-0.94.003
>=dev-python/six-1.6.1
>=dev-python/ordereddict-1.1
>=dev-python/simplejson-3.6.3
>=dev-python/openpyxl-2.0.3
>=dev-python/xlrd-0.9.2
=dev-python/python-dateutil-2.2
>=dev-python/sphinx-1.0.7
>=dev-python/coverage-3.5.2
>=dev-python/tox-1.3
>=dev-python/sqlalchemy-0.6.6
"
S=${WORKDIR}/${PN}-${MY_PV}
src_prepare () {
sed -e '/argparse/d' -i setup.py
}

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_6 python2_7 python3_3 python3_4 )
inherit distutils-r1
MY_PV="${PV}"
DESCRIPTION="csvkit is a suite of utilities for converting to and working with CSV."
HOMEPAGE="http://csvkit.readthedocs.org/en/${PV}/"
SRC_URI="https://github.com/onyxfish/csvkit/archive/${PV}.zip -> ${P}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
=dev-python/dbf-0.95.004
>=dev-python/six-1.6.1
>=dev-python/ordereddict-1.1
>=dev-python/simplejson-3.6.3
=dev-python/openpyxl-2.2.0
>=dev-python/xlrd-0.9.2
=dev-python/python-dateutil-2.2
>=dev-python/sphinx-1.0.7
>=dev-python/coverage-3.5.2
>=dev-python/tox-1.3
>=dev-python/sqlalchemy-0.6.6
"
S=${WORKDIR}/${PN}-${MY_PV}
src_prepare () {
sed -e '/argparse/d' -i setup.py
}

View File

@@ -1 +0,0 @@
EBUILD ipython-tikzmagic-9999.ebuild 374 SHA256 8de63d6ce7705bcdee9453377dd0e8c6ab31c9f63c4ddf72fd7cb30ca250c3cd SHA512 98291b62486cfbb35f2abe8ee4355625fb0cfe9776286d5ba7bf1e356c8d7ad7eaabff1a860678098abba7ce885a01865f6986f261d67effde3b057b94ecfaec WHIRLPOOL 11340545f97b985ae05fa75ec0e14ffe9524637b763288a19e81ba2ce7d582f5bc8d8be65ea05f65d093ebb964339b0b984d000e23af49229830d6d39082f627

View File

@@ -1,15 +0,0 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit distutils-r1 git-r3
DESCRIPTION="IPython magics for generating figures with TikZ"
HOMEPAGE="https://github.com/mkrphys/ipython-tikzmagic"
EGIT_REPO_URI="https://github.com/mkrphys/ipython-tikzmagic.git"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jupyter_core"

View File

@@ -1 +0,0 @@
EBUILD jupyter_contrib_core-9999.ebuild 473 SHA256 6706468a06deda727931a9c6e9852721d7df5d63c05b7f1ec67432f32b20d8f9 SHA512 d2a8eeed02392fd3b9f77ef8998a0e0de32efaa1e65aa4b7880c75ba5f48be74ad91fcc792e679346479c1efe7cc9737c0ff1733140429050ba2b02fbf7f669f WHIRLPOOL 6feef37ae69ab824e5be977b0dfbf7409e770a8f5db66ca81db43e384c8a2ccd141c8d5adda3a20ab15a23aaf95f83cb13ebb0ed14270b1dfe9d4cca29444471

View File

@@ -1,17 +0,0 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit distutils-r1 git-r3
DESCRIPTION="Common utilities for jupyter-contrib projects"
HOMEPAGE="https://github.com/Jupyter-contrib/jupyter_contrib_core"
EGIT_REPO_URI="https://github.com/Jupyter-contrib/jupyter_contrib_core.git"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jupyter_core
dev-python/jupyter_latex_envs
dev-python/jupyter_highlight_selected_word"

View File

@@ -1 +0,0 @@
EBUILD jupyter_contrib_nbextensions-9999.ebuild 428 SHA256 a2e89f0d4fe6bf565f3813a617b2fe390eddcd1bc675698f9e8e6bcdc71db878 SHA512 f48ae420d31b6c8adb4923c569b0892a07d52de7265205c8893e02d7c7f9676b193da894d4dfda548707d77be97090127b8886fd54ac13b942739355344da7eb WHIRLPOOL e1cad2c57743c459f42885ae7b7b1b0d0255b28619dc3758adae3560fe4eca2d8c8a647d9a19110fc8da1060f59b72969561450e285d0bf1dd94b3052019cc7a

View File

@@ -1,15 +0,0 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit distutils-r1 git-r3
DESCRIPTION="A collection of various notebook extensions for Jupyter"
HOMEPAGE="https://github.com/ipython-contrib/jupyter_contrib_nbextensions"
EGIT_REPO_URI="https://github.com/ipython-contrib/jupyter_contrib_nbextensions.git"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jupyter_contrib_core"

View File

@@ -1 +0,0 @@
EBUILD jupyter_highlight_selected_word-9999.ebuild 438 SHA256 c0d89844101f116249be107173ab0d490d4e4015b85645c7d4ba7470eed38ed4 SHA512 dccd6ca58be3f68b75e51f4e21fab5860664010bc6ec8c548c9b4a2a5029db0bcbbc9093431b04304edbd37f55124630fa28629af749da27b514abbcaa85f31a WHIRLPOOL 73f127b9c1d56f453cf5dc3bed9711390cb4fc0bcd2ef23e3ff8ae5faea00d77c253a1bf66d93a2d38c86528dcc723f6aba70e2b9cf29c125c69c70f7e48b8c8

View File

@@ -1,15 +0,0 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit distutils-r1 git-r3
DESCRIPTION="Jupyter notebook extension that enables highlighting every instance of the current word"
HOMEPAGE="https://github.com/jcb91/jupyter_highlight_selected_word"
EGIT_REPO_URI="https://github.com/jcb91/jupyter_highlight_selected_word.git"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jupyter_core"

View File

@@ -1 +0,0 @@
EBUILD jupyter_latex_envs-9999.ebuild 370 SHA256 b694284b7d5f18a1aeb9d6968ee833bb9a35ead1c6fd12a2335e5b3411becf58 SHA512 f98c56cdceef07900b3e4309a592796416d93900c4728689e6cc6f1638bc40a5383a35c6aa71c6b272af30bd8b75b981b43000937290350796befcf0cb93bfc6 WHIRLPOOL 824c7bbe0944074b08b6b2b563f0b50c0bee3df3a87ee2bbd04827700979bf6f1ed486439864db5dbe5612fdd3cbe4f1cf1a86cc08b0138dda51b9d95dee654d

View File

@@ -1,15 +0,0 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit distutils-r1 git-r3
DESCRIPTION="(Some) LaTeX environments for Jupyter"
HOMEPAGE="https://github.com/jfbercher/jupyter_latex_envs"
EGIT_REPO_URI="https://github.com/jfbercher/jupyter_latex_envs.git"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jupyter_core"

View File

@@ -1 +0,0 @@
EBUILD jupyter_nbextensions_configurator-9999.ebuild 505 SHA256 106ced3e5980134eaa67b8aa9413d30f87e321a5b7f4d8d17e305344a7a1b2dd SHA512 d5116e108767601080bd782ad756fa164513b206bb99a8d6c9faecae82aaaa6bde44dce90d6231a3f479cc3f8e284e9aab375e93569465eb22cbc37f39a4eccb WHIRLPOOL d35ac437bb9768d1bffc6659376b0bbde21f122a824497c7de243b773cd0213d7df43e1e17cae094143e2b828d6c3e07aa416ee137f7a7f260dac8b470b2a2cb

View File

@@ -1,16 +0,0 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit distutils-r1 git-r3
DESCRIPTION="A jupyter notebook serverextension providing config interfaces for nbextensions"
HOMEPAGE="https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator"
EGIT_REPO_URI="https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator.git"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jupyter_contrib_core
dev-python/jupyter_contrib_nbextensions"

View File

@@ -1,2 +0,0 @@
DIST line_profiler-1.0.zip 32370 SHA256 29194d0612ab1d503edb354f6e8d30922e1607d18ae196c060c0dd590813d080 SHA512 da1820d075b06730ef65b71ac8e539f65b5ec41297e4e45db4c9cab2657e95c0cc1497a6c406ee735a7e3e9369091f8d8178025eb3ee0482d3f2aaa5c9111dff WHIRLPOOL 9e5273a7d965a61c4e7b7866d615adff935918d7b47f295599e2b1ca1f6fbf86f47d0e39b39b73eb81de7f3d018c65624ec1047f1a545fae0d9ef26c44e563fb
EBUILD line_profiler-1.0.ebuild 424 SHA256 2d76c0c5b2a56d7d617ab86b54db49a8418e352990842b2643a9b418fc9577e5 SHA512 adde724ecd7edbc1e53ce5ed3d51e5bb4d800e8658a7aa22c947f3d8af74b6280a05bc92c5ab969f9cc2d9a3c5c8d1701f597b87a509db949b1f673796218bd5 WHIRLPOOL 1eacbbfcf0c747746aae92e69bea0c799baaa136ae9782d8cd03a2c999f4622f6b2c3be6e797915cdc70bd6ee5a7d13b08014ab37649c1495e01094f871e34b6

View File

@@ -1,19 +0,0 @@
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1
DESCRIPTION="Line-by-line profiling for python"
HOMEPAGE="https://github.com/rkern/line_profiler"
SRC_URI="https://github.com/rkern/line_profiler/archive/rel/${PV}.zip -> ${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/cython-0.10"
RDEPEND=""
S="${WORKDIR}/${PN}-rel-${PV}"

View File

@@ -1,2 +0,0 @@
DIST parsedatetime-1.5.tar.gz 61150 SHA256 4698420df9765f8f4ea41d9e771874ea8dff907e695f26634919b41f39590980 SHA512 cd76711f403e1344a6d4ac56c7d39ad280a47c10333a09ec2a65152b79f7a284d1d6ba3af7b7d7df9a32f650036012a115a3811d34f5dfe13582acec2ee5f130 WHIRLPOOL c90b54c16dfac0f98ce18c6595eed42ee09f0234e2314d054d64d3a01fc3c47a692a76dd867f843b67d1e76ce48cd910d581c68f63be03e40fe52e9119b66507
EBUILD parsedatetime-1.5.ebuild 371 SHA256 2fd0b709616d69858267467763db87c04daaaccf68c7a1dded5f3ab5bea7ebc1 SHA512 6a54ad4cf203dc9dd4fcb393e70f29c0ff3bf9819fda6bc76ee5429cffcb9e5cc8df5296b5d916ec58fd65205f8d16a5f761caa4e81efd211e10cf6553bd9499 WHIRLPOOL 8a4261612ee06bef5586af54e9c0018fb683c56c3e1b01641d9534a6ad33a310d0b46f7ddd6f37c5ebd17358ee84d3fa7f1ebff0552dac72d6b216295b2771ee

View File

@@ -1,16 +0,0 @@
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1
DESCRIPTION="Parse Human-Readable Date/Time Strings"
HOMEPAGE="https://github.com/bear/parsedatetime"
SRC_URI="https://github.com/bear/parsedatetime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""

View File

@@ -1 +0,0 @@
EBUILD simplesoapy-9999.ebuild 582 SHA256 22dfd758721d49ac8b7a81b34f821c6a3774747d5227fe3c5f8b6bbaff3cc470 SHA512 53a98a1f3ed90e7cc5b1ae3c6420f229589e754e32d3bd283f04f761c6f8e356ad1dc02b34282d0b9ed8b15c42df4a2a810777e3eb8ab2dcc75349508a882850 WHIRLPOOL 8f04c36589d5409ee2dd9f3b2239b7cfe70c042a0239869a58c7882d4699ee5fdda9219e9ff0f6ae99e580f667bf7b6cc723b852d11372c79ec9ac7867b0b9fb

View File

@@ -1,26 +0,0 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Simple pythonic wrapper for SoapySDR library"
HOMEPAGE="https://github.com/xmikos/simplesoapy"
LICENSE="MIT"
SLOT="0"
if [ "${PV}" = "9999" ]; then
KEYWORDS=""
inherit git-r3
EGIT_REPO_URI="https://github.com/xmikos/simplesoapy.git"
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/xmikos/simplesoapy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
DEPEND=""
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
net-wireless/soapysdr"

View File

@@ -1 +0,0 @@
EBUILD yapf-9999.ebuild 296 SHA256 b5d70de886636b2d93bf6fd38a1b7d5f2f1b6276a2b28fd7b631f83c80702f1b SHA512 1becd556d6702f94edd66eea08ad70de2363d880a16c8d863877b956bdea70b003ca83eb4e5713c672ab9392ead3d009fc3be7e89a992fb279994d2768e5fd04 WHIRLPOOL befffbbc9d2a5e3b2dc78c88cd5c07663c1e5e807f51cb439cac1aa9a829c38730593a15e1041dfe065daa417c93836ac5ca05b1bd63f1213f272ce1b87ae987

View File

@@ -1,14 +0,0 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit distutils-r1 git-r3
DESCRIPTION="A formatter for Python files"
HOMEPAGE="https://github.com/google/yapf"
EGIT_REPO_URI="https://github.com/google/yapf.git"
LICENSE="Apache"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

View File

@@ -1 +1 @@
EBUILD git-remote-gcrypt-9999.ebuild 546 SHA256 50bf2d60b4347f5b0194522e7618f3e7aa19e89b1c52fd4a664976f05a9c4693 SHA512 01a900a4c7bb413a19db56cd0af2fd58775998fc2c31c73184336aaba50b7afb405e229bf89ae2524eee4fde57500efbf70a8f8b0ca4cf2121eee63b42d0b164 WHIRLPOOL 4eebbddeb7307c5f547b77404218efadb96277ebd3ad5867c3ad4975da108d984d13c4bf766ac09a9cdfe85098835b8b390d57bb68fd1b219aa1d3e7dc15bfe5
EBUILD git-remote-gcrypt-9999.ebuild 546 BLAKE2B e918b16ce379e4072e0b4defa26853646b4b34789396beeb7d9842f12e294222a6324362113efe88c30888873aa50ddadf4b91e8b5448aa88d1849ff3a50a50e SHA512 8730662c9b7644205b854c3f391d018dcc1242d82ad3be1ca09f9eeaceac7ca8ee0e239510effc90e7095ea8970c42eae4c7209ca39c006d2e4d51e27a3fd1f6

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
EAPI=7
inherit git-r3

2
gui-apps/swaync/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST swaync-0.12.3.tar.gz 146516 BLAKE2B cf90caa755e533043320f5a9b37ee1bde806e7ae3f6648c45b347e899d4a93934bfdbcaff5d81ff72329f5c1240466c6ff603aaaaf9282844ca848971df6be78 SHA512 847fa8b46f432d40f4c1c7a8559d5b3f5b431784e3dc7afb90edb57533c6662116af2d78965b2e4b9f635432b108e3a1ad518d739c6fa13ee317b0d80bcbb8cf
EBUILD swaync-0.12.3.ebuild 1373 BLAKE2B 61d2806a20ac189c9aa8215f79cda3c89204c5517d2ba0b5270f2f6647a6ba53b6e3d2350ca413ffa05e46c4ca10d41ee981c918901deb1f55dcf45209b190a6 SHA512 fdd2bc40c5badd707fcd473fe62713ed6d7c31d71c699e1d8025101cd8113c73c5d2535fda7c11a8684898dce995cf611a955d33fe4444690a5ba365bda23c03

View File

@@ -0,0 +1,66 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit meson vala gnome2-utils python-any-r1
VALA_USE_DEPEND="vapigen"
MY_PN="SwayNotificationCenter"
DESCRIPTION="A simple notification daemon with a GTK gui for notifications and control center"
HOMEPAGE="https://github.com/ErikReider/SwayNotificationCenter"
SRC_URI="https://github.com/ErikReider/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pulseaudio"
DEPEND="
dev-lang/sassc
dev-libs/glib:2
dev-libs/gobject-introspection
>=dev-libs/granite-7.0.0:=
dev-libs/json-glib
dev-libs/libgee:0.8=
gui-libs/gtk4-layer-shell[introspection,vala]
gui-libs/gtk:4[introspection,wayland]
gui-libs/libadwaita
gui-libs/libhandy:1
pulseaudio? ( media-libs/libpulse )
sys-apps/dbus
x11-libs/gdk-pixbuf:2
"
RDEPEND="
${DEPEND}
x11-libs/cairo
x11-libs/pango
"
BDEPEND="
${PYTHON_DEPS}
$(vala_depend)
app-text/scdoc
dev-util/blueprint-compiler
"
# https://bugs.gentoo.org/961696
BDEPEND+=">=dev-build/meson-1.8.2"
src_configure() {
local emesonargs=($(meson_use pulseaudio pulse-audio))
meson_src_configure
}
src_prepare() {
default
vala_setup
}
pkg_postinst() {
gnome2_schemas_update
}
pkg_postrm() {
gnome2_schemas_update
}

View File

@@ -1,2 +0,0 @@
DIST glyr-1.0.10.tar.gz 416414 SHA256 77e8da60221c8d27612e4a36482069f26f8ed74a1b2768ebc373c8144ca806e8 SHA512 dc5a579c84c321de7c28861e42196d42ef73bbdbe86b5d662d7ace1d79efe8d6d8d0a8086092ed9c32af9651db8cb11bf1678c5582b17192b23e20a66812bb21 WHIRLPOOL 9f6077d80b6b22a35405a620ad9d34e739549992ad99805600fdb0e85de5d498300a57ebdb0e29d5c5e67670bab67ff6d05551c8d8c016f7b10ceb352450d9fd
EBUILD glyr-1.0.10.ebuild 721 SHA256 3714dc080e91c3f84201e230d00ca6b8e2c736314e899329f9eac11ea7965c58 SHA512 f20489097f427ea8368539a0d866b99bba1a95cf4ff377737c516a8c70897172599b87df6fc149249eb8ecbc8674ee156467a000e935cbf7a639399b59def03c WHIRLPOOL 8de54766272004ac8fec023aa475658b1a1739d1bb5eee40b569a74fcd903b885a414145efa9fbbe2be6354debf9f6c1cb838fa9ba4f84b16d23b7a06b77fa99

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils
DESCRIPTION="A music related metadata searchengine, both with commandline interface and C API"
HOMEPAGE="https://github.com/sahib/glyr"
SRC_URI="https://github.com/sahib/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-db/sqlite:3
>=dev-libs/glib-2.10:2
net-misc/curl"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS="AUTHORS README*" # CHANGELOG is obsolete in favour of git history
src_prepare() {
sed -i \
-e '/GCC_ONLY_OPT.*-s/d' \
-e '/FLAGS/s:-Os::' \
-e '/FLAGS/s:-g3::' \
CMakeLists.txt || die
}

View File

@@ -1 +0,0 @@
EBUILD libpredict-9999.ebuild 523 SHA256 21f00554b256bdfefbedbeaf3c9f9f991d2d66d680414c493ae6bda4c83df7b2 SHA512 4de50ed8203aa7dc3bdec61d08de59c5d6de518b9e73acd79fcb5b9edcc48fccf2b48eb1bfbf243325a4476a8f67c4340547889e788ff652e12d8fcc81e66f83 WHIRLPOOL efcec4d74c782f60005e2897360623fd2b4cc181f9ec0b2546f7351b5dcdbd898dab29d9193a7fb5ce7a95528f96a9260524d43ebc8e23a9fdd8b7f603c1c5dd

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils git-r3
DESCRIPTION="A satellite orbit prediction library"
HOMEPAGE="https://github.com/la1k/libpredict"
SRC_URI=""
EGIT_REPO_URI="https://github.com/la1k/libpredict.git"
KEYWORDS=""
LICENSE="GPL-2"
SLOT="0/${PV}"
IUSE=""
RDEPEND=""
DEPEND=""
REQUIRED_USE=""
src_prepare() {
eapply_user
}
src_configure() {
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
}

View File

@@ -1 +0,0 @@
EBUILD flyby-9999.ebuild 526 SHA256 3b71e9083a84eca72e5d2680d31c74bc0c7c4525b427928313a7e15238ea5552 SHA512 4d81a529b20b26343c478e29a30f142d8404f06664a973f720d932df8f8c393d562533503de73315f36956e920a18b54ac50c12954b44f6605c24d98a0c89088 WHIRLPOOL 021ebf0cf54c3d086095a8ccf8defc417f74c6b7c0ca786f70ef517de799663ad344fdccbe610f4370fa02a8ec92e969a696c15e9c0fa97ffc3d3b8996f69ae6

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils git-r3
DESCRIPTION="A satellite tracking program"
HOMEPAGE="https://github.com/la1k/flyby"
SRC_URI=""
EGIT_REPO_URI="https://github.com/la1k/flyby.git"
KEYWORDS=""
LICENSE="GPL-2"
SLOT="0/${PV}"
IUSE=""
RDEPEND="media-libs/libpredict"
DEPEND=""
REQUIRED_USE=""
src_prepare() {
eapply_user
}
src_configure() {
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
}

View File

@@ -1,3 +0,0 @@
DIST beets-1.4.2.tar.gz 1418185 SHA256 b54c72e220d7696740823d0a4e4f38d57d1e463daaf06da5194a358d3a14ca6a SHA512 26cb6876e986d1a46e2eda2a4b22e94e08e36570c24c851453fbf90af8587915215b64fec5408548948db468821ff99786e1296f662ab18bf2b009d46fb1ddb7 WHIRLPOOL bdd17742d9ce03aefb910c61b447ad5d162022b9dbb8543f9da73bdbf4997c30603d23c53e7375233427904d88b5db7106af8350d3891032a6e62cdc948c3a48
EBUILD beets-1.4.2.ebuild 2671 SHA256 ede72f44c6894d5232a9fd82a9839e7bf3381b6d62bafb8da14677446104cd8b SHA512 697e7dcecbac5a804e1be95f3ddedc84aab24421fb83c73332ef9d22d7b6374a5e9541c9bb3e48cf0dc2e2247c754f483ee198429dc814a1f1fd77cd862fcd4b WHIRLPOOL daaaf550b9c2f8f35a086ab4f59eb821004729b5fb8684d2badd82dd1786e47a5aa7800a32712c3db32d7bcd131ca3cf334b2a03826aa4aae6b5772cfbefed79
MISC metadata.xml 2486 SHA256 d66557610d715bbb7b796f56c210d25771cf1edce46b58c4bb968260c932126d SHA512 286c0be6dac28069fc4b007719dcf4db0c20fffba4806cee1a941ab58e4ad5cb105c52da4742d3327ba1c7753adeaed755afc17a3d297cddb30c313f8084ab80 WHIRLPOOL 67a02c2c95c2f850e0a91c1e1a6883252f28291e36137a64cb80a265389c030c4b2b5a8ee43ccb8d8369ea3de107eaba49408843595bae853c05a8e505d40a8d

View File

@@ -1,90 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1 eutils
MY_PV=${PV/_beta/-beta.}
MY_P=${PN}-${MY_PV}
DESCRIPTION="A media library management system for obsessive-compulsive music geeks"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
HOMEPAGE="http://beets.radbox.org/ https://pypi.python.org/pypi/beets"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="MIT"
IUSE="bpd chroma convert doc discogs flac gstreamer lastgenre mpdstats
ogg opus replaygain test web"
RDEPEND=">=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/jellyfish[${PYTHON_USEDEP}]
dev-python/munkres[${PYTHON_USEDEP}]
>=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.27[${PYTHON_USEDEP}]
bpd? ( dev-python/bluelet[${PYTHON_USEDEP}] )
chroma? ( dev-python/pyacoustid[${PYTHON_USEDEP}] )
convert? ( media-video/ffmpeg:0[encode] )
discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
mpdstats? ( dev-python/python-mpd[${PYTHON_USEDEP}] )
lastgenre? ( dev-python/pylast[${PYTHON_USEDEP}] )
replaygain? (
gstreamer? ( media-libs/gstreamer:1.0[introspection]
media-libs/gst-plugins-good:1.0
dev-python/pygobject:3[${PYTHON_USEDEP}]
ogg? ( media-plugins/gst-plugins-ogg )
flac? ( media-plugins/gst-plugins-flac:1.0 )
opus? ( media-plugins/gst-plugins-opus:1.0 ) )
!gstreamer? ( || ( media-sound/mp3gain
media-sound/aacgain ) ) )
web? ( dev-python/flask[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
S=${WORKDIR}/${MY_P}
src_prepare() {
# remove plugins that do not have appropriate dependencies installed
for flag in bpd chroma convert discogs lastgenre mpdstats replaygain web; do
if ! use ${flag}; then
rm -r beetsplug/${flag}.py || \
rm -r beetsplug/${flag}/ ||
die "Unable to remove ${flag} plugin"
fi
done
for flag in bpd lastgenre web; do
if ! use ${flag}; then
sed -e "s:'beetsplug.${flag}',::" -i setup.py || \
die "Unable to disable ${flag} plugin "
fi
done
use bpd || rm -f test/test_player.py
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
cd test
if ! use web; then
rm test_web.py || die "Failed to remove test_web.py"
fi
"${PYTHON}" testall.py || die "Testsuite failed"
}
python_install_all() {
doman man/beet.1 man/beetsconfig.5
use doc && dohtml -r docs/_build/html/
}

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sound@gentoo.org</email>
</maintainer>
<longdescription lang="en">
The purpose of beets is to get your music collection right once and for
all. It catalogs your collection, automatically improving its metadata as
it goes using the MusicBrainz database. (It also downloads cover art for
albums it imports.) Then it provides a bouquet of tools for manipulating
and accessing your music.
Because beets is designed as a library, it can do almost anything you can
imagine for your music collection. Via plugins, beets becomes a panacea:
* Embed and extract album art from files tags.
* Listen to your library with a music player that speaks the MPD protocol
and works with a staggering variety of interfaces.
* Fetch lyrics for all your songs from databases on the Web.
* Manage your MusicBrainz music collection.
* Analyze music files metadata from the command line.
* Clean up crufty tags left behind by other, less-awesome tools.
* Browse your music library graphically through a Web browser and play it
in any browser that supports HTML5 Audio.
If beets doesnt do what you want yet, writing your own plugin is
shockingly simple if you know a little Python.
</longdescription>
<use>
<flag name="bpd">
Enable support for <pkg>media-sound/mpd</pkg> server emulation
</flag>
<flag name="chroma">Enable support for acoustic fingerprinting plugin using
<pkg>media-libs/chromaprint</pkg></flag>
<flag name="convert">Enable support for the convert plugin which makes it
possible to transcode files</flag>
<flag name="discogs">Enable support for the discogs API plugin</flag>
<flag name="lastgenre">Enable support for importing music genres from
last.fm tags</flag>
<flag name="mpdstats">Enable support for collecting statistic about
listening habits from <pkg>media-sound/mpd</pkg></flag>
<flag name="opus">Enable opus support in gstreamer-based replaygain</flag>
<flag name="replaygain">Enable support for Replay Gain metadata calculation
during import</flag>
<flag name="web">
Enable embedded webserver support through <pkg>dev-python/flask</pkg>
</flag>
</use>
<upstream>
<remote-id type="pypi">beets</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,12 @@
DEFINED_PHASES=test
DEPEND=test? ( dev-util/cram )
DESCRIPTION=rc file (dotfile) management
EAPI=8
HOMEPAGE=https://github.com/thoughtbot/rcm
IUSE=test
KEYWORDS=~amd64 ~x86
LICENSE=BSD
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://thoughtbot.github.io/rcm/dist/rcm-1.3.6.tar.gz
_md5_=a118c39fa98921a1ac199d336833d7dd

View File

@@ -0,0 +1,12 @@
DEFINED_PHASES=prepare unpack
DEPEND=dev-ruby/mustache >=dev-vcs/git-1.8.2.1[curl]
DESCRIPTION=rc file (dotfile) management
EAPI=6
HOMEPAGE=https://github.com/thoughtbot/rcm
INHERIT=git-r3
LICENSE=BSD
PROPERTIES=live
RDEPEND=dev-ruby/mustache
SLOT=0
_eclasses_=git-r3 2347f8fe2d392b2a091191f94be37e6f
_md5_=3330083eee7e1151d1126b13077f0cd2

View File

@@ -1 +0,0 @@
EBUILD testssl-9999.ebuild 796 SHA256 3d382c48ae688b08d54a5d79eba77e416d8e35a01881b116b013b8ec1690bc61 SHA512 2ac3c00da3e0536a6ef27b38a703f599b87ddd8982aa19f0ed95d669eb761c28dd6bc8c0c25b01b524a560e89fdac119d6e909d529dfa98a8a3d07cdf4b96893 WHIRLPOOL 9458f6905f31442c16b32391f35a9952d1df683cb77cb00afc9899e70349f8adbeffe044b42908637b155fe890def137ef0dbd652ac7f3c6ece6b4844297981e

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit git-r3
DESCRIPTION="Testing TLS/SSL encryption"
HOMEPAGE="https://testssl.sh"
EGIT_REPO_URI="https://github.com/drwetter/testssl.sh.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
# Don't strip debug symbols from the provided OpenSSL binaries.
RESTRICT="strip"
INSTALLDIR="/usr/share/${PN}"
PATCHES=(
"${FILESDIR}/follow_symlinks.patch"
)
src_install() {
dodir "${INSTALLDIR}"
dodir "${INSTALLDIR}/bin"
dodir "${INSTALLDIR}/etc"
exeinto "${INSTALLDIR}"
doexe testssl.sh
insinto "${INSTALLDIR}/etc"
doins etc/*
exeinto "${INSTALLDIR}/bin"
doexe bin/openssl.*
dosym "${INSTALLDIR}/testssl.sh" /usr/bin/testssl
}

View File

@@ -1,3 +0,0 @@
DIST ferm-2.3.tar.gz 125706 SHA256 9de83d3e5f6e459f27140ae50610ed9419ac4f7b90d8d51e54c1172ea11ba64b SHA512 0df172fcae0d862df1d2840c401ebf5a20a609f447301c398c0d5f9992d07af23b09530f4214d3debd231f35b1d7c76324f57d134225cf884008daec1c3c76f8 WHIRLPOOL 327b870c191cb25839bd2a08cf5ab1e9d2b87ccffdd81cc4f004c68492fb2914d712332553fbd5b1d189e9beedf64b6f4622073a76e931da9f20f9cf418f77fe
EBUILD ferm-2.3.ebuild 799 SHA256 b7a83a523d4706fa9922bac8d74ac8f709e680f3ecbdc42ca71626c44856554b SHA512 fcf9625cf4a3d07cd3ed37ca0b9ec31b6e29d78c56d49babeacf681fef54aa089c21c0052c15031425abd2f57c32065cae382a09185517105cdd298aab04eab8 WHIRLPOOL db7e92484d1474ce4838f5d057b5a5b2b584d3c5a3633fa24d6f3e1541ec1bd6a8add6cfd1312c0a87f1d8443d82bfd5abd305fa597134c254d00eec7e4ec03f
MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968

View File

@@ -1,38 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit versionator systemd
MY_PV="$(get_version_component_range 1-2)"
DESCRIPTION="Command line util for managing firewall rules"
HOMEPAGE="http://ferm.foo-projects.org/"
SRC_URI="http://ferm.foo-projects.org/download/${MY_PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
# does not install any perl libs
RDEPEND="dev-lang/perl:*
net-firewall/iptables
virtual/perl-File-Spec"
src_compile() { :; }
src_install () {
dobin src/{,import-}ferm
dodoc -r AUTHORS NEWS README TODO doc/*.txt examples
doman doc/*.1
dohtml doc/*.html
systemd_dounit ferm.service
}
pkg_postinst() {
elog "See /usr/share/doc/${PF}/examples for sample configs"
}

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>

View File

@@ -1,7 +0,0 @@
AUX firehol-2.0.2-autosave.patch 769 SHA256 a31010e0c0c448292b5dc496852ffa6bec823b175b8cad061357764a398f68d4 SHA512 c6042c4732f760af8d712e5775e3a839c1675496d3af903a63e125b38e278facf99593780ee7513eabfadc8400fed4e7448ffe0be555026e83ac9a0c5c80e566 WHIRLPOOL 5132d96d342677b581178c9d9af7f0194fb9cdede7c47a569e551e4378b4bb69dd7c7a64546cb94a6840d9993a6223721e92dfbaee3f2721de6d1ccdc9b5ebee
AUX firehol.conf.d 70 SHA256 0e6bae0a5329d6b527cf0ae7183acf04f0f08f5a931bf5e82a789053faed4e3c SHA512 e6b21b493526770bf5619d09b63f8e6cf7f94fb8059fc8ff2d1f19776cab1320218e103d73219534817464314430faca4e437644befa5330610d948c2ade1a35 WHIRLPOOL f5a4db182e7f04200686a4ab2c2fd76929fed12ba2c7cf36461a5e01ece9d2eaac3caaf98def21dd0a7be4902220f51a82f0281ef0eef3724efc88af4cea4643
AUX firehol.initrd 1151 SHA256 fac0691dc6d8482b9b62728536b26d2a7593ceef786db4566d1b5fdfba9911e8 SHA512 4551f7b3ec1fe0738994a7ddd245746e475441b30025046e508c9bce3d4c9c2f7b1fb3a8beb97049bd57f9f7a763b4ed7ea42fca521e6437fe26cdca1326e7c2 WHIRLPOOL 2b9341049c0b59b8a5e2a6acab620cfb17aea27ac9e304efb695c5dbf06c4f19c938676d5da02b31f7926362d36f5c5638833aa73eabcc88dc20eb0b6fb4a7a6
AUX fireqos.conf.d 65 SHA256 c18e2f224ac8e33971c632d7492ed3142059e8fce370713cf72df35cbd0a3b6a SHA512 4dd394f3d896d8bf782cf1157f5bf420ca0e9b2c6238986f3fb17630ec0e12bfcad4ffc6fe2258a7d257e157fed11e01aef26965f3d97c78643c6467639a822c WHIRLPOOL 05cded3032f1db543e1b35eb84963ebadb59a72d3b4cffcf00c31b18346a85795f21bc836eb461688152c8abcd0a221ec46d47dac5302c692c9bb3d67e835d14
AUX fireqos.initrd 839 SHA256 c3837183ae3cc861f467d47177207c028654a35610936a72fef28292776b43ae SHA512 4abb89b27fadcafd24de6cc89a1a84f6436589e9327899140c90a82f2869ef00f4498f052dcb551f1b885fef5640c326f9e52c9b728a3cdf3d9e968894e6c2b4 WHIRLPOOL 16462b081ae136dde5a88732979c38e0cc5899a41ddc6b51bc103c52c2a1599df42ec3d4d5c13db20431ff395b42dac6ed9e48c055b4ca04f1ddfa78fc7eeffb
DIST firehol-3.1.0.tar.xz 1474744 SHA256 31da099f21c8845eeef43fb46c218baee720992cbbc1075be511c57e7acca365 SHA512 9c366490785d4690d49501eaaf8d35890c7170404aaa1a89afd7ea3a5e43daf5a94196ba7519c1054d8af8b420c3cf76804f9ad4fafe0cd7c70e6eb153cf6ba3 WHIRLPOOL d2d0b59e1d6bc95afca68260f8bf7212a782f0b9e8bd868c16494b693ed9de1d4dea8fbba8aef1218e32a93784c1bb76fe97fe63fd798a50f37232473d7304ea
EBUILD firehol-3.1.0.ebuild 1371 SHA256 7587f6337bf2494b0387dd5318d1c0a935f6c8e09b4ce19990503d17dfbb8bce SHA512 c3e26322868866eca1190de0e155250e32b21ad6137a64776f418b778740fe223d7a74554f7baa11a4273391581d0e36978b932d79734b9b98cfbc56d1abc5b5 WHIRLPOOL 12d375374de325b876239b32540bd3d4e68d600b3147b1105e0c018386481829a067f68193147ed788c7199fa323a3888bcae3c941183ef091f422bb469a9455

View File

@@ -1,18 +0,0 @@
diff -urNp firehol-2.0.1/sbin/firehol.in firehol-2.0.1.new/sbin/firehol.in
--- firehol-2.0.1/sbin/firehol.in 2015-02-15 17:08:03.000000000 +0200
+++ firehol-2.0.1.new/sbin/firehol.in 2015-04-14 18:05:22.262234003 +0300
@@ -846,12 +846,12 @@ test -z "$FIREHOL_ROUTING" && \
# Where /etc/init.d/iptables expects its configuration?
# Leave it empty for automatic detection
test -z "$FIREHOL_AUTOSAVE" && \
- FIREHOL_AUTOSAVE=
+ FIREHOL_AUTOSAVE="@FIREHOL_AUTOSAVE@"
# Where /etc/init.d/ip6tables expects its configuration?
# Leave it empty for automatic detection
test -z "$FIREHOL_AUTOSAVE6" && \
- FIREHOL_AUTOSAVE6=
+ FIREHOL_AUTOSAVE6="@FIREHOL_AUTOSAVE6@"
# Set to non-empty to wait (max 60 seconds) for a network interface
test -z "$WAIT_FOR_IFACE" && \

View File

@@ -1,2 +0,0 @@
#Locate of FireHOL conf file
FIREHOL_CONF="/etc/firehol/firehol.conf"

View File

@@ -1,67 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
extra_commands="save panic try"
extra_started_commands="reload"
depend() {
need localmount
after bootmisc
before net
provide firewall
}
checkrules() {
if [ ! -f ${FIREHOL_CONF} ]; then
eerror "Not starting FireHOL. Create ${FIREHOL_CONF}"
eerror "and fill it with some rules."
eerror "man firehol.conf for more info."
return 1
fi
}
start() {
checkrules || return 1
ebegin "Starting FireHOL"
/usr/sbin/firehol ${FIREHOL_CONF} start > /dev/null
eend $?
}
stop() {
ebegin "Stopping FireHOL"
/usr/sbin/firehol stop > /dev/null
eend $?
}
restart() {
ebegin "Restarting Firewall"
svc_stop;
svc_start;
eend $?
}
try() {
ebegin "Trying FireHOL configuration"
/usr/sbin/firehol ${FIREHOL_CONF} try
eend $?
}
status() {
ebegin "Showing FireHOL status"
/usr/sbin/firehol status
eend $?
}
panic() {
ebegin "FireHOL PANIC"
/usr/sbin/firehol panic
eend $?
}
save() {
ebegin "Saving FireHOL configuration"
/usr/sbin/firehol save
eend $?
}

View File

@@ -1,2 +0,0 @@
#Locate of FireQOS conf file
FIREQOS="/etc/firehol/fireqos.conf"

View File

@@ -1,45 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
need localmount
after bootmisc
before net
}
checkrules() {
if [ ! -f ${FIREQOS_CONF} ]; then
eerror "Not starting FireQOS. Create ${FIREQOS_CONF}"
eerror "and fill it with some rules."
eerror "man fireqos.conf for more info."
return 1
fi
}
start() {
checkrules || return 1
ebegin "Starting FireQOS"
/usr/sbin/fireqos start ${FIREQOS_CONF} -- ${FIREQOS_EXTRA_ARGS} > /dev/null
eend $?
}
stop() {
ebegin "Stopping FireQOS"
/usr/sbin/fireqos stop > /dev/null
eend $?
}
restart() {
ebegin "Restarting FireQOS"
svc_stop;
svc_start;
eend $?
}
status() {
ebegin "Showing FireQOS status"
/usr/sbin/fireqos status
eend $?
}

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils linux-info
DESCRIPTION="iptables firewall generator"
HOMEPAGE="http://firehol.sourceforge.net/"
SRC_URI="https://firehol.org/download/firehol/releases/v${PV}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
IUSE="doc ipv6"
KEYWORDS="~amd64 ~arm"
RDEPEND="net-firewall/iptables
sys-apps/iproute2[-minimal,ipv6?]
net-misc/iputils[ipv6?]
net-misc/iprange
net-analyzer/traceroute
virtual/modutils
app-arch/gzip"
DEPEND="${RDEPEND}"
pkg_setup() {
local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT ~NF_NAT_FTP ~NF_NAT_IRC \
~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT ~NF_LOG_IPV4 ~NF_LOG_IPV6 \
~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \
~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE ~NETFILTER_XT_MATCH_OWNER"
get_version
CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}"
linux-info_pkg_setup
}
src_configure() {
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
--disable-vnetbuild \
--disable-update-ipsets \
$(use_enable doc) \
$(use_enable ipv6)
}
src_install() {
default
newconfd "${FILESDIR}"/firehol.conf.d firehol
newinitd "${FILESDIR}"/firehol.initrd firehol
newconfd "${FILESDIR}"/fireqos.conf.d fireqos
newinitd "${FILESDIR}"/fireqos.initrd fireqos
}

View File

@@ -1,5 +0,0 @@
AUX gqrx_spikes.patch 2724 SHA256 b89672ff88e9eb2fd3d97c4b4a6cbf76ed5a73fb1842f4afb2eda6823f6e015f SHA512 e7c2111bdd857ac6d10ee47034e9824cd0a3ae1c15edeb5187674a48e51a57e110860f2d85ca392e61c7a0632c645efd7a02c1c7764bc9c1fa92c579f2275de5 WHIRLPOOL 3b6cabde7bfc9b7fb8e61ceb26920abb3f821c8f90ad3fece190ca8680c9d84ae3fbec5744ea191d97c5846e3f286bc6ebf26c53b0f4b6a5686fb1b8228d68af
DIST gr-osmosdr-0.1.4_p20150730.tar.xz 1148596 SHA256 b94e597d8042717d70f5f8c358fb8446ef64a91fa6ab2b362e0e7d37457bd961 SHA512 7e6847eba0d4e217ea71bb4b8105290b329bf8840a7193df013b3a0cd9c9ef57f3686252da48cb0df239288b5794c75178a8bb45ff2a2dd8b605f63fec2426d9 WHIRLPOOL db2df16796ab5974d22d4f606bd73aaec53693933fcc5c12e5126f14e4d3d2eadacd7cf2e28cb18a951caf9a16440c72f54177acfd3af16512febd97d6e0072c
EBUILD gr-osmosdr-0.1.4_p20150730.ebuild 1920 SHA256 e02119d72b7074a412f16480ab086adc4013062f98d6f5b6989cc2979463ae3f SHA512 a99299d2a6ef5c09df4076cf82a01024c1da468efb9e658f5d31c63b1f6020efe5eeda98f218a747b5164811356c35a5d0bbc75d794a69bb9b90071338f54720 WHIRLPOOL 4c6b837840cd20ffcb354dfdeed73fa45bf8a81d40803541799e55f34aaff143b74e252b067019fe33feea653286d793792d67e88fee4c3be6ea81d58a7bca0f
EBUILD gr-osmosdr-9999.ebuild 2270 SHA256 962ac36e9b6ec282e0a9e3fa89654587df20e530db4201599abb8f3161b835ef SHA512 d22b2db242fa44028930beb29ac4c8f58967a8b18af4491dd021d16c2d1fb9c12d2fe38ed3cde9cd2874bee0337de509b482840e5c5f6d1569b05b1c1df0a496 WHIRLPOOL 4740ea8e43c343fd1b04c950220a6a6880841687214913d3575692ad74e5bb1aafd61f01ef5757958e45da564bf970bbcdd40228b0ba35483825d2a61fdcf48a
MISC metadata.xml 752 SHA256 aaf4a362243890bc6b43748cbb5c28f2ba400afb801c88514e0bc3806be26329 SHA512 3b49428bfa6b62bda1195b6c31c549a1ccf59fce03ce0bed5206a0d5a40386264628930758dbaa64e8a40b657c478076cb9a2f10c7d5ace10547ca5cf00742ae WHIRLPOOL 039452d0e4f720e5d60c1b23d7cd025a9c50c35216b199a118ffd4d38ffd08780cc6144d08254f704901662d1837e27a2e9cca0ed005fe601b8f4062801596d8

View File

@@ -1,91 +0,0 @@
--- a/lib/sdrplay/sdrplay_source_c.cc 2017-06-24 23:13:25.747061807 +0200
+++ b/lib/sdrplay/sdrplay_source_c.cc 2015-09-20 09:27:29.000000000 +0200
@@ -142,8 +142,11 @@
*/
sdrplay_source_c::~sdrplay_source_c ()
{
- free(_dev);
- _dev = NULL;
+ if (_dev != NULL)
+ {
+ free(_dev);
+ _dev = NULL;
+ }
_buf_mutex.lock();
if (_running)
{
@@ -214,10 +217,10 @@
gr_complex *out = (gr_complex *)output_items[0];
int cnt = noutput_items;
unsigned int sampNum;
+ unsigned int sampNumStart;
int grChanged;
int rfChanged;
int fsChanged;
-
if (_uninit)
{
return WORK_DONE;
@@ -230,27 +233,35 @@
}
_buf_mutex.lock();
-
- if (_buf_offset)
+ sampNumStart = sampNum;
+ int first_offset = _buf_offset;
+ if (_buf_offset > 0)
{
- for (int i = _buf_offset; i < _dev->samplesPerPacket; i++)
+ for (int i = _buf_offset; i < _dev->samplesPerPacket; i++)
{
*out++ = gr_complex( float(_bufi[i]) * (1.0f/2048.0f), float(_bufq[i]) * (1.0f/2048.0f) );
}
- cnt -= (_dev->samplesPerPacket - _buf_offset);
+ if (cnt > ( _dev ->samplesPerPacket - _buf_offset ))
+ {
+ cnt = cnt - (_dev->samplesPerPacket - _buf_offset);
+ }
+ else
+ {
+ _buf_offset = _buf_offset + cnt;
+ cnt = 0;
+ }
}
- while ((cnt - _dev->samplesPerPacket) >= 0)
+ while ((cnt - _dev->samplesPerPacket) > 0)
{
mir_sdr_ReadPacket(_bufi.data(), _bufq.data(), &sampNum, &grChanged, &rfChanged, &fsChanged);
for (int i = 0; i < _dev->samplesPerPacket; i++)
{
*out++ = gr_complex( float(_bufi[i]) * (1.0f/2048.0f), float(_bufq[i]) * (1.0f/2048.0f) );
}
- cnt -= _dev->samplesPerPacket;
+ cnt = cnt - _dev->samplesPerPacket;
}
-
- _buf_offset = 0;
+
if (cnt)
{
mir_sdr_ReadPacket(_bufi.data(), _bufq.data(), &sampNum, &grChanged, &rfChanged, &fsChanged);
@@ -258,10 +269,15 @@
{
*out++ = gr_complex( float(_bufi[i]) * (1.0f/2048.0f), float(_bufq[i]) * (1.0f/2048.0f) );
}
- _buf_offset = cnt;
- }
- _buf_mutex.unlock();
+ _buf_offset = cnt;
+ }
+ int items = sampNum - sampNumStart;
+ if ( (items + _dev->samplesPerPacket - first_offset - noutput_items) != (_dev->samplesPerPacket - cnt))
+ {
+ std::cerr << "Sampling Error! " << "cnt before return = " << cnt << " noutput_items = " << noutput_items << " first_offset = " << first_offset << " buffer_offset = " << _buf_offset << " Items = " << items << " SpP - _buf_offset = " << _dev->samplesPerPacket - _buf_offset << std::endl;
+ }
+ _buf_mutex.unlock();
return noutput_items;
}

View File

@@ -1,73 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit cmake-utils python-single-r1
DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf"
HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
KEYWORDS=""
else
#git clone git://git.osmocom.org/gr-osmosdr.git
#cd gr-osmosdr
#git archive --format=tar --prefix=gr-osmosdr-${PV}/ v${PV} | xz > ../gr-osmosdr-${PV}.tar.xz
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/gr-osmosdr-${PV}.tar.xz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="custom"
SLOT="0/${PV}"
IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr uhd sdrplay"
RDEPEND="${PYTHON_DEPS}
dev-libs/boost:=
>=net-wireless/gnuradio-3.7_rc:0=[fcd?,${PYTHON_USEDEP}]
bladerf? ( net-wireless/bladerf:= )
hackrf? ( net-libs/libhackrf:= )
iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] )
mirisdr? ( net-libs/libmirisdr:= )
rtlsdr? ( >=net-wireless/rtl-sdr-0.5.3:= )
uhd? ( net-wireless/uhd:=[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
dev-python/cheetah"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
epatch_user
}
src_configure() {
local mycmakeargs=(
-DENABLE_DEFAULT=OFF
-DPYTHON_EXECUTABLE="${PYTHON}"
-DENABLE_FILE=ON
-DENABLE_NONFREE=ON
$(cmake-utils_use_enable bladerf)
$(cmake-utils_use_enable fcd)
$(cmake-utils_use_enable hackrf)
$(cmake-utils_use_enable iqbalance)
$(cmake-utils_use_enable mirisdr MIRI)
$(cmake-utils_use_enable python)
$(cmake-utils_use_enable rtlsdr RTL)
$(cmake-utils_use_enable rtlsdr RTL_TCP)
$(cmake-utils_use_enable uhd)
$(cmake-utils_use_enable sdrplay)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
if use python; then
python_fix_shebang "${ED}"/usr/bin
fi
}

View File

@@ -1,76 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit cmake-utils python-single-r1
DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf"
HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
KEYWORDS=""
else
#git clone git://git.osmocom.org/gr-osmosdr.git
#cd gr-osmosdr
#git archive --format=tar --prefix=gr-osmosdr-${PV}/ v${PV} | xz > ../gr-osmosdr-${PV}.tar.xz
SRC_URI="http://cgit.osmocom.org/gr-osmosdr/snapshot/gr-osmosdr-${PV}.tar.xz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="custom"
SLOT="0/${PV}"
IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr uhd sdrplay"
RDEPEND="${PYTHON_DEPS}
dev-libs/boost:=
>=net-wireless/gnuradio-3.7_rc:0=[fcd?,${PYTHON_USEDEP}]
bladerf? ( net-wireless/bladerf:= )
hackrf? ( net-libs/libhackrf:= )
iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] )
mirisdr? ( net-libs/libmirisdr:= )
rtlsdr? ( >=net-wireless/rtl-sdr-0.5.3:= )
uhd? ( net-wireless/uhd:=[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
dev-python/cheetah"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
# patch source: http://www.transmitter.com/sdrplay/sdrplay_source_c.cc.test-0919-49.txt,
# details under http://www.sdrplay.com/community/viewtopic.php?f=9&t=317&sid=29080cae8c5689e5c332fb1a76abb325&start=10http://www.sdrplay.com/community/viewtopic.php?f=9&t=317&sid=29080cae8c5689e5c332fb1a76abb325&start=10
epatch ${FILESDIR}/gqrx_spikes.patch
epatch_user
}
src_configure() {
local mycmakeargs=(
-DENABLE_DEFAULT=OFF
-DPYTHON_EXECUTABLE="${PYTHON}"
-DENABLE_FILE=ON
-DENABLE_NONFREE=ON
$(cmake-utils_use_enable bladerf)
$(cmake-utils_use_enable fcd)
$(cmake-utils_use_enable hackrf)
$(cmake-utils_use_enable iqbalance)
$(cmake-utils_use_enable mirisdr MIRI)
$(cmake-utils_use_enable python)
$(cmake-utils_use_enable rtlsdr RTL)
$(cmake-utils_use_enable rtlsdr RTL_TCP)
$(cmake-utils_use_enable uhd)
$(cmake-utils_use_enable sdrplay)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
if use python; then
python_fix_shebang "${ED}"/usr/bin
fi
}

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>radio@gentoo.org</email>
<name>Radio</name>
</maintainer>
<use>
<flag name="bladerf">Build with Nuand BladeRF support</flag>
<flag name="fcd">Build with Funcube Dongle support</flag>
<flag name="hackrf">Build with Great Scott Gadgets HackRF support</flag>
<flag name="iqbalance">Enable support for I/Q balancing using gr-iqbal</flag>
<flag name="mirisdr">Build with Mirics MSi2500 + MSi001 SDR support</flag>
<flag name="rtlsdr">Build with Realtek RTL2832U (rtlsdr) support</flag>
<flag name="uhd">Build with Ettus Research USRP Hardware Driver support</flag>
</use>
</pkgmetadata>

View File

@@ -1 +0,0 @@
EBUILD qspectrumanalyzer-9999.ebuild 805 BLAKE2B 89b4d8d8ea41e70328da97cb74bf233fca4730af7e1fb0984b229e20ae1f5402ab33803c993943a0eb49a0f726485297546585ccce9b9a544340844868388c36 SHA512 d3b05218902e898ae1be439a9deaaa3d5a126f7ab26ba25b8cad7946448a80c9c31270dc5c875f58682d5d931c318573d6fe5b33ea70599485919e20728bcc38

View File

@@ -1,32 +0,0 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1
DESCRIPTION="Spectrum analyzer for multiple SDR platforms"
HOMEPAGE="https://github.com/xmikos/qspectrumanalyzer"
LICENSE="GPL-3"
SLOT="0"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/xmikos/qspectrumanalyzer.git"
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/xmikos/qspectrumanalyzer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
# The depend on soapy_power can be removed if patched out of setup.py
RDEPEND="${DEPEND}
net-wireless/soapy_power[${PYTHON_USEDEP}]
dev-python/pyqtgraph[${PYTHON_USEDEP}]
dev-python/QtPy-shim[${PYTHON_USEDEP}]"

View File

@@ -1,10 +0,0 @@
AUX xephem-3.7.7-fix_gsc_lookup.patch 1809 BLAKE2B ab4cffe222761f79e1cee37dc5933f1c2f02aee491aec95595b7422f6643ef29eb0315366bed6a0358ad50d158c56f92741f1403b661aabeca2a68a3dc93f8f9 SHA512 37155ec90da672940bc603ea4f91202d5ca018cea3f3ccbf12e1fa72f5c7fa470376c8288be4bc8b8b66bc0e62e5685b85c8b4dacbf126665f22b47a079bc9d4
AUX xephem-3.7.7-implicits.patch 305 BLAKE2B ad16733b6d44619528af60a33710f3b558a16ebd24bad15b2c1ccf728a113f5495c5f26ded2c1ac61a3fedb9f916571b8bf8076527c7c2ee1353e212e710b319 SHA512 220186bb7f72fe0de6ca75a67df7b1a4d4cc57cc4768d565dc8225e20df93738c7bdd62bde6297941d1ec6638800950ef56e355de8ca1e3e8192b903b021adba
AUX xephem-3.7.7-no_xprint.patch 262 BLAKE2B 6676f7e94978d4433f3f26ff3ec4738fd3f5735462806b7f19e7aa4b7671e62e8f7e894071a04f5a90510782b8a57ab0de0a722d4c5520d5c1cf5bbc0c4c9f52 SHA512 d0277edb3c011bf606803a280461410263fe9986d164df28a6801d3bcd7a0a21405728f9d27fd3dfa1a620e4b364d1d8b65843382bd99a2cf2c3e05755a277c2
AUX xephem-3.7.7-respect_env_vars.patch 3781 BLAKE2B e596c7216c0f70145a189696ff890e136ba282113dc5c9acee4808f7a6474f7e0d9295997ee4dbc595dd8a50d1cb67d22e138b465a82a13a2e294a093f0a7061 SHA512 84a9697c3b05ed28bcc59f4b30807aad76c3228e1aec3db898995d36cae3ef58557ff984a57f60b99e15dd04670a65061451dc00437498c14ed081c0cf06830d
AUX xephem-3.7.7_openssl.patch 20456 BLAKE2B 668162e05035c419e3f0624f5f2fbf4678778283d96ea920a7e472ce5bffa868b2f13ec7934cb4685192f0c0e73feb3441c1e623ce316825cb04c975a0baae92 SHA512 0609495c3e9af08e072862d804db2999b4493b6a8daa1586278f4e01443269d1158c8cec1cd4c2d04baaa42d1288538cd778382f6636d63073da8238dd0d57d1
AUX xephem-3.7.7_openssl_earthmenu.patch 2536 BLAKE2B 22c18a98db2c8c03e9c96be4524e4cd1a433038d45d767da8e61881626824a5499809c9f8ae5cb6c0628c937bfc602c98885c7413adf7f89ccb1613d31951099 SHA512 8263df72d8275a2abddf3a6ace10d1db88693d98064e8bdca0adbf131798e02956db4106978f0516583e59ecdb130f556081afc2e4de88bafdc2e34dabd23d35
DIST xephem-3.7.7.tar.gz 18128523 BLAKE2B 85173bfb21e31198aab9231f6020267beadd4750c832d514f06983ea9c88487c4175d3ac0e7b973a8fb41785658e0155e23be6cb89ac370f9a908e6eff8ea5e8 SHA512 d9cfecf0ce8aa495f66fcf6772ca7df0638cef8b9f18d9d6cbf013846a7575786ae9b5c515abc2058783baa7610320c893ddbc6f68bae28c65661a1c73b88634
EBUILD xephem-3.7.7-r100.ebuild 1377 BLAKE2B b59d387b2462ac5428429826a9668ee468fc43a6f56be1520de0835c9bc6f467a5b1f8feb60ae9707c36c7609c263cd0c1b30b23b12d35c7a5018f97ca278474 SHA512 757e40b5deba336f8b2a515af8c5aa86765d15ba1ef2c7ab8a457bde88e4e1c22abb7da590f3a4c3b35a30963c80a319c5dd1a7ad466aa17597f38d1f72a329c
EBUILD xephem-3.7.7-r101.ebuild 1418 BLAKE2B d232241f8e8eb19f0795fc45b7ca0bb70a86876c1d6b294ef90edc3cc83e4891a7fe60c93ad44bb56b0f055da8119f9fa57ce771fcc6e267fba1f0e1fd4c59d7 SHA512 6f6b2283174599cedf6e54bd89397bbd05e165f6ae6cffa6a8c988cf49d887accce54a04ef0fe5e48c79861f989173dfe3178175af96014c27f1e1399dfaa03b
MISC metadata.xml 730 BLAKE2B c1e84de3e52a140cf7641db3d63d47176a50d2dced49c61dbc0d2b4e8eb8a6a8e689cfbec88e67eba9a0372b3ff7cbcd13938da68add5f558058d11b9e07b7df SHA512 faf972aa6cc2761a5aa05994b3718af494c9cc3e4130204128dff553f35c54db96556d713fbc648b0aff9e4058af94eb9e74edfc697423a82e821b1ddfaae8c8

View File

@@ -1,41 +0,0 @@
--- a/GUI/xephem/gscnet.c 2020-01-24 12:20:10.210100009 +0100
+++ b/GUI/xephem/gscnet.c 2020-01-24 12:20:43.711842644 +0100
@@ -29,7 +29,7 @@
{
#define GSC23MAXFOV degrad(30./60.0) /* max fov */
/* http://gsss.stsci.edu/webservices/vo/ConeSearch.aspx?RA=10.0&DEC=5.0&SR=0.2&FORMAT=CSV */
- static char ifmt[] = "%[^,],%lf,%lf,%*[^,],%*[^,],%*[^,],%*[^,],%lf,%lf,%*[^,],%*[^,],%lf,%lf,%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%d";
+ static char ifmt[] = "%[^,],%*[^,],%lf,%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%d";
static char gfmt[] = " GET http://%s%s?RA=%g&DEC=%g&SR=%g&FORMAT=CSV HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n";
char host[1024];
char buf[2048];
@@ -80,7 +80,7 @@
while ((n = recvlineb (sockfd, buf, sizeof(buf))) > 0) {
char name[1024];
double radeg, decdeg;
- double fmag, jmag, bmag, vmag, rmag;
+ double fmag, jmag, bmag, vmag;
int class;
Obj *op;
@@ -90,9 +90,9 @@
/* crack */
if (sscanf (buf, ifmt, name, &radeg, &decdeg, &fmag, &jmag, &bmag,
- &vmag, &rmag, &class) != 9)
+ &vmag, &class) != 8)
continue;
- if (fmag>lmag && jmag>lmag && bmag>lmag && vmag>lmag && rmag>lmag)
+ if (fmag>lmag && jmag>lmag && bmag>lmag && vmag>lmag)
continue;
/* good -- grow list */
@@ -120,8 +120,6 @@
set_fmag (op, vmag);
else if (bmag<=lmag)
set_fmag (op, bmag);
- else if (rmag<=lmag)
- set_fmag (op, rmag);
else if (fmag<=lmag)
set_fmag (op, fmag);
else

View File

@@ -1,12 +0,0 @@
sunmenu.c:920:3: warning: implicit declaration of function strptime
--- a/GUI/xephem/sunmenu.c
+++ b/GUI/xephem/sunmenu.c
@@ -1,6 +1,7 @@
/* code to manage the sun display
*/
+#define _XOPEN_SOURCE /* See feature_test_macros(7) */
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>

View File

@@ -1,11 +0,0 @@
--- a/GUI/xephem/Makefile
+++ b/GUI/xephem/Makefile
@@ -30,7 +30,7 @@
endif
# for linux and Apple OS X
-XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
+XLIBS = -lXm -lXt -lXext -lXmu -lX11
CFLAGS := $(LIBINC) $(CFLAGS)
LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm

View File

@@ -1,137 +0,0 @@
diff -ruN a/GUI/xephem/Makefile b/GUI/xephem/Makefile
--- a/GUI/xephem/Makefile 2015-08-09 22:36:50.000000000 +0100
+++ b/GUI/xephem/Makefile 2016-01-24 09:34:24.378578717 +0000
@@ -10,9 +10,9 @@
# one executable, xephem.
# These -I and -L flags point to the supporting XEphem libraries
-LIBINC = -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz
-LIBLNK = -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd -L../../libpng -L../../libz
-LIBLIB = -lastro -lip -llilxml -ljpegd -lpng -lz
+LIBINC = -I../../libastro -I../../libip -I../../liblilxml
+LIBLNK = -L../../libastro -L../../libip -L../../liblilxml
+LIBLIB = -lastro -lip -llilxml -ljpeg -lpng -lz
# MOTIFI is the directory containing the Xm directory of include files.
# MOTIFL is the directory containing the libXm.a library.
@@ -30,12 +30,9 @@
endif
# for linux and Apple OS X
-CC = gcc
-CLDFLAGS = -g
-CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/opt/X11/include
-LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/opt/X11/lib
XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
-LIBS = $(XLIBS) $(LIBLIB) -lm
+CFLAGS := $(LIBINC) $(CFLAGS)
+LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
# static linking on Apple using X11 libs from ports
# CC = gcc
@@ -68,9 +65,9 @@
# MOTIFI = -I/usr/include
# MOTIFL = -L/usr/lib
# CC = cc
-# CLDFLAGS =
+# CLDFLAGS =
# CFLAGS = $(LIBINC) $(CLDFLAGS) -O -I$(MOTIFI)
-# LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL)
+# LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL)
# XLIBS = -lXm -lXt -lX11
# LIBS = $(XLIBS) $(LIBLIB) -lsocket -lnsl -lc -lm /usr/ucblib/libucb.a
# Note: if you get regex undefined, add -lgen to the end of LIBS.
@@ -195,12 +192,9 @@
nroff -man $? > $@
libs:
- cd ../../libastro; make
- cd ../../libip; make
- cd ../../libjpegd; make
- cd ../../liblilxml; make
- cd ../../libpng; make
- cd ../../libz; make
+ $(MAKE) -C ../../libastro
+ $(MAKE) -C ../../libip
+ $(MAKE) -C ../../liblilxml
clean:
rm -fr *.o ../../lib*/*.[ao]
diff -ruN a/libastro/Makefile b/libastro/Makefile
--- a/libastro/Makefile 2006-02-24 03:37:31.000000000 +0000
+++ b/libastro/Makefile 2016-01-24 09:30:28.745982455 +0000
@@ -4,8 +4,6 @@
# compiler and flags
# gcc
-CC = gcc
-CFLAGS= -O2 -Wall
# macosx universal binary
# CFLAGS= -O2 -Wall -arch i386 -arch ppc
@@ -83,11 +81,11 @@
vsop87_data.o
libastro.a: $(HS) $(OBJS)
- ar rv $@ $(OBJS)
- ranlib $@
+ $(AR) rv $@ $(OBJS)
+ $(RANLIB) $@
libastro.so: $(HS) $(OBJS)
- $(CC) -shared -o $@ $(OBJS)
+ $(CC) $(LDFLAGS) -shared -o $@ $(OBJS)
clobber:
rm -f *.o libastro.a
diff -ruN a/libip/Makefile b/libip/Makefile
--- a/libip/Makefile 2009-01-05 20:53:46.000000000 +0000
+++ b/libip/Makefile 2016-01-24 09:30:28.745982455 +0000
@@ -2,8 +2,7 @@
# (C) 2001 Elwood Charles Downey
# gcc
-CC = gcc
-CFLAGS= -I../libastro -O2 -Wall
+CFLAGS += -I../libastro
# macosx universal binary
# CFLAGS= -I../libastro -O2 -Wall -arch i386 -arch ppc
@@ -36,11 +35,11 @@
HS = ip.h fsmatch.h
libip.a: $(HS) $(OBJS)
- ar rv $@ $(OBJS)
- ranlib $@
+ $(AR) rv $@ $(OBJS)
+ $(RANLIB) $@
libip.so: $(OBJS)
- gcc -shared -o $@ $(OBJS)
+ $(CC) $(LDFLAGS) -shared -o $@ $(OBJS)
clobber:
rm -f *.o libip.a
diff -ruN a/liblilxml/Makefile b/liblilxml/Makefile
--- a/liblilxml/Makefile 2006-02-24 03:37:32.000000000 +0000
+++ b/liblilxml/Makefile 2016-01-24 09:30:28.745982455 +0000
@@ -4,8 +4,6 @@
# compiler and flags
# gcc
-CC = gcc
-CFLAGS= -O2 -Wall
# macosx universal binary
# CFLAGS= -O2 -Wall -arch i386 -arch ppc
@@ -27,8 +25,8 @@
OBJS = lilxml.o base64.o
liblilxml.a: $(HS) $(OBJS)
- ar r $@ $(OBJS)
- ranlib $@
+ $(AR) r $@ $(OBJS)
+ $(RANLIB) $@
liltest: liltest.o liblilxml.a
$(CC) $(LDFLAGS) -o liltest liltest.o liblilxml.a

View File

@@ -1,671 +0,0 @@
diff -Naur a/GUI/xephem/auxil/mpcorb2edb.pl b/GUI/xephem/auxil/mpcorb2edb.pl
--- a/GUI/xephem/auxil/mpcorb2edb.pl 2014-07-11 04:46:35.000000000 +0200
+++ b/GUI/xephem/auxil/mpcorb2edb.pl 2018-01-08 02:54:53.603935652 +0100
@@ -78,7 +78,7 @@
# setup cutoff mag
my $dimmag = 13; # dimmest mag to be saved in "bright" file
# set site and file in case of -f
-my $MPCSITE = "http://www.minorplanetcenter.net";
+my $MPCSITE = "https://www.minorplanetcenter.net";
my $MPCFTPDIR = "/iau/MPCORB";
my $MPCFILE = "MPCORB.DAT";
my $MPCZIPFILE = "MPCORB.DAT.gz";
diff -Naur a/GUI/xephem/fallbacks.c b/GUI/xephem/fallbacks.c
--- a/GUI/xephem/fallbacks.c 2015-04-09 02:20:19.000000000 +0200
+++ b/GUI/xephem/fallbacks.c 2018-01-08 21:26:23.529915768 +0100
@@ -747,10 +747,10 @@
"XEphem*WebDB*URL1.value: http://celestrak.com/NORAD/elements/science.txt",
"XEphem*WebDB*URL2.value: http://celestrak.com/NORAD/elements/tle-new.txt",
"XEphem*WebDB*URL3.value: http://celestrak.com/NORAD/elements/amateur.txt",
- "XEphem*WebDB*URL4.value: http://www.minorplanetcenter.org/iau/Ephemerides/Comets/Soft03Cmt.txt",
- "XEphem*WebDB*URL5.value: http://www.minorplanetcenter.org/iau/Ephemerides/CritList/Soft03CritList.txt",
- "XEphem*WebDB*URL6.value: http://www.minorplanetcenter.org/iau/Ephemerides/Distant/Soft03Distant.txt",
- "XEphem*WebDB*URL7.value: http://www.minorplanetcenter.org/iau/Ephemerides/Unusual/Soft03Unusual.txt",
+ "XEphem*WebDB*URL4.value: https://www.minorplanetcenter.org/iau/Ephemerides/Comets/Soft03Cmt.txt",
+ "XEphem*WebDB*URL5.value: https://www.minorplanetcenter.org/iau/Ephemerides/CritList/Soft03CritList.txt",
+ "XEphem*WebDB*URL6.value: https://www.minorplanetcenter.org/iau/Ephemerides/Distant/Soft03Distant.txt",
+ "XEphem*WebDB*URL7.value: https://www.minorplanetcenter.org/iau/Ephemerides/Unusual/Soft03Unusual.txt",
"XEphem*WebDB.x: 200",
"XEphem*WebDB.y: 200",
"XEphem*WeekStart.Monday.set: False",
diff -Naur a/GUI/xephem/Makefile b/GUI/xephem/Makefile
--- a/GUI/xephem/Makefile 2015-08-09 23:36:50.000000000 +0200
+++ b/GUI/xephem/Makefile 2018-01-08 21:20:45.200717791 +0100
@@ -32,7 +32,7 @@
# for linux and Apple OS X
XLIBS = -lXm -lXt -lXext -lXmu -lX11
CFLAGS := $(LIBINC) $(CFLAGS)
-LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
+LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm -lssl
# static linking on Apple using X11 libs from ports
# CC = gcc
diff -Naur a/GUI/xephem/net.h b/GUI/xephem/net.h
--- a/GUI/xephem/net.h 2005-03-20 12:04:50.000000000 +0100
+++ b/GUI/xephem/net.h 2018-01-08 19:45:27.561208366 +0100
@@ -20,6 +20,13 @@
#include <sys/select.h>
#endif
+#include <openssl/ssl.h>
+
+typedef struct {
+ int fd; //file desciptor for the underlying connection socket
+ SSL *ssl; //ssl connection for use with SSL_read( )and SSL_write()
+} XE_SSL_FD;
+
/* support functions */
extern int httpGET (char *host, char *GETcmd, char msg[]);
@@ -29,8 +36,11 @@
extern int recvline (int fd, char buf[], int max);
extern int recvlineb (int sock, char *buf, int size);
extern int sendbytes (int fd, unsigned char buf[], int n);
-
-
+extern int httpsGET (char *host, char *GETcmd, char msg[], XE_SSL_FD *ssl_fd);
+extern int ssl_recvbytes (XE_SSL_FD *ssl_fd, unsigned char buf[], int n);
+extern int ssl_readbytes (XE_SSL_FD *ssl_fd, unsigned char buf[], int n);
+extern int ssl_recvline (XE_SSL_FD *ssl_fd, char buf[], int max);
+extern int ssl_recvlineb (XE_SSL_FD *ssl_fd, char *buf, int size);
/* For RCS Only -- Do Not Edit
* @(#) $RCSfile: net.h,v $ $Date: 2003/03/17 07:26:21 $ $Revision: 1.3 $ $Name: $
diff -Naur a/GUI/xephem/netmenu.c b/GUI/xephem/netmenu.c
--- a/GUI/xephem/netmenu.c 2010-10-06 23:12:40.000000000 +0200
+++ b/GUI/xephem/netmenu.c 2018-01-08 22:02:16.090940142 +0100
@@ -9,6 +9,8 @@
#include <string.h>
#include <unistd.h>
+#include <openssl/ssl.h>
+
#include <Xm/Form.h>
#include <Xm/Label.h>
#include <Xm/PushB.h>
@@ -70,12 +72,24 @@
static char netcategory[] = "Network"; /* Save category */
+static SSL_METHOD *ssl_method; /* global ssl dispatch structure for creating a ssl context */
+static SSL_CTX *ssl_ctx; /* global ssl context structure for creating ssl connections */
+
/* call to set up without actually bringing up the menus.
*/
void
net_create()
{
if (!netshell_w) {
+ if (SSL_library_init() < 0) {
+ fprintf (stderr, "Could not initialize the OpenSSL library !\n");
+ } else {
+ ssl_method = SSLv23_client_method(); /* deprecated since openssl 1.1.x */
+// ssl_method = TLS_client_method(); /* since openssl 1.1.x */
+ ssl_ctx = SSL_CTX_new (ssl_method);
+ SSL_CTX_set_options (ssl_ctx, SSL_OP_NO_SSLv2);
+ };
+
net_create_form();
(void) net_save(); /* confirming here is just annoying */
}
@@ -251,8 +265,8 @@
struct {
unsigned char VN; /* version number */
unsigned char CD; /* command code */
- unsigned short DSTPORT; /* destination port */
- unsigned long DSTIP; /* destination IP addres */
+ uint16_t DSTPORT; /* destination port */
+ uint32_t DSTIP; /* destination IP address */
} SocksPacket;
struct hostent *hs = gethostbyname (socks_host);
@@ -390,7 +404,7 @@
/* read up to and including the next '\n' from socket fd into buf[max].
* we silently ignore all '\r'. we add a trailing '\0'.
- * return line lenth (not counting \0) if all ok, else -1.
+ * return line length (not counting \0) if all ok, else -1.
* N.B. this never reads ahead -- if that's ok, recvlineb() is better
*/
int
@@ -445,6 +459,216 @@
if (nr <= 0) {
ok = nr;
rb_next = 0;
+ rb_unk = 0;
+ break;
+ }
+ rb_next = 0;
+ rb_unk = nr;
+ }
+
+ if ((c = rb_linebuf[rb_next++]) != '\r')
+ *buf++ = c;
+
+ } while (buf-origbuf < size && c != '\n');
+
+ /* always give back a real line regardless, else status */
+ if (ok > 0) {
+ *buf = '\0';
+ ok = buf - origbuf;
+ }
+
+ return (ok);
+}
+
+/* open the host, do the given GET cmd, and return a socket fd for the result.
+ * on success it fills the XE_SSL_FD structure for later use by SSL_read() and necessary cleanup.
+ * return -1 and with excuse in msg[], else 0 if ok.
+ * N.B. can be called before we are created if net set in app defaults.
+ */
+int
+httpsGET (char *host, char *GETcmd, char msg[], XE_SSL_FD *ssl_fd)
+{
+ char buf[2048];
+ int fd;
+ int connected;
+ SSL *ssl;
+ int n;
+ int ret;
+ int httpsport = 443;
+
+ /* open connection */
+ if (proxy_on) {
+ fd = mkconnection (proxy_host, proxy_port, msg);
+ if (fd < 0)
+ return (-1);
+
+ /* fill buf with CONNECT */
+ (void) sprintf (buf, "CONNECT %1$s:%2$d HTTP/1.0\r\nUser-Agent: xephem/%3$s\r\nHost: %1$s:%2$d\r\n\r\n", host, httpsport, PATCHLEVEL);
+
+ /* add proxy auth if enabled */
+ if (!auth_w)
+ net_create_form();
+ if (XmToggleButtonGetState (auth_w))
+ addAuth(buf);
+
+ /* log it */
+ xe_msg (0, "https proxy connect: %s", buf);
+
+ /* send it */
+ n = strlen (buf);
+ if (sendbytes(fd, (unsigned char *)buf, n) < 0) {
+ (void) sprintf (msg, "%s: send error: %s", proxy_host, syserrstr());
+ (void) close (fd);
+ return (-1);
+ }
+
+ connected = 0;
+ while (recvline (fd, buf, sizeof(buf)) > 1) {
+ xe_msg (0, "Rcv: %s", buf);
+ if (strstr (buf, "200 "))
+ connected = 1;
+ }
+ if (!connected) {
+ (void) sprintf (msg, "%s: connect error: %s", proxy_host, syserrstr());
+ (void) close (fd);
+ return (-1);
+ }
+ } else {
+ /* SOCKS or direct are both handled by mkconnection() */
+ fd = mkconnection (host, httpsport, msg);
+ if (fd < 0)
+ return (-1);
+ }
+
+ /* fill buf with GETcmd */
+ (void) sprintf (buf, "%s", GETcmd);
+
+ /* start ssl connection */
+ ssl = SSL_new (ssl_ctx);
+ SSL_set_fd (ssl, fd);
+ SSL_connect (ssl);
+
+ /* log it */
+ xe_msg (0, "https: %s", buf);
+
+ /* send it */
+ n = strlen (buf);
+ ret = SSL_write (ssl, (unsigned char *)buf, n);
+ if (ret <= 0) {
+ (void) sprintf (msg, "%s: ssl send error code: %d", host, SSL_get_error (ssl, ret));
+ (void) SSL_free (ssl);
+ (void) close (fd);
+ return (-1);
+ }
+
+ /* caller can read response */
+ ssl_fd->fd = fd;
+ ssl_fd->ssl = ssl;
+ return (fd);
+}
+
+/* receive exactly n bytes from ssl connection ssl_fd into buf.
+ * return -1, 0 or n.
+ * N.B. with fallback to ordinary read from socket if ssl_fd->ssl is NULL
+ */
+int
+ssl_recvbytes (XE_SSL_FD *ssl_fd, unsigned char buf[], int n)
+{
+ int ns, tot;
+
+ for (tot = 0; tot < n; tot += ns) {
+ if (tout (TOUT, ssl_fd->fd, 0) < 0)
+ return (-1);
+ if (ssl_fd->ssl)
+ ns = SSL_read (ssl_fd->ssl, (void *)(buf+tot), n-tot);
+ else
+ ns = read (ssl_fd->fd, (void *)(buf+tot), n-tot);
+ if (ns <= 0)
+ return (ns);
+ }
+ return (n);
+}
+
+/* like read(2) except we time out and allow user to cancel.
+ * receive up to n bytes from ssl connection ssl_fd into buf.
+ * return count, or 0 on eof or -1 on error.
+ * N.B. with fallback to ordinary read from socket if ssl_fd->ssl is NULL
+ */
+int
+ssl_readbytes (XE_SSL_FD *ssl_fd, unsigned char buf[], int n)
+{
+ int ns;
+
+ if (tout (TOUT, ssl_fd->fd, 0) < 0)
+ return (-1);
+ if (ssl_fd->ssl)
+ ns = SSL_read (ssl_fd->ssl, (void *)buf, n);
+ else
+ ns = read (ssl_fd->fd, (void *)buf, n);
+ return (ns);
+}
+
+/* read up to and including the next '\n' from ssl into buf[max].
+ * we silently ignore all '\r'. we add a trailing '\0'.
+ * return line length (not counting \0) if all ok, else -1.
+ * N.B. with fallback to ordinary read from socket if ssl_fd->ssl is NULL
+ */
+int
+ssl_recvline (XE_SSL_FD *ssl_fd, char buf[], int max)
+{
+ unsigned char c;
+ int n;
+
+ max--; /* leave room for trailing \0 */
+
+ for (n = 0; n < max && ssl_recvbytes (ssl_fd, &c, 1) == 1; ) {
+ if (c != '\r') {
+ buf[n++] = c;
+ if (c == '\n') {
+ buf[n] = '\0';
+ return (n);
+ }
+ }
+ }
+
+ return (-1);
+}
+
+/* rather like ssl_recvline but reads ahead in big chunk for efficiency.
+ * return length if read a line ok, 0 if hit eof, -1 if error.
+ * N.B. we silently swallow all '\r'.
+ * N.B. we read ahead and can hide bytes after each call.
+ * N.B. with fallback to ordinary read from socket if ssl_fd->ssl is NULL
+ */
+int
+ssl_recvlineb (XE_SSL_FD *ssl_fd, char *buf, int size)
+{
+ char *origbuf = buf; /* save to prevent overfilling buf */
+ char c = '\0';
+ int ok = 1;
+
+ /* always leave room for trailing \n */
+ size -= 1;
+
+ /* read and copy linebuf[next] to buf until buf fills or copied a \n */
+ do {
+
+ if (rb_next >= rb_unk) {
+ /* linebuf is empty -- refill */
+
+ int nr;
+
+ if (tout (TOUT, ssl_fd->fd, 0) < 0) {
+ nr = -1;
+ break;
+ }
+ if (ssl_fd->ssl)
+ nr = SSL_read (ssl_fd->ssl, rb_linebuf, sizeof(rb_linebuf));
+ else
+ nr = read (ssl_fd->fd, rb_linebuf, sizeof(rb_linebuf));
+ if (nr <= 0) {
+ ok = nr;
+ rb_next = 0;
rb_unk = 0;
break;
}
diff -Naur a/GUI/xephem/sunmenu.c b/GUI/xephem/sunmenu.c
--- a/GUI/xephem/sunmenu.c 2012-04-02 00:38:50.000000000 +0200
+++ b/GUI/xephem/sunmenu.c 2018-01-08 22:09:43.585825210 +0100
@@ -885,9 +885,11 @@
int isjpeg, jpegl;
int njpeg;
unsigned char *jpeg;
+ XE_SSL_FD ssl_fd;
int fd, nr;
struct tm tm;
+ memset(&ssl_fd, 0, sizeof(ssl_fd));
memset(&tm, 0, sizeof(struct tm));
/* get desired type and size */
@@ -900,18 +902,18 @@
/* build GET command */
sprintf (get, "GET http://%s%s HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n", sohohost, fn, PATCHLEVEL);
-
+
/* query server */
- fd = httpGET (sohohost, get, buf);
+ fd = httpsGET (sohohost, get, buf, &ssl_fd);
if (fd < 0) {
- xe_msg (1, "http get: %s", buf);
+ xe_msg (1, "https get: %s", buf);
return (-1);
}
/* read header (everything to first blank line), looking for jpeg */
isjpeg = 0;
jpegl = 0;
- while (recvline (fd, buf, sizeof(buf)) > 1) {
+ while (ssl_recvline (&ssl_fd, buf, sizeof(buf)) > 1) {
xe_msg (0, "Rcv: %s", buf);
if (strstr (buf, "Content-Type:") && strstr (buf, "image/jpeg"))
isjpeg = 1;
@@ -924,15 +926,17 @@
}
}
if (!isjpeg) {
- while (recvline (fd, buf, sizeof(buf)) > 0)
+ while (ssl_recvline (&ssl_fd, buf, sizeof(buf)) > 0)
xe_msg (0, "Rcv: %s", buf);
xe_msg (1, "Error talking to SOHO .. see File->System log\n");
- close (fd);
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
return (-1);
}
if (jpegl == 0) {
xe_msg (1, "No Content-Length in header");
- close (fd);
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
return (-1);
}
@@ -942,20 +946,22 @@
for (njpeg = 0; njpeg < jpegl; njpeg += nr) {
pm_set (100*njpeg/jpegl);
jpeg = (unsigned char *) XtRealloc ((char*)jpeg, njpeg+NSREAD);
- nr = readbytes (fd, jpeg+njpeg, NSREAD);
- if (nr < 0) {
- xe_msg (1, "%s:\n%s", sohohost, syserrstr());
+ nr = SSL_read (ssl_fd.ssl, jpeg+njpeg, NSREAD);
+ if (nr <= 0) {
+ xe_msg (1, "%s: ssl read error code: %d", sohohost, SSL_get_error(ssl_fd.ssl, nr));
pm_down();
- close (fd);
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
return (-1);
}
if (nr == 0)
break;
}
pm_down();
- close (fd);
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
- sprintf (fn, "/%s_%s.jpg", filetime, filetype);
+ sprintf (fn, "/%s_%s.jpg", filetime, filetype);
/* display jpeg */
if (displayPic (fn, jpeg, njpeg) < 0)
return (-1);
diff -Naur a/GUI/xephem/ucac.c b/GUI/xephem/ucac.c
--- a/GUI/xephem/ucac.c 2013-03-02 03:41:37.000000000 +0100
+++ b/GUI/xephem/ucac.c 2018-01-08 21:53:08.398538689 +0100
@@ -18,15 +18,15 @@
#define MAXFOV 15.0 /* max fov, degs */
-typedef unsigned char UC; /* byte */
-typedef unsigned int UI; /* unsigned integer */
+typedef unsigned char XE_UC; /* byte */
+typedef unsigned int XE_UI; /* unsigned integer */
/* access an I*2 or I*4 at offset i in UC array a in little-endian byte order.
* a bit slow but ultra portable.
*/
-#define I2(a,i) ((int)(short)((((UI)(a)[i]) | (((UI)(a)[i+1])<<8))))
-#define I4(a,i) ((int)((((UI)(a)[i]) | (((UI)(a)[i+1])<<8) | \
- (((UI)(a)[i+2])<<16) | (((UI)(a)[i+3])<<24))))
+#define I2(a,i) ((int)(short)((((XE_UI)(a)[i]) | (((XE_UI)(a)[i+1])<<8))))
+#define I4(a,i) ((int)((((XE_UI)(a)[i]) | (((XE_UI)(a)[i+1])<<8) | \
+ (((XE_UI)(a)[i+2])<<16) | (((XE_UI)(a)[i+3])<<24))))
/* keep track of an array of ObjF */
typedef struct {
@@ -48,9 +48,9 @@
#define DPMAS (1.0/3600000.0) /* degrees per milliarcsecond */
-typedef UC U2Star[44]; /* UCAC2 record */
-typedef UC U3Star[84]; /* UCAC3 record */
-typedef UC U4Star[78]; /* UCAC4 record */
+typedef XE_UC U2Star[44]; /* UCAC2 record */
+typedef XE_UC U3Star[84]; /* UCAC3 record */
+typedef XE_UC U4Star[78]; /* UCAC4 record */
static char *basedir; /* full dir with zone files and index */
static FILE *indexfp; /* index file handle */
@@ -293,7 +293,7 @@
read4Index (int rz, int dz, int *nskip, int *nnew)
{
off_t offset;
- UC i4[4];
+ XE_UC i4[4];
offset = (rz*NZH4 + dz)*sizeof(i4);
if (fseek (indexfp, offset, SEEK_SET) < 0) {
@@ -508,7 +508,7 @@
read3Index (int rz, int dz, int *nskip, int *nnew)
{
off_t offset;
- UC i4[4];
+ XE_UC i4[4];
offset = (rz*NZH + dz)*sizeof(i4);
if (fseek (indexfp, offset, SEEK_SET) < 0) {
@@ -663,7 +663,7 @@
get2N (int rz, int dz, int *idp)
{
off_t offset;
- UC nat[4];
+ XE_UC nat[4];
offset = (dz*NZW + rz)*sizeof(nat);
if (fseek (indexfp, offset, SEEK_SET) < 0)
diff -Naur a/GUI/xephem/usno.c b/GUI/xephem/usno.c
--- a/GUI/xephem/usno.c 2005-03-20 12:04:51.000000000 +0100
+++ b/GUI/xephem/usno.c 2016-10-26 18:59:16.469149437 +0200
@@ -14,8 +14,8 @@
#define CATBPR 12 /* bytes per star record in .cat file */
#define ACCBPR 30 /* bytes per record in .acc file */
-typedef unsigned int UI;
-typedef unsigned char UC;
+typedef unsigned int XE_UI;
+typedef unsigned char XE_UC;
/* One Field star */
typedef struct {
@@ -36,7 +36,7 @@
double lr[2], int *nd, double fd[2], double ld[2], int zone[2], char msg[]);
static int fetchSwath (int zone, double maxmag, double fr, double lr,
double fd, double ld, StarArray *sap, char msg[]);
-static int crackCatBuf (UC buf[CATBPR], FieldStar *fsp);
+static int crackCatBuf (XE_UC buf[CATBPR], FieldStar *fsp);
static int addGS (StarArray *sap, FieldStar *fsp);
static char *cdpath; /* where CD rom is mounted */
@@ -236,7 +236,7 @@
{
char fn[1024];
char buf[ACCBPR];
- UC catbuf[CATBPR];
+ XE_UC catbuf[CATBPR];
FieldStar fs;
long frec;
long os;
@@ -314,13 +314,13 @@
* return 0 if ok, else -1.
*/
static int
-crackCatBuf (UC buf[CATBPR], FieldStar *fsp)
+crackCatBuf (XE_UC buf[CATBPR], FieldStar *fsp)
{
-#define BEUPACK(b) (((UI)((b)[0])<<24) | ((UI)((b)[1])<<16) | ((UI)((b)[2])<<8)\
- | ((UI)((b)[3])))
+#define BEUPACK(b) (((XE_UI)((b)[0])<<24) | ((XE_UI)((b)[1])<<16) | ((XE_UI)((b)[2])<<8)\
+ | ((XE_UI)((b)[3])))
double ra, dec;
int red, blu;
- UI mag;
+ XE_UI mag;
/* first 4 bytes are packed RA, big-endian */
ra = BEUPACK(buf)/(100.0*3600.0*15.0);
diff -Naur a/GUI/xephem/webdbmenu.c b/GUI/xephem/webdbmenu.c
--- a/GUI/xephem/webdbmenu.c 2012-11-23 06:22:09.000000000 +0100
+++ b/GUI/xephem/webdbmenu.c 2018-01-08 21:58:01.975042039 +0100
@@ -404,6 +404,10 @@
char *url;
{
static char http[] = "http://";
+ static char https[] = "https://";
+ char *transport = http;
+ int ltransport = strlen (transport);
+ int ishttp = 0;
char buf[512], msg[1024];
char l0[512], l1[512], l2[512];
char *l0p = l0, *l1p = l1, *l2p = l2;
@@ -411,21 +415,31 @@
char *slash, *dot;
char filename[256];
FILE *fp;
+ XE_SSL_FD ssl_fd;
int sockfd;
int nfound;
+ memset(&ssl_fd, 0, sizeof(ssl_fd));
+
/* start */
watch_cursor(1);
l0[0] = l1[0] = l2[0] = '\0';
/* find transport and host */
- if (strncmp (url, http, 7)) {
- xe_msg (1, "URL must begin with %s", http);
+ if (!strncmp (url, transport, ltransport)) {
+ ishttp = 1;
+ } else {
+ transport = https;
+ ltransport = strlen (transport);
+ }
+
+ if ((!ishttp) && (strncmp (url, transport, ltransport))) {
+ xe_msg (1, "URL must begin with %s or %s", http, https);
watch_cursor (0);
return;
}
- slash = strchr (url+7, '/');
+ slash = strchr (url+ltransport, '/');
dot = strrchr (url, '.');
if (!slash || !dot) {
xe_msg (1, "Badly formed URL");
@@ -434,11 +448,16 @@
}
/* connect to check url */
- sprintf (host, "%.*s", (int)(slash-url-7), url+7);
+ sprintf (host, "%.*s", (int)(slash-url-ltransport), url+ltransport);
sprintf (buf, "GET %s HTTP/1.1\r\nHost: %s\r\nConnection: close\r\nUser-Agent: xephem/%s\r\n\r\n",
url, host, PATCHLEVEL);
stopd_up();
- sockfd = httpGET (host, buf, msg);
+ if (ishttp) {
+ sockfd = httpGET (host, buf, msg);
+ ssl_fd.fd = sockfd;
+ } else {
+ sockfd = httpsGET (host, buf, msg, &ssl_fd);
+ }
if (sockfd < 0) {
xe_msg (1, "http GET to %s failed: %s%s\n", host, buf, msg);
stopd_down();
@@ -447,20 +466,22 @@
}
/* create local file */
- slash = strrchr (url+7, '/');
+ slash = strrchr (url+ltransport, '/');
sprintf (filename, "%s/%.*sedb", getPrivateDir(), (int)(dot-slash), slash+1);
fp = fopen (filename, "w");
if (!fp) {
xe_msg (1, "%s:\n%s", filename, syserrstr());
watch_cursor (0);
- close (sockfd);
+ if (!ishttp)
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
return;
}
/* copy to file, insuring only .edb lines.
*/
nfound = 0;
- while (recvlineb (sockfd, l2p, sizeof(l2)) > 0) {
+ while (ssl_recvlineb (&ssl_fd, l2p, sizeof(l2)) > 0) {
char *lrot;
Obj o;
@@ -484,7 +505,9 @@
/* tidy up and done */
fclose (fp);
- close (sockfd);
+ if (!ishttp)
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
if (!nfound) {
xe_msg (1, "No objects in file");
remove (filename);
diff -Naur a/GUI/xephem/xephem.h b/GUI/xephem/xephem.h
--- a/GUI/xephem/xephem.h 2012-12-30 18:01:12.000000000 +0100
+++ b/GUI/xephem/xephem.h 2016-10-26 20:09:47.000000000 +0200
@@ -12,12 +12,12 @@
#include <stdarg.h> /* be kind to those who don't use xe_msg() */
+#include "net.h" /* has to be included before astro.h because of openssl */
#include "astro.h"
#include "ip.h"
/* local glue files */
#include "map.h"
-#include "net.h"
#include "patchlevel.h"
#include "preferences.h"
#include "db.h"

View File

@@ -1,82 +0,0 @@
diff -Naur a/GUI/xephem/earthmenu.c b/GUI/xephem/earthmenu.c
--- a/GUI/xephem/earthmenu.c 2012-11-23 05:15:39.000000000 +0100
+++ b/GUI/xephem/earthmenu.c 2018-09-24 01:17:34.248048815 +0200
@@ -4886,8 +4886,11 @@
int nrawgif;
char buf[1024];
int w, h;
+ XE_SSL_FD ssl_fd;
int fd;
+ memset(&ssl_fd, 0, sizeof(ssl_fd));
+
/* open test case, else real network */
fd = openh ("/tmp/latest_cmoll.gif", O_RDONLY);
if (fd >= 0) {
@@ -4902,12 +4905,12 @@
stopd_up();
/* make connection to server for the file */
- xe_msg (0, "Getting\nhttp://%s%s", wxhost, wxfile);
- (void) sprintf (buf, "GET http://%s%s HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n",
- wxhost, wxfile, PATCHLEVEL);
- fd = httpGET (wxhost, buf, buf);
+ xe_msg (0, "Getting\nhttps://%s%s", wxhost, wxfile);
+ (void) sprintf (buf, "GET %s HTTP/1.1\r\nHost: %s\r\nConnection: close\r\nUser-Agent: xephem/%s\r\n\r\n",
+ wxfile, wxhost, PATCHLEVEL);
+ fd = httpsGET (wxhost, buf, buf, &ssl_fd);
if (fd < 0) {
- xe_msg (1, "http get:\n%s", buf);
+ xe_msg (1, "https get:\n%s", buf);
stopd_down();
return (-1);
}
@@ -4915,7 +4918,7 @@
/* read header, looking for some header info */
isgif = 0;
length = 0;
- while (recvline (fd, buf, sizeof(buf)) > 1) {
+ while (ssl_recvline (&ssl_fd, buf, sizeof(buf)) > 1) {
xe_msg (0, "Rcv: %s", buf);
if (strstr (buf, "image/gif"))
isgif = 1;
@@ -4923,9 +4926,10 @@
length = atoi (buf+15);
}
if (!isgif) {
- while (recvline (fd, buf, sizeof(buf)) > 1)
+ while (ssl_recvline (&ssl_fd, buf, sizeof(buf)) > 1)
xe_msg (0, "Rcv: %s", buf);
- close (fd);
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
stopd_down();
return (-1);
}
@@ -4936,12 +4940,13 @@
pm_up();
for (nrawgif = 0; nrawgif < sizeof(rawgif); nrawgif += nr) {
pm_set (100*nrawgif/length);
- nr = readbytes (fd, rawgif+nrawgif, 4096);
+ nr = SSL_read (ssl_fd.ssl, rawgif+nrawgif, 4096);
if (nr < 0) {
- xe_msg (1, "%s:\n%s", wxhost, syserrstr());
+ xe_msg (1, "%s: ssl read error code: %d", wxhost, SSL_get_error(ssl_fd.ssl, nr));
stopd_down();
pm_down();
- close (fd);
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
return (-1);
}
if (nr == 0)
@@ -4949,7 +4954,8 @@
}
stopd_down();
pm_down();
- close (fd);
+ SSL_free (ssl_fd.ssl);
+ close (ssl_fd.fd);
if (nr > 0) {
xe_msg (1, "File too large");
return (-1);

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-astronomy@gentoo.org</email>
<name>Gentoo Astronomy Project</name>
</maintainer>
<longdescription lang="en">
Xephem is an interactive astronomical ephemeris program for X Windows
systems. It computes heliocentric, geocentric and topocentric
information for fixed celestial objects and objects in heliocentric
and geocentric orbits; has built-in support for all planet positions;
the moons of Jupiter, Saturn and Earth; Mars' and Jupiter's central
meridian longitude; Saturn's rings; and Jupiter's Great Red Spot.
</longdescription>
</pkgmetadata>

View File

@@ -1,58 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils toolchain-funcs
DESCRIPTION="Interactive tool for astronomical ephemeris and sky simulation"
HOMEPAGE="http://www.clearskyinstitute.com/xephem"
SRC_URI="http://97.74.56.125/free/${P}.tar.gz"
LICENSE="XEphem"
SLOT=0
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND=">=x11-libs/motif-2.3:0
virtual/jpeg:0=
media-libs/libpng:0="
DEPEND="${RDEPEND}
sys-apps/groff"
PATCHES=(
"${FILESDIR}/${P}-respect_env_vars.patch"
"${FILESDIR}/${P}-implicits.patch"
"${FILESDIR}/${P}-no_xprint.patch"
"${FILESDIR}/${P}_openssl.patch"
"${FILESDIR}/${P}_openssl_earthmenu.patch"
)
src_prepare() {
default
echo > "${T}"/XEphem "XEphem.ShareDir: /usr/share/${PN}"
echo > "${T}"/99xephem "XEHELPURL=/usr/share/doc/${PF}/html/xephem.html"
}
src_compile() {
tc-export CC AR RANLIB
emake -C GUI/xephem
}
src_install() {
insinto /usr/share/X11/app-defaults
has_version '<x11-base/xorg-x11-7.0' && insinto /etc/X11/app-defaults
doins "${T}"/XEphem
doenvd "${T}"/99xephem
dodoc README
cd GUI/xephem
dobin xephem
doman xephem.1
newicon XEphem.png ${PN}.png
insinto /usr/share/${PN}
doins -r auxil catalogs fifos fits gallery lo
insinto /usr/share/doc/${PF}/html
doins -r help/*
make_desktop_entry xephem XEphem ${PN}
}

View File

@@ -1,59 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils toolchain-funcs
DESCRIPTION="Interactive tool for astronomical ephemeris and sky simulation"
HOMEPAGE="http://www.clearskyinstitute.com/xephem"
SRC_URI="http://97.74.56.125/free/${P}.tar.gz"
LICENSE="XEphem"
SLOT=0
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND=">=x11-libs/motif-2.3:0
virtual/jpeg:0=
media-libs/libpng:0="
DEPEND="${RDEPEND}
sys-apps/groff"
PATCHES=(
"${FILESDIR}/${P}-respect_env_vars.patch"
"${FILESDIR}/${P}-implicits.patch"
"${FILESDIR}/${P}-no_xprint.patch"
"${FILESDIR}/${P}_openssl.patch"
"${FILESDIR}/${P}_openssl_earthmenu.patch"
"${FILESDIR}/${P}-fix_gsc_lookup.patch"
)
src_prepare() {
default
echo > "${T}"/XEphem "XEphem.ShareDir: /usr/share/${PN}"
echo > "${T}"/99xephem "XEHELPURL=/usr/share/doc/${PF}/html/xephem.html"
}
src_compile() {
tc-export CC AR RANLIB
emake -C GUI/xephem
}
src_install() {
insinto /usr/share/X11/app-defaults
has_version '<x11-base/xorg-x11-7.0' && insinto /etc/X11/app-defaults
doins "${T}"/XEphem
doenvd "${T}"/99xephem
dodoc README
cd GUI/xephem
dobin xephem
doman xephem.1
newicon XEphem.png ${PN}.png
insinto /usr/share/${PN}
doins -r auxil catalogs fifos fits gallery lo
insinto /usr/share/doc/${PF}/html
doins -r help/*
make_desktop_entry xephem XEphem ${PN}
}

View File

@@ -1,2 +0,0 @@
DIST pyshp-1.2.1.tar.gz 59218 SHA256 eb4a1999f7c7bd573f3c8920344f50bd86221114980f07f521858d23654a33b0 SHA512 b05e61a526a178c20d6ac33f4697faca1a358f0a675458c905a611155af132f7dc36a806e3263be9ee8ed63ea543371632cd632c06910c21db9e22c266e6c8d7 WHIRLPOOL 9713a3174ef0d6d6dff4c9c0594fcc1e199ffea9299fe2e6631f63730f49ae3d7a5e3b34e6041ec2725d151bcadf3107296eccf96ab6a6cd97328dda845435ba
EBUILD pyshp-1.2.1.ebuild 611 SHA256 e459ee84d01a7faa4d01404b37dc9173edee1e76312ae4ed3e84fa2a747da11a SHA512 070562d18b9919f985d617e3a129b9503e543d502397c3d507ca11ea8ed7d223f5a40a35f38394760c455254dd625bd86ca4861d2e02f68e96ab9446399d9604 WHIRLPOOL 783e9dc669d0c15901d22b27007f56bfdae745f2efff4c6acaf2f293c4e5e63b7879580370b8f4b345da14f3fc65cf214ac21955760f1d638e970347b6e24829

View File

@@ -1,27 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
DESCRIPTION="Pure Python read/write support for ESRI Shapefile format"
HOMEPAGE="https://pypi.python.org/pypi/pyshp/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
ESVN_REPO_URI="https://${PN}.googlecode.com/svn/trunk"
inherit subversion
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

View File

@@ -0,0 +1,2 @@
AUX gentoo-sshd.service.patch 742 BLAKE2B d4271e9280d97d60717dd8b934e55ac8b8d716bd439b36726ba33c8686c76368701edfa3086238d72bcc1b541ea90d7ddd01b973a2f076e4ac0e9e8788119b19 SHA512 be10794d77c7b47f46aa0033f2990504b7638be8eeec6ff1983b91fa71b2cdc070f48c10432bb34f21eeabfb9d9f66437006dd47fd7973bc209758dbe27787b6
EBUILD dracut-sshd-9999.ebuild 539 BLAKE2B c533f0fb66bad09a907e9b767944e518d5d6cf4fee81ce8b9dc99a9a4b96e19a24f6e31ee97f931b7b229bdffe3502c30c4a1249fbd24af352a84c594707ddf8 SHA512 bc49a85133677791fa162a0c18567fcf2542b2534f95ac66e219773eaf2b68c7a84a28385b86e1a5c97c355470efabbe9e31a6f39644bddf9dfe0b422717f123

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
inherit git-r3
DESCRIPTION="Dracut OpenSSH integration"
HOMEPAGE="https://github.com/gsauthof/dracut-sshd"
EGIT_REPO_URI="https://github.com/gsauthof/dracut-sshd.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="sys-kernel/dracut"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/gentoo-sshd.service.patch" )
src_install () {
insinto /usr/lib/dracut/modules.d
doins -r 46sshd
dodoc -r README.md example
}

Some files were not shown because too many files have changed in this diff Show More