gtkglextmm: add version 1.2.0

Patch submitted by Jan Malakhovski <oxij@oxij.org>.
This commit is contained in:
Peter Simons 2012-07-02 16:43:47 +02:00
parent 8db6c55944
commit f9d9a0c4ca
3 changed files with 42 additions and 0 deletions

View File

@ -69,6 +69,8 @@
gtkglext = callPackage ./platform/gtkglext { };
gtkglextmm = callPackage ./platform/gtkglextmm { };
#### DESKTOP
gnome_keyring = callPackage ./desktop/gnome-keyring { };

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl_gnome, pkgconfig, gtkglext, gtkmm, gtk, mesa, gdk_pixbuf }:
stdenv.mkDerivation rec {
name = src.pkgname;
src = fetchurl_gnome {
project = "gtkglextmm";
major = "1"; minor = "2"; patchlevel = "0"; extension = "bz2";
sha256 = "6cd4bd2a240e5eb1e3a24c5a3ebbf7ed905b522b888439778043fdeb58771fea";
};
patches = [ ./gdk.patch ];
buildNativeInputs = [pkgconfig];
propagatedBuildInputs = [ gtkglext gtkmm gtk mesa gdk_pixbuf ];
meta = {
description = "C++ wrappers for GtkGLExt";
license = "LGPLv2+";
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -0,0 +1,15 @@
# fixes: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621976
# reference: http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg250570.html
--- gtkglextmm-1.2.0-orig/gtkglext/gtkmm/gl/widget.cc 2004-05-18 03:01:50.000000000 -0300
+++ gtkglextmm-1.2.0/gtkglext/gtkmm/gl/widget.cc 2011-06-12 17:57:13.075541070 -0300
@@ -17,9 +17,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#include <gtk/gtkglwidget.h>
-
#include "widget.h"
+#include <gtk/gtkglwidget.h>
namespace Gtk
{