Compare commits

...

28 Commits

Author SHA1 Message Date
ca1e48dbd5 Merge branch 'master' into osg 2021-11-05 11:52:34 +00:00
89d9796b7e
Merge remote-tracking branch 'archetypic/innoextract' 2021-11-02 13:35:39 +01:00
540d0e6eb6
app-arch/innoextract: Update to 1.9 from 1.7 2021-10-28 07:18:21 -05:00
404ead9a36
Merge remote-tracking branch 'archetypic/cflow' 2021-10-24 17:58:30 +02:00
2fb53450a8
dev-util/cflow: Update to 1.6 from 1.5 2021-10-22 07:21:59 -05:00
Ridai Govinda Pombo
d34078c060 Merge pull request 'github-cli: bump to 2.1.0' (#69) from beholders_eye/hasufell-repository:beholders_eye/github-cli-bump into master
Reviewed-on: hasufell/hasufell-repository#69
2021-10-21 16:27:24 +00:00
Ridai Govinda Pombo
c0741c17f3 github-cli: bump to 2.1.0 2021-10-19 11:14:54 -03:00
c38f5dad97
Merge remote-tracking branch 'archetypic/picom' 2021-10-18 19:01:34 +02:00
81723c88bd
x11-apps/picom: Update to 8.2 from 7.5
Dependency verification
2021-10-18 08:02:58 -05:00
f26bb7213e
Merge remote-tracking branch 'beholders_eye/beholders_eye/slack-bump' 2021-10-17 21:45:24 +02:00
Ridai Govinda Pombo
72add6fc09 slack: bump to 4.20.0 2021-10-05 12:12:39 -03:00
83f9d426d0
Merge remote-tracking branch 'archetypic/bakefile' 2021-09-29 12:43:43 +02:00
d2e5a9abff
dev-util/bakefile: https instead of http 2021-09-25 22:38:38 -05:00
Ridai Govinda Pombo
91c731a55f Merge pull request 'discord-bin: bump to 0.0.16' (#64) from beholders_eye/hasufell-repository:beholders_eye/discord-bump into master
Reviewed-on: hasufell/hasufell-repository#64
2021-09-23 11:59:26 +00:00
Ridai Govinda Pombo
39c54ae61e discord-bin: bump to 0.0.16 2021-09-23 11:59:26 +00:00
Ridai Govinda Pombo
8216178c6f Merge pull request 'slack: bump to 4.19.0' (#63) from beholders_eye/slack-bump into master
Reviewed-on: hasufell/hasufell-repository#63
2021-09-23 11:59:06 +00:00
Ridai Govinda Pombo
0ff78a72bd slack: bump to 4.19.0 2021-09-23 11:59:06 +00:00
Ridai Govinda Pombo
c28c42533b Merge pull request 'github-cli: bump to 2.0.0' (#62) from beholders_eye/hasufell-repository:beholders_eye/gh into master
Reviewed-on: hasufell/hasufell-repository#62
2021-09-22 22:31:11 +00:00
Ridai Govinda Pombo
7aa7b40d4e github-cli: bump to 2.0.0 2021-09-22 09:23:30 -03:00
578809ed94 Merge pull request 'python-xcaplib: remove unneeded patch to fix build' (#61) from tombriden/hasufell-repository:xcaplib-fix into master
Reviewed-on: hasufell/hasufell-repository#61
2021-09-17 08:15:27 +00:00
5c1547dbe4
python-xcaplib: remove unneeded patch to fix build 2021-09-17 09:09:54 +01:00
4c6e5947d0 Merge pull request 'blink-bump' (#60) from tombriden/hasufell-repository:blink-bump into master
Reviewed-on: hasufell/hasufell-repository#60
2021-09-17 07:20:18 +00:00
b108f34e1d
blink: version bump to 5.1.1 2021-09-16 14:35:17 +01:00
78e2284ad7
python-sipsimple: version bump to 5.2.6 2021-09-16 14:17:14 +01:00
3acd55c4ba
python-xcaplib: version bump to 2.0.1 2021-09-16 12:56:52 +01:00
Alex Turbov
038b4e1de3
dev-util/github-cli: Fix name for the bash completion
The completion file ought to have the same name as the binary
it tries to complete. Otherwise, it can't be dynamically loaded.

Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
2021-08-21 15:30:58 +02:00
1ec56f1125
Merge remote-tracking branch 'tgurr/universal-ctags' 2021-08-21 14:50:00 +02:00
Timo Gurr
db838d73a2 universal-ctags: ::hasufell -> ::arbor 2021-08-17 20:09:22 +02:00
15 changed files with 50 additions and 197 deletions

View File

@ -3,7 +3,6 @@
dev-lang/fsharp[~scm]
dev-lang/fstar[~scm]
dev-python/pytype[~scm]
dev-util/universal-ctags[~scm]
games-emulation/gambatte[~scm]
games-engines/OpenJK[~scm]
games-engines/flare[~scm]

View File

@ -1,36 +0,0 @@
Upstream: Yes
Source: https://github.com/AGProjects/python3-sipsimple/commit/d75b225e566cae2c998504dc5cd76bb30226cb43
From d75b225e566cae2c998504dc5cd76bb30226cb43 Mon Sep 17 00:00:00 2001
From: Adrian Georgescu <ag@ag-projects.com>
Date: Tue, 16 Mar 2021 13:54:03 +0000
Subject: [PATCH] Decode uri.transport if is bytes in DNS Lookup
---
sipsimple/lookup.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sipsimple/lookup.py b/sipsimple/lookup.py
index 8ce86a92..27672da7 100644
--- a/sipsimple/lookup.py
+++ b/sipsimple/lookup.py
@@ -255,8 +255,9 @@ def lookup_sip_proxy(self, uri, supported_transports, timeout=3.0, lifetime=15.0
try:
# If the host part of the URI is an IP address, we will not do any lookup
+ transport = uri.transport.decode() if isinstance(uri.transport, bytes) else uri.transport
if re.match("^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$", uri.host.decode()):
- transport = 'tls' if uri.secure else uri.transport.lower()
+ transport = 'tls' if uri.secure else transport.lower()
if transport not in supported_transports:
raise DNSLookupError("IP transport %s dictated by URI is not supported" % transport)
port = uri.port or (5061 if transport=='tls' else 5060)
@@ -270,7 +271,7 @@ def lookup_sip_proxy(self, uri, supported_transports, timeout=3.0, lifetime=15.0
# If the port is specified in the URI, we will only do an A lookup
if uri.port:
- transport = 'tls' if uri.secure else uri.transport.lower()
+ transport = 'tls' if uri.secure else transport.lower()
if transport not in supported_transports:
raise DNSLookupError("Host transport %s dictated by URI is not supported" % transport)
addresses = self._lookup_a_records(resolver, [uri.host.decode()], log_context=log_context)

View File

@ -1,25 +0,0 @@
Upstream: Submitted
Source: https://github.com/AGProjects/python-sipsimple/pull/10
From 052f7301a0c906c4117dff5453222f12e768bb49 Mon Sep 17 00:00:00 2001
From: Tom Briden <tom@decompile.me.uk>
Date: Thu, 23 Jul 2020 19:22:30 +0100
Subject: [PATCH] Fix multiple definition of `PJ_ATTR_MAY_ALIAS' with GCC-10
---
deps/pjsip/pjlib/include/pj/list.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/deps/pjsip/pjlib/include/pj/list.h b/deps/pjsip/pjlib/include/pj/list.h
index 880f58d4..50510fe3 100644
--- a/deps/pjsip/pjlib/include/pj/list.h
+++ b/deps/pjsip/pjlib/include/pj/list.h
@@ -71,7 +71,7 @@ PJ_BEGIN_DECL
* must initialize the 'value' member to an appropriate value (typically the
* owner itself).
*/
-struct pj_list
+extern struct pj_list
{
PJ_DECL_LIST_MEMBER(void);
} PJ_ATTR_MAY_ALIAS; /* may_alias avoids warning with gcc-4.4 -Wall -O2 */

View File

@ -7,6 +7,13 @@ require setup-py [ import=distutils blacklist="2" multibuild=false ]
SUMMARY="SIP SIMPLE client SDK is a Software Development Kit"
HOMEPAGE="http://sipsimpleclient.org ${HOMEPAGE}"
ZRTPCPP_SHA="6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03"
DOWNLOADS+="
https://github.com/pjsip/pjproject/archive/2.10.tar.gz
https://github.com/wernerd/ZRTPCPP/archive/${ZRTPCPP_SHA}.tar.gz -> ZRTPCPP-${ZRTPCPP_SHA}.tar.gz
"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
@ -31,6 +38,7 @@ DEPENDENCIES="
providers:openssl? ( dev-libs/openssl )
run:
dev-python/dnspython[python_abis:*(-)?]
dev-python/gevent[python_abis:*(-)?]
dev-python/greenlet[python_abis:*(-)?]
dev-python/lxml[python_abis:*(-)?]
dev-python/python-dateutil[python_abis:*(-)?]
@ -46,10 +54,41 @@ DEPENDENCIES="
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/${PN}-fix-build.patch
"${FILES}"/${PN}-gcc10-fix.patch
"${FILES}"/d75b225e566cae2c998504dc5cd76bb30226cb43.patch
)
src_prepare() {
setup-py_src_prepare
# MOst of this is straight from get_dependencies.sh but that
# wants to download the dependencies directly so we can't use it
edo mkdir "${WORK}"/deps/pjsip
edo mv "${WORKBASE}"/pjproject*/* "${WORK}"/deps/pjsip/
edo pushd "${WORK}"/deps/
# Copy wrapper from old version to third_party/zsrtp/
edo mkdir ./pjsip/third_party/zsrtp
cp -r zsrtp/include ./pjsip/third_party/zsrtp/
cp -r zsrtp/srtp ./pjsip/third_party/zsrtp/
cp -r zsrtp/build ./pjsip/third_party/build/zsrtp
# Copy new version to third_party/zsrtp/
mkdir ./pjsip/third_party/zsrtp/zrtp
cp -r "${WORKBASE}"/ZRTPCPP-"${ZRTPCPP_SHA}"/bnlib ./pjsip/third_party/zsrtp/zrtp/
cp -r "${WORKBASE}"/ZRTPCPP-"${ZRTPCPP_SHA}"/common ./pjsip/third_party/zsrtp/zrtp/
cp -r "${WORKBASE}"/ZRTPCPP-"${ZRTPCPP_SHA}"/cryptcommon ./pjsip/third_party/zsrtp/zrtp/
cp -r "${WORKBASE}"/ZRTPCPP-"${ZRTPCPP_SHA}"/srtp ./pjsip/third_party/zsrtp/zrtp/
cp -r "${WORKBASE}"/ZRTPCPP-"${ZRTPCPP_SHA}"/zrtp ./pjsip/third_party/zsrtp/zrtp/
cp "${WORKBASE}"/ZRTPCPP-"${ZRTPCPP_SHA}"/COPYING ./pjsip/third_party/zsrtp/zrtp/
cp "${WORKBASE}"/ZRTPCPP-"${ZRTPCPP_SHA}"/README.md ./pjsip/third_party/zsrtp/zrtp/
for p in patches/*.patch; do
expatch -p0 "${p}"
done
edo popd
}
src_compile() {
# breaks horribly with 'ld'
export LD=${CC}

View File

@ -1,70 +0,0 @@
Upstream: Yes
Source: https://github.com/AGProjects/python3-xcaplib/commit/066759cf355b152375767bee4c3858dc0b8087e4
From 066759cf355b152375767bee4c3858dc0b8087e4 Mon Sep 17 00:00:00 2001
From: Worawut Boonpeang <worawut@ag-projects.com>
Date: Fri, 4 Dec 2020 13:49:54 +0000
Subject: [PATCH] xcaplib (Python3) work with eventlib
---
xcaplib/green.py | 4 +++-
xcaplib/xcapclient.py | 10 ++++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/xcaplib/green.py b/xcaplib/green.py
index 237d9d8..d01ee11 100644
--- a/xcaplib/green.py
+++ b/xcaplib/green.py
@@ -2,6 +2,8 @@
from eventlib.green import socket, ssl, httplib, urllib2
from xcaplib import httpclient
from xcaplib import client
+import urllib
+import http
class HTTPConnection(httplib.HTTPConnection):
@@ -22,7 +24,7 @@ def http_open(self, req):
class HTTPSHandler(urllib.request.HTTPSHandler):
def https_open(self, req):
- return self.do_open(HTTPSConnection, req)
+ return self.do_open(http.client.HTTPSConnection, req)
class HTTPClient(httpclient.HTTPClient):
diff --git a/xcaplib/xcapclient.py b/xcaplib/xcapclient.py
index cd409df..384c237 100755
--- a/xcaplib/xcapclient.py
+++ b/xcaplib/xcapclient.py
@@ -129,6 +129,8 @@ def setup_parser_request(parser):
parser.add_option('--etag', help="perform a conditional operation", metavar='ETAG')
parser.add_option('--add-header', dest='headers',
action='append', default=[], help=optparse.SUPPRESS_HELP)
+ parser.add_option("--eventlib", dest='eventlib_enable',
+ help="Enables non-blocking mode using eventlib library")
parser.add_option("-i", dest='input_filename',
help="source file for the PUT request; default is <stdin>")
parser.add_option("-o", dest='output_filename',
@@ -366,7 +368,11 @@ def update_options_from_config(options):
setattr(options, key, value)
def parse_args():
- argv = sys.argv[1:]
+ argv = None
+ if "--eventlib" in sys.argv[1:]:
+ argv = sys.argv[2:]
+ else:
+ argv = sys.argv[1:]
if not argv:
sys.exit('Type %s -h for help.' % sys.argv[0])
@@ -496,7 +502,7 @@ def get_exit_code(http_error):
return 3
def main():
- if sys.argv[0].endswith('-eventlib'):
+ if "--eventlib" in sys.argv[1:]:
from xcaplib.green import XCAPClient as client_class
else:
client_class = XCAPClient

View File

@ -14,11 +14,8 @@ MYOPTIONS=""
DEPENDENCIES="
run:
dev-python/gevent[python_abis:*(-)?]
dev-python/lxml[python_abis:*(-)?]
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/${PN}-work-with-eventlib.patch
)

View File

@ -5,7 +5,7 @@ require python [ blacklist=3 has_bin=true has_lib=true multibuild=false ]
require github [ user="vslavik" release="v${PV}" suffix=tar.gz ]
SUMMARY="Bakefile makefiles generator"
HOMEPAGE="http://bakefile.org/"
HOMEPAGE="https://bakefile.org/"
LICENCES="MIT"
SLOT="0"

View File

@ -30,8 +30,8 @@ src_compile() {
emake
emake manpages
edo go run ./cmd/gh completion -s bash > gh.bash-completion
edo go run ./cmd/gh completion -s zsh > _gh
edo go run ./cmd/gh completion -s bash > gh.bash-completion
edo go run ./cmd/gh completion -s zsh > _gh
esandbox enable_net
}
@ -40,7 +40,7 @@ src_install() {
emagicdocs
doman share/man/man?/gh*.?
dobashcompletion gh.bash-completion
dobashcompletion gh.bash-completion gh
dozshcompletion _gh
}

View File

@ -1,51 +0,0 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require alternatives github [ user='universal-ctags' pn='ctags' ]
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
SUMMARY="Universal ctags"
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
json [[ description = [ Add support for JSON format as output ] ]]
seccomp [[ description = [ Add support for libseccomp library ] ]]
xml
yaml [[ description = [ Add support for YAML format as output ] ]]
"
DEPENDENCIES="
build+run:
json? ( dev-libs/jansson )
seccomp? ( sys-libs/libseccomp )
xml? ( dev-libs/libxml2:2.0[>=2.7.7] )
yaml? ( dev-libs/libyaml )
build:
dev-python/docutils
virtual/pkg-config
"
# input-encoding-option and output-encoding-option fail as of 20-03-2020
RESTRICT="test"
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
'json'
'seccomp'
'xml'
'yaml'
)
src_install() {
default
# alternatives collision
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{ctags,universal-ctags}
edo mv "${IMAGE}"/usr/share/man/man1/{ctags,universal-ctags}.1
alternatives_for ctags universal-ctags 500 \
/usr/$(exhost --target)/bin/ctags universal-ctags \
/usr/share/man/man1/ctags.1 universal-ctags.1
}

View File

@ -25,7 +25,7 @@ DEPENDENCIES="
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
dev-python/python-dateutil[python_abis:*(-)?]
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
dev-python/python-sipsimple[>=4.0.1][python_abis:*(-)?]
dev-python/python-sipsimple[>=5.2.2][python_abis:*(-)?]
dev-python/zopeinterface[python_abis:*(-)?]
net-twisted/Twisted[python_abis:*(-)?]
"

View File

@ -23,9 +23,9 @@ DEPENDENCIES="
x11-proto/xorgproto
build+run:
dev-libs/libev
dev-libs/pcre[>=8.10]
dev-libs/pcre[>=8.20]
x11-libs/libX11
x11-libs/libxcb[>=1.9.2]
x11-libs/libxcb[>=1.12.0]
x11-libs/libXext
x11-libs/pixman:1
x11-utils/xcb-util-image
@ -51,7 +51,7 @@ DEFAULT_SRC_INSTALL_EXTRA_DOCS=(
MESON_SRC_CONFIGURE_PARAMS=(
"-Dunittest=true"
"-Dbuild_docs=true" # with_docs in "next" branch
"-Dwith_docs=true"
)
MESON_SRC_CONFIGURE_OPTION_SWITCHES=(
"dbus"