public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libQGLViewer] epel10: New upstream version 2.5.1
@ 2026-11-30 13:54 Laurent Rineau
0 siblings, 0 replies; only message in thread
From: Laurent Rineau @ 2026-11-30 13:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libQGLViewer
Branch : epel10
Commit : 99badfdebd1e1ade8c284bd1a1b26afbf31e4493
Author : Laurent Rineau <laurent.rineau@cgal.org>
Date : 2014-03-04T15:50:38+01:00
Stats : +46/-118 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/libQGLViewer/c/99badfdebd1e1ade8c284bd1a1b26afbf31e4493?branch=epel10
Log:
New upstream version 2.5.1
- New upstream version.
- No latin1 files anymore.
- Patch2 (about <GL/glu.h>) is no longer needed.
- Use %{qmake_qt4}
- Disable strip
---
diff --git a/.gitignore b/.gitignore
index 8f192e4..f419a2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
libQGLViewer-2.3.6.tar.gz
/libQGLViewer-2.3.9.tar.gz
+/libQGLViewer-2.5.1.tar.gz
diff --git a/libQGLViewer-2.3.5-dbg.patch b/libQGLViewer-2.3.5-dbg.patch
deleted file mode 100644
index d7b1de1..0000000
--- a/libQGLViewer-2.3.5-dbg.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -up libQGLViewer-2.3.5/designerPlugin/designerPlugin.pro.dbg libQGLViewer-2.3.5/designerPlugin/designerPlugin.pro
---- libQGLViewer-2.3.5/designerPlugin/designerPlugin.pro.dbg 2010-04-20 15:33:21.000000000 +0200
-+++ libQGLViewer-2.3.5/designerPlugin/designerPlugin.pro 2010-04-20 15:33:26.000000000 +0200
-@@ -193,10 +193,6 @@ unix|win32-g++ {
- }
- }
-
-- # Remove debugging options
-- release:QMAKE_CFLAGS_RELEASE -= -g
-- release:QMAKE_CXXFLAGS_RELEASE -= -g
--
- # Intermediate files are created in an hidden folder
- MOC_DIR = .moc
- OBJECTS_DIR = .obj
-diff -up libQGLViewer-2.3.5/QGLViewer/QGLViewer.pro.dbg libQGLViewer-2.3.5/QGLViewer/QGLViewer.pro
---- libQGLViewer-2.3.5/QGLViewer/QGLViewer.pro.dbg 2010-04-20 15:32:59.000000000 +0200
-+++ libQGLViewer-2.3.5/QGLViewer/QGLViewer.pro 2010-04-20 15:33:08.000000000 +0200
-@@ -154,10 +154,6 @@ unix {
- QMAKE_COPY_FILE = $${QMAKE_COPY_FILE} -P
- }
-
-- # Make much smaller libraries (and packages) by removing debugging informations
-- QMAKE_CFLAGS_RELEASE -= -g
-- QMAKE_CXXFLAGS_RELEASE -= -g
--
- # install header
- include.path = $${INCLUDE_DIR}/QGLViewer
- include.files = $${QGL_HEADERS} qglviewer.cw $$replace(TRANSLATIONS, .ts, .qm)
diff --git a/libQGLViewer-2.3.6-dbg.patch b/libQGLViewer-2.3.6-dbg.patch
deleted file mode 100644
index 181262f..0000000
--- a/libQGLViewer-2.3.6-dbg.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -up libQGLViewer-2.3.6/designerPlugin/designerPlugin.pro.dbg libQGLViewer-2.3.6/designerPlugin/designerPlugin.pro
---- libQGLViewer-2.3.6/designerPlugin/designerPlugin.pro.dbg 2010-05-23 05:19:27.000000000 +0200
-+++ libQGLViewer-2.3.6/designerPlugin/designerPlugin.pro 2010-07-02 15:53:32.000000000 +0200
-@@ -172,10 +172,6 @@ unix|win32-g++ {
- }
- }
-
-- # Remove debugging options in release mode makes files much smaller
-- release:QMAKE_CFLAGS_RELEASE -= -g
-- release:QMAKE_CXXFLAGS_RELEASE -= -g
--
- # Intermediate files are created in an hidden folder
- MOC_DIR = .moc
- OBJECTS_DIR = .obj
-diff -up libQGLViewer-2.3.6/QGLViewer/QGLViewer.pro.dbg libQGLViewer-2.3.6/QGLViewer/QGLViewer.pro
---- libQGLViewer-2.3.6/QGLViewer/QGLViewer.pro.dbg 2010-05-23 05:19:18.000000000 +0200
-+++ libQGLViewer-2.3.6/QGLViewer/QGLViewer.pro 2010-07-02 15:53:58.000000000 +0200
-@@ -154,10 +154,6 @@ unix {
- QMAKE_COPY_FILE = $${QMAKE_COPY_FILE} -P
- }
-
-- # Make much smaller libraries (and packages) by removing debugging informations
-- QMAKE_CFLAGS_RELEASE -= -g
-- QMAKE_CXXFLAGS_RELEASE -= -g
--
- # install header
- include.path = $${INCLUDE_DIR}/QGLViewer
- # Should be $$replace(TRANSLATIONS, .ts, .qm), but 'replace' only appeared in Qt 4.3
diff --git a/libQGLViewer-2.3.9-glu.patch b/libQGLViewer-2.3.9-glu.patch
deleted file mode 100644
index 5391cf3..0000000
--- a/libQGLViewer-2.3.9-glu.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-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-2.5.1-dbg.patch b/libQGLViewer-2.5.1-dbg.patch
new file mode 100644
index 0000000..62477b0
--- /dev/null
+++ b/libQGLViewer-2.5.1-dbg.patch
@@ -0,0 +1,28 @@
+diff -up libQGLViewer-2.5.1/designerPlugin/designerPlugin.pro.dbg libQGLViewer-2.5.1/designerPlugin/designerPlugin.pro
+--- libQGLViewer-2.5.1/designerPlugin/designerPlugin.pro.dbg 2014-03-03 15:23:03.088757521 +0100
++++ libQGLViewer-2.5.1/designerPlugin/designerPlugin.pro 2014-03-03 15:24:52.053339361 +0100
+@@ -190,10 +190,6 @@ unix {
+ LIBS *= $${LIB_DIR}/$${LIB_NAME}
+ }
+
+- # Remove debugging options in release mode makes files much smaller
+- release:QMAKE_CFLAGS_RELEASE -= -g
+- release:QMAKE_CXXFLAGS_RELEASE -= -g
+-
+ # Intermediate files are created in an hidden folder
+ MOC_DIR = .moc
+ OBJECTS_DIR = .obj
+diff -up libQGLViewer-2.5.1/QGLViewer/QGLViewer.pro.dbg libQGLViewer-2.5.1/QGLViewer/QGLViewer.pro
+--- libQGLViewer-2.5.1/QGLViewer/QGLViewer.pro.dbg 2014-03-03 15:23:03.088757521 +0100
++++ libQGLViewer-2.5.1/QGLViewer/QGLViewer.pro 2014-03-03 15:24:34.277828336 +0100
+@@ -156,10 +156,6 @@ unix {
+ QMAKE_COPY_FILE = $${QMAKE_COPY_FILE} -P
+ }
+
+- # Make much smaller libraries (and packages) by removing debugging informations
+- QMAKE_CFLAGS_RELEASE -= -g
+- QMAKE_CXXFLAGS_RELEASE -= -g
+-
+ # install header
+ include.path = $${INCLUDE_DIR_}/QGLViewer
+ # Should be $$replace(TRANSLATIONS, .ts, .qm), but 'replace' only appeared in Qt 4.3
diff --git a/libQGLViewer.spec b/libQGLViewer.spec
index 53b7291..b48aa89 100644
--- a/libQGLViewer.spec
+++ b/libQGLViewer.spec
@@ -1,6 +1,6 @@
Name: libQGLViewer
-Version: 2.3.9
-Release: 8%{?dist}
+Version: 2.5.1
+Release: 2%{?dist}
Summary: Qt based OpenGL generic 3D viewer library
Group: System Environment/Libraries
@@ -14,10 +14,7 @@ Patch0: libQGLViewer-2.3.1-exit.patch
# libQGLViewer .pro files explicitely remove "-g" from compile flags. Make
# 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
+Patch1: libQGLViewer-2.5.1-dbg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -56,32 +53,13 @@ BuildArch: noarch
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .exit
%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 \
- examples/contribs/terrain/quadtree.cpp \
- examples/contribs/terrain/viewer.cpp \
- examples/contribs/quarto/piece.cpp \
- examples/contribs/dvonn/dvonnwindowimpl.cpp \
- examples/luxo/luxo.cpp \
- examples/contribs/quarto/jeu.cpp \
- examples/contribs/terrain/terrain.cpp \
- examples/contribs/quarto/rules.txt;
-do
- cp -a $f $f.bak
- rm -f $f
- sed -e 's/charset=iso-8859-1/charset=utf-8/' < $f.bak | iconv -f l1 -t utf8 > $f;
- touch -r $f.bak $f
- rm -f $f.bak
-done
%build
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
cd QGLViewer
-qmake-qt4 \
+%{qmake_qt4} \
LIB_DIR=%{_libdir} \
DOC_DIR=%{_pkgdocdir} \
INCLUDE_DIR=%{_includedir} \
@@ -93,13 +71,13 @@ qmake-qt4 \
make %{?_smp_mflags}
cd ../designerPlugin
-qmake-qt4 LIB_DIR=../QGLViewer
+%{qmake_qt4} LIB_DIR=../QGLViewer
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
cd QGLViewer
-make -f Makefile -e INSTALL_ROOT=$RPM_BUILD_ROOT install_target install_include
+make -f Makefile -e INSTALL_ROOT=$RPM_BUILD_ROOT install_target install_include STRIP=/usr/bin/true
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm $RPM_BUILD_ROOT%{_libdir}/libQGLViewer.prl
@@ -108,7 +86,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/libQGLViewer.so.?.? \
$RPM_BUILD_ROOT%{_libdir}/libQGLViewer.so.%{version}\\*
cd ../designerPlugin
-make -e INSTALL_ROOT=$RPM_BUILD_ROOT install
+make -e INSTALL_ROOT=$RPM_BUILD_ROOT install STRIP=/usr/bin/true
%clean
rm -rf $RPM_BUILD_ROOT
@@ -136,6 +114,15 @@ rm -rf $RPM_BUILD_ROOT
%doc examples
%changelog
+* Mon Mar 3 2014 Laurent Rineau <lrineau@renoir.geometryfactory.com> - 2.5.1-2
+- Use %%{qmake_qt4}
+- Disable 'strip'
+
+* Mon Mar 3 2014 Laurent Rineau <lrineau@renoir.geometryfactory.com> - 2.5.1-1
+- New upstream version.
+- No latin1 files anymore.
+- Patch2 (about <GL/glu.h>) is no longer needed.
+
* Tue Aug 6 2013 Laurent Rineau <lrineau@renoir.geometryfactory.com> - 2.3.9-8
- Honor %%{_pkgdocdir} where available.
See https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
diff --git a/sources b/sources
index affde2f..ceeb547 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a882cb3a8da4ee904a33b46ebb44f905 libQGLViewer-2.3.9.tar.gz
+7a7d117d9e72236bf8d398c4d9739f43 libQGLViewer-2.5.1.tar.gz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 13:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 13:54 [rpms/libQGLViewer] epel10: New upstream version 2.5.1 Laurent Rineau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox