Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package glu for openSUSE:Factory checked in at 2021-06-28 15:33:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glu (Old) and /work/SRC/openSUSE:Factory/.glu.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glu" Mon Jun 28 15:33:27 2021 rev:12 rq:902307 version:9.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/glu/glu.changes 2019-07-28 10:21:12.776583953 +0200 +++ /work/SRC/openSUSE:Factory/.glu.new.2625/glu.changes 2021-06-28 15:33:39.063187666 +0200 @@ -1,0 +2,7 @@ +Fri Jun 25 08:39:44 UTC 2021 - Stefan Dirsch <[email protected]> + +- Update to version 9.0.2 + * bugfix release +- supersedes u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch + +------------------------------------------------------------------- Old: ---- glu-9.0.1.tar.xz u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch New: ---- glu-9.0.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glu.spec ++++++ --- /var/tmp/diff_new_pack.M8ZHrK/_old 2021-06-28 15:33:39.539188247 +0200 +++ /var/tmp/diff_new_pack.M8ZHrK/_new 2021-06-28 15:33:39.543188253 +0200 @@ -1,7 +1,7 @@ # # spec file for package glu # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,17 @@ Name: glu %define lname libGLU1 -Version: 9.0.1 +Version: 9.0.2 Release: 0 Summary: OpenGL utility library License: SUSE-SGI-FreeB-2.0 Group: Development/Libraries/C and C++ -Url: http://cgit.freedesktop.org/mesa/glu/ +URL: http://cgit.freedesktop.org/mesa/glu/ #Git-Clone: git://anongit.freedesktop.org/mesa/glu #Git-Web: http://cgit.freedesktop.org/mesa/glu/ Source: https://mesa.freedesktop.org/archive/glu/%{name}-%{version}.tar.xz Source1: baselibs.conf -Patch1: u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: libtool @@ -87,7 +86,6 @@ %prep %setup -q -%patch1 -p1 %build if [ ! -e configure ]; then ++++++ glu-9.0.1.tar.xz -> glu-9.0.2.tar.xz ++++++ ++++ 6710 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/Makefile.am new/glu-9.0.2/Makefile.am --- old/glu-9.0.1/Makefile.am 2019-07-24 01:36:54.000000000 +0200 +++ new/glu-9.0.2/Makefile.am 2021-06-24 23:36:59.000000000 +0200 @@ -30,13 +30,12 @@ -I$(top_srcdir)/src/libnurbs/internals \ -I$(top_srcdir)/src/libnurbs/interface \ -I$(top_srcdir)/src/libnurbs/nurbtess -AM_CFLAGS = $(GL_CFLAGS) $(OSMESA_CFLAGS) $(WARNCFLAGS) $(VISIBILITY_CFLAGS) -AM_CXXFLAGS = $(GL_CFLAGS) $(OSMESA_CFLAGS) $(WARNCXXFLAGS) $(VISIBILITY_CXXFLAGS) +AM_CFLAGS = $(GL_CFLAGS) $(LIBGLVND_CFLAGS) $(OSMESA_CFLAGS) $(WARNCFLAGS) $(VISIBILITY_CFLAGS) +AM_CXXFLAGS = $(GL_CFLAGS) $(LIBGLVND_CFLAGS) $(OSMESA_CFLAGS) $(WARNCXXFLAGS) $(VISIBILITY_CXXFLAGS) GL_includedir = $(includedir)/GL GL_include_HEADERS = \ - $(top_srcdir)/include/GL/glu.h \ - $(top_srcdir)/include/GL/glu_mangle.h + $(top_srcdir)/include/GL/glu.h GLU_LIBRARY_VERSION=1:3:1 lib_LTLIBRARIES = libGLU.la @@ -130,12 +129,14 @@ src/libnurbs/nurbtess/sampleMonoPoly.cc \ src/libnurbs/nurbtess/sampledLine.cc \ src/libnurbs/nurbtess/searchTree.cc -libGLU_la_LIBADD = $(GL_LIBS) $(OSMESA_LIBS) +libGLU_la_LIBADD = $(GL_LIBS) $(LIBGLVND_LIBS) $(OSMESA_LIBS) libGLU_la_LDFLAGS = -version-number $(GLU_LIBRARY_VERSION) -no-undefined -export-symbols-regex '^glu' EXTRA_DIST = \ + meson.build \ + meson_options.txt \ include/GL/glu.h \ - include/GL/glu_mangle.h \ + src/meson.build \ src/libtess/render.h \ src/libtess/tessmono.h \ src/libtess/mesh.h \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/compile new/glu-9.0.2/compile --- old/glu-9.0.1/compile 2019-07-24 01:37:01.000000000 +0200 +++ new/glu-9.0.2/compile 2021-06-24 23:37:04.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # Written by Tom Tromey <[email protected]>. # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@ MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -67,7 +67,7 @@ mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin/*) + cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/configure.ac new/glu-9.0.2/configure.ac --- old/glu-9.0.1/configure.ac 2019-07-24 01:36:54.000000000 +0200 +++ new/glu-9.0.2/configure.ac 2021-06-24 23:36:59.000000000 +0200 @@ -21,8 +21,8 @@ AC_PREREQ([2.60]) AC_INIT([glu], - [9.0.1], - [https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=GLU]) + [9.0.2], + [https://gitlab.freedesktop.org/mesa/glu/issues]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CANONICAL_HOST @@ -42,8 +42,11 @@ AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [Enable debugging information]), - [CFLAGS="$CFLAGS -g -O0 -DDEBUG" - CXXFLAGS="$CXXFLAGS -g -O0 -DDEBUG"], + [if test x$enableval = xyes; then + CFLAGS="$CFLAGS -g -O0 -DDEBUG" + CXXFLAGS="$CXXFLAGS -g -O0 -DDEBUG"; else + CFLAGS="$CFLAGS -DNDEBUG" + CXXFLAGS="$CXXFLAGS -DNDEBUG"; fi], [CFLAGS="$CFLAGS -DNDEBUG" CXXFLAGS="$CXXFLAGS -DNDEBUG"]) @@ -55,34 +58,52 @@ ACLOCAL="aclocal -I/other/macro/dir" before running autoreconf.])]) PKG_PROG_PKG_CONFIG() +AC_ARG_ENABLE(libglvnd, + AS_HELP_STRING([--enable-libglvnd], + [Enable use of libglvnd]), + [LIBGLVND="$enableval"], + [LIBGLVND=no]) + AC_ARG_ENABLE(osmesa, AS_HELP_STRING([--enable-osmesa], [Enable use of OSMesa instead of libGL]), [OSMESA="$enableval"], [OSMESA=no]) -dnl Get the pkg-config definitions for libGL/OSMesa. We include a fallback -dnl path for implementations that don't provide a .pc file -if test "x$OSMESA" = "xyes"; then +dnl Get the pkg-config definitions for libglvnd/OSMesa/libGL. We include a +dnl fallback path for implementations that don't provide a .pc file +AS_IF([test "x$LIBGLVND" = "xyes"], [ + GLU_REQUIRES="libglvnd" + PKG_CHECK_MODULES(LIBGLVND, [opengl], [], [ + AC_CHECK_HEADER([GL/gl.h], + [], + AC_MSG_ERROR([libglvnd GL not found])) + AC_CHECK_LIB([OpenGL], + [glBegin], + [GL_LIBS=-lOpenGL], + AC_MSG_ERROR([libglvnd libOpenGL required])) + ]) +], [test "x$OSMESA" = "xyes"], [ GLU_REQUIRES="osmesa" PKG_CHECK_MODULES(OSMESA, [osmesa], [], [ - AC_CHECK_LIB([OSMesa], - [glBegin], - [OSMESA_LIBS=-lOSMesa], - AC_MSG_ERROR([OSMesa required])) - ]) -else + AC_CHECK_LIB([OSMesa], + [glBegin], + [OSMESA_LIBS=-lOSMesa], + AC_MSG_ERROR([OSMesa required])) + ]) +], [ GLU_REQUIRES="gl" PKG_CHECK_MODULES(GL, [gl], [], [ - AC_CHECK_HEADER([GL/gl.h], - [], - AC_MSG_ERROR([GL not found])) - AC_CHECK_LIB([GL], - [glBegin], - [GL_LIBS=-lGL], - AC_MSG_ERROR([GL required])) - ]) -fi + AC_CHECK_HEADER([GL/gl.h], + [], + AC_MSG_ERROR([GL not found])) + AC_CHECK_LIB([GL], + [glBegin], + [GL_LIBS=-lGL], + AC_MSG_ERROR([GL required])) + ]) +]) + AC_SUBST([GLU_REQUIRES]) dnl Set up C warning and visibility flags. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/include/GL/glu.h new/glu-9.0.2/include/GL/glu.h --- old/glu-9.0.1/include/GL/glu.h 2019-07-24 01:36:54.000000000 +0200 +++ new/glu-9.0.2/include/GL/glu.h 2021-06-24 23:36:59.000000000 +0200 @@ -31,10 +31,6 @@ #ifndef __glu_h__ #define __glu_h__ -#if defined(USE_MGL_NAMESPACE) -#include "glu_mangle.h" -#endif - #include <GL/gl.h> #ifndef GLAPIENTRY diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/include/GL/glu_mangle.h new/glu-9.0.2/include/GL/glu_mangle.h --- old/glu-9.0.1/include/GL/glu_mangle.h 2019-07-24 01:36:54.000000000 +0200 +++ new/glu-9.0.2/include/GL/glu_mangle.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,86 +0,0 @@ -/* - * Mesa 3-D graphics library - * Version: 3.0 - * Copyright (C) 1995-1998 Brian Paul - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#ifndef GLU_MANGLE_H -#define GLU_MANGLE_H - - -#define gluLookAt mgluLookAt -#define gluOrtho2D mgluOrtho2D -#define gluPerspective mgluPerspective -#define gluPickMatrix mgluPickMatrix -#define gluProject mgluProject -#define gluUnProject mgluUnProject -#define gluErrorString mgluErrorString -#define gluScaleImage mgluScaleImage -#define gluBuild1DMipmaps mgluBuild1DMipmaps -#define gluBuild2DMipmaps mgluBuild2DMipmaps -#define gluNewQuadric mgluNewQuadric -#define gluDeleteQuadric mgluDeleteQuadric -#define gluQuadricDrawStyle mgluQuadricDrawStyle -#define gluQuadricOrientation mgluQuadricOrientation -#define gluQuadricNormals mgluQuadricNormals -#define gluQuadricTexture mgluQuadricTexture -#define gluQuadricCallback mgluQuadricCallback -#define gluCylinder mgluCylinder -#define gluSphere mgluSphere -#define gluDisk mgluDisk -#define gluPartialDisk mgluPartialDisk -#define gluNewNurbsRenderer mgluNewNurbsRenderer -#define gluDeleteNurbsRenderer mgluDeleteNurbsRenderer -#define gluLoadSamplingMatrices mgluLoadSamplingMatrices -#define gluNurbsProperty mgluNurbsProperty -#define gluGetNurbsProperty mgluGetNurbsProperty -#define gluBeginCurve mgluBeginCurve -#define gluEndCurve mgluEndCurve -#define gluNurbsCurve mgluNurbsCurve -#define gluBeginSurface mgluBeginSurface -#define gluEndSurface mgluEndSurface -#define gluNurbsSurface mgluNurbsSurface -#define gluBeginTrim mgluBeginTrim -#define gluEndTrim mgluEndTrim -#define gluPwlCurve mgluPwlCurve -#define gluNurbsCallback mgluNurbsCallback -#define gluNewTess mgluNewTess -#define gluDeleteTess mgluDeleteTess -#define gluTessBeginPolygon mgluTessBeginPolygon -#define gluTessBeginContour mgluTessBeginContour -#define gluTessVertex mgluTessVertex -#define gluTessEndPolygon mgluTessEndPolygon -#define gluTessEndContour mgluTessEndContour -#define gluTessProperty mgluTessProperty -#define gluTessNormal mgluTessNormal -#define gluTessCallback mgluTessCallback -#define gluGetTessProperty mgluGetTessProperty -#define gluBeginPolygon mgluBeginPolygon -#define gluNextContour mgluNextContour -#define gluEndPolygon mgluEndPolygon -#define gluGetString mgluGetString -#define gluBuild1DMipmapLevels mgluBuild1DMipmapLevels -#define gluBuild2DMipmapLevels mgluBuild2DMipmapLevels -#define gluBuild3DMipmapLevels mgluBuild3DMipmapLevels -#define gluBuild3DMipmaps mgluBuild3DMipmaps -#define gluCheckExtension mgluCheckExtension -#define gluUnProject4 mgluUnProject4 -#define gluNurbsCallbackData mgluNurbsCallbackData -#define gluNurbsCallbackDataEXT mgluNurbsCallbackDataEXT - -#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/meson.build new/glu-9.0.2/meson.build --- old/glu-9.0.1/meson.build 1970-01-01 01:00:00.000000000 +0100 +++ new/glu-9.0.2/meson.build 2021-06-24 23:36:59.000000000 +0200 @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: MIT +# Copyright ?? 2021 Intel Corporation + +project( + 'glu', + ['c', 'cpp'], + version : '9.0.2', + meson_version : '>= 0.52.0', + license : 'SGI-B-1.1 AND SGI-B-2.0 AND MIT', + default_options : ['default_library=both', 'b_ndebug=if-release'] +) + +if get_option('debug') + add_project_arguments('-DDEBUG', language : ['c', 'cpp']) +endif + +gl_provider = get_option('gl_provider') +if gl_provider == 'glvnd' + gl_provider = 'opengl' +endif +dep_gl = dependency(gl_provider) + +inc_include = include_directories('include') + +subdir('src') + +install_headers( + 'include/GL/glu.h', + subdir : 'GL', +) + +pkgconf = import('pkgconfig') +pkgconf.generate( + libglu, + name : 'glu', + description : 'Mesa OpenGL Utility Library', +) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/meson_options.txt new/glu-9.0.2/meson_options.txt --- old/glu-9.0.1/meson_options.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/glu-9.0.2/meson_options.txt 2021-06-24 23:36:59.000000000 +0200 @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: MIT +# Copyright ?? 2021 Intel Corporation + +option( + 'gl_provider', + type : 'combo', + choices : ['glvnd', 'gl', 'osmesa'], + value : 'glvnd', + description : 'Which OpenGL to link with' +) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/missing new/glu-9.0.2/missing --- old/glu-9.0.1/missing 2019-07-24 01:37:01.000000000 +0200 +++ new/glu-9.0.2/missing 2021-06-24 23:37:04.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/src/libutil/error.c new/glu-9.0.2/src/libutil/error.c --- old/glu-9.0.1/src/libutil/error.c 2019-07-24 01:36:54.000000000 +0200 +++ new/glu-9.0.2/src/libutil/error.c 2021-06-24 23:36:59.000000000 +0200 @@ -48,8 +48,10 @@ { GL_STACK_OVERFLOW, "stack overflow" }, { GL_STACK_UNDERFLOW, "stack underflow" }, { GL_OUT_OF_MEMORY, "out of memory" }, +#ifdef GL_TABLE_TOO_LARGE { GL_TABLE_TOO_LARGE, "table too large" }, -#ifdef GL_EXT_framebuffer_object +#endif +#ifdef GL_INVALID_FRAMEBUFFER_OPERATION_EXT { GL_INVALID_FRAMEBUFFER_OPERATION_EXT, "invalid framebuffer operation" }, #endif /* GLU */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/glu-9.0.1/src/meson.build new/glu-9.0.2/src/meson.build --- old/glu-9.0.1/src/meson.build 1970-01-01 01:00:00.000000000 +0100 +++ new/glu-9.0.2/src/meson.build 2021-06-24 23:36:59.000000000 +0200 @@ -0,0 +1,116 @@ +# SPDX-License-Identifier: MIT +# Copyright ?? 2021 Intel Corporation + +libglu = library( + 'GLU', + [ + 'libutil/error.c', + 'libutil/glue.c', + 'libutil/mipmap.c', + 'libutil/project.c', + 'libutil/quad.c', + 'libutil/registry.c', + 'libtess/dict.c', + 'libtess/geom.c', + 'libtess/memalloc.c', + 'libtess/mesh.c', + 'libtess/normal.c', + 'libtess/priorityq.c', + 'libtess/render.c', + 'libtess/sweep.c', + 'libtess/tess.c', + 'libtess/tessmono.c', + 'libnurbs/interface/bezierEval.cc', + 'libnurbs/interface/bezierPatch.cc', + 'libnurbs/interface/bezierPatchMesh.cc', + 'libnurbs/interface/glcurveval.cc', + 'libnurbs/interface/glinterface.cc', + 'libnurbs/interface/glrenderer.cc', + 'libnurbs/interface/glsurfeval.cc', + 'libnurbs/interface/incurveeval.cc', + 'libnurbs/interface/insurfeval.cc', + 'libnurbs/internals/arc.cc', + 'libnurbs/internals/arcsorter.cc', + 'libnurbs/internals/arctess.cc', + 'libnurbs/internals/backend.cc', + 'libnurbs/internals/basiccrveval.cc', + 'libnurbs/internals/basicsurfeval.cc', + 'libnurbs/internals/bin.cc', + 'libnurbs/internals/bufpool.cc', + 'libnurbs/internals/cachingeval.cc', + 'libnurbs/internals/ccw.cc', + 'libnurbs/internals/coveandtiler.cc', + 'libnurbs/internals/curve.cc', + 'libnurbs/internals/curvelist.cc', + 'libnurbs/internals/curvesub.cc', + 'libnurbs/internals/dataTransform.cc', + 'libnurbs/internals/displaylist.cc', + 'libnurbs/internals/flist.cc', + 'libnurbs/internals/flistsorter.cc', + 'libnurbs/internals/hull.cc', + 'libnurbs/internals/intersect.cc', + 'libnurbs/internals/knotvector.cc', + 'libnurbs/internals/mapdesc.cc', + 'libnurbs/internals/mapdescv.cc', + 'libnurbs/internals/maplist.cc', + 'libnurbs/internals/mesher.cc', + 'libnurbs/internals/monoTriangulationBackend.cc', + 'libnurbs/internals/monotonizer.cc', + 'libnurbs/internals/mycode.cc', + 'libnurbs/internals/nurbsinterfac.cc', + 'libnurbs/internals/nurbstess.cc', + 'libnurbs/internals/patch.cc', + 'libnurbs/internals/patchlist.cc', + 'libnurbs/internals/quilt.cc', + 'libnurbs/internals/reader.cc', + 'libnurbs/internals/renderhints.cc', + 'libnurbs/internals/slicer.cc', + 'libnurbs/internals/sorter.cc', + 'libnurbs/internals/splitarcs.cc', + 'libnurbs/internals/subdivider.cc', + 'libnurbs/internals/tobezier.cc', + 'libnurbs/internals/trimline.cc', + 'libnurbs/internals/trimregion.cc', + 'libnurbs/internals/trimvertpool.cc', + 'libnurbs/internals/uarray.cc', + 'libnurbs/internals/varray.cc', + 'libnurbs/nurbtess/directedLine.cc', + 'libnurbs/nurbtess/gridWrap.cc', + 'libnurbs/nurbtess/monoChain.cc', + 'libnurbs/nurbtess/monoPolyPart.cc', + 'libnurbs/nurbtess/monoTriangulation.cc', + 'libnurbs/nurbtess/partitionX.cc', + 'libnurbs/nurbtess/partitionY.cc', + 'libnurbs/nurbtess/polyDBG.cc', + 'libnurbs/nurbtess/polyUtil.cc', + 'libnurbs/nurbtess/primitiveStream.cc', + 'libnurbs/nurbtess/quicksort.cc', + 'libnurbs/nurbtess/rectBlock.cc', + 'libnurbs/nurbtess/sampleComp.cc', + 'libnurbs/nurbtess/sampleCompBot.cc', + 'libnurbs/nurbtess/sampleCompRight.cc', + 'libnurbs/nurbtess/sampleCompTop.cc', + 'libnurbs/nurbtess/sampleMonoPoly.cc', + 'libnurbs/nurbtess/sampledLine.cc', + 'libnurbs/nurbtess/searchTree.cc', + ], + c_args : ['-DLIBRARYBUILD'], + cpp_args : ['-DLIBRARYBUILD'], + include_directories : [ + 'include', + 'libnurbs/internals', + 'libnurbs/interface', + 'libnurbs/nurbtess', + inc_include, + ], + gnu_symbol_visibility : 'hidden', + dependencies : [dep_gl], + version : '1.3.1', + install : true, +) + +# for subproject users +dep_glu = declare_dependency( + link_with : libglu, + include_directories : inc_include, +)
