Author: urkud
Date: Mon Feb 20 05:27:57 2012
New Revision: 32414
URL: https://nixos.org/websvn/nix/?rev=32414&sc=1

Log:
qtscriptgenerator: qt-4.8 patch

Added:
   nixpkgs/trunk/pkgs/development/libraries/qtscriptgenerator/qt-4.8.patch
Modified:
   nixpkgs/trunk/pkgs/development/libraries/qtscriptgenerator/default.nix

Modified: nixpkgs/trunk/pkgs/development/libraries/qtscriptgenerator/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/libraries/qtscriptgenerator/default.nix      
Mon Feb 20 01:17:53 2012        (r32413)
+++ nixpkgs/trunk/pkgs/development/libraries/qtscriptgenerator/default.nix      
Mon Feb 20 05:27:57 2012        (r32414)
@@ -8,7 +8,7 @@
   };
   buildInputs = [ qt4 ];
 
-  patches = [./qtscriptgenerator.gcc-4.4.patch];
+  patches = [ ./qtscriptgenerator.gcc-4.4.patch ./qt-4.8.patch ];
   
   # Why isn't the author providing proper Makefile or a CMakeLists.txt ?
   buildPhase = ''

Added: nixpkgs/trunk/pkgs/development/libraries/qtscriptgenerator/qt-4.8.patch
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/development/libraries/qtscriptgenerator/qt-4.8.patch     
Mon Feb 20 05:27:57 2012        (r32414)
@@ -0,0 +1,23 @@
+Origin: 
http://pkgs.fedoraproject.org/gitweb/?p=qtscriptgenerator.git;a=blob_plain;f=qtscriptgenerator-src-0.1.0-no_QFileOpenEvent.patch;h=f397b5ab13bcfc268e6d7b7ba4c6bc66ae38b5c0;hb=HEAD
+diff -up 
qtscriptgenerator-src-0.1.0/generator/typesystem_gui-common.xml.no_QFileOpenEvent
 qtscriptgenerator-src-0.1.0/generator/typesystem_gui-common.xml
+--- 
qtscriptgenerator-src-0.1.0/generator/typesystem_gui-common.xml.no_QFileOpenEvent
  2011-12-22 11:34:52.615149619 -0600
++++ qtscriptgenerator-src-0.1.0/generator/typesystem_gui-common.xml    
2011-12-22 11:35:31.808659632 -0600
+@@ -2233,7 +2233,6 @@
+     
+                
+   </object-type>
+-  <object-type name="QFileOpenEvent" polymorphic-id-expression="%1-&gt;type() 
== QEvent::FileOpen"/>
+   <object-type name="QFocusEvent" polymorphic-id-expression="%1-&gt;type() == 
QEvent::FocusIn || %1-&gt;type() == QEvent::FocusOut">
+         <modify-function signature="reason()const">
+             <remove/>
+diff -up 
qtscriptgenerator-src-0.1.0/generator/typesystem_gui.xml.no_QFileOpenEvent 
qtscriptgenerator-src-0.1.0/generator/typesystem_gui.xml
+--- qtscriptgenerator-src-0.1.0/generator/typesystem_gui.xml.no_QFileOpenEvent 
2009-02-20 05:42:24.000000000 -0600
++++ qtscriptgenerator-src-0.1.0/generator/typesystem_gui.xml   2011-12-22 
11:33:43.058019203 -0600
+@@ -2555,7 +2555,6 @@
+     
+                
+   </object-type>
+-  <object-type name="QFileOpenEvent" polymorphic-id-expression="%1-&gt;type() 
== QEvent::FileOpen"/>
+   <object-type name="QFocusEvent" polymorphic-id-expression="%1-&gt;type() == 
QEvent::FocusIn || %1-&gt;type() == QEvent::FocusOut">
+         <modify-function signature="reason()const">
+             <remove/>
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to