public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Laurent Rineau <Laurent.Rineau__emacs_git@normalesup.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libQGLViewer] epel10.3: New patch to include <GL/glu.h>. Needed on F17.
Date: Mon, 30 Nov 2026 13:57:13 GMT [thread overview]
Message-ID: <179604703351.1.14803719170001126695.rpms-libQGLViewer-8f81e05049b3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libQGLViewer
Branch : epel10.3
Commit : 8f81e05049b32d7156937225ec34505884695890
Author : Laurent Rineau <Laurent.Rineau__emacs_git@normalesup.org>
Date : 2012-02-09T17:54:48+01:00
Stats : +41/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/libQGLViewer/c/8f81e05049b32d7156937225ec34505884695890?branch=epel10.3
Log:
New patch to include <GL/glu.h>. Needed on F17.
---
diff --git a/libQGLViewer-2.3.9-glu.patch b/libQGLViewer-2.3.9-glu.patch
new file mode 100644
index 0000000..5391cf3
--- /dev/null
+++ b/libQGLViewer-2.3.9-glu.patch
@@ -0,0 +1,32 @@
+diff -up libQGLViewer-2.3.9/QGLViewer/camera.cpp~ libQGLViewer-2.3.9/QGLViewer/camera.cpp
+--- libQGLViewer-2.3.9/QGLViewer/camera.cpp~ 2010-12-06 10:42:47.000000000 +0100
++++ libQGLViewer-2.3.9/QGLViewer/camera.cpp 2012-02-09 17:49:49.543809979 +0100
+@@ -24,6 +24,12 @@
+ #include "camera.h"
+ #include "qglviewer.h"
+
++#ifdef Q_OS_MAC
++# include <OpenGL/glu.h>
++#else
++# include <GL/glu.h>
++#endif
++
+ using namespace std;
+ using namespace qglviewer;
+
+diff -up libQGLViewer-2.3.9/QGLViewer/qglviewer.cpp~ libQGLViewer-2.3.9/QGLViewer/qglviewer.cpp
+--- libQGLViewer-2.3.9/QGLViewer/qglviewer.cpp~ 2010-12-06 10:42:47.000000000 +0100
++++ libQGLViewer-2.3.9/QGLViewer/qglviewer.cpp 2012-02-09 17:50:07.895132873 +0100
+@@ -25,6 +25,12 @@
+ #include "camera.h"
+ #include "keyFrameInterpolator.h"
+
++#ifdef Q_OS_MAC
++# include <OpenGL/glu.h>
++#else
++# include <GL/glu.h>
++#endif
++
+ #if QT_VERSION >= 0x040000
+ # include <QtAlgorithms>
+ # include <QTextEdit>
diff --git a/libQGLViewer.spec b/libQGLViewer.spec
index 476d1b5..71c1bd3 100644
--- a/libQGLViewer.spec
+++ b/libQGLViewer.spec
@@ -1,6 +1,6 @@
Name: libQGLViewer
Version: 2.3.9
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Qt based OpenGL generic 3D viewer library
Group: System Environment/Libraries
@@ -16,6 +16,9 @@ Patch0: libQGLViewer-2.3.1-exit.patch
# them back.
Patch1: libQGLViewer-2.3.6-dbg.patch
+# Need to include <GL/glu.h> explicitely: <GL/glut.h> is no longer sufficent
+Patch2: libQGLViewer-2.3.9-glu.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt4-devel
@@ -52,7 +55,8 @@ BuildArch: noarch
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .exit
-%patch1 -p1 -b dbg
+%patch1 -p1 -b .dbg
+%patch2 -p1 -b .glu
# Fix the encoding of several files, so that they all use utf-8.
for f in doc/*.html doc/examples/*.html \
@@ -129,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
%doc examples
%changelog
+* Thu Feb 9 2012 Laurent Rineau <Laurent.Rineau__fedora@normalesup.org> - 2.3.9-3
+- New patch to include <GL/glu.h>. Needed on F17.
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
reply other threads:[~2026-11-30 13:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179604703351.1.14803719170001126695.rpms-libQGLViewer-8f81e05049b3@fedoraproject.org \
--to=laurent.rineau__emacs_git@normalesup.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox