Package Details: protontricks-git 1.8.2.dev3+gbe3805b-1

Git Clone URL: https://aur.archlinux.org/protontricks-git.git (read-only, click to copy)
Package Base: protontricks-git
Description: A simple wrapper that does winetricks things for Proton enabled games. (Git Version)
Upstream URL: https://github.com/Matoking/protontricks
Licenses: GPL3
Conflicts: protontricks
Provides: protontricks
Submitter: jcstryker
Maintainer: jcstryker
Last Packager: jcstryker
Votes: 18
Popularity: 1.34
First Submitted: 2018-08-28 05:05 (UTC)
Last Updated: 2022-05-15 19:10 (UTC)

Pinned Comments

jcstryker commented on 2019-02-04 14:44 (UTC)

There is also now an AUR package using the tagged releases of protontricks, for those who don't want to track the git version.

https://aur.archlinux.org/packages/protontricks/

Latest Comments

FabioLolix commented on 2022-05-26 18:58 (UTC)

This pkgbuild incorrectly use "python3 setup.py --version" in pkgver instead of reccomended methods

veganvelociraptr commented on 2022-05-26 17:06 (UTC)

yay keeps repeatedly asking me to update the package 1.8.2-1 -> 1.8.2.dev3+gbe3805b-1, even though it's already updated.

skw commented on 2022-04-21 14:06 (UTC) (edited on 2022-04-21 14:25 (UTC) by skw)

in addition to needing setuptools at runtime, building in a chroot fails without it

h0m3 commented on 2022-03-21 00:51 (UTC)

+1 on requires the python-setuptools dependency. protontricks wont run without pkg_resources from python-setuptols

Matoking commented on 2021-11-13 08:52 (UTC)

Protontricks also requires the python-setuptools dependency due to using pkg_resources. This also applies to the protontricks 1.6.1 package on AUR.

I've updated the upstream setup.py file with the missing dependency.

FabioLolix commented on 2021-08-08 17:38 (UTC)

Please use a proper pkgver() https://wiki.archlinux.org/title/VCS_package_guidelines#Git

yochananmarqos commented on 2021-08-06 20:54 (UTC)

yad is now default and zenity will only be used if yad is not found. See the relevant commit.

optdepends=('yad: for GUI'
            'zenity: fallback for GUI')

Matoking commented on 2021-07-24 15:58 (UTC)

@yochananmarqos OK, I was under the impression that either update-desktop-database or desktop-file-install would have to be executed in order for the desktop files to take effect, but it seems that there is a post-transaction hook under desktop-file-utils package that takes care of that automatically.

yochananmarqos commented on 2021-07-24 15:40 (UTC)

@Matoking: The desktop files are already installed by the setup.py, see the commit. protontricks-desktop-install does need to be removed manually

Matoking commented on 2021-07-24 15:29 (UTC)

The upstream package now comes with two desktop entry files (protontricks.desktop and protontricks-launch.desktop).

Those two files should be installed in the PKGBUILD and the protontricks-desktop-install executable should be removed; protontricks-desktop-install is only intended as a fallback in case the user is installing the package using a different method (eg. pip) that can't reliably install files outside the normal Python environment.

ashton commented on 2020-04-08 11:46 (UTC) (edited on 2020-04-08 11:46 (UTC) by ashton)

broken

Traceback (most recent call last):
  File "/usr/bin/protontricks", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3259, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3242, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3271, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'vdf>=2.4' distribution was not found and is required by protontricks

class101 commented on 2020-04-02 13:24 (UTC) (edited on 2020-04-02 13:25 (UTC) by class101)

Please add @yochananmarqos @Freso requested changes

Or add me co maintainer if you are not sure how to do that

Matoking commented on 2020-01-22 17:55 (UTC)

Adding python-setuptools-scm to makedepends should fix the build.

setuptools-scm also allows the PEP440-formatted version to be retrieved simply using a version.py command (whipper-git uses this method):

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    python3 setup.py --version
}

Thanks for maintaining the package!

yochananmarqos commented on 2020-01-12 20:15 (UTC) (edited on 2020-01-12 20:23 (UTC) by yochananmarqos)

python-setuptools-scm is now required to build. Also steam is a requirement.

Please use tags:

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
1.3.1.r9.fc20b09

Freso commented on 2019-08-05 21:26 (UTC)

Please enable versioning from git tags as Rhinoceros requested some months ago; https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

unknown78 commented on 2019-07-25 02:16 (UTC) (edited on 2019-07-25 02:17 (UTC) by unknown78)

Hi jcstryker, you want to currently use a branch (https://github.com/Matoking/protontricks/tree/vdf_update) instead of the master. Information on: https://github.com/Matoking/protontricks/issues/24

This also has an impact on the release version of protontricks.

Rhinoceros commented on 2019-03-26 09:19 (UTC)

@jcstryker Now that upstream is tagging releases, could you please use the most recent tag as the base of the version? i.e. git describe --long --tags | … [a]. Thanks!

[a] https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

fettouhi commented on 2019-02-04 18:09 (UTC)

Thanks for updating this and using the fork!!!

jcstryker commented on 2019-02-04 14:44 (UTC)

There is also now an AUR package using the tagged releases of protontricks, for those who don't want to track the git version.

https://aur.archlinux.org/packages/protontricks/

jcstryker commented on 2019-02-04 14:42 (UTC)

@fettouhi looks like python-vdf has been updated, so I pushed the update for this package. If the issue arises again I can look into making a python-vdf-git package.

fettouhi commented on 2019-02-04 08:10 (UTC)

@jcstryker since python-vdf hasn't been updated on AUR for almost a year could update this package and make python-vdf-git as a workaround maybe?

jcstryker commented on 2019-01-20 19:01 (UTC)

@fettouhi

I have updated the package to use the fork, however python-vdf version 2.4 is now a dependency.

Currently python-vdf is in the AUR and has not been updated to version 2.4, https://aur.archlinux.org/pkgbase/python-vdf/

I have flagged it out of date and will push the update this package once version 2.4 is available. If you want to use the fork, you should remove this package and use pip to install it for the time being.

fettouhi commented on 2019-01-20 18:03 (UTC)

Someone made made a fork of protontricks and is maintaining it. Maybe switch to that since the original developer has stopped his work?

https://github.com/Matoking/protontricks

jcstryker commented on 2018-12-03 21:03 (UTC)

PSA: Right now this package works best with winetricks-git.

jcstryker commented on 2018-09-02 16:02 (UTC)

@skymarshall I am not the developer, however it works fine for me with the latest proton 3.7-5 and the latest protontricks. You can manually define the directory using the PROTON_VERSION env variable, or you might want to submit an issue upstream to the developer on github https://github.com/Sirmentio/protontricks/issues

skymarshall commented on 2018-09-02 13:29 (UTC)

not sure if the maintainer is also the dev, however the script fails when using a newer beta branch of proton - the script looks for a directory called "Proton <version>", but breaks as the newest beta has the directory "Proton 3.7 Beta"</version>