Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510916 - x11-drivers/xf86-video-freedreno-1.1.0 version bump
Summary: x11-drivers/xf86-video-freedreno-1.1.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-05-21 10:36 UTC by Merlijn Wajer
Modified: 2014-06-05 15:42 UTC (History)
0 users

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


Attachments
Freedreno 1.1.0 ebuild (xf86-video-freedreno-1.1.0.ebuild,522 bytes, text/plain)
2014-05-21 10:36 UTC, Merlijn Wajer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Merlijn Wajer 2014-05-21 10:36:19 UTC
Created attachment 377356 [details]
Freedreno 1.1.0 ebuild

There is a new version of the driver upstream: version 1.1.0. It would be nice to have it in the portage tree. I didn't get it to compile with a very naive change: renaming the ebuild, it seemed to give a compilation error.

It seems to require libdrm-2.4.54 ; I got compilation errors with libdrm-2.4.53

I am also not sure if the sed in the ebuild is still required; I commented it out and it went OK.

Attached ebuild for freedreno 1.1.0, seems to work for me.

PS: I hope the category of "New Ebuilds" is correct.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-21 11:05:13 UTC
Comment on attachment 377356 [details]
Freedreno 1.1.0 ebuild

--- xf86-video-freedreno-1.0.0.ebuild   2013-11-17 23:22:47.000000000 +0100
+++ -   2014-05-21 13:05:05.532873945 +0200
@@ -16,6 +16,5 @@
 src_prepare() {
        # Gentoo installs drm_mode.h to /usr/include/libdrm/
-       sed -i 's:drm/drm_mode.h:libdrm/drm_mode.h:' src/drmmode_display.c || die
        xorg-2_src_prepare
 }
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-05-21 13:29:14 UTC
This also requires >=media-libs/mesa-10.2[xa] to work with 2D acceleration.
Comment 3 Merlijn Wajer 2014-05-21 13:59:48 UTC
Yes, that is correct. I am using mesa-9999 with xa enabled. Also, it doesn't seem to be too clear from my initial comment: the ebuild provided (or, the patch) result in a compiling and working freedreno-1.1.0 driver. The compilation error was because of the libdrm-2.4.54 requirement.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-06-05 15:42:21 UTC
Fixed in CVS.