Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
3cd50132c2
!5 update version to 9.0.3
From: @konglidong 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-12-27 08:31:29 +00:00
konglidong
831bdfb759 update version to 9.0.3 2023-12-27 15:08:46 +08:00
openeuler-ci-bot
842b647910 !3 upgrade to 9.0.2
From: @kerongw
Reviewed-by: @small_leek,@zzm_567,@yanan-rock
Signed-off-by: @yanan-rock
2021-12-06 10:46:49 +00:00
wangkerong
f1a88248d5 update to 9.0.2 2021-12-01 10:44:42 +08:00
openeuler-ci-bot
2f5e6eef9e !2 add yaml file in package
Merge pull request !2 from gaoch_100/master
2020-07-21 12:00:32 +08:00
gaochao_100
04f94ac6bf add yaml file in package 2020-06-11 20:16:36 +08:00
openeuler-ci-bot
4868722e15 !1 update to 9.0.1
Merge pull request !1 from yanan-rock/test_ci
2020-01-14 14:36:02 +08:00
yanan-rock
18261250ce update software to 9.0.1 2020-01-09 16:35:01 +08:00
dogsheng
39a70fa379 Package init 2019-12-14 14:41:35 +08:00
zhuchunyi
ff5a29097e update code 2019-11-06 19:43:06 +08:00
7 changed files with 26 additions and 104 deletions

View File

@ -1,33 +0,0 @@
From bfdf99d6ff64b9c2d840e8a5767eaa57e4363c79 Mon Sep 17 00:00:00 2001
From: Mike Gorchak <mike.gorchak.qnx@gmail.com>
Date: Wed, 2 Jan 2013 13:39:50 -0700
Subject: [PATCH 1/2] glu: initialize PriorityQ::order field to NULL in
pqNewPriorityQ()
pqNewPriorityQ() function creates and setups PriorityQ structure, all
except for the field "order". It is filled later in function
pqInit(). Depending on vertices of polygon which must be tesselated
there possible following situation, pqDeletePriorityQ() is called
right after pqNewPriorityQ() function. pqNewPriorityQ() tries to free
memory using pq->order as pointer, which is unitialized at this point.
Signed-off-by: Brian Paul <brianp@vmware.com>
---
src/libtess/priorityq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libtess/priorityq.c b/src/libtess/priorityq.c
index c6b99cc..db7cd59 100644
--- a/src/libtess/priorityq.c
+++ b/src/libtess/priorityq.c
@@ -65,6 +65,7 @@ PriorityQ *pqNewPriorityQ( int (*leq)(PQkey key1, PQkey key2) )
return NULL;
}
+ pq->order = NULL;
pq->size = 0;
pq->max = INIT_SIZE;
pq->initialized = FALSE;
--
1.8.3.1

View File

@ -1,35 +0,0 @@
From 069211570c32a8d5848e127975a2943e9d8fc6b9 Mon Sep 17 00:00:00 2001
From: Matt Turner <mattst88@gmail.com>
Date: Thu, 21 Feb 2013 20:40:31 -0800
Subject: [PATCH 2/2] Add -D(N)DEBUG to CFLAGS dependent on --enable-debug
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Tested-by: Blaž Hrastnik <speed.the.bboy@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61003
---
configure.ac | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index cbfd047..45abf17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,9 +42,10 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_ARG_ENABLE(debug,
AS_HELP_STRING([--enable-debug],
[Enable debugging information]),
- [CFLAGS="$CFLAGS -g -O0"
- CXXFLAGS="$CXXFLAGS -g -O0"],
- [])
+ [CFLAGS="$CFLAGS -g -O0 -DDEBUG"
+ CXXFLAGS="$CXXFLAGS -g -O0 -DDEBUG"],
+ [CFLAGS="$CFLAGS -DNDEBUG"
+ CXXFLAGS="$CXXFLAGS -DNDEBUG"])
dnl Make sure the pkg-config macros are defined
m4_ifndef([PKG_PROG_PKG_CONFIG],
--
1.8.3.1

Binary file not shown.

BIN
glu-9.0.3.tar.xz Normal file

Binary file not shown.

View File

@ -1,22 +0,0 @@
#!/bin/sh
# Usage: ./make-git-snapshot.sh [COMMIT]
#
# to make a snapshot of the given tag/branch. Defaults to HEAD.
# Point env var REF to a local mesa repo to reduce clone time.
DIRNAME=glu-$( date +%Y%m%d )
echo REF ${REF:+--reference $REF}
echo DIRNAME $DIRNAME
echo HEAD ${1:-HEAD}
rm -rf $DIRNAME
git clone ${REF:+--reference $REF} \
git://git.freedesktop.org/git/mesa/glu $DIRNAME
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
| xz > $DIRNAME.tar.xz
# rm -rf $DIRNAME

View File

@ -1,18 +1,12 @@
Name: mesa-libGLU Name: mesa-libGLU
Version: 9.0.0 Version: 9.0.3
Release: 19 Release: 1
Summary: Mesa libGLU library Summary: Mesa libGLU library
License: MIT License: MIT
URL: https://mesa3d.org/ URL: https://mesa3d.org/
Source0: https://mesa.freedesktop.org/archive/glu/glu-%{version}.tar.bz2 Source0: https://mesa.freedesktop.org/archive/glu/glu-%{version}.tar.xz
# source1 comes from fedora 29
Source1: make-git-snapshot.sh
# patch0-1 comes from fedora 29 BuildRequires: autoconf automake gcc-c++ libtool mesa-libGL-devel libglvnd-devel meson
Patch0: 0001-glu-initialize-PriorityQ-order-field-to-NULL-in-pqNe.patch
Patch1: 0002-Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch
BuildRequires: autoconf automake gcc-c++ libtool mesa-libGL-devel
Provides: libGLU Provides: libGLU
%description %description
@ -30,12 +24,11 @@ The development package for %{name}.
%autosetup -n glu-%{version} -p1 %autosetup -n glu-%{version} -p1
%build %build
autoreconf -vif %meson -Dgl_provider=glvnd
%configure %meson_build
%make_build
%install %install
%make_install %meson_install
%delete_la %delete_la
%ldconfig_scriptlets %ldconfig_scriptlets
@ -49,6 +42,21 @@ autoreconf -vif
%{_libdir}/pkgconfig/glu.pc %{_libdir}/pkgconfig/glu.pc
%changelog %changelog
* Wed Dec 27 2023 konglidong <konglidong@uniontech.com> - 9.0.3-1
- update version to 9.0.3
* Wed Dec 01 2021 wangkerong <wangkerong@huawei.com> - 9.0.2-1
- update to 9.0.2
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 9.0.1-1
- update software to 9.0.1
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 9.0.0-20
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: Rebuilt spec.
* Fri Sep 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 9.0.0-19 * Fri Sep 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 9.0.0-19
- Type: enhancement - Type: enhancement
- ID: NA - ID: NA

4
mesa-libGLU.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://gitlab.freedesktop.org/mesa/glu.git
tag_prefix: ^glu-
seperator: .