forked from hasufell/hasufell-repository
Compare commits
No commits in common. "251216d33eb963cc37b42537573ce6a8ff768420" and "92f766ef94df08507ff7b89619be7fc86ea445ae" have entirely different histories.
251216d33e
...
92f766ef94
@ -0,0 +1,34 @@
|
|||||||
|
# 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
|
||||||
|
}
|
||||||
|
|
@ -1,41 +0,0 @@
|
|||||||
# 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
|
|
||||||
)
|
|
||||||
|
|
@ -14,6 +14,8 @@ PLATFORMS="~amd64 ~x86"
|
|||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
dev-python/meld3[python_abis:*(-)?]
|
||||||
test:
|
test:
|
||||||
dev-python/pexpect[python_abis:*(-)?]
|
dev-python/pexpect[python_abis:*(-)?]
|
||||||
python_abis:2.7? ( dev-python/mock[python_abis:2.7] )
|
python_abis:2.7? ( dev-python/mock[python_abis:2.7] )
|
@ -1,50 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
@ -11,13 +11,16 @@ DEPENDENCIES="
|
|||||||
app-editors/neovim
|
app-editors/neovim
|
||||||
dev-libs/glib:2
|
dev-libs/glib:2
|
||||||
x11-libs/cairo
|
x11-libs/cairo
|
||||||
x11-libs/gtk+:3[>=3.22.0]
|
x11-libs/gtk+:3[>=3.10.0]
|
||||||
x11-libs/pango
|
x11-libs/pango
|
||||||
run:
|
|
||||||
gnome-desktop/gsettings-desktop-schemas
|
|
||||||
"
|
"
|
||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
src_install() {
|
||||||
"${FILES}"/Try-to-fix-render-issues-due-to-changes-in-pango_1.4.patch
|
ecargo_install
|
||||||
)
|
|
||||||
|
|
||||||
|
insinto /usr/share/applications
|
||||||
|
doins desktop/*.desktop
|
||||||
|
|
||||||
|
insinto /usr/share/icons/hicolor/128x128/apps
|
||||||
|
doins desktop/nvim-gtk.png
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require neovim-gtk
|
require neovim-gtk gtk-icon-cache
|
||||||
|
|
||||||
DOWNLOADS=""
|
DOWNLOADS=""
|
||||||
|
|
||||||
@ -15,11 +15,27 @@ DEPENDENCIES="
|
|||||||
x11-libs/cairo
|
x11-libs/cairo
|
||||||
x11-libs/gtk+:3[>=3.22.0]
|
x11-libs/gtk+:3[>=3.22.0]
|
||||||
x11-libs/pango[>=1.38]
|
x11-libs/pango[>=1.38]
|
||||||
run:
|
|
||||||
gnome-desktop/gsettings-desktop-schemas
|
|
||||||
"
|
"
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
cargo_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
|
||||||
|
}
|
||||||
|
@ -11,26 +11,11 @@ HOMEPAGE="https://github.com/daa84/neovim-gtk ${HOMEPAGE}"
|
|||||||
LICENCES="GPL-3.0"
|
LICENCES="GPL-3.0"
|
||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
|
|
||||||
src_install() {
|
BUGS_TO="hasufell@posteo.de"
|
||||||
ecargo_install
|
|
||||||
|
|
||||||
insinto /usr/share/nvim-gtk
|
src_prepare() {
|
||||||
doins -r runtime
|
default
|
||||||
|
export PREFIX=/usr
|
||||||
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() {
|
pkg_postinst() {
|
||||||
|
36
packages/app-misc/nnn/nnn-2.5.exheres-0
Normal file
36
packages/app-misc/nnn/nnn-2.5.exheres-0
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# 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/*
|
||||||
|
}
|
@ -36,10 +36,10 @@ DEPENDENCIES="
|
|||||||
media-libs/freetype:2
|
media-libs/freetype:2
|
||||||
media-libs/giflib:=
|
media-libs/giflib:=
|
||||||
media-libs/gstreamer:1.0
|
media-libs/gstreamer:1.0
|
||||||
media-libs/imath
|
media-libs/ilmbase
|
||||||
media-libs/jasper
|
media-libs/jasper
|
||||||
media-libs/libpng:=
|
media-libs/libpng:=
|
||||||
media-libs/openexr[>=3]
|
media-libs/openexr
|
||||||
media-libs/SDL:0
|
media-libs/SDL:0
|
||||||
media-libs/tiff
|
media-libs/tiff
|
||||||
media-plugins/gst-plugins-base:1.0
|
media-plugins/gst-plugins-base:1.0
|
||||||
@ -53,15 +53,13 @@ DEPENDENCIES="
|
|||||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||||
"
|
"
|
||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
||||||
"${FILES}"/${PN}-3.6.5-openexr3.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_Asio=1
|
-DCMAKE_DISABLE_FIND_PACKAGE_Asio=1
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_Inventor=1
|
-DCMAKE_DISABLE_FIND_PACKAGE_Inventor=1
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=1
|
-DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=1
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_FBX=
|
-DCMAKE_DISABLE_FIND_PACKAGE_FBX=
|
||||||
|
-DCMAKE_DISABLE_FIND_PACKAGE_Xine=1
|
||||||
|
-DCMAKE_DISABLE_FIND_PACKAGE_OpenVRML=1
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_Performer=1
|
-DCMAKE_DISABLE_FIND_PACKAGE_Performer=1
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_GDAL=1
|
-DCMAKE_DISABLE_FIND_PACKAGE_GDAL=1
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=1
|
-DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=1
|
@ -1,86 +0,0 @@
|
|||||||
Source: Arch, https://github.com/archlinux/svntogit-community/blob/packages/openscenegraph/trunk/openscenegraph-openexr3.patch
|
|
||||||
Upstream: Reported, https://github.com/openscenegraph/OpenSceneGraph/issues/1075
|
|
||||||
Reason: Fix build with OpenEXR >= 3
|
|
||||||
|
|
||||||
diff --git a/CMakeModules/FindOpenEXR.cmake b/CMakeModules/FindOpenEXR.cmake
|
|
||||||
index 233be972b..d1b022881 100644
|
|
||||||
--- a/CMakeModules/FindOpenEXR.cmake
|
|
||||||
+++ b/CMakeModules/FindOpenEXR.cmake
|
|
||||||
@@ -51,11 +51,11 @@ MACRO(OPENEXR_FIND libname)
|
|
||||||
OPENEXR_FIND_VAR(OPENEXR_${libname}_LIBRARY_DEBUG ${libname}d)
|
|
||||||
ENDMACRO(OPENEXR_FIND)
|
|
||||||
|
|
||||||
-OPENEXR_FIND(IlmImf)
|
|
||||||
+OPENEXR_FIND(OpenEXR)
|
|
||||||
|
|
||||||
SET(OPENEXR_FOUND "NO")
|
|
||||||
-IF(OPENEXR_INCLUDE_DIR AND OPENEXR_IlmImf_LIBRARY)
|
|
||||||
- SET(OPENEXR_LIBRARIES ${OPENEXR_IlmImf_LIBRARY} )
|
|
||||||
- SET(OPENEXR_LIBRARIES_VARS OPENEXR_IlmImf_LIBRARY )
|
|
||||||
+IF(OPENEXR_INCLUDE_DIR AND OPENEXR_OpenEXR_LIBRARY)
|
|
||||||
+ SET(OPENEXR_LIBRARIES ${OPENEXR_OpenEXR_LIBRARY} )
|
|
||||||
+ SET(OPENEXR_LIBRARIES_VARS OPENEXR_OpenEXR_LIBRARY )
|
|
||||||
SET(OPENEXR_FOUND "YES")
|
|
||||||
-ENDIF(OPENEXR_INCLUDE_DIR AND OPENEXR_IlmImf_LIBRARY)
|
|
||||||
+ENDIF(OPENEXR_INCLUDE_DIR AND OPENEXR_OpenEXR_LIBRARY)
|
|
||||||
diff --git a/CMakeModules/Findilmbase.cmake b/CMakeModules/Findilmbase.cmake
|
|
||||||
index 4b076c7c9..4610497fa 100644
|
|
||||||
--- a/CMakeModules/Findilmbase.cmake
|
|
||||||
+++ b/CMakeModules/Findilmbase.cmake
|
|
||||||
@@ -10,7 +10,7 @@
|
|
||||||
# Created by Robert Osfield.
|
|
||||||
|
|
||||||
|
|
||||||
-FIND_PATH(ILMBASE_INCLUDE_DIR OpenEXR/ImathVec.h
|
|
||||||
+FIND_PATH(ILMBASE_INCLUDE_DIR Imath/ImathVec.h
|
|
||||||
$ENV{ILMBASE_DIR}/include
|
|
||||||
$ENV{ILMBASE_DIR}
|
|
||||||
~/Library/Frameworks
|
|
||||||
@@ -28,7 +28,7 @@ FIND_PATH(ILMBASE_INCLUDE_DIR OpenEXR/ImathVec.h
|
|
||||||
# example: ILMBASE_FIND_VAR(OPENEXR_IlmThread_LIBRARY IlmThread)
|
|
||||||
MACRO(ILMBASE_FIND_VAR varname libname)
|
|
||||||
FIND_LIBRARY( ${varname}
|
|
||||||
- NAMES ${libname} ${libname}-2_1 ${libname}-2_2
|
|
||||||
+ NAMES ${libname} ${libname}-2_1 ${libname}-2_2 ${libname}-3_0
|
|
||||||
PATHS
|
|
||||||
$ENV{ILMBASE_DIR}/lib
|
|
||||||
$ENV{ILMBASE_DIR}
|
|
||||||
@@ -53,11 +53,11 @@ ENDMACRO(ILMBASE_FIND)
|
|
||||||
|
|
||||||
ILMBASE_FIND(IlmThread)
|
|
||||||
ILMBASE_FIND(Iex)
|
|
||||||
-ILMBASE_FIND(Half)
|
|
||||||
+ILMBASE_FIND(Imath)
|
|
||||||
|
|
||||||
SET(ILMBASE_FOUND "NO")
|
|
||||||
-IF(ILMBASE_INCLUDE_DIR AND ILMBASE_IlmThread_LIBRARY AND ILMBASE_Iex_LIBRARY AND ILMBASE_Half_LIBRARY)
|
|
||||||
- SET(ILMBASE_LIBRARIES ${ILMBASE_IlmThread_LIBRARY} ${ILMBASE_Half_LIBRARY} ${ILMBASE_Iex_LIBRARY} )
|
|
||||||
- SET(ILMBASE_LIBRARIES_VARS ILMBASE_IlmThread_LIBRARY ILMBASE_Half_LIBRARY ILMBASE_Iex_LIBRARY )
|
|
||||||
+IF(ILMBASE_INCLUDE_DIR AND ILMBASE_IlmThread_LIBRARY AND ILMBASE_Iex_LIBRARY AND ILMBASE_Imath_LIBRARY)
|
|
||||||
+ SET(ILMBASE_LIBRARIES ${ILMBASE_IlmThread_LIBRARY} ${ILMBASE_Imath_LIBRARY} ${ILMBASE_Iex_LIBRARY} )
|
|
||||||
+ SET(ILMBASE_LIBRARIES_VARS ILMBASE_IlmThread_LIBRARY ILMBASE_Imath_LIBRARY ILMBASE_Iex_LIBRARY )
|
|
||||||
SET(ILMBASE_FOUND "YES")
|
|
||||||
-ENDIF(ILMBASE_INCLUDE_DIR AND ILMBASE_IlmThread_LIBRARY AND ILMBASE_Iex_LIBRARY AND ILMBASE_Half_LIBRARY)
|
|
||||||
+ENDIF(ILMBASE_INCLUDE_DIR AND ILMBASE_IlmThread_LIBRARY AND ILMBASE_Iex_LIBRARY AND ILMBASE_Imath_LIBRARY)
|
|
||||||
diff --git a/src/osgPlugins/exr/CMakeLists.txt b/src/osgPlugins/exr/CMakeLists.txt
|
|
||||||
index 6191ed18f..9a368b2c2 100644
|
|
||||||
--- a/src/osgPlugins/exr/CMakeLists.txt
|
|
||||||
+++ b/src/osgPlugins/exr/CMakeLists.txt
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-INCLUDE_DIRECTORIES( ${ILMBASE_INCLUDE_DIR}/OpenEXR )
|
|
||||||
+INCLUDE_DIRECTORIES( ${ILMBASE_INCLUDE_DIR}/Imath )
|
|
||||||
INCLUDE_DIRECTORIES( ${OPENEXR_INCLUDE_DIR}/OpenEXR )
|
|
||||||
|
|
||||||
SET(TARGET_SRC ReaderWriterEXR.cpp )
|
|
||||||
diff --git a/src/osgPlugins/exr/ReaderWriterEXR.cpp b/src/osgPlugins/exr/ReaderWriterEXR.cpp
|
|
||||||
index 7132e97f8..96c5507ef 100644
|
|
||||||
--- a/src/osgPlugins/exr/ReaderWriterEXR.cpp
|
|
||||||
+++ b/src/osgPlugins/exr/ReaderWriterEXR.cpp
|
|
||||||
@@ -13,6 +13,7 @@
|
|
||||||
#include <osgDB/FileNameUtils>
|
|
||||||
#include <osgDB/FileUtils>
|
|
||||||
|
|
||||||
+#include <ImfInt64.h>
|
|
||||||
#include <ImfRgbaFile.h>
|
|
||||||
#include <ImfIO.h>
|
|
||||||
#include <ImfArray.h>
|
|
@ -36,7 +36,7 @@ DEPENDENCIES="
|
|||||||
sys-libs/zlib
|
sys-libs/zlib
|
||||||
test:
|
test:
|
||||||
dev-lang/perl:*
|
dev-lang/perl:*
|
||||||
dev-lang/python:*[>=3]
|
dev-lang/python[>=3]
|
||||||
"
|
"
|
||||||
|
|
||||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
@ -24,7 +24,7 @@ MYOPTIONS=""
|
|||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
build+run:
|
||||||
dev-python/typed-ast[>=1.4.0&<1.5.0][python_abis:*(-)?]
|
dev-python/typed-ast[>=1.4.0&<1.5.0][python_abis:*(-)?]
|
||||||
dev-python/mypy_extensions[>=0.4.3&<0.5.0][python_abis:*(-)?]
|
dev-python/mypy_extensions[>=0.4.0&<0.5.0][python_abis:*(-)?]
|
||||||
dev-python/typing-extensions[>=3.7.4][python_abis:*(-)?]
|
dev-python/typing-extensions[>=3.7.4][python_abis:*(-)?]
|
||||||
test:
|
test:
|
||||||
dev-python/attrs[>=18.0][python_abis:*(-)?]
|
dev-python/attrs[>=18.0][python_abis:*(-)?]
|
@ -1,8 +1,7 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
require pypi setup-py [ import=distutils blacklist="3" ]
|
||||||
require github [ user="AGProjects" pn="python3-application" tag="${PV}" ]
|
|
||||||
|
|
||||||
SUMMARY="Basic building blocks for python applications"
|
SUMMARY="Basic building blocks for python applications"
|
||||||
HOMEPAGE="http://ag-projects.com/"
|
HOMEPAGE="http://ag-projects.com/"
|
@ -1,8 +1,8 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require github [ user="AGProjects" pn="python3-eventlib" tag="${PV}" ]
|
require github [ user="AGProjects" tag="release-${PV}" ]
|
||||||
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
require setup-py [ import=distutils blacklist="3" work="${PN}-release-${PV}" ]
|
||||||
|
|
||||||
SUMMARY="Coroutine-based networking library"
|
SUMMARY="Coroutine-based networking library"
|
||||||
HOMEPAGE="http://sipsimpleclient.org"
|
HOMEPAGE="http://sipsimpleclient.org"
|
@ -1,8 +1,7 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
require pypi setup-py [ import=distutils blacklist="3" ]
|
||||||
require github [ user="AGProjects" pn="python3-gnutls" tag="${PV}" ]
|
|
||||||
|
|
||||||
SUMMARY="High level object oriented wrapper around libgnutls"
|
SUMMARY="High level object oriented wrapper around libgnutls"
|
||||||
HOMEPAGE="http://ag-projects.com/"
|
HOMEPAGE="http://ag-projects.com/"
|
@ -1,8 +1,8 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require github [ user="AGProjects" pn="python3-msrplib" tag="${PV}" ]
|
require github [ user="AGProjects" tag="release-${PV}" ]
|
||||||
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
require setup-py [ import=distutils blacklist="3" work="${PN}-release-${PV}" ]
|
||||||
|
|
||||||
SUMMARY="Client library for MSRP protocol and its relay extension"
|
SUMMARY="Client library for MSRP protocol and its relay extension"
|
||||||
HOMEPAGE="http://sipsimpleclient.org"
|
HOMEPAGE="http://sipsimpleclient.org"
|
||||||
@ -14,9 +14,9 @@ MYOPTIONS=""
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
|
dev-python/python-application[python_abis:*(-)?]
|
||||||
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
|
dev-python/python-eventlib[python_abis:*(-)?]
|
||||||
dev-python/python-gnutls[>=3.1.8][python_abis:*(-)?]
|
dev-python/python-gnutls[>=3.0.0][python_abis:*(-)?]
|
||||||
net-twisted/Twisted[python_abis:*(-)?]
|
net-twisted/Twisted[python_abis:*(-)?]
|
||||||
"
|
"
|
||||||
|
|
@ -1,8 +1,7 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
require pypi setup-py [ import=distutils blacklist="3" ]
|
||||||
require github [ user="AGProjects" pn="python3-otr" tag="${PV}" ]
|
|
||||||
|
|
||||||
SUMMARY="Off-The-Record Messaging protocol implementation for Python"
|
SUMMARY="Off-The-Record Messaging protocol implementation for Python"
|
||||||
HOMEPAGE="https://github.com/AGProjects/python-otr"
|
HOMEPAGE="https://github.com/AGProjects/python-otr"
|
||||||
@ -15,8 +14,9 @@ MYOPTIONS=""
|
|||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
build+run:
|
||||||
dev-python/cryptography[>=1.6][python_abis:*(-)?]
|
dev-python/cryptography[>=1.6][python_abis:*(-)?]
|
||||||
|
dev-python/enum34[python_abis:*(-)?]
|
||||||
dev-python/gmpy2[python_abis:*(-)?]
|
dev-python/gmpy2[python_abis:*(-)?]
|
||||||
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
|
dev-python/python-application[>=2.0.0][python_abis:*(-)?]
|
||||||
dev-python/zopeinterface[python_abis:*(-)?]
|
dev-python/zopeinterface[python_abis:*(-)?]
|
||||||
net-libs/libotr
|
net-libs/libotr
|
||||||
"
|
"
|
@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
|
|
@ -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)
|
|
@ -0,0 +1,45 @@
|
|||||||
|
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)
|
@ -1,22 +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 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)
|
|
@ -1,8 +1,8 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require github [ user="AGProjects" pn="python3-sipsimple" tag="${PV}" ]
|
require github [ user="AGProjects" tag="release-${PV}" ]
|
||||||
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
require setup-py [ import=distutils blacklist="3" work="${PN}-release-${PV}" ]
|
||||||
|
|
||||||
SUMMARY="SIP SIMPLE client SDK is a Software Development Kit"
|
SUMMARY="SIP SIMPLE client SDK is a Software Development Kit"
|
||||||
HOMEPAGE="http://sipsimpleclient.org ${HOMEPAGE}"
|
HOMEPAGE="http://sipsimpleclient.org ${HOMEPAGE}"
|
||||||
@ -21,7 +21,7 @@ DEPENDENCIES="
|
|||||||
build+run:
|
build+run:
|
||||||
dev-db/sqlite:3
|
dev-db/sqlite:3
|
||||||
dev-libs/icu:=
|
dev-libs/icu:=
|
||||||
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
|
dev-python/python-application[>=2.5.0][python_abis:*(-)?]
|
||||||
media/ffmpeg[h264]
|
media/ffmpeg[h264]
|
||||||
media-libs/libvpx
|
media-libs/libvpx
|
||||||
media-libs/v4l-utils
|
media-libs/v4l-utils
|
||||||
@ -33,21 +33,22 @@ DEPENDENCIES="
|
|||||||
dev-python/dnspython[python_abis:*(-)?]
|
dev-python/dnspython[python_abis:*(-)?]
|
||||||
dev-python/greenlet[python_abis:*(-)?]
|
dev-python/greenlet[python_abis:*(-)?]
|
||||||
dev-python/lxml[python_abis:*(-)?]
|
dev-python/lxml[python_abis:*(-)?]
|
||||||
|
dev-python/python-cjson[python_abis:*(-)?]
|
||||||
dev-python/python-dateutil[python_abis:*(-)?]
|
dev-python/python-dateutil[python_abis:*(-)?]
|
||||||
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
|
dev-python/python-eventlib[python_abis:*(-)?]
|
||||||
dev-python/python-gnutls[>=3.1.8][python_abis:*(-)?]
|
dev-python/python-gnutls[python_abis:*(-)?]
|
||||||
dev-python/python-msrplib[>=0.21.0][python_abis:*(-)?]
|
dev-python/python-msrplib[>=0.19.0][python_abis:*(-)?]
|
||||||
dev-python/python-otr[>=2.0.1][python_abis:*(-)?]
|
dev-python/python-otr[>=1.2.0][python_abis:*(-)?]
|
||||||
dev-python/python-xcaplib[>=2.0.0][python_abis:*(-)?]
|
dev-python/python-xcaplib[python_abis:*(-)?]
|
||||||
dev-python/zopeinterface[python_abis:*(-)?]
|
dev-python/zopeinterface[python_abis:*(-)?]
|
||||||
media-libs/x264[-10bit]
|
media-libs/x264[-10bit]
|
||||||
net-twisted/Twisted[python_abis:*(-)?]
|
net-twisted/Twisted[python_abis:*(-)?]
|
||||||
"
|
"
|
||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
"${FILES}"/${PN}-fix-build.patch
|
"${FILES}"/${PNV}-fix-build.patch
|
||||||
|
"${FILES}"/0001-Fix-build-with-LibreSSL-2.7.patch
|
||||||
"${FILES}"/${PN}-gcc10-fix.patch
|
"${FILES}"/${PN}-gcc10-fix.patch
|
||||||
"${FILES}"/d75b225e566cae2c998504dc5cd76bb30226cb43.patch
|
|
||||||
)
|
)
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
@ -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
|
|
@ -1,11 +1,11 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
require setup-py [ import=distutils blacklist="3" ]
|
||||||
require github [ user="AGProjects" pn="python3-xcaplib" tag="${PV}" ]
|
|
||||||
|
|
||||||
SUMMARY="Python library for managing XML documents on XCAP server"
|
SUMMARY="Python library for managing XML documents on XCAP server"
|
||||||
HOMEPAGE="http://sipsimpleclient.org"
|
HOMEPAGE="http://sipsimpleclient.org"
|
||||||
|
DOWNLOADS="http://download.ag-projects.com/XCAP/${PNV}.tar.gz"
|
||||||
|
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -15,10 +15,6 @@ MYOPTIONS=""
|
|||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
dev-python/lxml[python_abis:*(-)?]
|
dev-python/lxml[python_abis:*(-)?]
|
||||||
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
|
dev-python/python-application[python_abis:*(-)?]
|
||||||
"
|
"
|
||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
||||||
"${FILES}"/${PN}-work-with-eventlib.patch
|
|
||||||
)
|
|
||||||
|
|
@ -23,7 +23,6 @@ BUGS_TO="hasufell@posteo.de"
|
|||||||
src_compile() {
|
src_compile() {
|
||||||
export GOPATH="${WORK}"/.gopath
|
export GOPATH="${WORK}"/.gopath
|
||||||
export GOBIN="${WORK}"/.bin
|
export GOBIN="${WORK}"/.bin
|
||||||
export GH_VERSION="v${PV}"
|
|
||||||
unset LDFLAGS
|
unset LDFLAGS
|
||||||
|
|
||||||
esandbox disable_net
|
esandbox disable_net
|
||||||
@ -31,7 +30,7 @@ src_compile() {
|
|||||||
emake manpages
|
emake manpages
|
||||||
|
|
||||||
edo go run ./cmd/gh completion -s bash > gh.bash-completion
|
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 zsh > gh.zsh-completion
|
||||||
esandbox enable_net
|
esandbox enable_net
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,12 +40,5 @@ src_install() {
|
|||||||
|
|
||||||
doman share/man/man?/gh*.?
|
doman share/man/man?/gh*.?
|
||||||
dobashcompletion gh.bash-completion
|
dobashcompletion gh.bash-completion
|
||||||
dozshcompletion _gh
|
dozshcompletion gh.zsh-completion
|
||||||
}
|
}
|
||||||
|
|
||||||
src_test() {
|
|
||||||
esandbox disable_net
|
|
||||||
default
|
|
||||||
esandbox enable_net
|
|
||||||
}
|
|
||||||
|
|
74
packages/media-gfx/pinta/files/pinta-1.6-mono-4.patch
Normal file
74
packages/media-gfx/pinta/files/pinta-1.6-mono-4.patch
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
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" />
|
32
packages/media-gfx/pinta/files/pinta-1.6-pkg-config.patch
Normal file
32
packages/media-gfx/pinta/files/pinta-1.6-pkg-config.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
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
|
||||||
|
|
@ -17,3 +17,8 @@ DEPENDENCIES="
|
|||||||
gnome-bindings/gtk-sharp:2
|
gnome-bindings/gtk-sharp:2
|
||||||
"
|
"
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
|
"${FILES}"/pinta-1.6-pkg-config.patch
|
||||||
|
"${FILES}"/pinta-1.6-mono-4.patch
|
||||||
|
)
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 1.15 ] ]
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||||
require github [ user=PintaProject project=Pinta ]
|
require github [ user=PintaProject project=Pinta ]
|
||||||
require gtk-icon-cache freedesktop-desktop
|
require gtk-icon-cache freedesktop-desktop freedesktop-mime
|
||||||
|
|
||||||
export_exlib_phases src_prepare pkg_postinst pkg_postrm
|
export_exlib_phases src_prepare pkg_postinst pkg_postrm
|
||||||
|
|
||||||
@ -23,11 +23,13 @@ pinta_src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pinta_pkg_postinst() {
|
pinta_pkg_postinst() {
|
||||||
|
freedesktop-mime_pkg_postinst
|
||||||
freedesktop-desktop_pkg_postinst
|
freedesktop-desktop_pkg_postinst
|
||||||
gtk-icon-cache_pkg_postinst
|
gtk-icon-cache_pkg_postinst
|
||||||
}
|
}
|
||||||
|
|
||||||
pinta_pkg_postrm() {
|
pinta_pkg_postrm() {
|
||||||
|
freedesktop-mime_pkg_postrm
|
||||||
freedesktop-desktop_pkg_postrm
|
freedesktop-desktop_pkg_postrm
|
||||||
gtk-icon-cache_pkg_postrm
|
gtk-icon-cache_pkg_postrm
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@ MYOPTIONS=""
|
|||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
build+run:
|
||||||
dev-libs/libevent:=
|
dev-libs/libevent:=
|
||||||
net-libs/libtirpc
|
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
||||||
@ -28,10 +27,3 @@ DEFAULT_SRC_PREPARE_PATCHES=(
|
|||||||
"${FILES}"/fix-install.patch
|
"${FILES}"/fix-install.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
src_prepare(){
|
|
||||||
CFLAGS+=" -I/usr/$(exhost --target)/include/tirpc"
|
|
||||||
LDFLAGS+=" -ltirpc"
|
|
||||||
|
|
||||||
autotools_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
# 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
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
@ -47,10 +47,6 @@ DEPENDENCIES="
|
|||||||
|
|
||||||
REMOTE_IDS="github:OpenRC/${PN}"
|
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=(
|
DEFAULT_SRC_COMPILE_PARAMS=(
|
||||||
LIBNAME=lib
|
LIBNAME=lib
|
||||||
LIBEXECDIR=/usr/$(exhost --target)/libexec/rc
|
LIBEXECDIR=/usr/$(exhost --target)/libexec/rc
|
@ -2,8 +2,8 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require desktop-utils gtk-icon-cache
|
require desktop-utils gtk-icon-cache
|
||||||
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
require setup-py [ import=distutils blacklist="3" multibuild=false ]
|
||||||
require github [ user="AGProjects" pn="blink-qt" tag="${PV}" ]
|
require github [ user="AGProjects" pn="blink-qt" tag="release-${PV}" ]
|
||||||
|
|
||||||
SUMMARY="A state of the art, easy to use SIP client"
|
SUMMARY="A state of the art, easy to use SIP client"
|
||||||
HOMEPAGE="http://iCanBlink.com"
|
HOMEPAGE="http://iCanBlink.com"
|
||||||
@ -22,16 +22,17 @@ DEPENDENCIES="
|
|||||||
dev-python/PyQt5[>=5.0][webkit][python_abis:*(-)?]
|
dev-python/PyQt5[>=5.0][webkit][python_abis:*(-)?]
|
||||||
dev-python/google-api-python-client[python_abis:*(-)?]
|
dev-python/google-api-python-client[python_abis:*(-)?]
|
||||||
dev-python/lxml[python_abis:*(-)?]
|
dev-python/lxml[python_abis:*(-)?]
|
||||||
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
|
dev-python/python-application[>=2.5.0][python_abis:*(-)?]
|
||||||
|
dev-python/python-cjson[python_abis:*(-)?]
|
||||||
dev-python/python-dateutil[python_abis:*(-)?]
|
dev-python/python-dateutil[python_abis:*(-)?]
|
||||||
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
|
dev-python/python-eventlib[python_abis:*(-)?]
|
||||||
dev-python/python-sipsimple[>=4.0.1][python_abis:*(-)?]
|
dev-python/python-sipsimple[>=3.0.0][python_abis:*(-)?]
|
||||||
dev-python/zopeinterface[python_abis:*(-)?]
|
dev-python/zopeinterface[python_abis:*(-)?]
|
||||||
net-twisted/Twisted[python_abis:*(-)?]
|
net-twisted/Twisted[python_abis:*(-)?]
|
||||||
"
|
"
|
||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
"${FILES}/${PN}-data-path.patch"
|
"${FILES}/${PNV}-data-path.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
@ -3,17 +3,14 @@ Date: Tue Sep 8 10:10:18 UTC 2015
|
|||||||
Subject: Fix data path fallback
|
Subject: Fix data path fallback
|
||||||
Upstream: no, correct fix pending since 'sys.prefix' is broken in exherbo
|
Upstream: no, correct fix pending since 'sys.prefix' is broken in exherbo
|
||||||
|
|
||||||
|
--- blink-1.4.1/blink/resources.py
|
||||||
diff --git a/blink/resources.py b/blink/resources.py
|
+++ blink-1.4.1/blink/resources.py
|
||||||
index e981ed8..f1f4f5c 100644
|
@@ -71,7 +71,7 @@
|
||||||
--- a/blink/resources.py
|
if os.path.exists(os.path.join(application_directory, 'resources', 'blink.ui')):
|
||||||
+++ b/blink/resources.py
|
cls._cached_directory = os.path.join(application_directory, 'resources').decode(sys.getfilesystemencoding())
|
||||||
@@ -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:
|
else:
|
||||||
- cls._cached_directory = os.path.join(application_directory, 'share', 'blink')
|
- cls._cached_directory = os.path.join(application_directory, 'share', 'blink').decode(sys.getfilesystemencoding())
|
||||||
+ cls._cached_directory = os.path.join('/usr', 'share', 'blink')
|
+ cls._cached_directory = os.path.join('/usr', 'share', 'blink').decode(sys.getfilesystemencoding())
|
||||||
return DirectoryContextManager(cls._cached_directory)
|
return DirectoryContextManager(cls._cached_directory)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
@ -1,37 +0,0 @@
|
|||||||
# 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
|
|
||||||
}
|
|
||||||
|
|
@ -25,14 +25,14 @@ DEPENDENCIES="
|
|||||||
recommendation:
|
recommendation:
|
||||||
dev-python/pyxdg[python_abis:*(-)?]
|
dev-python/pyxdg[python_abis:*(-)?]
|
||||||
suggestion:
|
suggestion:
|
||||||
app-text/dvipng [[ note = [ equation plugin ] ]]
|
app-text/dvipng
|
||||||
app-text/texlive-core [[ note = [ equation plugin ] ]]
|
app-text/texlive-core
|
||||||
dev-libs/zeitgeist:2.0
|
dev-libs/zeitgeist:2.0
|
||||||
dev-scm/bzr [[ note = [ version control plugin ] ]]
|
dev-scm/bzr
|
||||||
media-gfx/graphviz [[ note = [ diagram editor plugin ] ]]
|
media-gfx/ImageMagick
|
||||||
media-gfx/ImageMagick [[ note = [ screenshot plugin ] ]]
|
media-gfx/graphviz
|
||||||
media-gfx/scrot [[ note = [ screenshot plugin ] ]]
|
media-gfx/scrot
|
||||||
media-sound/lilypond [[ note = [ music score plugin ] ]]
|
media-sound/lilypond
|
||||||
sci-apps/gnuplot
|
sci-apps/gnuplot
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user