Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137497 - quake1-data check for demo symlink
Summary: quake1-data check for demo symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-21 09:54 UTC by Paul Bredbury
Modified: 2006-07-30 14:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
quake1-data-2.40.diff (quake1-data-2.40.diff,530 bytes, patch)
2006-06-21 09:54 UTC, Paul Bredbury
Details | Diff
a patch to check if quake1-demodata is installed (quake1-data.diff,1.03 KB, patch)
2006-07-30 11:38 UTC, Joe Quanaim
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bredbury 2006-06-21 09:54:22 UTC
Hi, here's a patch which is the other side of the pkg_postinst() check in quake1-demodata (bug #137402), to ensure that the demo symlink does not conflict with the CD data.
Comment 1 Paul Bredbury 2006-06-21 09:54:50 UTC
Created attachment 89736 [details, diff]
quake1-data-2.40.diff
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-06-21 15:14:39 UTC
Why don't you just make them block each other?
Comment 3 Paul Bredbury 2006-06-21 15:35:04 UTC
Because they can reside together quite happily, *without* the symlink. A mutually-exclusive block sounds excessive.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-27 12:54:35 UTC
Added to CVS... thanks for the patch, Paul.
Comment 5 Joe Quanaim 2006-07-30 11:38:52 UTC
Created attachment 93076 [details, diff]
a patch to check if quake1-demodata is installed
Comment 6 Joe Quanaim 2006-07-30 11:42:12 UTC
This update only seems to work if quake1-demodata is already installed.  If it is not, an error is returned.

# emerge "=quake1-data-2.40"
Calculating dependencies... done!
>>> Emerging (1 of 1) games-fps/quake1-data-2.40 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
 * The symlink for the demo data conflicts with the cdinstall data

!!! ERROR: games-fps/quake1-data-2.40 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  quake1-data-2.40.ebuild, line 26:   Called die

!!! Unmerge games-fps/quake1-demodata to remove the conflict
!!! If you need support, post the topmost build error, and the call stack if relevant.

# equery list games-fps/
[ Searching for all packages in 'games-fps' among: ]
 * installed packages
[I--] [ ~] games-fps/darkplaces-20060616_beta1 (0)
[I--] [  ] games-fps/doom-data-1 (0)
[I--] [  ] games-fps/quake2-data-3.20 (0)
[I--] [  ] games-fps/quake2-icculus-0.16.1 (0)
[I--] [ ~] games-fps/quake3-1.34_alpha789 (0)
[I--] [  ] games-fps/quake3-data-1.32b (0)
[I--] [  ] games-fps/quakeforge-0.5.5 (0)

Others may be seeing this problem as well:
http://forums.gentoo.org/viewtopic-t-478606.html
Comment 7 Paul Bredbury 2006-07-30 14:51:47 UTC
(In reply to comment #6)
> This update only seems to work if quake1-demodata is already installed.

See bug #139842.