[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#767768: unblock: doxygen/1.8.8-5



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package doxygen

The 1.8.8-5 upload fixes two rc bugs:

 #762272: Doxygen segfaults while building src:efl. Resolve by
          cherry-picking upstream commit.
 #767658: src:doxygen FTBFS since dpkg no longer accepts the old
          Build-Profiles syntax.

Please find a .debdiff between jessie and sid attached. Unblock command
likely is:

unblock doxygen/1.8.8-5

Helmut
diff -Nru doxygen-1.8.8/debian/changelog doxygen-1.8.8/debian/changelog
--- doxygen-1.8.8/debian/changelog	2014-10-05 17:52:05.000000000 +0200
+++ doxygen-1.8.8/debian/changelog	2014-11-02 15:08:03.000000000 +0100
@@ -1,3 +1,10 @@
+doxygen (1.8.8-5) unstable; urgency=medium
+
+  * Cherry pick c83db38ea83499be19d9ff242bfa22ae534ee80c. (Closes: #762272)
+  * Fix FTBFS: Update syntax of Build-Profiles header. (Closes: #767658)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 02 Nov 2014 15:07:52 +0100
+
 doxygen (1.8.8-4) unstable; urgency=medium
 
   * Cherry pick 6d4044ad43ae1424a256eb1c26992301e7c64f4a. (Closes: #760700)
diff -Nru doxygen-1.8.8/debian/control doxygen-1.8.8/debian/control
--- doxygen-1.8.8/debian/control	2014-10-05 17:37:48.000000000 +0200
+++ doxygen-1.8.8/debian/control	2014-11-02 14:17:44.000000000 +0100
@@ -86,7 +86,7 @@
 Depends: doxygen, ${shlibs:Depends}, ${misc:Depends}
 Suggests: doxygen-doc
 Replaces: doxygen (<< 1.2.14)
-Build-Profiles: !stage1
+Build-Profiles: <!stage1>
 Description: GUI configuration tool for doxygen
  Doxygen is a documentation system for C, C++, Java, Objective-C, Python, IDL
  and to some extent PHP, C#, and D.  It can generate an on-line class browser
diff -Nru doxygen-1.8.8/debian/patches/fix-762272.diff doxygen-1.8.8/debian/patches/fix-762272.diff
--- doxygen-1.8.8/debian/patches/fix-762272.diff	1970-01-01 01:00:00.000000000 +0100
+++ doxygen-1.8.8/debian/patches/fix-762272.diff	2014-11-02 14:15:43.000000000 +0100
@@ -0,0 +1,76 @@
+From: Dimitri van Heesch <dimitri@stack.nl>
+Subject: Debian Bug 762272: segfault with cyclic subgroups
+Bug-Debian: https://bugs.debian.org/762272
+Last-Modified: 2014-11-02
+Origin: https://github.com/doxygen/doxygen/commits/c83db38ea83499be19d9ff242bfa22ae534ee80c
+
+Index: doxygen/src/groupdef.cpp
+===================================================================
+--- doxygen.orig/src/groupdef.cpp	2014-11-02 14:15:33.000000000 +0100
++++ doxygen/src/groupdef.cpp	2014-11-02 14:15:33.000000000 +0100
+@@ -510,7 +510,31 @@
+ 
+ bool GroupDef::containsGroup(const GroupDef *def)
+ {
+-    return this==def || groupList->find(def) >= 0;
++  if (this==def)
++  {
++    return TRUE;
++  }
++  else if (groupList->find(def)>=0)
++  {
++    return TRUE;
++  }
++  else // look for subgroups as well
++  {
++    GroupList *groups = partOfGroups();
++    if (groups)
++    {
++      GroupListIterator it(*groups);
++      GroupDef *gd;
++      for (;(gd=it.current());++it)
++      {
++        if (gd->containsGroup(def))
++        {
++          return TRUE;
++        }
++      }
++    }
++  }
++  return FALSE;
+ }
+ 
+ void GroupDef::addGroup(const GroupDef *def)
+@@ -1229,16 +1253,23 @@
+   for (;(g=gli.current());++gli)
+   {
+     GroupDef *gd=0;
+-    if (!g->groupname.isEmpty() && (gd=Doxygen::groupSDict->find(g->groupname)) &&
+-	!gd->containsGroup(subGroup) )
+-    {
+-      gd->addGroup(subGroup);
+-      subGroup->makePartOfGroup(gd);
+-    }
+-    else if (gd==subGroup)
++    if (!g->groupname.isEmpty() && (gd=Doxygen::groupSDict->find(g->groupname)))
+     {
+-      warn(root->fileName,root->startLine,"Trying to add group %s to itself!",
+-          gd->name().data());
++      if (gd==subGroup)
++      {
++        warn(root->fileName,root->startLine,"Refusing to add group %s to itself",
++            gd->name().data());
++      }
++      else if (gd->containsGroup(subGroup))
++      {
++        warn(root->fileName,root->startLine,"Refusing to add group %s to group %s, since the latter is already a "
++                                            "subgroup of the former\n", subGroup->name().data(),gd->name().data());
++      }
++      else
++      {
++        gd->addGroup(subGroup);
++        subGroup->makePartOfGroup(gd);
++      }
+     }
+   }
+ }
diff -Nru doxygen-1.8.8/debian/patches/series doxygen-1.8.8/debian/patches/series
--- doxygen-1.8.8/debian/patches/series	2014-10-05 16:56:26.000000000 +0200
+++ doxygen-1.8.8/debian/patches/series	2014-10-31 23:28:33.000000000 +0100
@@ -10,3 +10,4 @@
 clang-configure.diff
 sqlite3-configure.diff
 fix-760700.diff
+fix-762272.diff

Reply to: