~ubuntu-branches/ubuntu/natty/mesa/natty-proposed

« back to all changes in this revision

Viewing changes to src/glut/glx/SConscript

  • Committer: Bazaar Package Importer
  • Author(s): Robert Hooker, Robert Hooker, Christopher James Halse Rogers
  • Date: 2010-09-14 08:55:40 UTC
  • mfrom: (1.2.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100914085540-m4fpl0hdjlfd4jgz
Tags: 7.9~git20100909-0ubuntu1
[ Robert Hooker ]
* New upstream git snapshot up to commit 94118fe2d4b1e5 (LP: #631413)
* New features include ATI HD5xxx series support in r600, and a vastly
  improved glsl compiler.
* Remove pre-generated .pc's, use the ones generated at build time
  instead.
* Remove all references to mesa-utils now that its no longer shipped
  with the mesa source.
* Disable the experimental ARB_fragment_shader option by default on
  i915, it exposes incomplete functionality that breaks KDE compositing
  among other things. It can be enabled via driconf still. (LP: #628930).

[ Christopher James Halse Rogers ]
* debian/patches/04_osmesa_version.diff:
  - Refresh for new upstream
* Bugs fixed in this release:
  - Fixes severe rendering corruption in Unity on radeon (LP: #628727,
    LP: #596292, LP: #599741, LP: #630315, LP: #613694, LP: #599741).
  - Also fixes rendering in gnome-shell (LP: #578619).
  - Flickering in OpenGL apps on radeon (LP: #626943, LP: #610541).
  - Provides preliminary support for new intel chips (LP: #601052).
* debian/rules:
  - Update configure flags to match upstream reshuffling.
  - Explicitly remove gallium DRI drivers that we don't want to ship.
* Update debian/gbp.conf for this Maverick-specific packaging
* libegl1-mesa-dri-x11,kms: There are no longer separate kms or x11 drivers
  for EGL, libegl1-mesa-drivers now contains a single driver that provides
  both backends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Import('*')
 
2
 
 
3
env = env.Clone()
 
4
 
 
5
env.Replace(CPPDEFINES = [
 
6
    'BUILD_GLUT32', 
 
7
    'GLUT_BUILDING_LIB', 
 
8
    'NDEBUG',
 
9
    'GLUT_NO_WARNING_DISABLE',
 
10
])
 
11
 
 
12
env.AppendUnique(CPPPATH = [
 
13
    '#/include',
 
14
])
 
15
 
 
16
sources = [
 
17
    'glut_bitmap.c',
 
18
    'glut_bwidth.c',
 
19
    'glut_cindex.c',
 
20
    'glut_cmap.c',
 
21
    'glut_cursor.c',
 
22
    'glut_dials.c',
 
23
    'glut_dstr.c',
 
24
    'glut_event.c',
 
25
    'glut_ext.c',
 
26
    'glut_fullscrn.c',
 
27
    'glut_gamemode.c',
 
28
    'glut_get.c',
 
29
    'glut_init.c',
 
30
    'glut_input.c',
 
31
    'glut_joy.c',
 
32
    'glut_key.c',
 
33
    'glut_keyctrl.c',
 
34
    'glut_keyup.c',
 
35
    'glut_mesa.c',
 
36
    'glut_modifier.c',
 
37
    'glut_overlay.c',
 
38
    'glut_ppm.c',
 
39
    'glut_shapes.c',
 
40
    'glut_space.c',
 
41
    'glut_stroke.c',
 
42
    'glut_swap.c',
 
43
    'glut_swidth.c',
 
44
    'glut_tablet.c',
 
45
    'glut_teapot.c',
 
46
    'glut_util.c',
 
47
    'glut_vidresize.c',
 
48
    'glut_warp.c',
 
49
    'glut_win.c',
 
50
    'glut_winmisc.c',
 
51
    
 
52
    'glut_8x13.c',
 
53
    'glut_9x15.c',
 
54
    'glut_hel10.c',
 
55
    'glut_hel12.c',
 
56
    'glut_hel18.c',
 
57
    'glut_mroman.c',
 
58
    'glut_roman.c',
 
59
    'glut_tr10.c',
 
60
    'glut_tr24.c',
 
61
]
 
62
 
 
63
if env['platform'] == 'windows':
 
64
    env.PrependUnique(LIBS = [
 
65
        'winmm', 
 
66
        'gdi32', 
 
67
        'user32', 
 
68
        'opengl32', 
 
69
        'glu32',
 
70
    ])
 
71
    target = 'glut32'
 
72
    sources += [
 
73
        'win32_glx.c',
 
74
        'win32_menu.c',
 
75
        'win32_util.c',
 
76
        'win32_winproc.c',
 
77
        'win32_x11.c',
 
78
        'glut.def',
 
79
    ]
 
80
else:
 
81
    env.Tool('x11')
 
82
    env.PrependUnique(LIBS = [
 
83
        'GLU',
 
84
        'GL',
 
85
        'X11',
 
86
        'Xext',
 
87
        'Xmu',
 
88
        'Xi',
 
89
    ])
 
90
    target = 'glut'
 
91
    sources += [
 
92
        'glut_fcb.c',
 
93
        'glut_menu.c',
 
94
        'glut_menu2.c',
 
95
        'glut_glxext.c',
 
96
        'layerutil.c',
 
97
    ]
 
98
 
 
99
 
 
100
glut = env.SharedLibrary(
 
101
    target = target,
 
102
    source = sources,
 
103
)
 
104
 
 
105
env.InstallSharedLibrary(glut, version=(3, 7, 1))
 
106
 
 
107
if env['platform'] == 'windows':
 
108
    glut = env.FindIxes(glut, 'LIBPREFIX', 'LIBSUFFIX')
 
109
else:
 
110
    glut = env.FindIxes(glut, 'SHLIBPREFIX', 'SHLIBSUFFIX')
 
111
 
 
112
Export('glut')