rpms/nemiver/F-8 nemiver-make-libnemivercommon-global-lib.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 nemiver.spec, 1.5, 1.6 sources, 1.3, 1.4 nemiver-pid_t-fix-build.patch, 1.1, NONE

Peter Gordon (pgordon) fedora-extras-commits at redhat.com
Mon May 26 23:19:50 UTC 2008


Author: pgordon

Update of /cvs/pkgs/rpms/nemiver/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7859/F-8

Modified Files:
	.cvsignore nemiver.spec sources 
Added Files:
	nemiver-make-libnemivercommon-global-lib.patch 
Removed Files:
	nemiver-pid_t-fix-build.patch 
Log Message:
Update to 0.5.3

nemiver-make-libnemivercommon-global-lib.patch:

--- NEW FILE nemiver-make-libnemivercommon-global-lib.patch ---
diff -up ./src/common/Makefile.in.old ./src/common/Makefile.in
--- ./src/common/Makefile.in.old	2008-05-26 14:28:03.000000000 -0700
+++ ./src/common/Makefile.in	2008-05-26 14:29:09.000000000 -0700
@@ -17,7 +17,7 @@
 
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
+pkglibdir = $(libdir)
 pkgincludedir = $(includedir)/@PACKAGE@
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 install_sh_DATA = $(install_sh) -c -m 644
@@ -335,7 +335,7 @@ target_vendor = @target_vendor@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 nemivercommon_LTLIBRARIES = libnemivercommon.la
-nemivercommondir = $(libdir)/nemiver
+nemivercommondir = $(libdir)
 headers = \
 nmv-api-macros.h \
 nmv-namespace.h \
@@ -400,7 +400,6 @@ nmv-proc-mgr.cc
 publicheaders_DATA = $(headers)
 publicheadersdir = $(NEMIVER_INCLUDE_DIR)/common
 libnemivercommon_la_LDFLAGS = @NEMIVERCOMMON_LIBS@ -lutil \
-		-avoid-version -rpath $(libdir)/nemiver \
 		 -Wl,--as-needed
 
 pkgconfigdir = $(libdir)/pkgconfig
diff -up ./src/Makefile.in.old ./src/Makefile.in
--- ./src/Makefile.in.old	2008-05-26 14:29:22.000000000 -0700
+++ ./src/Makefile.in	2008-05-26 14:29:27.000000000 -0700
@@ -16,7 +16,7 @@
 
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
+pkglibdir = $(libdir)
 pkgincludedir = $(includedir)/@PACKAGE@
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 install_sh_DATA = $(install_sh) -c -m 644
diff -up ./Makefile.in.old ./Makefile.in
--- ./Makefile.in.old	2008-05-26 14:29:37.000000000 -0700
+++ ./Makefile.in	2008-05-26 14:29:43.000000000 -0700
@@ -16,7 +16,7 @@
 
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
+pkglibdir = $(libdir)
 pkgincludedir = $(includedir)/@PACKAGE@
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 install_sh_DATA = $(install_sh) -c -m 644


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/nemiver/F-8/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	4 Jun 2007 05:31:05 -0000	1.3
+++ .cvsignore	26 May 2008 23:19:07 -0000	1.4
@@ -1 +1 @@
-nemiver-0.4.0.tar.bz2
+nemiver-0.5.3.tar.bz2


Index: nemiver.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nemiver/F-8/nemiver.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- nemiver.spec	11 Jan 2008 04:42:41 -0000	1.5
+++ nemiver.spec	26 May 2008 23:19:07 -0000	1.6
@@ -1,31 +1,33 @@
 Name:		nemiver
-Version:	0.4.0
-Release:	3%{?dist}
+Version:	0.5.3
+Release:	1%{?dist}
 Summary:	A C/C++ Debugger for GNOME - point, click, debug!
 
 Group:		Development/Debuggers
 License:	GPLv2+
 URL:		http://home.gna.org/nemiver/
 
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.bz2
 
-Patch0: 	%{name}-pid_t-fix-build.patch
+## https://bugzilla.gnome.org/show_bug.cgi?id=534990
+Patch0: 	%{name}-make-libnemivercommon-global-lib.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:	libgtksourceviewmm-devel >= 0.3.0	
-BuildRequires:	gdb
 BuildRequires:	boost-devel
