summaryrefslogtreecommitdiff
path: root/graphics/py-matplotlib-gtk2/patches/patch-ab
blob: b6129d2f87a8ae0ec29b1eb034821d6894d52222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
$NetBSD: patch-ab,v 1.5 2011/02/17 10:33:38 markd Exp $

--- setup.py.orig	2010-07-07 01:41:55.000000000 +0000
+++ setup.py
@@ -128,13 +128,13 @@ if not check_for_numpy():
 if not check_for_freetype():
     sys.exit(1)
 
-build_ft2font(ext_modules, packages)
-build_ttconv(ext_modules, packages)
-build_contour(ext_modules, packages)
-build_delaunay(ext_modules, packages)
-build_nxutils(ext_modules, packages)
-build_path(ext_modules, packages)
-build_tri(ext_modules, packages)
+#build_ft2font(ext_modules, packages)
+#build_ttconv(ext_modules, packages)
+#build_contour(ext_modules, packages)
+#build_delaunay(ext_modules, packages)
+#build_nxutils(ext_modules, packages)
+#build_path(ext_modules, packages)
+#build_tri(ext_modules, packages)
 
 print_raw("")
 print_raw("OPTIONAL BACKEND DEPENDENCIES")
@@ -175,13 +175,13 @@ if options['build_wxagg']:
             print_message("WxAgg extension not required for wxPython >= 2.8")
         rc['backend'] = 'WXAgg'
 
-hasgtk = check_for_gtk()
+hasgtk = 1   # check_for_gtk()
 if options['build_gtk']:
     if hasgtk or (options['build_gtk'] is True):
         build_gdk(ext_modules, packages)
 if options['build_gtkagg']:
     if hasgtk or (options['build_gtkagg'] is True):
-        options['build_agg'] = 1
+        options['build_agg'] = 0
         build_gtkagg(ext_modules, packages)
         rc['backend'] = 'GTKAgg'
 
@@ -282,11 +282,11 @@ distrib = setup(name="matplotlib",
       interfaces and hardcopy output formats.  There is a 'pylab' mode
       which emulates matlab graphics
       """,
-      packages = packages,
+#      packages = packages,
       platforms='any',
-      py_modules = py_modules,
+#      py_modules = py_modules,
       ext_modules = ext_modules,
       package_dir = {'': 'lib'},
-      package_data = package_data,
+#      package_data = package_data,
       **additional_params
       )