Code Monkey home page Code Monkey logo

overlay's Introduction

overlay's People

Contributors

linuxusergd avatar miezhiko avatar ph0llux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

overlay's Issues

net-vpn/protonvpn-nm-lib-3.16.0 fails to install due to tests being installed at top-level

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

net-vpn/protonvpn-gui-1.12.0-r1 should inherit xdg.eclass

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

net-vpn/protonvpn-gui-1.12.0-r1 collides with net-vpn/protonvpn-cli-2.2.11-r2

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.

can't launch protonvpn-gui in gentoo systemd: what am i missing?

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

Drawing meson sed

Heya. By accident bumped into this issue.

maoschanz/drawing#509

I have no idea why you needed the sed command in src_prepare() but I think that fails against current master.

net-vpn/protonvpn* should support pytnon 3.11

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

net-vpn/protonvpn-gui requires net-libs/webkit-gtk:4

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}]
"

protonvpn-gui app with openrc-elogind

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.