-BuildRequires:	gnome-vfs2-devel >= 2.14
-BuildRequires:	libgtop2-devel >= 2.14
-BuildRequires:	sqlite-devel >= 3.0
-BuildRequires:	vte-devel >= 0.12.0
-BuildRequires:	libglademm24-devel >= 2.6.0
 BuildRequires:	desktop-file-utils
+BuildRequires:	gdb
 BuildRequires:	gettext
-BuildRequires:	perl(XML::Parser)
 BuildRequires:	gnome-doc-utils >= 0.3.2
+BuildRequires:	gnome-vfs2-devel >= 2.14
+BuildRequires:	libglademm24-devel >= 2.6.0
 BuildRequires:	libgnome-devel >= 2.0
+BuildRequires:	libgtksourceviewmm-devel >= 0.3.0
+BuildRequires:	libgtop2-devel >= 2.14
+BuildRequires:	libtool
+BuildRequires:	perl(XML::Parser)
+BuildRequires:	sqlite-devel >= 3.0
+BuildRequires:	vte-devel >= 0.12.0
 
 Requires(pre):	GConf2
 
@@ -46,8 +48,10 @@
 Nemiver is an ongoing effort to write a standalone graphical debugger that
 integrates well in the GNOME desktop environment. It currently features a
 backend which uses the well known GNU Debugger (gdb) to debug C/C++ programs.
+
 The yelp package must be installed to make use of Nemiver's documentation.
 
+
 %package	devel
 Summary:	Development files for %{name}
 Group:		Development/Libraries
@@ -67,16 +71,15 @@
 
 %prep
 %setup -q
-%patch0 -b .fix-pid_t-build-errors
+%patch0 -b .make-libnemivercommon-global-lib 
 
 
 %build
+## The Memory View tool requires ghex >= 2.21.4, which F-8 does not have.
 %configure --disable-static --disable-schemas-install		\
-	--disable-scrollkeeper
-## Fix RPATH hardcoding.
-sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtool
-sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool
-make %{?_smp_mflags}
+	--disable-scrollkeeper	--disable-memoryview
+## Use system libtool to prevent build scripts from using RPATH hacks.
+make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool
 
 
 %install
@@ -130,16 +133,19 @@
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING COPYRIGHT NEWS README TODO 
-%{_bindir}/%{name}
+%exclude %{_libdir}/%{name}/modules/*.a
+%exclude %{_libdir}/*.a
 %exclude %{_libdir}/*.la
-%{_libdir}/libnemivercommon.so.*
+%{_bindir}/%{name}
 %{_libdir}/%{name}/
+%{_libdir}/libnemivercommon.so.*
 %{_sysconfdir}/gconf/schemas/%{name}-*.schemas
 %{_datadir}/applications/fedora-%{name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.*
 %{_datadir}/%{name}/
 %{_datadir}/omf/%{name}/
 %{_datadir}/gnome/help/%{name}/
+%{_mandir}/man?/%{name}.*
 
 %files devel
 %defattr(-,root,root,-)
@@ -150,6 +156,19 @@
 
 
 %changelog
+* Mon May 26 2008 Peter Gordon <peter at thecodergeek.com> - 0.5.3-1
+- Update to new upstream release (0.5.3)
+- Add upstream bug reference for make-libnemivercommon-global-lib patch. 
+- Add patch to keep the nemivercommon shared library in the global  %%_libdir,
+  rather that in a private directory therein. This allows other sources to
+  properly build against it without using nasty RPATH hacks, and also makes RPM
+  correctly add same-arch dependencies from the devel subpackage to the main
+  package via that unversioned binary symlink:
+  + make-libnemivercommon-global-lib.patch    
+- Drop upstreamed pid_t build fix:
+  - pid_t-fix-build.patch
+- Alphabetize dependency list (aesthetic-only change)
+
 * Thu Jan 10 2008 Peter Gordon <peter at thecodergeek.com> - 0.4.0-3
 - Make GConf scriplets quieter (bug 426801: "unclean" rpm transaction).
 - Add upstream patch to fix compile errors with casting from unsigned int*


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/nemiver/F-8/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	4 Jun 2007 05:31:05 -0000	1.3
+++ sources	26 May 2008 23:19:07 -0000	1.4
@@ -1 +1 @@
-0df4c48b0b1f09b46498a71344b4e3e8  nemiver-0.4.0.tar.bz2
+27a40f6dee264053ea70db344944a967  nemiver-0.5.3.tar.bz2


--- nemiver-pid_t-fix-build.patch DELETED ---




More information about the fedora-extras-commits mailing list