Compare commits

..

41 Commits

Author SHA1 Message Date
Ridai Govinda Pombo
61adf5af35 Merge pull request 'discord-bin: bump to 0.0.19' (#107) from beholders_eye/hasufell-repository:beholders_eye/discord-bump into master
Reviewed-on: hasufell/hasufell-repository#107
2022-08-29 15:32:24 +00:00
Ridai Govinda Pombo
52a6df13d9 discord-bin: bump to 0.0.19 2022-08-29 12:42:50 -03:00
Ridai Govinda Pombo
f506cb4f1d Merge pull request 'slack: bump to 4.27.156' (#106) from beholders_eye/hasufell-repository:beholders_eye/slack-bump into master
Reviewed-on: hasufell/hasufell-repository#106
2022-08-28 14:57:15 +00:00
Ridai Govinda Pombo
1a92749468 slack: bump to 4.27.156 2022-08-28 14:57:15 +00:00
Ridai Govinda Pombo
9fd299e435 Merge pull request 'github-cli: bump to 2.14.7' (#105) from beholders_eye/hasufell-repository:beholders_eye/gh-bump-once-more into master
Reviewed-on: hasufell/hasufell-repository#105
2022-08-28 14:56:47 +00:00
Ridai Govinda Pombo
74357d077e github-cli: bump to 2.14.7 2022-08-26 19:00:14 -03:00
Ridai Govinda Pombo
69e630e54b Merge pull request 'ffmpeg2theora: bury' (#104) from tgurr/hasufell-repository:ffmpeg2theora into master
Reviewed-on: hasufell/hasufell-repository#104
2022-08-26 21:43:12 +00:00
Timo Gurr
22767b8098 ffmpeg2theora: bury
* dead upstream
* fails to build
* hasn't even been updated for the libav provider removal yet
* became even more broken with ffmpeg 5
2022-08-22 14:52:09 +02:00
Ridai Govinda Pombo
6241db1777 Merge pull request 'github-cli: bump to 2.13.0' (#103) from beholders_eye/hasufell-repository:beholders_eye/gh-bump into master
Reviewed-on: hasufell/hasufell-repository#103
2022-08-18 15:41:04 +00:00
Ridai Govinda Pombo
6d70f8afbc github-cli: bump to 2.13.0 2022-07-01 15:07:25 -03:00
Ridai Govinda Pombo
23c91b13d5 Merge pull request 'github-cli: bump to 2.12.1' (#102) from beholders_eye/hasufell-repository:beholders_eye/gh-bump into master
Reviewed-on: hasufell/hasufell-repository#102
2022-06-09 19:38:32 +00:00
Ridai Govinda Pombo
8faaf495f4 github-cli: bump to 2.12.1 2022-06-09 14:38:31 -03:00
e6464dc1eb
Merge remote-tracking branch 'tgurr/zim' 2022-05-27 16:51:03 +02:00
Ridai Govinda Pombo
4d34c2da12 Merge pull request 'github-cli: bump to version 2.11.3' (#101) from beholders_eye/hasufell-repository:beholders_eye/gh-bump into master
Reviewed-on: hasufell/hasufell-repository#101
2022-05-26 19:21:54 +00:00
Ridai Govinda Pombo
62afcb7d30 github-cli: bump to version 2.11.3 2022-05-26 19:21:54 +00:00
Ridai Govinda Pombo
f379c0ea03 Merge pull request 'slack: bump to version 4.26.1' (#100) from beholders_eye/hasufell-repository:beholders_eye/slack-bump into master
Reviewed-on: hasufell/hasufell-repository#100
2022-05-26 19:20:09 +00:00
Ridai Govinda Pombo
cead5d57bb slack: bump to version 4.26.1 2022-05-26 19:20:09 +00:00
Ridai Govinda Pombo
cd260b7644 Merge pull request 'github-cli: bump to version 2.11.0' (#99) from beholders_eye/hasufell-repository:beholders_eye/gh-bump into master
Reviewed-on: hasufell/hasufell-repository#99
2022-05-24 15:21:40 +00:00
Ridai Govinda Pombo
2b4271bed8 github-cli: bump to version 2.11.0 2022-05-24 10:29:33 -03:00
Timo Gurr
391623ef4c zim: remove suggestion on zeitgeist
In the process of being buried: https://gitlab.exherbo.org/exherbo/desktop/-/merge_requests/901
2022-05-16 15:40:35 +02:00
Ridai Govinda Pombo
16145a70e4 Merge pull request 'github-cli: version bump to 2.10.1' (#97) from beholders_eye/hasufell-repository:beholders_eye/gh-bump into master
Reviewed-on: hasufell/hasufell-repository#97
2022-05-12 15:20:52 +00:00
Ridai Govinda Pombo
235e98329e github-cli: version bump to 2.10.1 2022-05-11 10:17:58 -03:00
ade291c2b5
Merge remote-tracking branch 'archetypic/picom' 2022-05-04 19:33:20 +02:00
Ridai Govinda Pombo
c28103f0f1 Merge pull request 'github-cli: bump to 2.9.0' (#96) from beholders_eye/hasufell-repository:beholders_eye/github-cli-bump into master
Reviewed-on: hasufell/hasufell-repository#96
2022-04-29 19:15:07 +00:00
Ridai Govinda Pombo
478ddce57f github-cli: bump to 2.9.0 2022-04-27 09:58:17 -03:00
4690dbf230
x11-apps/picom: Update to 9.1 from 8.2 2022-04-25 10:54:04 -05:00
Ridai Govinda Pombo
0167ad861e Merge pull request 'slack: bump to 4.25.0' (#94) from beholders_eye/hasufell-repository:beholders_eye/slack-bump into master
Reviewed-on: hasufell/hasufell-repository#94
2022-04-23 13:28:37 +00:00
Ridai Govinda Pombo
b233d5d7c3 slack: bump to 4.25.0 2022-04-23 13:28:37 +00:00
Ridai Govinda Pombo
97b7f2f95f Merge pull request 'github-cli: bump to 2.8.0' (#93) from beholders_eye/hasufell-repository:beholders_eye/github-cli-bump into master
Reviewed-on: hasufell/hasufell-repository#93
2022-04-23 13:28:18 +00:00
Ridai Govinda Pombo
fbd87f95a0 github-cli: bump to 2.8.0 2022-04-21 10:53:06 -03:00
Ridai Govinda Pombo
afcb6da399 Merge pull request 'github-cli: bump to 2.7.0' (#92) from beholders_eye/hasufell-repository:beholders_eye/github-cli-bump into master
Reviewed-on: hasufell/hasufell-repository#92
2022-04-08 19:47:09 +00:00
Ridai Govinda Pombo
be19ecd345 github-cli: bump to 2.7.0 2022-04-07 10:18:44 -03:00
Ridai Govinda Pombo
b58f75baf1 Merge pull request 'discord-bin: bump to 0.0.17' (#91) from beholders_eye/hasufell-repository:beholders_eye/discord-bump into master
Reviewed-on: hasufell/hasufell-repository#91
2022-03-17 12:04:23 +00:00
Ridai Govinda Pombo
898e90b0bd discord-bin: bump to 0.0.17 2022-03-17 12:04:23 +00:00
Ridai Govinda Pombo
34d815c02b Merge pull request 'slack: bump to 4.24.0' (#90) from beholders_eye/hasufell-repository:beholders_eye/slack-bump into master
Reviewed-on: hasufell/hasufell-repository#90
2022-03-17 12:04:05 +00:00
Ridai Govinda Pombo
5614a7ae97 slack: bump to 4.24.0 2022-03-17 12:04:05 +00:00
Ridai Govinda Pombo
efffd2ee32 Merge pull request 'github-cli: bump to 2.6.0' (#89) from beholders_eye/hasufell-repository:beholders_eye/gh-bump into master
Reviewed-on: hasufell/hasufell-repository#89
2022-03-17 12:03:45 +00:00
Ridai Govinda Pombo
61d363930a github-cli: bump to 2.6.0 2022-03-16 10:45:28 -03:00
d763c528dc Merge pull request 'blink: add upstream patch with fixes for python 3.10' (#88) from tombriden/hasufell-repository:blink-py310-fix into master
Reviewed-on: hasufell/hasufell-repository#88
2022-03-14 16:57:58 +00:00
63f64a1e98
blink: add upstream patch with fixes for python 3.10 2022-03-14 15:00:11 +00:00
190312ad0c Merge pull request 'python-application: Add upstream patch to fix deprecated use of collections.MutableMapping' (#87) from tombriden/hasufell-repository:python-application-fix into master
Reviewed-on: hasufell/hasufell-repository#87
2022-03-13 11:22:46 +00:00
10 changed files with 125 additions and 148 deletions

View File

@ -1,46 +0,0 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require scons
SUMMARY="A simple converter to create Ogg Theora files"
HOMEPAGE="http://www.v2v.cc/~j/ffmpeg2theora/"
DOWNLOADS="http://www.v2v.cc/~j/${PN}/downloads/${PNV}.tar.bz2"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
"
DEPENDENCIES="
build:
virtual/pkg-config
build+run:
media-libs/libvorbis
media-libs/libogg
media-libs/libtheora
providers:ffmpeg? ( media/ffmpeg )
providers:libav? ( media/libav )
"
DEFAULT_SRC_PREPARE_PATCHES=(
-p0 "${FILES}"/${PN}-0.30-underlinking.patch
-p1 "${FILES}"/${PN}-0.30-build.patch
)
SCONS_SRC_CONFIGURE_PARAMS=(
libkate=0
bindir="${IMAGE}/usr/$(exhost --target)/bin"
destdir=${IMAGE}
prefix=/usr
)
SCONS_SRC_COMPILE_PARAMS=( "${SCONS_SRC_CONFIGURE_PARAMS[@]}" )
SCONS_SRC_INSTALL_PARAMS=( "${SCONS_SRC_CONFIGURE_PARAMS[@]}" )
src_install() {
scons_src_install
dodoc AUTHORS ChangeLog README subtitles.txt TODO
}

View File

@ -1,76 +0,0 @@
Source: Julian Ospald <hasufell@posteo.de>
Upstream: no
Reason: fix build by respecting pkg-config, CC etc
diff --git a/SConstruct b/SConstruct
index 2458096..eda1c41 100644
--- a/SConstruct
+++ b/SConstruct
@@ -4,6 +4,7 @@ from glob import glob
import os
import SCons
+import SCons.Util
def version():
#return "0.29"
@@ -41,6 +42,27 @@ opts.AddVariables(
env = Environment(options = opts)
Help(opts.GenerateHelpText(env))
+if os.environ.has_key('AR'):
+ env['AR'] = os.environ['AR']
+if os.environ.has_key('RANLIB'):
+ env['RANLIB'] = os.environ['RANLIB']
+if os.environ.has_key('CC'):
+ env['CC'] = os.environ['CC']
+if os.environ.has_key('CFLAGS'):
+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
+if os.environ.has_key('CXX'):
+ env['CXX'] = os.environ['CXX']
+if os.environ.has_key('CXXFLAGS'):
+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
+if os.environ.has_key('CPPFLAGS'):
+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS'])
+if os.environ.has_key('LDFLAGS'):
+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
+if os.environ.has_key('PKG_CONFIG'):
+ env['PKG_CONFIG'] = os.environ['PKG_CONFIG']
+else:
+ env['PKG_CONFIG'] = 'pkg-config'
+
pkg_flags="--cflags --libs"
if env['static']:
pkg_flags+=" --static"
@@ -75,9 +97,9 @@ if GetOption("help"):
def ParsePKGConfig(env, name):
if os.environ.get('PKG_CONFIG_PATH', ''):
- action = 'PKG_CONFIG_PATH=%s pkg-config %s "%s"' % (os.environ['PKG_CONFIG_PATH'], pkg_flags, name)
+ action = 'PKG_CONFIG_PATH=%s %s %s "%s"' % (os.environ['PKG_CONFIG_PATH'], env['PKG_CONFIG'], pkg_flags, name)
else:
- action = 'pkg-config %s "%s"' % (pkg_flags, name)
+ action = '%s %s "%s"' % (env['PKG_CONFIG'], pkg_flags, name)
return env.ParseConfig(action)
def TryAction(action):
@@ -89,16 +111,16 @@ def TryAction(action):
def CheckPKGConfig(context, version):
context.Message( 'Checking for pkg-config... ' )
- ret = TryAction('pkg-config --atleast-pkgconfig-version=%s' % version)[0]
+ ret = TryAction('%s --atleast-pkgconfig-version=%s' % (env['PKG_CONFIG'], version))[0]
context.Result( ret )
return ret
def CheckPKG(context, name):
context.Message( 'Checking for %s... ' % name )
if os.environ.get('PKG_CONFIG_PATH', ''):
- action = 'PKG_CONFIG_PATH=%s pkg-config --exists "%s"' % (os.environ['PKG_CONFIG_PATH'], name)
+ action = 'PKG_CONFIG_PATH=%s %s --exists "%s"' % (os.environ['PKG_CONFIG_PATH'], env['PKG_CONFIG'], name)
else:
- action = 'pkg-config --exists "%s"' % name
+ action = '%s --exists "%s"' % (env['PKG_CONFIG'], name)
ret = TryAction(action)[0]
context.Result( ret )
return ret

View File

@ -1,17 +0,0 @@
Source: Gentoo
Upstream: unknown
Reason: fix underlinking
--- SConstruct
+++ SConstruct
@@ -206,9 +206,8 @@
if env['crossmingw']:
env.Append(CCFLAGS=['-Wl,-subsystem,windows'])
env.Append(LIBS=['m'])
- elif env['static']:
- env.Append(LIBS=['m', 'dl'])
+ env.Append(LIBS=['m', 'dl'])
env = conf.Finish()

View File

@ -70,6 +70,7 @@ src_install() {
insinto /opt/slack
doins -r usr/lib/slack/.
edo chmod +x "${IMAGE}"/opt/slack/slack
edo chmod +x "${IMAGE}"/opt/slack/chrome_crashpad_handler
dodir /usr/$(exhost --target)/bin
dosym ../../../opt/slack/slack /usr/$(exhost --target)/bin/slack
}

View File

@ -32,6 +32,7 @@ DEPENDENCIES="
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}/${PN}-data-path.patch"
"${FILES}/33c7f377d173d27b4611d061ca36077805250e78.patch"
)
src_install() {

View File

@ -0,0 +1,122 @@
Upstream: Yes
From 33c7f377d173d27b4611d061ca36077805250e78 Mon Sep 17 00:00:00 2001
From: Jose Lopes <josemslopes@gmail.com>
Date: Tue, 8 Feb 2022 08:11:57 +0000
Subject: [PATCH] Solve issues with python 3.10
GH-3
---
blink/chatwindow.py | 3 ++-
blink/sessions.py | 6 +++---
blink/widgets/buttons.py | 4 ++--
blink/widgets/lineedit.py | 14 +++++++-------
blink/widgets/video.py | 2 +-
5 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/blink/chatwindow.py b/blink/chatwindow.py
index e55f590..40da6de 100644
--- a/blink/chatwindow.py
+++ b/blink/chatwindow.py
@@ -18,7 +18,8 @@
from application.python.descriptor import WriteOnceAttribute
from application.python.types import MarkerType
from application.system import makedirs
-from collections import MutableSet, deque
+from collections.abc import MutableSet
+from collections import deque
from datetime import datetime, timedelta
from itertools import count
from lxml import etree, html
diff --git a/blink/sessions.py b/blink/sessions.py
index 9805515..9928831 100644
--- a/blink/sessions.py
+++ b/blink/sessions.py
@@ -5094,13 +5094,13 @@ def showEvent(self, event):
total_width = width + window_frame_size.width()
total_height = height + window_frame_size.height()
- x = limit(screen_geometry.center().x() - total_width/2, min=available_geometry.left(), max=available_geometry.right()-total_width)
+ x = int(limit(screen_geometry.center().x() - total_width/2, min=available_geometry.left(), max=available_geometry.right()-total_width))
if slot is None:
y = -1
elif slot % 2 == 0:
- y = screen_geometry.center().y() + (slot-1)*total_height/2
+ y = int(screen_geometry.center().y() + (slot-1)*total_height/2)
else:
- y = screen_geometry.center().y() - slot*total_height/2
+ y = int(screen_geometry.center().y() - slot*total_height/2)
if available_geometry.top() <= y <= available_geometry.bottom() - total_height:
self.setGeometry(x, y, width, height)
diff --git a/blink/widgets/buttons.py b/blink/widgets/buttons.py
index c3b18bf..72aefd5 100644
--- a/blink/widgets/buttons.py
+++ b/blink/widgets/buttons.py
@@ -620,8 +620,8 @@ def pixmap(self, mode=QIcon.Normal, state=QIcon.Off):
return pixmap
size = max(pixmap.width(), pixmap.height())
- offset_x = (size - pixmap.width())/2
- offset_y = (size - pixmap.height())/2
+ offset_x = int((size - pixmap.width())/2)
+ offset_y = int((size - pixmap.height())/2)
new_pixmap = QPixmap(size, size)
new_pixmap.fill(Qt.transparent)
diff --git a/blink/widgets/lineedit.py b/blink/widgets/lineedit.py
index ee63e81..f03ac54 100644
--- a/blink/widgets/lineedit.py
+++ b/blink/widgets/lineedit.py
@@ -68,13 +68,13 @@ def _update_side_widget_locations(self):
text_rect.adjust(spacing, 0, -spacing, 0)
mid_height = text_rect.center().y() + 1 - (text_rect.height() % 2) # need -1 correction for odd heights -Dan
if self.left_layout.count() > 0:
- left_height = mid_height - self.left_widget.height()/2
+ left_height = int(mid_height - self.left_widget.height()/2)
left_width = self.left_widget.width()
if left_width == 0:
- left_height = mid_height - self.left_widget.sizeHint().height()/2
+ left_height = int(mid_height - self.left_widget.sizeHint().height()/2)
self.left_widget.move(text_rect.x(), left_height)
text_rect.setX(self.left_margin)
- text_rect.setY(mid_height - self.right_widget.sizeHint().height()/2.0)
+ text_rect.setY(int(mid_height - self.right_widget.sizeHint().height()/2.0))
text_rect.setHeight(self.right_widget.sizeHint().height())
self.right_widget.setGeometry(text_rect)
@@ -201,8 +201,8 @@ def __init__(self, parent=None, size=16):
def paintEvent(self, event):
painter = QPainter(self)
if self.icon is not None:
- x = (self.width() - self.icon.width()) / 2
- y = (self.height() - self.icon.height()) / 2
+ x = int((self.width() - self.icon.width()) / 2)
+ y = int((self.height() - self.icon.height()) / 2)
painter.drawPixmap(x, y, self.icon)
@@ -232,8 +232,8 @@ def paintEvent(self, event):
painter = QPainter(self)
icon = self.icon_pressed if self.isDown() else self.icon
if icon is not None:
- x = (self.width() - icon.width()) / 2
- y = (self.height() - icon.height()) / 2
+ x = int((self.width() - icon.width()) / 2)
+ y = int((self.height() - icon.height()) / 2)
painter.drawPixmap(x, y, icon)
else:
width = self.width()
diff --git a/blink/widgets/video.py b/blink/widgets/video.py
index eff4f7c..5ecab6a 100644
--- a/blink/widgets/video.py
+++ b/blink/widgets/video.py
@@ -56,7 +56,7 @@ def __init__(self, parent=None, framerate=None):
self.cursors.resize_bottom = QCursor(QIcon(Resources.get('icons/resize-bottom.svg')).pixmap(16), hotX=8, hotY=16)
if framerate is not None:
self._clock = QTimer()
- self._clock.setInterval(1000/framerate)
+ self._clock.setInterval(int(1000/framerate))
self._clock.timeout.connect(self.update)
else:
self._clock = None

View File

@ -40,7 +40,6 @@ DEPENDENCIES="
x11-dri/mesa
)
run:
dev-lang/python:*[>3.5] [[ note = [ bin/compton-convgen.py ] ]]
x11-apps/xprop
x11-apps/xwininfo
"
@ -50,6 +49,7 @@ DEFAULT_SRC_INSTALL_EXTRA_DOCS=(
)
MESON_SRC_CONFIGURE_PARAMS=(
"-Dcompton=false"
"-Dunittest=true"
"-Dwith_docs=true"
)
@ -59,13 +59,6 @@ MESON_SRC_CONFIGURE_OPTION_SWITCHES=(
"opengl"
)
src_prepare() {
meson_src_prepare
# don't install compat symlink
# this script is also broken
echo "#!/bin/sh" > meson/install.sh
}
src_install() {
meson_src_install
option dbus && dodoc -r dbus-examples

View File

@ -27,7 +27,6 @@ DEPENDENCIES="
suggestion:
app-text/dvipng [[ note = [ equation plugin ] ]]
app-text/texlive-core [[ note = [ equation plugin ] ]]
dev-libs/zeitgeist:2.0
dev-scm/bzr [[ note = [ version control plugin ] ]]
media-gfx/graphviz [[ note = [ diagram editor plugin ] ]]
media-gfx/ImageMagick [[ note = [ screenshot plugin ] ]]