54 Commits

Author SHA1 Message Date
e7709635e1 blink: version bump to 4.0.0 2021-03-17 09:04:35 +00:00
6ccc96c19c python-sipsimple: version bump to 4.0.1 2021-03-17 09:04:34 +00:00
ef01d455f5 python-xcaplib: version bump to 2.0.0 2021-03-17 09:04:33 +00:00
8d9b5e8f48 python-otr: version bump to 2.0.1 2021-03-17 09:04:33 +00:00
b3ef4f9133 python-msrplib: version bump to 0.21.0 2021-03-17 09:04:32 +00:00
fd97252f65 python-gnutls: version bump to 3.1.8 2021-03-17 09:04:31 +00:00
62aeb09052 python-eventlib: version bump to 0.3.0 2021-03-17 09:04:30 +00:00
1691d3e7df python-application: version bump to 3.0.3 2021-03-17 09:04:27 +00:00
Ridai Govinda Pombo
b37c6f9236 Merge pull request 'net-im/discord-bin: version bump 0.0.13' (#46) from beholders_eye/hasufell-repository:beholders_eye/discord-bump into master
Reviewed-on: hasufell/hasufell-repository#46
2021-03-15 15:21:00 +00:00
Ridai Govinda Pombo
74bc1725cb net-im/discord-bin: version bump 0.0.13 2021-03-15 15:21:00 +00:00
Ridai Govinda Pombo
41a1c2f45d Merge pull request 'net-im/slack: version bump 4.13.0' (#45) from beholders_eye/hasufell-repository:beholders_eye/slack-bump into master
Reviewed-on: hasufell/hasufell-repository#45
2021-03-15 15:19:58 +00:00
Ridai Govinda Pombo
275f7e4042 net-im/slack: version bump 4.13.0 2021-03-11 09:57:24 -03:00
e9338bf434 Merge pull request 'zim: version bump to 0.73.5' (#44) from kapsh/hasufell-repository:zim into master
Reviewed-on: hasufell/hasufell-repository#44
2021-02-05 14:09:06 +00:00
25abfe55b5 zim: version bump to 0.73.5
Drop upstreamed patches.
2021-01-31 13:36:47 +03:00
38572bd717 Merge pull request 'neovim-gtk: version bump to 0.2.0' (#43) from kapsh/hasufell-repository:nvim into master
Reviewed-on: hasufell/hasufell-repository#43
2021-01-07 02:07:37 +00:00
71f5fd7e1d neovim-gtk: version bump to 0.2.0 2021-01-07 05:03:41 +03:00
8b391c4392 Merge pull request 'nnn: Remove in favor of ::danyspin97/nnn' (#39) from danyspin97/hasufell-repository:nnn-remove into master
Reviewed-on: hasufell/hasufell-repository#39
2021-01-05 11:06:39 +00:00
Danilo Spinella
d31b43fcd1 nnn: Remove in favor of ::danyspin97/nnn 2021-01-05 11:06:39 +00:00
c8ac1ca574 Merge pull request 'hardinfo: version bump to 0.6_pre20201223' (#42) from kapsh/hasufell-repository:hardinfo into master
Reviewed-on: hasufell/hasufell-repository#42
2020-12-30 14:43:56 +00:00
8ddf1769e9 hardinfo: version bump to 0.6_pre20201223 2020-12-30 17:06:27 +03:00
5f84e028e3 Merge pull request 'supervisor: version bump to 4.2.1' (#40) from kapsh/hasufell-repository:supervisor into master
Reviewed-on: hasufell/hasufell-repository#40
2020-12-27 09:01:06 +00:00
3809fdd8ac supervisor: version bump to 4.2.1 2020-12-24 22:42:50 +03:00
5a02234b81 Merge remote-tracking branch 'kapsh/openrc' into master 2020-10-29 23:13:21 +01:00
207b36f01b openrc: version bump to 0.42.1
Fix build failure when using gcc:10
2020-10-28 00:21:03 +03:00
96c276e7e3 sys-apps/evrouter: initial import of version 0.4 2020-10-24 15:07:39 +02:00
7766cab320 x11-misc/xvkbd: initial import of version 4.1 2020-10-24 14:41:42 +02:00
edeb38c438 Merge remote-tracking branch 'tgurr/mbedtls' into master 2020-10-16 19:42:54 +02:00
Timo Gurr
a905f6a69b mbedtls: python is slotted 2020-10-16 14:53:09 +02:00
22a4b8c88d Merge remote-tracking branch 'tombriden/trickle-fix' into master 2020-10-15 13:58:12 +02:00
47e3a327f5 trickle: fix build with newer glibc 2020-10-15 12:47:08 +01:00
1d265ec71c Merge remote-tracking branch 'kapsh/zim' into master 2020-09-22 22:11:45 +02:00
a1d695d130 zim: version bump to 0.73.2 2020-09-18 01:30:29 +03:00
d604fdd3e3 dev-util/github-cli: version bump to 1.0.0 2020-09-17 18:19:16 +02:00
030647d916 Merge remote-tracking branch 'kapsh/mypy' into master 2020-09-17 17:55:40 +02:00
4b11a0f320 mypy: version bump to 0.782 2020-09-13 22:59:20 +03:00
ea70e8ecda mypy_extensions: version bump to 0.4.3 2020-09-13 22:59:16 +03:00
bde0a5fdfb Merge remote-tracking branch 'kapsh/typed-ast' into master 2020-09-13 14:50:17 +02:00
1a2e490361 Merge remote-tracking branch 'kapsh/pinta' into master 2020-09-13 14:50:05 +02:00
18fe5ece15 typed-ast: version bump to 1.4.1 2020-09-13 14:23:32 +03:00
d2cf4b374d pinta: version bump to 1.7 2020-09-13 10:55:50 +03:00
7d50305545 dev-games/OpenSceneGraph: revbump 2020-08-27 21:30:35 +02:00
ca476c4b68 Merge remote-tracking branch 'tgurr/osg' into master 2020-08-27 21:30:11 +02:00
Timo Gurr
92f766ef94 OpenSceneGraph: remove libav (and ffmpeg) providers 2020-08-26 13:55:26 +02:00
9da55e4aa2 Merge remote-tracking branch 'kapsh/remmina' into master 2020-08-25 21:38:09 +02:00
44c9f51ea5 remmina: version bump to 1.4.8 2020-08-25 11:48:33 +03:00
4f488d375c dev-haskell/ghcup: bump to 0.1.10 2020-08-24 21:17:34 +02:00
d0201a65c3 net-misc/youtube-viewer: version bump to 3.7.7 2020-08-22 18:46:52 +02:00
a3bda839a5 dev-util/github-cli: initial import of 0.11.1 2020-08-22 16:17:59 +02:00
c8bc70443b net-im/discord: bump to 0.0.11 2020-08-13 17:12:16 +02:00
a85ef37a79 Merge remote-tracking branch 'tombriden/sipsimple-ffmpeg' 2020-08-12 19:17:44 +02:00
1d1247a9c6 python-sipsimple: Remove libav/ffmpeg provider suboptions
libav is abandoned
2020-08-08 13:19:40 +01:00
f34c398e30 Merge remote-tracking branch 'tombriden/trickle-armv8' 2020-08-03 21:34:06 +02:00
d93adebe95 Merge remote-tracking branch 'tombriden/python-sipsimple-gcc10' 2020-08-03 21:11:47 +02:00
b17e9702c7 python-sipsimple: Add patch to fix build with GCC 10 2020-07-23 19:29:24 +01:00
46 changed files with 559 additions and 351 deletions

View File

@@ -1,34 +0,0 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require cmake [ api=2 ]
SUMMARY="A system information and benchmark tool for Linux systems"
HOMEPAGE="http://hardinfo.org/"
DOWNLOADS="https://dev.gentoo.org/~hasufell/distfiles/${PNV}.tar.xz"
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build:
virtual/pkg-config
build+run:
dev-libs/glib:2
gnome-desktop/libsoup
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/pango
"
REMOTE_IDS="github:lpereira/${PN}"
src_prepare() {
edo sed -i \
-e '/PREFIX/s:@CMAKE_INSTALL_PREFIX@/share:@CMAKE_INSTALL_DATAROOTDIR@:' \
"${CMAKE_SOURCE}"/config.h.cmake
cmake_src_prepare
}

View File

@@ -0,0 +1,41 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
# Snapshot until release work in progress: https://github.com/lpereira/hardinfo/issues/530
GITHUB_REVISION=f6a4f52868c2404f3ad58ef04e513ffe5fa090c7
require github [ user=lpereira ]
require cmake
require gtk-icon-cache
SUMMARY="A system information and benchmark tool for Linux systems"
HOMEPAGE="http://hardinfo.org/"
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build:
sys-devel/gettext
virtual/pkg-config
build+run:
core/json-glib
dev-libs/glib:2
gnome-desktop/libsoup
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
suggestion:
app-benchmarks/sysbench [[ description = [ additional cpu/memory benchmarks ] ]]
sys-apps/fwupd [[ description = [ read firmware details ] ]]
sys-apps/udisks [[ description = [ read nvme storage information ] ]]
x11-dri/mesa-demos [[ description = [ show GLX info ] ]]
"
CMAKE_SRC_CONFIGURE_PARAMS=(
-DHARDINFO_GTK3:BOOL=TRUE
)

View File

@@ -14,8 +14,6 @@ PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
run:
dev-python/meld3[python_abis:*(-)?]
test:
dev-python/pexpect[python_abis:*(-)?]
python_abis:2.7? ( dev-python/mock[python_abis:2.7] )

View File

@@ -0,0 +1,50 @@
Upstream: yes
Reason: https://github.com/daa84/neovim-gtk/issues/208
From c1dbe9b9549383b22807a2de9c76094ca9204f51 Mon Sep 17 00:00:00 2001
From: daa <daa@localhost.localdomain>
Date: Tue, 26 Nov 2019 19:25:42 +0300
Subject: [PATCH] Try to fix render issues due to changes in pango_1.44 (#208)
---
src/render/context.rs | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/src/render/context.rs b/src/render/context.rs
index 8168296..0c19437 100644
--- a/src/render/context.rs
+++ b/src/render/context.rs
@@ -111,21 +111,19 @@ pub struct CellMetrics {
impl CellMetrics {
fn new(font_metrics: &pango::FontMetrics, line_space: i32) -> Self {
+ let ascent = (f64::from(font_metrics.get_ascent()) / f64::from(pango::SCALE)).ceil();
+ let descent = (f64::from(font_metrics.get_descent()) / f64::from(pango::SCALE)).ceil();
+ let underline_position = (f64::from(font_metrics.get_underline_position()) / f64::from(pango::SCALE)).ceil();
CellMetrics {
pango_ascent: font_metrics.get_ascent(),
pango_descent: font_metrics.get_descent(),
pango_char_width: font_metrics.get_approximate_digit_width(),
- ascent: f64::from(font_metrics.get_ascent()) / f64::from(pango::SCALE),
- line_height: f64::from(font_metrics.get_ascent() + font_metrics.get_descent())
- / f64::from(pango::SCALE)
- + f64::from(line_space),
- char_width: f64::from(font_metrics.get_approximate_digit_width())
- / f64::from(pango::SCALE),
- underline_position: f64::from(
- font_metrics.get_ascent() - font_metrics.get_underline_position(),
- ) / f64::from(pango::SCALE),
- underline_thickness: f64::from(font_metrics.get_underline_thickness())
- / f64::from(pango::SCALE),
+ ascent,
+ line_height: ascent + descent + f64::from(line_space),
+ char_width: (f64::from(font_metrics.get_approximate_digit_width())
+ / f64::from(pango::SCALE)).ceil(),
+ underline_position: ascent - underline_position,
+ underline_thickness: f64::from(font_metrics.get_underline_thickness()) / f64::from(pango::SCALE),
}
}
--
2.30.0

View File

@@ -11,16 +11,13 @@ DEPENDENCIES="
app-editors/neovim
dev-libs/glib:2
x11-libs/cairo
x11-libs/gtk+:3[>=3.10.0]
x11-libs/gtk+:3[>=3.22.0]
x11-libs/pango
run:
gnome-desktop/gsettings-desktop-schemas
"
src_install() {
ecargo_install
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/Try-to-fix-render-issues-due-to-changes-in-pango_1.4.patch
)
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/128x128/apps
doins desktop/nvim-gtk.png
}

View File

@@ -1,7 +1,7 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require neovim-gtk gtk-icon-cache
require neovim-gtk
DOWNLOADS=""
@@ -15,27 +15,11 @@ DEPENDENCIES="
x11-libs/cairo
x11-libs/gtk+:3[>=3.22.0]
x11-libs/pango[>=1.38]
run:
gnome-desktop/gsettings-desktop-schemas
"
src_unpack() {
cargo_src_unpack
}
src_install() {
ecargo_install
insinto /usr/share/nvim-gtk
doins -r runtime
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/128x128/apps
newins desktop/org.daa.NeovimGtk_128.png org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/48x48/apps
newins desktop/org.daa.NeovimGtk_48.png org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/scalable/apps
newins desktop/org.daa.NeovimGtk.svg org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/symbolic/apps
newins desktop/org.daa.NeovimGtk-symbolic.svg org.daa.NeovimGtk.png
}

View File

@@ -11,11 +11,26 @@ HOMEPAGE="https://github.com/daa84/neovim-gtk ${HOMEPAGE}"
LICENCES="GPL-3.0"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"
src_install() {
ecargo_install
src_prepare() {
default
export PREFIX=/usr
insinto /usr/share/nvim-gtk
doins -r runtime
insinto /usr/share/applications
doins desktop/*.desktop
local s
for s in 48 128; do
insinto /usr/share/icons/hicolor/${s}x${s}/apps
newins desktop/org.daa.NeovimGtk_${s}.png org.daa.NeovimGtk.png
done
insinto /usr/share/icons/hicolor/scalable/apps
newins desktop/org.daa.NeovimGtk.svg org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/symbolic/apps
newins desktop/org.daa.NeovimGtk-symbolic.svg org.daa.NeovimGtk.png
}
pkg_postinst() {

View File

@@ -1,36 +0,0 @@
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="jarun" tag="v${PV}" ]
require bash-completion zsh-completion
SUMMARY="Lean, fast, zero-config, full-featured file manager with batteries "
LICENCES="BSD-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build:
virtual/pkg-config
build+run:
sys-libs/ncurses:=
sys-libs/readline:=
suggestion:
app-arch/libarchive [[ description = [ create, list and extract archives ] ]]
media/mediainfo [[ description = [ multimedia file details ] ]]
sys-auth/vlock [[ description = [ terminal locker ] ]]
sys-fs/sshfs-fuse [[ description = [ mount, unmount over SSHFS ] ]]
x11-apps/xdg-utils [[ description = [ desktop opener ] ]]
"
BUGS_TO="hasufell@posteo.de"
src_install() {
emake PREFIX="/usr/$(exhost --target)" MANPREFIX="/usr/share/man" DESTDIR="${IMAGE}" install
emagicdocs
dobashcompletion scripts/auto-completion/bash/*
dozshcompletion scripts/auto-completion/zsh/*
}

View File

@@ -23,7 +23,6 @@ LICENCES="wxWinLL-3 LGPL-2.1"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
"
@@ -33,6 +32,7 @@ DEPENDENCIES="
build+run:
app-text/poppler[cairo]
dev-libs/glib:2
media/ffmpeg
media-libs/freetype:2
media-libs/giflib:=
media-libs/gstreamer:1.0
@@ -49,10 +49,8 @@ DEPENDENCIES="
x11-libs/cairo
x11-libs/libX11
x11-libs/libXrandr
providers:ffmpeg? ( media/ffmpeg )
providers:ijg-jpeg? ( media-libs/jpeg:= )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
providers:libav? ( media/libav )
"
CMAKE_SRC_CONFIGURE_PARAMS=(

View File

@@ -16,8 +16,10 @@ MYOPTIONS="
"
DEPENDENCIES="
run:
net-misc/curl
recommendation:
net-misc/curl [[ description = [ GHCup uses curl by default for downloads ] ]]
suggestion:
net-misc/wget [[ description = [ GHCup can use wget instead of curl ] ]]
"
BUGS_TO="hasufell@posteo.de"
@@ -25,7 +27,7 @@ BUGS_TO="hasufell@posteo.de"
WORK=${WORKBASE}
src_unpack() {
edo mv "${FETCHEDDIR}/${ARCHIVES}" ghcup
edo cp "${FETCHEDDIR}/${ARCHIVES}" ghcup
}
src_install() {

View File

@@ -36,7 +36,7 @@ DEPENDENCIES="
sys-libs/zlib
test:
dev-lang/perl:*
dev-lang/python[>=3]
dev-lang/python:*[>=3]
"
CMAKE_SRC_CONFIGURE_PARAMS=(

View File

@@ -24,7 +24,7 @@ MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/typed-ast[>=1.4.0&<1.5.0][python_abis:*(-)?]
dev-python/mypy_extensions[>=0.4.0&<0.5.0][python_abis:*(-)?]
dev-python/mypy_extensions[>=0.4.3&<0.5.0][python_abis:*(-)?]
dev-python/typing-extensions[>=3.7.4][python_abis:*(-)?]
test:
dev-python/attrs[>=18.0][python_abis:*(-)?]

View File

@@ -1,7 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require pypi setup-py [ import=distutils blacklist="3" ]
require setup-py [ import=distutils blacklist="2" multibuild=false ]
require github [ user="AGProjects" pn="python3-application" tag="${PV}" ]
SUMMARY="Basic building blocks for python applications"
HOMEPAGE="http://ag-projects.com/"

View File

@@ -1,8 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="AGProjects" tag="release-${PV}" ]
require setup-py [ import=distutils blacklist="3" work="${PN}-release-${PV}" ]
require github [ user="AGProjects" pn="python3-eventlib" tag="${PV}" ]
require setup-py [ import=distutils blacklist="2" multibuild=false ]
SUMMARY="Coroutine-based networking library"
HOMEPAGE="http://sipsimpleclient.org"

View File

@@ -1,7 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require pypi setup-py [ import=distutils blacklist="3" ]
require setup-py [ import=distutils blacklist="2" multibuild=false ]
require github [ user="AGProjects" pn="python3-gnutls" tag="${PV}" ]
SUMMARY="High level object oriented wrapper around libgnutls"
HOMEPAGE="http://ag-projects.com/"

View File

@@ -1,8 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="AGProjects" tag="release-${PV}" ]
require setup-py [ import=distutils blacklist="3" work="${PN}-release-${PV}" ]
require github [ user="AGProjects" pn="python3-msrplib" tag="${PV}" ]
require setup-py [ import=distutils blacklist="2" multibuild=false ]
SUMMARY="Client library for MSRP protocol and its relay extension"
HOMEPAGE="http://sipsimpleclient.org"
@@ -14,9 +14,9 @@ MYOPTIONS=""
DEPENDENCIES="
run:
dev-python/python-application[python_abis:*(-)?]
dev-python/python-eventlib[python_abis:*(-)?]
dev-python/python-gnutls[>=3.0.0][python_abis:*(-)?]
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
dev-python/python-gnutls[>=3.1.8][python_abis:*(-)?]
net-twisted/Twisted[python_abis:*(-)?]
"

View File

@@ -1,7 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require pypi setup-py [ import=distutils blacklist="3" ]
require setup-py [ import=distutils blacklist="2" multibuild=false ]
require github [ user="AGProjects" pn="python3-otr" tag="${PV}" ]
SUMMARY="Off-The-Record Messaging protocol implementation for Python"
HOMEPAGE="https://github.com/AGProjects/python-otr"
@@ -14,9 +15,8 @@ MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/cryptography[>=1.6][python_abis:*(-)?]
dev-python/enum34[python_abis:*(-)?]
dev-python/gmpy2[python_abis:*(-)?]
dev-python/python-application[>=2.0.0][python_abis:*(-)?]
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
dev-python/zopeinterface[python_abis:*(-)?]
net-libs/libotr
"

View File

@@ -1,26 +0,0 @@
From 8e0874b1be515abc8845e3ad41c4332f992e5687 Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@posteo.de>
Date: Tue, 24 Dec 2019 22:17:28 +0100
Subject: [PATCH] Fix build with LibreSSL 2.7
Upstream: submitted, https://github.com/AGProjects/python-sipsimple/pull/8
---
deps/pjsip/third_party/zsrtp/include/openssl_compat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/deps/pjsip/third_party/zsrtp/include/openssl_compat.h b/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
index 5b6e183e..aebbf996 100644
--- a/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
+++ b/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
@@ -3,7 +3,7 @@
#include <openssl/hmac.h>
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER)
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
static HMAC_CTX *HMAC_CTX_new(void)
{
HMAC_CTX *ctx = (HMAC_CTX*)OPENSSL_malloc(sizeof(HMAC_CTX));
--
2.24.1

View File

@@ -0,0 +1,36 @@
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,45 +0,0 @@
From f786808a36deab01f301905ecdae27e6e17ce197 Mon Sep 17 00:00:00 2001
From: Charles Barcza <info@blackpanther.hu>
Date: Mon, 13 Mar 2017 14:46:34 +0100
Subject: [PATCH 1/2] Build fix on Linux
Upstream: submitted, https://github.com/AGProjects/python-sipsimple/pull/1
---
setup_pjsip.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup_pjsip.py b/setup_pjsip.py
index 4760e64..a43533d 100644
--- a/setup_pjsip.py
+++ b/setup_pjsip.py
@@ -157,6 +157,7 @@ def configure_pjsip(self):
if sys_platform == "win32":
cmd = ["bash", "configure"]
else:
+ os.system("chmod +x "+ self.build_dir +"/*configure")
cmd = ["./configure"]
cmd.extend(["--disable-g7221-codec"])
ffmpeg_path = env.get("SIPSIMPLE_FFMPEG_PATH", None)
From b80cf7ee9d4c32b4e068eb74492f31ccab1296b2 Mon Sep 17 00:00:00 2001
From: Charles Barcza <info@blackpanther.hu>
Date: Mon, 13 Mar 2017 14:55:29 +0100
Subject: [PATCH 2/2] Build fix on Linux
---
setup_pjsip.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup_pjsip.py b/setup_pjsip.py
index a43533d..5f1b27b 100644
--- a/setup_pjsip.py
+++ b/setup_pjsip.py
@@ -157,7 +157,7 @@ def configure_pjsip(self):
if sys_platform == "win32":
cmd = ["bash", "configure"]
else:
- os.system("chmod +x "+ self.build_dir +"/*configure")
+ os.system("chmod +x "+ self.build_dir +"/*configure")
cmd = ["./configure"]
cmd.extend(["--disable-g7221-codec"])
ffmpeg_path = env.get("SIPSIMPLE_FFMPEG_PATH", None)

View File

@@ -0,0 +1,22 @@
From f786808a36deab01f301905ecdae27e6e17ce197 Mon Sep 17 00:00:00 2001
From: Charles Barcza <info@blackpanther.hu>
Date: Mon, 13 Mar 2017 14:46:34 +0100
Subject: [PATCH 1/2] Build fix on Linux
Upstream: submitted, https://github.com/AGProjects/python-sipsimple/pull/1
---
setup_pjsip.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup_pjsip.py b/setup_pjsip.py
index 7dd6c13ff..82e7bd1ca 100644
--- a/setup_pjsip.py
+++ b/setup_pjsip.py
@@ -160,6 +160,7 @@ class PJSIP_build_ext(build_ext):
if sys_platform == "win32":
cmd = ["bash", "configure"]
else:
+ os.system("chmod +x "+ self.build_dir +"/*configure")
cmd = ["./configure"]
cmd.extend(["--disable-g7221-codec"])
ffmpeg_path = env.get("SIPSIMPLE_FFMPEG_PATH", None)

View File

@@ -0,0 +1,25 @@
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

@@ -1,8 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="AGProjects" tag="release-${PV}" ]
require setup-py [ import=distutils blacklist="3" work="${PN}-release-${PV}" ]
require github [ user="AGProjects" pn="python3-sipsimple" tag="${PV}" ]
require setup-py [ import=distutils blacklist="2" multibuild=false ]
SUMMARY="SIP SIMPLE client SDK is a Software Development Kit"
HOMEPAGE="http://sipsimpleclient.org ${HOMEPAGE}"
@@ -12,7 +12,6 @@ SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
"
DEPENDENCIES="
@@ -22,34 +21,33 @@ DEPENDENCIES="
build+run:
dev-db/sqlite:3
dev-libs/icu:=
dev-python/python-application[>=2.5.0][python_abis:*(-)?]
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
media/ffmpeg[h264]
media-libs/libvpx
media-libs/v4l-utils
sys-apps/util-linux
sys-sound/alsa-lib
providers:ffmpeg? ( media/ffmpeg[h264] )
providers:libav? ( media/libav[h264] )
providers:libressl? ( dev-libs/libressl:= )
providers:openssl? ( dev-libs/openssl )
run:
dev-python/dnspython[python_abis:*(-)?]
dev-python/greenlet[python_abis:*(-)?]
dev-python/lxml[python_abis:*(-)?]
dev-python/python-cjson[python_abis:*(-)?]
dev-python/python-dateutil[python_abis:*(-)?]
dev-python/python-eventlib[python_abis:*(-)?]
dev-python/python-gnutls[python_abis:*(-)?]
dev-python/python-msrplib[>=0.19.0][python_abis:*(-)?]
dev-python/python-otr[>=1.2.0][python_abis:*(-)?]
dev-python/python-xcaplib[python_abis:*(-)?]
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
dev-python/python-gnutls[>=3.1.8][python_abis:*(-)?]
dev-python/python-msrplib[>=0.21.0][python_abis:*(-)?]
dev-python/python-otr[>=2.0.1][python_abis:*(-)?]
dev-python/python-xcaplib[>=2.0.0][python_abis:*(-)?]
dev-python/zopeinterface[python_abis:*(-)?]
media-libs/x264[-10bit]
net-twisted/Twisted[python_abis:*(-)?]
"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/${PNV}-fix-build.patch
"${FILES}"/0001-Fix-build-with-LibreSSL-2.7.patch
"${FILES}"/${PN}-fix-build.patch
"${FILES}"/${PN}-gcc10-fix.patch
"${FILES}"/d75b225e566cae2c998504dc5cd76bb30226cb43.patch
)
src_compile() {

View File

@@ -0,0 +1,70 @@
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

@@ -1,11 +1,11 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require setup-py [ import=distutils blacklist="3" ]
require setup-py [ import=distutils blacklist="2" multibuild=false ]
require github [ user="AGProjects" pn="python3-xcaplib" tag="${PV}" ]
SUMMARY="Python library for managing XML documents on XCAP server"
HOMEPAGE="http://sipsimpleclient.org"
DOWNLOADS="http://download.ag-projects.com/XCAP/${PNV}.tar.gz"
LICENCES="GPL-2"
SLOT="0"
@@ -15,6 +15,10 @@ MYOPTIONS=""
DEPENDENCIES="
run:
dev-python/lxml[python_abis:*(-)?]
dev-python/python-application[python_abis:*(-)?]
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/${PN}-work-with-eventlib.patch
)

View File

@@ -0,0 +1,44 @@
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require bash-completion zsh-completion
require github [ user='cli' pn='cli' tag="v${PV}" ]
SUMMARY="Github CLI"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64"
MYOPTIONS=""
DEPENDENCIES="
build:
dev-lang/go
run:
dev-scm/git
"
BUGS_TO="hasufell@posteo.de"
src_compile() {
export GOPATH="${WORK}"/.gopath
export GOBIN="${WORK}"/.bin
unset LDFLAGS
esandbox disable_net
emake
emake manpages
edo go run ./cmd/gh completion -s bash > gh.bash-completion
edo go run ./cmd/gh completion -s zsh > gh.zsh-completion
esandbox enable_net
}
src_install() {
dobin bin/gh
emagicdocs
doman share/man/man?/gh*.?
dobashcompletion gh.bash-completion
dozshcompletion gh.zsh-completion
}

View File

@@ -1,74 +0,0 @@
Source: Gentoo
Reason: fix build with mono-4
Upstream: just a simple backport of a series of more complicated fixes
diff -Naur pinta-1.6_orig/Pinta/Pinta.csproj pinta-1.6/Pinta/Pinta.csproj
--- pinta-1.6_orig/Pinta/Pinta.csproj 2015-03-01 23:07:57.000000000 +0100
+++ pinta-1.6/Pinta/Pinta.csproj 2015-12-12 15:02:28.796155090 +0100
@@ -80,7 +80,7 @@
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<Package>gtk-sharp-2.0</Package>
</Reference>
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<Package>gtk-sharp-2.0</Package>
diff -Naur pinta-1.6_orig/Pinta.Core/Pinta.Core.csproj pinta-1.6/Pinta.Core/Pinta.Core.csproj
--- pinta-1.6_orig/Pinta.Core/Pinta.Core.csproj 2015-03-01 23:07:57.000000000 +0100
+++ pinta-1.6/Pinta.Core/Pinta.Core.csproj 2015-12-12 15:02:28.798155090 +0100
@@ -55,7 +55,7 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="System.Core" />
diff -Naur pinta-1.6_orig/Pinta.Effects/Pinta.Effects.csproj pinta-1.6/Pinta.Effects/Pinta.Effects.csproj
--- pinta-1.6_orig/Pinta.Effects/Pinta.Effects.csproj 2015-03-01 23:07:57.000000000 +0100
+++ pinta-1.6/Pinta.Effects/Pinta.Effects.csproj 2015-12-12 15:02:28.797155090 +0100
@@ -58,7 +58,7 @@
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Core">
</Reference>
diff -Naur pinta-1.6_orig/Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj pinta-1.6/Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj
--- pinta-1.6_orig/Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj 2015-03-01 23:07:57.000000000 +0100
+++ pinta-1.6/Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj 2015-12-12 15:02:28.797155090 +0100
@@ -54,7 +54,7 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
diff -Naur pinta-1.6_orig/Pinta.Install.proj pinta-1.6/Pinta.Install.proj
--- pinta-1.6_orig/Pinta.Install.proj 2015-03-01 23:14:37.000000000 +0100
+++ pinta-1.6/Pinta.Install.proj 2015-12-12 15:05:20.974156635 +0100
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<!-- Set some paths -->
<PropertyGroup>
diff -Naur pinta-1.6_orig/Pinta.Tools/Pinta.Tools.csproj pinta-1.6/Pinta.Tools/Pinta.Tools.csproj
--- pinta-1.6_orig/Pinta.Tools/Pinta.Tools.csproj 2015-03-01 23:07:57.000000000 +0100
+++ pinta-1.6/Pinta.Tools/Pinta.Tools.csproj 2015-12-12 15:02:28.795155090 +0100
@@ -54,7 +54,7 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml" />

View File

@@ -1,32 +0,0 @@
From 2dfeb6f3fcec7d620a5a5a6f0d6d437c55bd3109 Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@posteo.de>
Date: Sun, 5 Jun 2016 19:26:37 +0200
Subject: [PATCH] Use PKG_PROG_PKG_CONFIG macro to check for pkg-config
Upstream: submitted, https://github.com/PintaProject/Pinta/pull/120
Using AC_PATH_PROG isn't the standard way and breaks if
the distribution provides only prefixed (as in: <arch>-pkg-config)
versions.
---
configure.ac | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 18b7199..7eb3f93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,10 +7,7 @@ YELP_HELP_INIT
AC_PROG_INSTALL
dnl pkg-config
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-if test "x$PKG_CONFIG" = "xno"; then
- AC_MSG_ERROR([You need to install pkg-config])
-fi
+PKG_PROG_PKG_CONFIG([0.20])
AC_PATH_PROG(XBUILD, xbuild, no)
AC_PATH_PROG(MONO, mono, no)
--
2.8.3

View File

@@ -17,8 +17,3 @@ DEPENDENCIES="
gnome-bindings/gtk-sharp:2
"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/pinta-1.6-pkg-config.patch
"${FILES}"/pinta-1.6-mono-4.patch
)

View File

@@ -1,9 +1,9 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 1.15 ] ]
require github [ user=PintaProject project=Pinta ]
require gtk-icon-cache freedesktop-desktop freedesktop-mime
require gtk-icon-cache freedesktop-desktop
export_exlib_phases src_prepare pkg_postinst pkg_postrm
@@ -23,13 +23,11 @@ pinta_src_prepare() {
}
pinta_pkg_postinst() {
freedesktop-mime_pkg_postinst
freedesktop-desktop_pkg_postinst
gtk-icon-cache_pkg_postinst
}
pinta_pkg_postrm() {
freedesktop-mime_pkg_postrm
freedesktop-desktop_pkg_postrm
gtk-icon-cache_pkg_postrm
}

View File

@@ -0,0 +1,35 @@
Upstream: yes https://gitlab.com/Remmina/Remmina/-/merge_requests/2108
commit db8cc0e3bb260c316832d4dfdb308641fcb100af
Author: Alexander Kapshuna <kapsh@kap.sh>
Date: Sat Aug 22 17:43:29 2020 +0300
Use previously defined DATADIR to install Kiosk files
diff --git a/data/desktop/CMakeLists.txt b/data/desktop/CMakeLists.txt
index 4f492ce8..eb586af3 100644
--- a/data/desktop/CMakeLists.txt
+++ b/data/desktop/CMakeLists.txt
@@ -154,19 +154,19 @@ if(WITH_KIOSK_SESSION)
message(STATUS "Kiosk desktop session files will be installed")
install(
FILES remmina-gnome-xsession.desktop
- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/xsessions
+ DESTINATION ${REMMINA_DATADIR}/xsessions
RENAME remmina-gnome.desktop
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ
)
install(
FILES remmina-gnome.desktop
- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
+ DESTINATION ${REMMINA_DATADIR}/applications
RENAME remmina-gnome.desktop
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ
)
install(
FILES remmina-gnome.session
- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/gnome-session/sessions
+ DESTINATION ${REMMINA_DATADIR}/gnome-session/sessions
RENAME remmina-gnome.session
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ
)

View File

@@ -13,6 +13,7 @@ HOMEPAGE+=" http://remmina.org/"
LICENCES="GPL-2"
MYOPTIONS="
cups
ssh
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
"
@@ -27,14 +28,18 @@ DEPENDENCIES="
dev-libs/glib:2[>=2.30]
dev-libs/libgcrypt
dev-libs/libsecret:1
dev-libs/libsodium
gnome-desktop/libsoup:2.4
net-libs/libvncserver
net-remote/FreeRDP
net-remote/FreeRDP[>=2.0.0]
x11-libs/cairo
x11-libs/gdk-pixbuf:2.0
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libxkbfile
cups? (
net-print/cups
)
ssh? (
net-libs/libssh
dev-libs/vte:2.91
@@ -45,6 +50,10 @@ DEPENDENCIES="
BUGS_TO="hasufell@posteo.de"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}/fix-share-paths.patch"
)
CMAKE_SRC_CONFIGURE_PARAMS=(
# on
-DWITH_FREERDP=ON
@@ -59,9 +68,11 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
-DWITH_AVAHI=OFF
-DWITH_SPICE=OFF
-DWITH_TELEPATHY=OFF
-DWITH_WWW=OFF
)
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
"cups CUPS"
"ssh LIBSSH"
"ssh VTE"
)

View File

@@ -17,6 +17,7 @@ MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-libs/libevent:=
net-libs/libtirpc
"
BUGS_TO="hasufell@posteo.de"
@@ -27,3 +28,10 @@ DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/fix-install.patch
)
src_prepare(){
CFLAGS+=" -I/usr/$(exhost --target)/include/tirpc"
LDFLAGS+=" -ltirpc"
autotools_src_prepare
}

View File

@@ -31,8 +31,8 @@ DEPENDENCIES="
dev-perl/Text-Tabs+Wrap
dev-perl/libwww-perl
gtk? (
dev-perl/Gtk3-Perl
dev-perl/File-ShareDir
dev-perl/Gtk2-Perl
x11-libs/gdk-pixbuf:2.0[X]
)
suggestion:
@@ -55,7 +55,7 @@ DEPENDENCIES="
src_configure() {
edo rm Makefile.PL
if option gtk ; then
PERL_MODULE_SRC_CONFIGURE_PARAMS=( --gtk )
PERL_MODULE_SRC_CONFIGURE_PARAMS=( --gtk3 )
fi
perl-module_src_configure
}

View File

@@ -0,0 +1,31 @@
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
SUMMARY="An input event router"
DOWNLOADS="https://files.bedroomlan.org/debian/pool/main/e/evrouter/evrouter_${PV}.tar.gz"
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
RESTRICT="test"
DEPENDENCIES="
build+run:
x11-libs/libX11
x11-libs/libXtst
"
BUGS_TO="hasufell@posteo.de"
DEFAULT_SRC_CONFIGURE_PARAMS=(
--without-xmms
)
src_prepare() {
default
eautoreconf
}

View File

@@ -0,0 +1,48 @@
From 375ef42393f3dc6edbaa2cb70c79b2366072db38 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Sun, 19 Jan 2020 15:24:20 +0000
Subject: [PATCH] src/rc/rc-logger.h: fix build failure against gcc-10
On gcc-10 (and gcc-9 -fno-common) build fails as:
```
cc -L../librc -L../libeinfo -O2 -g -std=c99 -Wall -Wextra -Wimplicit -Wshadow \
-Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn \
-Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings \
-Wcast-align -Wcast-qual -Wpointer-arith -Wdeclaration-after-statement \
-Wsequence-point -Werror=implicit-function-declaration \
-Wl,-rpath=/lib -o openrc rc.o rc-logger.o rc-misc.o rc-plugin.o _usage.o -lutil -lrc -leinfo -Wl,-Bdynamic -ldl
ld: rc-logger.o:/home/slyfox/dev/git/openrc/src/rc/rc-logger.h:16:
multiple definition of `rc_logger_pid'; rc.o:openrc/src/rc/rc-logger.h:16: first defined here
ld: rc-logger.o:/home/slyfox/dev/git/openrc/src/rc/rc-logger.h:17:
multiple definition of `rc_logger_tty'; rc.o:openrc/src/rc/rc-logger.h:17: first defined here
```
gcc-10 will change the default from -fcommon to fno-common:
https://gcc.gnu.org/PR85678.
The error also happens if CFLAGS=-fno-common passed explicitly.
This fixes #348.
---
src/rc/rc-logger.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/rc/rc-logger.h b/src/rc/rc-logger.h
index bf6e3e57..1da294b0 100644
--- a/src/rc/rc-logger.h
+++ b/src/rc/rc-logger.h
@@ -13,8 +13,8 @@
#ifndef RC_LOGGER_H
#define RC_LOGGER_H
-pid_t rc_logger_pid;
-int rc_logger_tty;
+extern pid_t rc_logger_pid;
+extern int rc_logger_tty;
extern bool rc_in_logger;
void rc_logger_open(const char *runlevel);
--
2.29.0

View File

@@ -47,6 +47,10 @@ DEPENDENCIES="
REMOTE_IDS="github:OpenRC/${PN}"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/src-rc-rc-logger.h-fix-build-failure-against-gcc-10.patch
)
DEFAULT_SRC_COMPILE_PARAMS=(
LIBNAME=lib
LIBEXECDIR=/usr/$(exhost --target)/libexec/rc

View File

@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
require desktop-utils gtk-icon-cache
require setup-py [ import=distutils blacklist="3" multibuild=false ]
require github [ user="AGProjects" pn="blink-qt" tag="release-${PV}" ]
require setup-py [ import=distutils blacklist="2" multibuild=false ]
require github [ user="AGProjects" pn="blink-qt" tag="${PV}" ]
SUMMARY="A state of the art, easy to use SIP client"
HOMEPAGE="http://iCanBlink.com"
@@ -22,17 +22,16 @@ DEPENDENCIES="
dev-python/PyQt5[>=5.0][webkit][python_abis:*(-)?]
dev-python/google-api-python-client[python_abis:*(-)?]
dev-python/lxml[python_abis:*(-)?]
dev-python/python-application[>=2.5.0][python_abis:*(-)?]
dev-python/python-cjson[python_abis:*(-)?]
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
dev-python/python-dateutil[python_abis:*(-)?]
dev-python/python-eventlib[python_abis:*(-)?]
dev-python/python-sipsimple[>=3.0.0][python_abis:*(-)?]
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
dev-python/python-sipsimple[>=4.0.1][python_abis:*(-)?]
dev-python/zopeinterface[python_abis:*(-)?]
net-twisted/Twisted[python_abis:*(-)?]
"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}/${PNV}-data-path.patch"
"${FILES}/${PN}-data-path.patch"
)
src_install() {

View File

@@ -3,14 +3,17 @@ Date: Tue Sep 8 10:10:18 UTC 2015
Subject: Fix data path fallback
Upstream: no, correct fix pending since 'sys.prefix' is broken in exherbo
--- blink-1.4.1/blink/resources.py
+++ blink-1.4.1/blink/resources.py
@@ -71,7 +71,7 @@
if os.path.exists(os.path.join(application_directory, 'resources', 'blink.ui')):
cls._cached_directory = os.path.join(application_directory, 'resources').decode(sys.getfilesystemencoding())
diff --git a/blink/resources.py b/blink/resources.py
index e981ed8..f1f4f5c 100644
--- a/blink/resources.py
+++ b/blink/resources.py
@@ -81,7 +81,7 @@ class Resources(object):
elif os.path.exists(os.path.join(application_directory, 'resources', 'blink.ui')):
cls._cached_directory = os.path.join(application_directory, 'resources')
else:
- cls._cached_directory = os.path.join(application_directory, 'share', 'blink').decode(sys.getfilesystemencoding())
+ cls._cached_directory = os.path.join('/usr', 'share', 'blink').decode(sys.getfilesystemencoding())
- cls._cached_directory = os.path.join(application_directory, 'share', 'blink')
+ cls._cached_directory = os.path.join('/usr', 'share', 'blink')
return DirectoryContextManager(cls._cached_directory)
@classmethod

View File

@@ -0,0 +1,37 @@
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="Virtual keyboard for X window system"
HOMEPAGE="http://t-sato.in.coocan.jp/xvkbd/"
DOWNLOADS="http://t-sato.in.coocan.jp/xvkbd/${PNV}.tar.gz"
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build:
virtual/pkg-config
x11-proto/xorgproto
build+run:
x11-libs/libX11
x11-libs/libXaw
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXtst
"
src_prepare() {
edo sed -i -e 's/shell pkg-config/shell ${PKG_CONFIG}/' \
Makefile.{am,in}
}
src_install() {
dodir /usr/share/X11/app-defaults
default
dodoc ChangeLog README
newman ${PN}.man ${PN}.1
}

View File

@@ -25,14 +25,14 @@ DEPENDENCIES="
recommendation:
dev-python/pyxdg[python_abis:*(-)?]
suggestion:
app-text/dvipng
app-text/texlive-core
app-text/dvipng [[ note = [ equation plugin ] ]]
app-text/texlive-core [[ note = [ equation plugin ] ]]
dev-libs/zeitgeist:2.0
dev-scm/bzr
media-gfx/ImageMagick
media-gfx/graphviz
media-gfx/scrot
media-sound/lilypond
dev-scm/bzr [[ note = [ version control plugin ] ]]
media-gfx/graphviz [[ note = [ diagram editor plugin ] ]]
media-gfx/ImageMagick [[ note = [ screenshot plugin ] ]]
media-gfx/scrot [[ note = [ screenshot plugin ] ]]
media-sound/lilypond [[ note = [ music score plugin ] ]]
sci-apps/gnuplot
"