summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2018-09-07 10:05:17 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2018-09-07 10:05:17 -0300
commit969104922005f4c99e87193bb2102984b7af4ca0 (patch)
tree90568de7fe0c1e447d8e38d456b4db8ac7f6b51d
parentd43e320f79f0158ac9a74fc31ae23109a9cc9975 (diff)
downloadnixpkgs-969104922005f4c99e87193bb2102984b7af4ca0.tar
nixpkgs-969104922005f4c99e87193bb2102984b7af4ca0.tar.gz
nixpkgs-969104922005f4c99e87193bb2102984b7af4ca0.tar.bz2
nixpkgs-969104922005f4c99e87193bb2102984b7af4ca0.tar.lz
nixpkgs-969104922005f4c99e87193bb2102984b7af4ca0.tar.xz
nixpkgs-969104922005f4c99e87193bb2102984b7af4ca0.tar.zst
nixpkgs-969104922005f4c99e87193bb2102984b7af4ca0.zip
cogl: Add GL_ARB_shader_texture_lod and copy_sub_image support
-rw-r--r--pkgs/development/libraries/cogl/default.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/pkgs/development/libraries/cogl/default.nix b/pkgs/development/libraries/cogl/default.nix
index e06c71c15db..c624f9537fb 100644
--- a/pkgs/development/libraries/cogl/default.nix
+++ b/pkgs/development/libraries/cogl/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
+{ stdenv, fetchurl, fetchpatch, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
 , pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
 , mesa_noglu
 , gstreamerSupport ? true, gst_all_1 }:
@@ -14,6 +14,23 @@ in stdenv.mkDerivation rec {
     sha256 = "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr";
   };
 
+  patches = [
+    # Some deepin packages need the following patches. They have been
+    # submitted by Fedora on the GNOME Bugzilla
+    # (https://bugzilla.gnome.org/787443). Upstream thinks the patch
+    # could be merged, but dev can not make a new release.
+
+    (fetchpatch {
+      url = https://bug787443.bugzilla-attachments.gnome.org/attachment.cgi?id=359589;
+      sha256 = "0f0d9iddg8zwy853phh7swikg4yzhxxv71fcag36f8gis0j5p998";
+    })
+
+    (fetchpatch {
+      url = https://bug787443.bugzilla-attachments.gnome.org/attachment.cgi?id=361056;
+      sha256 = "09fyrdci4727fg6qm5aaapsbv71sf4wgfaqz8jqlyy61dibgg490";
+    })
+  ];
+
   nativeBuildInputs = [ pkgconfig libintl ];
 
   configureFlags = [