With layman:
layman -a Miezhiko
Setup manually: Custom ebuild repository
Linux packages for my projects but also for projects I use. Many development, experimental, interesting things. No binaries here, just literally build scripts Alike on FreeBSD but with Linux.
With layman:
layman -a Miezhiko
Setup manually: Custom ebuild repository
I get this error:
ERROR: install
The following unexpected files/directories were found top-level
in the site-packages directory:
/usr/lib/python3.11/site-packages/tests
This is most likely a bug in the build system. More information
can be found in the Python Guide:
https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages
ERROR: net-vpn/protonvpn-nm-lib-3.16.0::Miezhiko failed (install phase):
Failing install because of stray top-level files in site-packages
The following patch fixes the issue:
--- a/setup.py~ 2023-07-31 17:39:14.000000000 +0200
+++ b/setup.py 2023-09-17 20:50:18.198399405 +0200
@@ -11,7 +11,7 @@
setup(
name="protonvpn-nm-lib",
version=APP_VERSION,
- packages=find_packages(),
+ packages=find_packages(exclude=["tests", "tests.*"]),
description="Proton VPN NetworkManager Linux library",
author="Proton Technologies AG",
author_email="[email protected]",
Thanks
Hi. it seems that there is a newer version :) thanks
That will easily fix this warning:
QA Notice: new icons were found installed but icon cache
has not been updated:
/usr/share/icons/hicolor/scalable/apps/protonvpn-logo.png
Please make sure to call xdg_icon_cache_update()
in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
Thanks
A blocker should be added if they cannot use different paths for their files. Thanks
* Detected file collision(s):
*
* /usr/lib/python-exec/python3.11/protonvpn
* /usr/bin/protonvpn
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* net-vpn/protonvpn-cli-2.2.11-r2:0::gentoo
* /usr/bin/protonvpn
* /usr/lib/python-exec/python3.11/protonvpn
*
* Package 'net-vpn/protonvpn-gui-1.12.0-r1' NOT merged due to file
* collisions. If necessary, refer to your elog messages for the whole
* content of the above message.
I've succesfully installed protonvpn-gui on gentoo systemd, but can't launch the graphical interface.
When trying to launch it from terminal as root, i get:
protonvpn Traceback (most recent call last): File "/usr/lib/python-exec/python3.10/protonvpn", line 33, in <module> sys.exit(load_entry_point('protonvpn-gui==1.10.0', 'console_scripts', 'protonvpn')()) File "/usr/lib/python-exec/python3.10/protonvpn", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3.10/site-packages/protonvpn_gui/main.py", line 23, in <module> from .view.dashboard import DashboardView File "/usr/lib/python3.10/site-packages/protonvpn_gui/view/dashboard.py", line 30, in <module> from .dialog import DisplayMessageDialog, TroubleshootDialog File "/usr/lib/python3.10/site-packages/protonvpn_gui/view/dialog.py", line 6, in <module> gi.require_version("WebKit2", "4.0") File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace WebKit2 not available
Thanks for any tip and sorry if it's a noob question
Heya. By accident bumped into this issue.
I have no idea why you needed the sed command in src_prepare() but I think that fails against current master.
It works fine, simply adding 3.11 version to compat variable works
As a side note, it could also be interesting to port it to PEP517.
Setting DISTUTILS_USE_PEP517=setuptools looks to work ok for it
Thanks
I get this warning when installing it:
QA Notice: This package seems to contain tests but they are not enabled.
Please either run tests (via distutils_enable_tests or declaring
python_test yourself), or add RESTRICT="test" along with an explanatory
comment if tests cannot be run.
It seems that the protonvpn-gui client requires the webkit-gtk version from the 4 slot in Gentoo:
$ protonvpn
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.10/protonvpn", line 33, in <module>
sys.exit(load_entry_point('protonvpn-gui==1.12.0', 'console_scripts', 'protonvpn')())
File "/usr/lib/python-exec/python3.10/protonvpn", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/protonvpn_gui/main.py", line 23, in <module>
from .view.dashboard import DashboardView
File "/usr/lib/python3.10/site-packages/protonvpn_gui/view/dashboard.py", line 30, in <module>
from .dialog import DisplayMessageDialog, TroubleshootDialog
File "/usr/lib/python3.10/site-packages/protonvpn_gui/view/dialog.py", line 6, in <module>
gi.require_version("WebKit2", "4.0")
File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 129, in require_version
raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace WebKit2 not available for version 4.0
This was with net-libs/webkit-gtk-2.38.3-r500 from the 5 slot. Emerging net-libs/webkit-gtk from the 4 slot (version 2.38.3) fixes the issue.
So, I guess the ebuild should be modified to something like this:
RDEPEND="
x11-libs/gtk+:3
net-libs/webkit-gtk:4
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/jaraco-classes[${PYTHON_USEDEP}]
appindicator? ( dev-libs/libappindicator:3 )
>=net-vpn/protonvpn-nm-lib-3.14.0[${PYTHON_USEDEP}]
"
virtual/yacc is now called app-alternatives/yacc. https://www.gentoo.org/support/news-items/2022-12-27-alternatives-introduction.html
I am trying to install protonvpn-gui app in Gentoo with openrc but i can't since dbus is configured to work with systemd only i'm here to kindly ask if it would be possible to add the elogind option there to make it work with openrc.
Thanks a lot for your work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.