[Bug 25601] New: Possibility of slotted system-wide installation without violating FHS.
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Dec 23 14:49:07 CST 2010
http://bugs.winehq.org/show_bug.cgi?id=25601
Summary: Possibility of slotted system-wide installation
without violating FHS.
Product: Wine
Version: 1.3.3
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: build-env
AssignedTo: wine-bugs at winehq.org
ReportedBy: NightNord at gmail.com
Current build-system doesn't allow to add version to all installed executables,
libraries and data-dirs.
I could change Make.vars.in to use
dlldir = @libdir@/wine- at PACKAGE_VERSION@
includedir = @includedir@/wine- at PACKAGE_VERSION@
fontdir = $(datadir)/wine- at PACKAGE_VERSION@/fonts
but this won't affect other files from $(datadir)/wine and $(bindir) and
$(libdir) (i.e. executables, scripts, libwine...). This will require Makefiles
patching.
Yes, it's possible to supply --prefix=/some/uniq/dir option to configure, but
this is undesirable for disto-packaging (i'm trying to make multi-version
install of wine for Gentoo Linux).
I suggest replacing $(datadir)/wine, and libwine directory with variable like
"dlldir", adding configure options to set dlldir, winedatadir, winelibdir, and
includedir, and other configure option like executable-suffix, that would be
added to any binary/script installed.
If you are agreed with such intentions, I can make corresponding patches.
Rationale of slotted install is simple - while 'newer-is-better' for wine is
almost always true, regressions are possible at every update, so, if wine in
vital for your work, slotted install will guarantee you safe-and-fast fallback
(assuming, that you will copy your prefix before trying new wine). Also, there
is many programs that works great on older wine, but much worse on newer, while
other programs require newest wine to operate. Having both installed would be
difficult than. And slotted install will make regression-testing much easier.
While many distros already have this feature (generally via installation in
/usr/lib/wine-<version> prefix or patching build-system), I'm opening in hope,
that it's possible to convince upstream for slight modification of
build-system, so slotted installation would be possible without patches or FHS
violation.
I'm looking forward for your response. Thanks in advance.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list