@fabiololix you're welcome to it, I was just looking for something to do.
Since it's a git package, I was fiddling with sed to try make it a bit more resilient to code changes - came up with what i think should last a while
Git Clone URL: | https://aur.archlinux.org/bottles-git.git (read-only, click to copy) |
---|---|
Package Base: | bottles-git |
Description: | Easily manage wineprefix using environments |
Upstream URL: | https://usebottles.com/ |
Licenses: | GPL-3.0-only |
Conflicts: | bottles |
Provides: | bottles |
Submitter: | Talebian |
Maintainer: | FabioLolix (envolution) |
Last Packager: | FabioLolix |
Votes: | 19 |
Popularity: | 1.06 |
First Submitted: | 2020-12-07 20:34 (UTC) |
Last Updated: | 2025-03-02 11:04 (UTC) |
@fabiololix you're welcome to it, I was just looking for something to do.
Since it's a git package, I was fiddling with sed to try make it a bit more resilient to code changes - came up with what i think should last a while
@envolution I was going to re-adopt, anyway you can find the patches here https://build.opensuse.org/package/show/openSUSE:Factory/Bottles
Build is broken:
==> Starting pkgver()...
error: could not revert 62063019... meson: Add check for Flatpak
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: Disable this message with "git config advice.mergeConflict false"
==> ERROR: A failure occurred in pkgver().
Aborting...
-> error making: bottles-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
bottles-git - exit status 4
This stopped to work outside flatpak
$ bottles
17:57:28 (INFO) Launching with URI: None
17:57:28 (INFO) [Activate] request received.
17:57:28 (ERROR) Bottles is only supported within a sandboxed format. Official sources of Bottles are available at:
17:57:28 (ERROR) https://usebottles.com/download/
I'll request a deletion for this
build error https://pastebin.com/LVUXXiyB
Anyone is able to change execution directory? Clicking on the icon to open the file manager does nothing to me.
Kind of annoying that the devs only support flatpak, so I can't even bother to report a bug against git upstream because they'll just close it lol
Using dbus-monitor, I can see a dbus call to vfs erroring out with "The specified location is not mounted" when I click the icon.
method return time=1703113605.536251 sender=:1.24 -> destination=:1.256 serial=841 reply_serial=152
string ":1.24:user:491"
method call time=1703113605.541312 sender=:1.256 -> destination=org.freedesktop.DBus serial=153 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
string "org.gtk.vfs.Daemon"
uint32 0
method return time=1703113605.541323 sender=org.freedesktop.DBus -> destination=:1.256 serial=4294967295 reply_serial=153
uint32 2
method call time=1703113605.541406 sender=:1.256 -> destination=org.freedesktop.DBus serial=154 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.gtk.vfs.Daemon"
method return time=1703113605.541414 sender=org.freedesktop.DBus -> destination=:1.256 serial=4294967295 reply_serial=154
string ":1.14"
method call time=1703113605.541504 sender=:1.256 -> destination=:1.14 serial=155 path=/org/gtk/vfs/mounttracker; interface=org.gtk.vfs.MountTracker; member=LookupMount
struct {
array of bytes "/" + \0
array [
dict entry(
string "type"
variant array of bytes "smb-network" + \0
)
]
}
error time=1703113605.541691 sender=:1.14 -> destination=:1.256 error_name=org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code16 reply_serial=155
string "La ubicación especificada no está montada"
Traceback (most recent call last):
File "/usr/bin/bottles", line 44, in <module>
from bottles.frontend import main
File "/usr/share/bottles/bottles/frontend/main.py", line 36, in <module>
from bottles.frontend.windows.main_window import MainWindow
File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 27, in <module>
from bottles.backend.health import HealthChecker
File "/usr/share/bottles/bottles/backend/health.py", line 26, in <module>
from bottles.backend.utils.generic import is_glibc_min_available
File "/usr/share/bottles/bottles/backend/utils/generic.py", line 25, in <module>
import chardet
ModuleNotFoundError: No module named 'chardet'
python-chardet is required for this application to run. I didn't test removing python-charset-normalizer from the PKGBUILD.
I repeat for clarity, python-chardet is required to run bottles at the moment.
@RAMChYLD .. don't pip install
system-wide yourself. That's pacman
's role.
@RAMChYLD that python modules exist as pkgbuilds on the AUR, exactly with that name. When a major python update happen (3.10 -> 3.11) you need to rebuild all the python AUR pkgbuilds you're using.
@joelbacal in the bottles AURweb page is mentioned that having python-argparse
installed will fail the build of bottles
@costor can't confirm
Latest version seems to require the following python packages to run:
patool
fvs
vkbasalt-cli
Installing these via pip solves the issue.
Pinned Comments
FabioLolix commented on 2024-12-22 21:53 (UTC)
A new major python version hit the repository, rebuild ALL you AUR python pkgbuild and install
rebuild-detector
The typical error is:
FabioLolix commented on 2022-06-11 13:50 (UTC)
Reference https://github.com/bottlesdevs/Bottles/wiki/Packaging