Package Details: xborder-git 1.0.0-2

Git Clone URL: https://aur.archlinux.org/xborder-git.git (read-only, click to copy)
Package Base: xborder-git
Description: Active window border replacement for window managers.
Upstream URL: https://github.com/deter0/xborder
Licenses: The Unlicense
Provides: xborders
Submitter: ZappaBoy
Maintainer: ZappaBoy (alba4k)
Last Packager: ZappaBoy
Votes: 2
Popularity: 0.000006
First Submitted: 2022-08-24 12:08 (UTC)
Last Updated: 2024-06-03 12:59 (UTC)

Latest Comments

ZappaBoy commented on 2024-06-03 13:01 (UTC)

@cpulley @A43 You're totally right. I'm so sorry for the delay. I've updated the packages right now. Let me know if there is any other issue about the PKGBUILD.

A43 commented on 2024-06-03 12:17 (UTC)

That would make more sense. Removing the line that runs pip in the and adding that package to the dependencies (and removing pip as one) in the PKGBUILD works perfectly.

cpulley commented on 2023-06-30 21:09 (UTC) (edited on 2023-06-30 21:10 (UTC) by cpulley)

I'm getting an error on prepare() about an externally managed environment. If I'm reading this right, it'd be better to just add python-cairo to depends, rather than adding it with pip, no?

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

ZappaBoy commented on 2022-08-25 20:29 (UTC) (edited on 2022-08-25 20:29 (UTC) by ZappaBoy)

@voidspawn this is not quite correct: only the xborder executable is installed in /usr/bin/. The version.txt is not copied in /usr/bin/ due to this is not the right location for it.

So given the fact that version.txt is not in the same directory of the xborder executable that error is generated. Even if the file is moved in .local/xborder/ or .cache/xborder/ the error will be triggered because of the code inserted in the executable.

The solution is to change the way the executable look for the version.txt file or simply remove the file and put the version somewhere else.

Please refer to that issue: #20

voidspawn commented on 2022-08-25 17:15 (UTC)

this package install the bin file in /usr/bin/ as it can't write to that folder, it can't save the version.txt, maybe write this to .local/xborder/ or .cache/xborder/

Traceback (most recent call last):
  File "/bin/xborders", line 448, in <module>
    main()
  File "/bin/xborders", line 438, in main
    get_args()
  File "/bin/xborders", line 147, in get_args
    print(f"xborders v{get_version()}")
  File "/bin/xborders", line 51, in get_version
    version_file = open(our_location + "/version.txt", "r")
FileNotFoundError: [Errno 2] No such file or directory: '/bin/version.txt'

ZappaBoy commented on 2022-08-24 21:14 (UTC)

@BachoSeven thank you for pointing that out to me. I've updated the makedepends with python-pip.

BachoSeven commented on 2022-08-24 20:14 (UTC)

@ZappaBoy This package should makedepend on python-pip, since you use it in the prepare function.