Hello community,

here is the log from the commit of package ddd for openSUSE:Factory:NonFree 
checked in at 2012-06-13 13:31:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/ddd (Old)
 and      /work/SRC/openSUSE:Factory:NonFree/.ddd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ddd", Maintainer is "pgaj...@suse.com"

Changes:
--------
New Changes file:

--- /dev/null   2012-06-11 00:29:42.179570069 +0200
+++ /work/SRC/openSUSE:Factory:NonFree/.ddd.new/ddd.changes     2012-06-13 
13:31:04.000000000 +0200
@@ -0,0 +1,409 @@
+-------------------------------------------------------------------
+Tue Feb 21 14:13:39 UTC 2012 - pgaj...@suse.com
+
+- buildrequire xorg-x11
+
+-------------------------------------------------------------------
+Tue Dec 27 15:15:02 UTC 2011 - idon...@suse.com
+
+- Fix wrong size parameter in memcpy call 
+
+-------------------------------------------------------------------
+Tue Nov 22 12:20:20 UTC 2011 - pgaj...@suse.com
+
+- compile against libtinfo
+
+-------------------------------------------------------------------
+Tue Nov 15 09:40:46 UTC 2011 - pgaj...@suse.com
+
+- don't build html in parallel build
+
+-------------------------------------------------------------------
+Sun Sep 18 17:17:12 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+  (cf. packaging guidelines)
+- Use %_smp_mflags for parallel build
+
+-------------------------------------------------------------------
+Mon Sep  7 09:03:06 UTC 2009 - a...@suse.de
+
+- Build doc subpackage as noarch to save 6 MB on media.
+
+-------------------------------------------------------------------
+Thu Feb 26 17:45:38 CET 2009 - crrodrig...@suse.de
+
+- fix build with GCC44 
+
+-------------------------------------------------------------------
+Fri Feb 20 16:26:14 CET 2009 - mse...@suse.cz
+
+- updated to 3.3.12
+ - Consolidated support for pydb, bashdb and remake.
+- changes in 3.3.12-rc2
+ - DDD can once more locate its own core file when it crashes, even on
+   Linux systems where the core file may not be named "core".
+- changes in 3.3.12-rc1
+  - Fixed several segmentation faults.
+  - Fixed a few regressions affecting gdb support after merging the pydb
+    code.
+- changes in 3.3.12-test6
+  - Remove pydb in this directory. Use
+    http://bashdb.sourceforge.net/pydb instead
+  - fixed continue button for pydb
+  - Start informing ddd that bash and pydb now have (or will have in the
+    next release) "commands", and "display".
+  - LynxOS support via Olli Savia
+  - Add x86 theme for changing display expressions to x86 registers and
+    flag-bits. Change Data/Memory examine behavior when used on Intel
+    registers so that %reg is the same as $reg. 
+    Contributed by Zarko Zivanov.
+- changes in 3.3.12-test5
+  - Had broken gdb support
+  - Add vsllib/DEMOS into distribution
+  - Changes Makefiles to make "distcheck" or VPATH, or building outside
+    of source tree work better (It's still not complete though).
+  - GNU Make, Python pydb and bashdb support improved: 
+    * command completion for bashdb and pydb (via gdb "complete")
+    * possibly a better test for debuggers using "bashdb" (vs. "bash") 
+      and "remake" (vs. "make")
+    * pydb and bashdb also now have built-in "cd" and "pwd" commands - use
+      them.
+    * deal with bogus file name <string> that comes up in
+      tracebacks. Require a "run" to get pydb stack set correctly.
+- changes in 3.3.12-test4
+  - Minor bug fixes, mostly for Python support.
+- changes in 3.3.12-test3
+  - Extended python debugger support. Sort of a merge of pdb.py, ddd's old
+    pydb.py and new things.
+- changes in 3.3.12-test2
+  - GNU Make (mdb) support.
+- changes in 3.3.12-test
+  - Fixed a bug parsing the gdb annotations -- this should improve
+    the source code tracking accuracy.
+  - Fixed a bug where gdb annotations were sent to the command window.
+  - GNU Make debugger support
+  - Fixes to Bash debugger (remove stack movement crashes, show
+    breakpoints), better word parsing, e.g ${foo[@]}
+  - Fixed a couple of warnings.
+  - DDD now starts up much faster, and exits more cleanly (Doug Graham)
+  - DDD now builds and runs on LynxOS (Olli Savia)
+
+- splitted into two packages : ddd and ddd-doc
+
+-------------------------------------------------------------------
+Fri Sep 05 11:01:51 CEST 2008 - bwa...@suse.de
+
+- Fix UTF-8 warning to fit in a terminal with 80 characters wide.
+- Don't print the warning if ~/.ddd/suse_no_utf8_warning exists.
+
+-------------------------------------------------------------------
+Sun Apr  6 17:07:46 CEST 2008 - bwa...@suse.de
+
+- Add ghostscript-library to BuildRequires.
+
+-------------------------------------------------------------------
+Sun Aug 26 20:43:39 CEST 2007 - bwa...@suse.de
+
+- execute with argv[0] == ddd so that X ressources with 
+  ddd.???? still apply (#304021)
+
+-------------------------------------------------------------------
+Tue May 29 10:48:11 CEST 2007 - ano...@suse.cz
+
+- added wrapper to workaround [#254472]
+- updated README.SUSE
+
+-------------------------------------------------------------------
+Mon May 21 11:00:58 CEST 2007 - ano...@suse.cz
+
+- added README.SUSE explaning workaround for [#254472]
+
+-------------------------------------------------------------------
+Fri Mar 30 12:12:09 CEST 2007 - dmuel...@suse.de
+
+- add ncurses-devel buildrequires
+
+-------------------------------------------------------------------
+Tue Feb 27 15:00:47 CET 2007 - dmuel...@suse.de
+
+- reduce buildrequires
+
+-------------------------------------------------------------------
+Mon Feb 26 16:07:47 CET 2007 - stbin...@suse.de
+
+- fix build by including icon and .desktop into package
+
+-------------------------------------------------------------------
+Fri Jan 26 13:15:42 CET 2007 - r...@suse.de
+
+- replace ghostscript-mini by ghostscript_any in BuildReq (#119914) 
+
+-------------------------------------------------------------------
+Mon Aug  7 15:32:45 CEST 2006 - mma...@suse.cz
+
+- fixed app-defaults file location
+
+-------------------------------------------------------------------
+Thu May 18 02:23:42 CEST 2006 - r...@suse.de
+
+- added freetype2-devel to BuildRequires 
+
+-------------------------------------------------------------------
+Wed Jan 25 21:35:24 CET 2006 - m...@suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Fri Dec 16 12:53:21 CET 2005 - m...@suse.de
+
+- compile with -fno-strict-aliasing
+
+-------------------------------------------------------------------
+Tue Nov 29 17:35:02 CET 2005 - sbra...@suse.cz
+
+- Don't package icon already present in desktop-data-SuSE.
+  Cleans rpm -V output.
+
+-------------------------------------------------------------------
+Wed May 11 21:13:18 CEST 2005 - m...@suse.de
+
+- update to 3.3.11
+
+-------------------------------------------------------------------
+Fri Nov 26 15:06:39 CET 2004 - lti...@suse.cz
+
+- update to 3.3.10
+
+-------------------------------------------------------------------
+Thu Nov 18 14:15:44 CET 2004 - m...@suse.de
+
+- Add icon file
+- Don't remove buildroot before install
+
+-------------------------------------------------------------------
+Wed Oct 27 13:00:24 CEST 2004 - lti...@suse.cz
+
+- updated to 3.3.9
+
+-------------------------------------------------------------------
+Tue Jun 29 01:16:18 CEST 2004 - r...@suse.de
+
+- added libtiff to neededforbuild
+
+-------------------------------------------------------------------
+Mon Apr 26 01:10:46 CEST 2004 - r...@suse.de
+
+- use apache2
++++ 212 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory:NonFree/.ddd.new/ddd.changes

New:
----
  README.SUSE
  ddd-3.3.12-gcc44.patch
  ddd-3.3.12.tar.bz2
  ddd-wrong-memcpy.patch
  ddd.changes
  ddd.desktop
  ddd.png
  ddd.spec
  ddd.wrapper

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ddd.spec ++++++
#
# spec file for package ddd
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           ddd
BuildRequires:  ImageMagick
BuildRequires:  apache2-devel
BuildRequires:  freetype2-devel
BuildRequires:  gcc-c++
BuildRequires:  ghostscript-library
BuildRequires:  ghostscript_any
BuildRequires:  libapr-util1-devel
BuildRequires:  libtiff-devel
BuildRequires:  ncurses-devel
BuildRequires:  openmotif-devel
BuildRequires:  pcre-devel
BuildRequires:  transfig
BuildRequires:  update-desktop-files
BuildRequires:  xorg-x11
Requires:       gdb
Version:        3.3.12
Release:        0
Summary:        Debugger with Graphical User Interface
License:        GPL-2.0+ ; LGPL-2.1+
Group:          Development/Tools/Debuggers
Url:            http://www.gnu.org/software/ddd
Source:         ddd-%{version}.tar.bz2
Source1:        ddd.png
Source2:        ddd.desktop
Source3:        README.SUSE
Source4:        ddd.wrapper
Patch0:         ddd-3.3.12-gcc44.patch
Patch1:         ddd-wrong-memcpy.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %install_info_prereq
# NOTE: We don't want this dependency and desktop-data-SuSE is in all
# desktop selections.
#Requires:    desktop-data-SuSE

%description
The DDD debugger (Data Display Debugger) is a comfortable GUI to the
well-known debuggers GDB and DBX. Data structures can be represented as
graphs and shown interactively. Programs can be debugged in C, C++,
Pascal, MODULA-2, FORTRAN, ADA, and even at the assembler code level.

%package doc
Summary:        Debugger with Graphical User Interface
Group:          Development/Tools/Debuggers
%if %suse_version > 1110
BuildArch:      noarch
%endif

%description doc
The DDD debugger (Data Display Debugger) is a comfortable GUI to the
well-known debuggers GDB and DBX. Data structures can be represented as
graphs and shown interactively. Programs can be debugged in C, C++,
Pascal, MODULA-2, FORTRAN, ADA, and even at the assembler code level.

%prep
%define apache_docroot %(apxs2 -q PREFIX)/htdocs
%setup -q
%patch0
%patch1 -p1

%build
cp %{S:3} .
%if %suse_version > 1210
%configure --with-termlib=tinfo
%else
%configure
%endif
make %{?_smp_mflags} all 
make html

%install
%makeinstall
mkdir -p  $RPM_BUILD_ROOT/usr/share/X11/app-defaults/
install -m 644 ddd/Ddd $RPM_BUILD_ROOT/usr/share/X11/app-defaults/
install -m 755 -d $RPM_BUILD_ROOT/usr/share/doc/packages/%{name}/
mkdir -p doc/html/PICS
cp -a ddd/PICS/*.jpg doc/html/PICS
cp -a ddd/style.css doc/html
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/pixmaps/
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/applications/
mv $RPM_BUILD_ROOT/usr/bin/ddd $RPM_BUILD_ROOT/usr/bin/ddd.org
install %{SOURCE4} $RPM_BUILD_ROOT/usr/bin/ddd
%suse_update_desktop_file ddd

%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/ddd-themes.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ddd-themes.info.gz

%files
%defattr(-, root, root)
%doc AUTHORS COPYING INSTALL NEWS README TIPS TODO README.SUSE
%config /usr/share/X11/app-defaults/Ddd
%attr(755, root, root) /usr/bin/ddd.org
%attr(755, root, root) /usr/bin/ddd
%{_mandir}/man1/ddd.*
%{_infodir}/ddd*
/usr/share/ddd-%{version}/ 
/usr/share/applications/ddd.desktop
/usr/share/pixmaps/ddd.png
%exclude /usr/share/ddd-%{version}/NEWS
%exclude /usr/share/ddd-%{version}/COPYING
%exclude /usr/share/ddd-%{version}/ddd/Ddd

%files doc
%defattr(-,root,root,-)
%doc doc/ddd-paper.ps doc/*.pdf doc/html

%changelog
++++++ README.SUSE ++++++
README.SUSE for ddd
===================

ddd has problems when presenting UTF-8 strings with non-ascii characters.
Unfortunately, locales in SUSE are set to use UFT-8 encoding by default.

We use a wrapper script to workaround this issue. If you run ddd, the UTF-8
locales will be switched off. To bypass the wrapper use:
ddd -x [parameters for ddd]

If you think that warning is annoying, you can turn it off by executing

    $ touch ~/.ddd/suse_no_utf8_warning

in a shell.

Further information can be found at:
bugzilla.novell.com, bug #254472
++++++ ddd-3.3.12-gcc44.patch ++++++
Index: ddd/strclass.C
===================================================================
--- ddd/strclass.C.orig 2009-02-11 18:25:06.000000000 +0100
+++ ddd/strclass.C      2009-02-26 17:04:12.000000000 +0100
@@ -35,6 +35,7 @@ extern "C" int malloc_verify();
 
 #include "strclass.h"
 #include "config.h"
+#include <stdio.h>
 #include <ctype.h>
 #include <limits.h>
 #include <new>
++++++ ddd-wrong-memcpy.patch ++++++
Index: ddd-3.3.12/ddd/ddd.C
===================================================================
--- ddd-3.3.12.orig/ddd/ddd.C
+++ ddd-3.3.12/ddd/ddd.C
@@ -5822,7 +5822,7 @@ struct WhenReadyInfo {
        }
        else
        {
-           memcpy(cbs.event, c.event, sizeof(cbs.event));
+           memcpy(cbs.event, c.event, sizeof(XEvent));
            cbs.event = &event;
        }
     }
++++++ ddd.desktop ++++++
[Desktop Entry]
Categories=Development;Debugger
Encoding=UTF-8
Exec=ddd
Type=Application
GenericName=Data Display Debugger
Name=DDD
X-KDE-StartupNotify=true
Icon=ddd
++++++ ddd.wrapper ++++++
#!/bin/sh
#
# The wrapper script to switch off UTF-8 locales when running ddd
# See README.SUSE for further information
#

if [ "x$1" = 'x-x' ]; then
        shift
else
        case "`locale charmap 2>/dev/null`" in
                UTF-8)
            if ! [ -f "$HOME/.ddd/suse_no_utf8_warning" ] ; then
                    echo >&2 "WARNING:"
                echo >&2 "UTF-8 charmap detected. Switching off UTF-8 as ddd 
has problems with it. See"
                echo >&2 "README.SUSE for futher information. Use -x parameter 
to bypass this wrapper."
            fi
                tmplang=${LC_ALL-${LC_CTYPE-${LANG-POSIX}}}
                export LC_ALL=${tmplang%%.*}            
                ;;              
        esac
fi
exec -a ddd /usr/bin/ddd.org "$@"

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to