You are not logged in.

#1 Yesterday 05:44:49

oech3
Member
Registered: 2017-09-03
Posts: 69

Creating package adds files to default wine prefix

I want create package emullates bahavior of winetricks for default wine prefix
(e,g, c:/Windows/System32/Drivers/gm.dls ).
I already found file path to `.cab` file from winetricks script which has files what I want to put.
But it seems `wine` does not have whole prefix at package side. Is this possible?

Offline

#2 Yesterday 15:28:34

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,661

Re: Creating package adds files to default wine prefix

Wine prefixes are under user home folders , packages are not allowed to touch those.

Please clarify what you want to achieve.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 Yesterday 15:56:01

oech3
Member
Registered: 2017-09-03
Posts: 69

Re: Creating package adds files to default wine prefix

Is impossible or request to WineHQ your answer?
I want to omit running winetricks to modify prefixes at each update of wine.
And want to share gm.dls symlink with fluidsynth itself (even it is really small file).

(Someone may wants to integrate ttf-ms-win*-* to wine automatically with risks...)

Offline

#4 Yesterday 16:17:10

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,661

Re: Creating package adds files to default wine prefix

I want to omit running winetricks to modify prefixes at each update of wine.

What prefix modifications do you feel the need to re-apply after wine updates ?

And want to share gm.dls symlink with fluidsynth itself (even it is really small file).

If fluidsynth is setup correctly, wine prefixes should have access to midi devices without needing modification
This seems like a separate issue that might need its own thread (probably in Multimedia and Games board) .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 Yesterday 16:29:04

oech3
Member
Registered: 2017-09-03
Posts: 69

Re: Creating package adds files to default wine prefix

About gm.dls, you are right.

want to omit running winetricks to modify prefixes at each update of wine.

This may false. I really use wine and remove prefixes frequently.

Ofcause, writing a custom script to generate prefixes is a solution (I just not want to have a script locally?).

Offline

#6 Yesterday 16:31:11

oech3
Member
Registered: 2017-09-03
Posts: 69

Re: Creating package adds files to default wine prefix

Is there any hook package to touch /usr/share/wine/wine.inf ?

Offline

#7 Today 19:11:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,661

Re: Creating package adds files to default wine prefix

Wine doesn't have a mechanism to change settings in wine.inf globally .
Lutris seems to use registry keys to change settings, but that only works per prefix .

In theory you could build your own wine version that uses a custom wine.inf provided by you instead of the one coming from upstream.
A local script to setup prefixes the way you want them seems  a lot easier though.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB