public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Laurent Rineau <rineau@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libQGLViewer] epel10.3: - Add a patch, so that "-g" flags are not removed.
Date: Mon, 30 Nov 2026 13:57:05 GMT [thread overview]
Message-ID: <179604702543.1.12277873200469630018.rpms-libQGLViewer-8378af37b194@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libQGLViewer
Branch : epel10.3
Commit : 8378af37b1947c37dd4da5253eb340883f0050f9
Author : Laurent Rineau <rineau@fedoraproject.org>
Date : 2009-04-02T12:54:52+00:00
Stats : +37/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/libQGLViewer/c/8378af37b1947c37dd4da5253eb340883f0050f9?branch=epel10.3
Log:
- Add a patch, so that "-g" flags are not removed.
---
diff --git a/libQGLViewer-2.3.1-dbg.patch b/libQGLViewer-2.3.1-dbg.patch
new file mode 100644
index 0000000..764b210
--- /dev/null
+++ b/libQGLViewer-2.3.1-dbg.patch
@@ -0,0 +1,28 @@
+diff -up libQGLViewer-2.3.1/designerPlugin/designerPlugin.pro.dbg libQGLViewer-2.3.1/designerPlugin/designerPlugin.pro
+--- libQGLViewer-2.3.1/designerPlugin/designerPlugin.pro.dbg 2009-04-01 16:52:24.000000000 +0200
++++ libQGLViewer-2.3.1/designerPlugin/designerPlugin.pro 2009-04-01 16:52:32.000000000 +0200
+@@ -130,10 +130,6 @@ unix|win32-g++ {
+ CONFIG -= thread
+ }
+
+- # 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.1/QGLViewer/QGLViewer.pro.dbg libQGLViewer-2.3.1/QGLViewer/QGLViewer.pro
+--- libQGLViewer-2.3.1/QGLViewer/QGLViewer.pro.dbg 2009-04-01 16:50:42.000000000 +0200
++++ libQGLViewer-2.3.1/QGLViewer/QGLViewer.pro 2009-04-01 16:50:51.000000000 +0200
+@@ -144,10 +144,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 = $${HEADERS} qglviewer.cw qglviewer_*.qm
diff --git a/libQGLViewer.spec b/libQGLViewer.spec
index 92bc963..531cca4 100644
--- a/libQGLViewer.spec
+++ b/libQGLViewer.spec
@@ -1,6 +1,6 @@
Name: libQGLViewer
Version: 2.3.1
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Qt based OpenGL generic 3D viewer library
Group: System Environment/Libraries
@@ -12,6 +12,10 @@ Source0: http://www.libqglviewer.com/src/%{name}-%{version}.tar.gz
# Use abort() instead.
Patch0: libQGLViewer-2.3.1-exit.patch
+# libQGLViewer .pro files explicitely remove "-g" from compile flags. Make
+# them back.
+Patch1: libQGLViewer-2.3.1-dbg.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt4-devel
@@ -47,6 +51,7 @@ Requires: %{name} = %{version}-%{release}
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .exit
+%patch1 -p1 -b .dbg
# Fix the encoding of several files, so that they all use utf-8.
for f in doc/*.html doc/examples/*.html \
@@ -112,6 +117,9 @@ rm -rf $RPM_BUILD_ROOT
%doc examples
%changelog
+* Wed Apr 1 2009 Laurent Rineau <Laurent.Rineau__fedora@normalesup.org> - 2.3.1-8
+- Add a patch, so that "-g" flags are not removed.
+
* Mon Mar 30 2009 <Laurent.Rineau__fedora@normalesup.org> - 2.3.1-7
- Remove glibc-common from BR:
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=179604702543.1.12277873200469630018.rpms-libQGLViewer-8378af37b194@fedoraproject.org \
--to=rineau@fedoraproject.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