Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573298 - games-fps/freedoom-0.10.1 version bump
Summary: games-fps/freedoom-0.10.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal QA with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 13:39 UTC by jospezial
Modified: 2016-03-03 05:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2016-01-29 13:39:29 UTC
I have found two ebuilds we could rename to the latest version.

There is freedoom-0.7.ebuild in gentoo tree:
SRC_URI is wrong with nongnu mirror and filenames
I think these download files are not source code but ready compiled iwads.
Has to be at github.
See https://github.com/freedoom/freedoom/releases for correct SRC_URI and filenames.


There is freedoom-0.9.ebuild in games-overlay:
It downloads the source code.
SRC_URI="https://github.com/freedoom/freedoom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
That works.

But it uses games-util/deutex to convert some files and that causes a sandbox violation in /dev/dri/renderD128
deutex-4.4.0 is in tree and deutex-4.4.902 is in games-overlay (tested both)

F: open_wr
S: deny
P: /dev/dri/renderD128
A: /dev/dri/renderD128
R: /dev/dri/renderD128
C: convert -size 110x15 xc:none -draw image over 0,0 0,0 fontchars/font070.gif -draw image over 11,0 0,0 fontchars/font111.gif -draw image over 22,0 0,0 fontchars/font114.gif -draw image over 31,0 0,0 fontchars/font116.gif -draw image over 43,0 0,0 fontchars/font114.gif -draw image over 52,0 0,0 fontchars/font101.gif -draw image over 61,0 0,0 fontchars/font115.gif -draw image over 73,0 0,0 fontchars/font115.gif -draw image over 92,0 0,0 fontchars/font051.gif -draw image over 102,0 0,0 fontchars/font049.gif -colorize 0,0,0,0 -background #00ffff -flatten wilv14.gif
Comment 1 jospezial 2016-01-29 13:45:17 UTC
convert belongs to media-gfx/imagemagick-6.9.2.10

I don't know when and for what it uses deutex.
Comment 2 jospezial 2016-01-29 15:56:04 UTC
With games-util/deutex-4.4.0 from the tree:

deutex -v0 -fullsnd -rate accept -rgb 0 255 255 -doom2 bootstrap/ -iwad -lumps -patch -flats -sounds -musics -graphics -sprites -levels -build wadinfo_phase1.txt wads/freedoom1.wad
DeuTex 4.4.0 Copyright 1994,95 O.Montanuy, Copyright 1999-2000 A.Majorel
  Ported to DOS, Unix, OS/2, Linux, SGiX, DEC Alpha.
  Thanx to M.Mathews, P.Allansson, C.Rossi, J.Bonfield, U.Munk.
  This program is freeware.
Type "deutex --help" to get the list of commands.

Error: Option -rate is not defined.
Makefile:88: recipe for target 'wads/freedoom1.wad' failed
make: *** [wads/freedoom1.wad] Error 251
make: *** Waiting for unfinished jobs....

With games-util/deutex-4.4.902 from games-overlay it works because it has the needed "-rate" option. So please bump that version to the tree too.


I found the reason for the sandbox violation.
I happens when imagemagick is compiled with USE="opencl"
eselect opencl list
Available OpenCL implementations:
  [1]   mesa *

Update to imagemagick-6.9.3.2 (not in tree yet) did not help.


So freedoom-0.10.1 compiles if all that dependencies are done.
Comment 3 Patrick McMunn 2016-03-02 07:33:53 UTC
Honestly I don't see any need to compile from source in this case. These are data files -- not executable binaries. There are two archives: Freedoom and FreeDM ready-to-go from here: https://freedoom.github.io/download.html
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2016-03-03 05:17:51 UTC
freedoom-0.10.1.ebuild is in portage.  thanks for the bug report.