rpms/libQGLViewer/devel libQGLViewer-2.3.1-dbg.patch, NONE, 1.1 libQGLViewer.spec, 1.2, 1.3

Laurent Rineau rineau at fedoraproject.org
Thu Apr 2 12:55:22 UTC 2009


Author: rineau

Update of /cvs/pkgs/rpms/libQGLViewer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31318

Modified Files:
	libQGLViewer.spec 
Added Files:
	libQGLViewer-2.3.1-dbg.patch 
Log Message:
* Wed Apr  1 2009 Laurent Rineau <Laurent.Rineau__fedora at normalesup.org> - 2.3.1-8
- Add a patch, so that "-g" flags are not removed.


libQGLViewer-2.3.1-dbg.patch:

--- NEW FILE libQGLViewer-2.3.1-dbg.patch ---
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


Index: libQGLViewer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libQGLViewer/devel/libQGLViewer.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libQGLViewer.spec	30 Mar 2009 21:59:37 -0000	1.2
+++ libQGLViewer.spec	2 Apr 2009 12:54:52 -0000	1.3
@@ -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 @@
 # 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 @@
 %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 @@
 %doc examples
 
 %changelog
+* Wed Apr  1 2009 Laurent Rineau <Laurent.Rineau__fedora at normalesup.org> - 2.3.1-8
+- Add a patch, so that "-g" flags are not removed.
+
 * Mon Mar 30 2009  <Laurent.Rineau__fedora at normalesup.org> - 2.3.1-7
 - Remove glibc-common from BR:
 




More information about the scm-commits mailing list