packages: gdb/gdb.spec, gdb/buildid-locate-rpm-pld.patch (NEW) - notes abou...
glen
glen at pld-linux.org
Tue Dec 8 07:56:01 CET 2009
Author: glen Date: Tue Dec 8 06:56:01 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- notes about updating patches
- gdbtui linked to gdb
- parallel make broken in all senses
---- Files affected:
packages/gdb:
gdb.spec (1.118 -> 1.119) , buildid-locate-rpm-pld.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/gdb/gdb.spec
diff -u packages/gdb/gdb.spec:1.118 packages/gdb/gdb.spec:1.119
--- packages/gdb/gdb.spec:1.118 Tue Dec 8 07:38:03 2009
+++ packages/gdb/gdb.spec Tue Dec 8 07:55:56 2009
@@ -6,13 +6,13 @@
# TODO
# - python subpkg
# - remove hacks in python, use sys.lib, use standard python dirs
-# - gdbtui is as big as gdb, but different md5, some kind of duplicate?
-# - change yum install msg to poldek one in buildid-locate-rpm.patch
+# - change install msg to poldek in buildid-locate-rpm-pld.patch when poldek allows it. LP#493922
#
# Conditional build:
%bcond_without python # build without python support
%define snap 20090930
+%define rel 0.3
Summary: A GNU source-level debugger for C, C++ and Fortran
Summary(de.UTF-8): Symbolischer Debugger für C und andere Sprachen
Summary(es.UTF-8): Depurador de programas C y otras lenguajes
@@ -26,7 +26,7 @@
Summary(zh_TW.UTF-8): [.-A開發]C和.$)B其.-A他語.$)B言的調試器
Name: gdb
Version: 7.0
-Release: 0.7.fc12.0.1
+Release: 0.7.fc12.%{rel}
License: GPL v3+
Group: Development/Debuggers
Source0: http://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.bz2
@@ -36,13 +36,8 @@
Source4: libstdc++-v3-python-r151798.tar.bz2
# Source4-md5: 7507540c50a1edeb2fc22a37bc4a08b8
-# PLD
-Patch1000: %{name}-readline.patch
-Patch1001: %{name}-info.patch
-Patch1002: %{name}-passflags.patch
-Patch1005: %{name}-pretty-print-by-default.patch
-
# FEDORA -- use the same numbering that they do
+# don't ever modify these patches, apply secondary patch to alter it pld way
# use:'<,'>!grep -vE '^(\#|$)' in vim to filterout comments, spaces
Patch1: %{name}-6.3-rh-dummykfail-20041202.patch
Patch2: %{name}-6.3-rh-testversion-20041202.patch
@@ -155,6 +150,13 @@
Patch387: %{name}-bz539590-gnu-ifunc.patch
Patch388: %{name}-bz538626-bp_location-accel-bp-cond.patch
+# PLD patches
+Patch1000: %{name}-readline.patch
+Patch1001: %{name}-info.patch
+Patch1002: %{name}-passflags.patch
+Patch1005: %{name}-pretty-print-by-default.patch
+Patch1006: buildid-locate-rpm-pld.patch
+
URL: http://www.gnu.org/software/gdb/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
@@ -253,11 +255,6 @@
# libstdc++ pretty printers.
bzip2 -dc %{SOURCE4} | tar xf -
-%patch1000 -p1
-%patch1001 -p1
-%patch1002 -p1
-%patch1005 -p1
-
# Files have `# <number> <file>' statements breaking VPATH / find-debuginfo.sh .
rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c
rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
@@ -373,6 +370,13 @@
%patch388 -p1
%patch124 -p1
+# PLD patches
+%patch1000 -p1
+%patch1001 -p1
+%patch1002 -p1
+%patch1005 -p1
+%patch1006 -p1
+
mv $(basename %{SOURCE4} .tar.bz2) libstdcxxpython
%build
@@ -414,7 +418,7 @@
--without-x
%{__make} -j1
-%{__make} info
+%{__make} -j1 info
%install
rm -rf $RPM_BUILD_ROOT
@@ -423,6 +427,11 @@
%{__make} -j1 install install-info \
DESTDIR=$RPM_BUILD_ROOT
+# gdbtui seems all identical to gdb except when invoked as gdbtio, ncurses
+# window is created too.
+echo ".so gdb.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gdbtui.1
+ln -f $RPM_BUILD_ROOT%{_bindir}/{gdb,gdbtui}
+
bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
cp -a gdb/libgdb.a $RPM_BUILD_ROOT%{_libdir}
@@ -505,6 +514,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.119 2009/12/08 06:55:56 glen
+- notes about updating patches
+- gdbtui linked to gdb
+- parallel make broken in all senses
+
Revision 1.118 2009/12/08 06:38:03 glen
- update to gdb-7.0-7.fc12.src.rpm; but leave cactus patches as these seem newer
================================================================
Index: packages/gdb/buildid-locate-rpm-pld.patch
diff -u /dev/null packages/gdb/buildid-locate-rpm-pld.patch:1.1
--- /dev/null Tue Dec 8 07:56:01 2009
+++ packages/gdb/buildid-locate-rpm-pld.patch Tue Dec 8 07:55:56 2009
@@ -0,0 +1,13 @@
+--- gdb-7.0/gdb/symfile.c~ 2009-12-08 08:19:05.000000000 +0200
++++ gdb-7.0/gdb/symfile.c 2009-12-08 08:47:21.738081248 +0200
+@@ -2236,8 +2236,8 @@
+ fprintf_unfiltered (gdb_stdlog,
+ _("Missing separate debuginfo for %s\n"), binary);
+ if (debug != NULL)
+- fprintf_unfiltered (gdb_stdlog, _("Try: %s %s\n"),
+- "yum --enablerepo='*-debuginfo' install", debug);
++ fprintf_unfiltered (gdb_stdlog, _("Try to install package that provides `%s' file\n"),
++ debug);
+ }
+ }
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb.spec?r1=1.118&r2=1.119&f=u
More information about the pld-cvs-commit
mailing list