Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693246 - media-libs/virglrenderer-0.8.0 version bump
Summary: media-libs/virglrenderer-0.8.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2019-09-01 00:49 UTC by ViliusSutkus89
Modified: 2020-04-19 20:44 UTC (History)
2 users (show)

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


Attachments
Proposed ebuild (virglrenderer-0.8.0.ebuild,1.03 KB, text/plain)
2019-09-01 00:49 UTC, ViliusSutkus89
Details
virglrender-0.8.0.ebuild (virglrenderer-0.8.0.ebuild,1.08 KB, text/plain)
2019-09-09 12:40 UTC, Francesco Riosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ViliusSutkus89 2019-09-01 00:49:48 UTC
Created attachment 588612 [details]
Proposed ebuild

Update to virglrenderer is available[0]. "lots of bug fixes", et cetera.

Attaching proposed ebuild, which is based on 0.7.0.

Seems like virglrenderer-0.6.0-libdrm.patch is already upstreamed, so I did not apply it to this version.

0.8.0 introduced "gbm_allocation" configure option, added that as IUSE. There is also "glx" and "egl" config options, not sure if they should be IUSE'd or defaulted to yes. glx and egl are available in 0.7.0 too.


      virgl 0.8.0
      ==============

      prefix:                   /usr
      c compiler:               x86_64-pc-linux-gnu-gcc
      win32:                    no

      glx:                      yes
      egl:                      yes
      gbm_allocation:           yes
      debug:                    no
      tests:                    no
      fuzzer:                   no





0: https://lists.freedesktop.org/archives/virglrenderer-devel/2019-August/001718.html
Comment 1 Francesco Riosa 2019-09-09 12:40:10 UTC
Created attachment 589508 [details]
virglrender-0.8.0.ebuild

The tarball has a strange naming convention, setting ${S} was necessary
Also added mesa as depend (media-libs/mesa[gbm?]")
Comment 2 Matthias Maier gentoo-dev 2020-04-19 20:22:15 UTC
According to the upstream commit below it seems that the configuration option "gbm_allocation" was never intended to be used with mesa. I will drop the USE flag.

commit 1fcd27d021ccd9952922190950773c9e22a53a66
Author: Gurchetan Singh <gurchetansingh@chromium.org>
Date:   Wed Mar 25 17:02:34 2020 -0700

    vrend: gbm_allocation --> minigbm allocation
    
    This is currently only used with minigbm, and largely untested
    elsewhere.  This will also allow us to use flags which are not
    available in Mesa GBM.
    
    Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
Comment 3 Matthias Maier gentoo-dev 2020-04-19 20:24:13 UTC
( current version 0.8.2 that I am about to package cannot be compiled against mesa with gbm allocation enabled )
Comment 4 Larry the Git Cow gentoo-dev 2020-04-19 20:44:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73004619cc8ba46a7ee42b1496dbf0f064ccc87e

commit 73004619cc8ba46a7ee42b1496dbf0f064ccc87e
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2020-04-19 20:01:23 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2020-04-19 20:44:35 +0000

    media-libs/virglrenderer: version bump to 0.8.2
    
     - contrary to the suggestion in https://bugs.gentoo.org/693246, do not
       add a USE=gbm flag. The current code cannot be compiled with
       mesa[gbm] and upstream restricted support for gbm allocation to
       minigbm in current master
    
     - port to meson build system
    
     - disable testsuite -
    
     - verified that the build system doesn't require python directly any more
    
    Closes: https://bugs.gentoo.org/693246
    Closes: https://bugs.gentoo.org/716354
    Closes: https://bugs.gentoo.org/631740
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 media-libs/virglrenderer/Manifest                  |  1 +
 .../virglrenderer/virglrenderer-0.8.2.ebuild       | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)