From f862478404eec5108b668143ab82df465f01901d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sat, 30 Nov 2013 10:42:47 +0100 Subject: [PATCH] 6918: try to limit lintian messages by merging Ross Gammon's work on Debian packaging --- debian/README.Debian | 18 +- debian/compat | 2 +- debian/control | 29 ++-- debian/copyright | 379 +++++++++++++++-------------------------- debian/gramps.docs | 1 - debian/gramps.manpages | 2 +- debian/gramps.postinst | 8 +- debian/gramps.postrm | 8 +- debian/rules | 15 +- debian/watch | 3 + 10 files changed, 187 insertions(+), 278 deletions(-) create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian index f32595ca0..fcf1faea0 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -1,18 +1,6 @@ gramps for Debian ----------------------- +----------------- -This is the Debian package of GRAMPS. +python-webkit is "Suggested" as upstream states it as optional in their README file. According to upstream, webkit needs to be tested for stability for Gramps (it is used in the hidden HTML View). If it is unstable, it may be necessary to revert to gecko (python-gtkmozembed). -Regarding the extra dependencies: - -Recommends: graphviz - Enable creation of graphs -Recommends: python-gtkmozembed -Recommends: python-webkit - Enable html rendering for Geographic view and Web view. If both - are installed webkit will be used. python-gtkmozembed may be more - stable. -Suggests: ttf-freefont - Allows more fonts in reports -Suggests: python-gtkspell python-enchant - allows spell checking in the notes. Both need to be installed. + -- Ross Gammon Wed, 23 Oct 2013 21:24:00 +0200 diff --git a/debian/compat b/debian/compat index 7f8f011eb..ec635144f 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/control b/debian/control index 7d9a2cec7..e666d66fd 100644 --- a/debian/control +++ b/debian/control @@ -1,17 +1,24 @@ Source: gramps -Maintainer: Gramps Development Team -Section: python +Section: gnome Priority: optional -Build-Depends-Indep: libxml-parser-perl, gettext, intltool -Build-Depends: python-all (>= 2.7.0), debhelper (>= 7.4.3) -Standards-Version: 3.9.1 +Maintainer: Ross Gammon +Build-Depends-Indep: libxml-parser-perl, python-gtk2, gettext, python, intltool +Build-Depends: debhelper (>= 9.0.0) +Standards-Version: 3.9.5 +Vcs-Git: git://anonscm.debian.org/collab-maint/gramps.git +Vcs-browser: http://anonscm.debian.org/git/collab-maint/gramps.git Homepage: http://www.gramps-project.org/ Package: gramps Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-gobject (>= 3.3.2), librsvg2-2 -Recommends: python-pyicu, python-osmgpsmap, graphviz, xdg-utils -Suggests: ttf-freefont, python-gtkspell, libgexiv2-1, rcs, python-imaging, python-pygoocanvas -Description: (Genealogical Research and Analysis Management - Programming System) is a full featured genealogy program supporting - a Python based plugin system. +Depends: ${python:Depends}, librsvg2-common, python-gtk2, xdg-utils, python-pyexiv2, python-osmgpsmap, ${misc:Depends} +Recommends: graphviz, python-pyicu +Suggests: ttf-freefont, python-gtkspell, python-pygoocanvas, python-webkit +Description: Genealogical research program + GRAMPS is an Open Source genealogy program written in Python, using + the GTK/GNOME interface. It is an extremely flexible program fitting + the needs for both the amateur genealogist and serious genealogical + researcher. + GRAMPS has the ability to import GEDCOM files exported from many + proprietary genealogy programs and can produce a large number of + reports in many popular formats. diff --git a/debian/copyright b/debian/copyright index ee64ac292..d211dab65 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,251 +1,144 @@ -This package was originally debianized by Brandon L. Griffith - on Sat, 19 May 2001 13:37:24 -0400. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Gramps +Source: http://gramps-project.org -The current Debian maintainer is James A. Treacy +Files: * +Copyright: 2000-2002, Bruce J. DeGrasse + 2000-2008, Donald N. Allingham + 2000-2007, Martin Hawlisch + 2001, Andrés Sepúlveda + 2001, David R. Hampton + 2001-2013, Free Software Foundation, Inc. + 2001, Jesper Zedlitz + 2001-2013, the Gramps Project + 2002, Gary Shao + 2003-2006, Josiah Carlson + 2004-2006, Eero Tamminen + 2004-2013, Julio Sánchez + 2004, Toshio Kuratomi + 2005-2011, Serge Noiraud + 2000-2007, Alex Roitman + 2006-2011, Brian G. Matherly + 2007-2011, Benny Malengier + 2007-2012, Douglas S. Blank + 2007-2012, Gary Burton + 2007-2011, Jerome Rapinat + 2007, Johan Gronqvist + 2007, Robert Cawley + 2007-2009, Stephane Charette + 2007, Thom Sturgill + 2007-2008, Zsolt Foldvari + 2008-2010, 2012, Craig J. Anderson + 2008-2009, James Friedmann + 2008-2009, Jason Simanek + 2008-2011, Kees Bakker + 2008, Lukasz Rymarczyk + 2008-2010, Peter G. Landgren + 2008, 2010, Raphael Ackermann + 2008-2011, Reinhard Mueller + 2008, 2011, Robert Cheramy + 2008-2012, Rob G. Healey + 2008, Stefan Siegel + 2009-2010, Andrew I Baznikin + 2009, 2011, The Dojo Foundation + 2009, Florian Heinle + 2009, Gerald W. Britton + 2009, 2011, John Resig + 2009-2013, Nick Hall + 2009, Pander Musubi + 2009, Robert Ham + 2009-2010, Stephen George + 2009, Swoon on bug tracker + 2009, Yevgeny Zegzda + 2010, Gramps + 2010, Jakim Friant + 2010, Josip + 2010, lcc & Robert Jerome + 2010-2012, Michiel D. Nauta + 2010-2013, Tim G L Lyons + 2010-2011, Vlada Perić + 2011, Adam Stein + 2011, 2013 Heinz Brinker + 2011, Helge Herz + 2011, John Ralls + 2011, Matt Keenan + 2011-2013, Paul Franklin + 2012, Mathieu MD + 2013, Fedir Zinchuk + 2013, Oleh Petrivk + 2013, Vassilii Khachaturov + 2013, Zissis Papadopoulos +License: GPL-2+ -It was downloaded from http://gramps-project.org +Files: debian/* +Copyright: 2001-2002, Brandon L. Griffith + 2002, Alex Roitman + 2002-2012, James A. Treacy + 2013, Ross Gammon +License: GPL-2+ -Upstream Authors: - Donald N. Allingham, Alexander Roitman, Martin Hawlisch, Richard Taylor, - Brian Matherly, Tim Waugh, Donald A. Peterson, David Hampton +Files: src/plugins/webstuff/js/jquery-ui-1.7.2.custom.min.js +Copyright: 2009, jQuery UI Team (http://jqueryui.com/about/) +License: MIT and GPL-2 -======================================================== -Copyright: 2001-2006 Donald N. Allingham - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. +Files: src/plugins/webstuff/js/jquery-1.7.1.js +Copyright: 2009, jQuery UI Team (http://jqueryui.com/about/) +License: MIT and GPL-2 - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. +Files: src/plugins/webstuff/js/jquery-1.3.2.min.js +Copyright: 2009, jQuery UI Team (http://jqueryui.com/about/) +License: MIT and GPL-2 - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 only of the License. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. -On Debian systems, the complete text of the GNU General Public -License can be found in /usr/share/common-licenses/GPL +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. -======================================================== -The files in help/C directory are Copyright 2006 Alexander Roitman - This documentation is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This documentation is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The files in help/fr directory are Copyright 2003-2006 Jerome Rapinat - This documentation is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This documentation is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The data/grampsxml.dtd file is Copyright 2001 Graham J. William - and Copyright 2000-2006 Donald N. Allingham - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The src/TreeTips.py file is Copyright 2004 Toshio Kuratomi - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The src/data/fdl.txt file is Copyright 2000,2001,2002 - Free Software Foundation, Inc. - 59 Temple Place, Suite 330, - Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -======================================================== -The file src/docgen/ODFDoc.py file is Copyright 2005-2006 Serge Noiraud - and Copyright 2005-2006 Donald N. Allingham - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The file src/Mime/_WinMime.py file is Copyright 2006 Brian Matherly - and Copyright 2006 Donald N. Allingham - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The src/plugins/Ancestors.py file is Copyright 2003 Tim Waugh - and Copyright 2003-2006 Donald N. Allingham - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The src/plugins/CountAncestors.py file is Copyright 2001 Jesper Zedlitz - and Copyright 2001-2006 Donald N. Allingham - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The files: - src/plugins/DetAncestralReport.py - src/plugins/DetDescendantReport.py -are Copyright 2000-2002 Bruce J. DeGrasse -and Copyright 2002-2006 Donald N. Allingham - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The files: - src/date_test.py - src/DataViews/_PedigreeView.py - src/plugins/DumpGenderStats.py - src/plugins/ExportVCalendar.py - src/plugins/ExportVCard.py - src/plugins/ImportGeneWeb.py - src/plugins/ImportvCard.py - src/plugins/TestcaseGenerator.py - src/plugins/WriteGeneWeb.py -are Copyright 2001-2006 Martin Hawlisch, Donald N. Allingham - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA - -======================================================== -The files: - src/ReportBase/__init__.py - src/ReportBase/_Report.py -are Copyright 2001 David R. Hampton -and Copyright 2001-2006 Donald N. Allingham - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License with - the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA 02111-1307 USA +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. diff --git a/debian/gramps.docs b/debian/gramps.docs index f8e4e3daf..c17f03764 100644 --- a/debian/gramps.docs +++ b/debian/gramps.docs @@ -1,5 +1,4 @@ AUTHORS -FAQ NEWS README TODO diff --git a/debian/gramps.manpages b/debian/gramps.manpages index 7c619bdac..a8e9b0cf8 100644 --- a/debian/gramps.manpages +++ b/debian/gramps.manpages @@ -1 +1 @@ -data/man/gramps.1.in +data/man/gramps.1 diff --git a/debian/gramps.postinst b/debian/gramps.postinst index 07fe0c204..cc80d761b 100644 --- a/debian/gramps.postinst +++ b/debian/gramps.postinst @@ -1,3 +1,9 @@ -#!/bin/sh -e +#!/bin/sh +set -e + +# Update mime database postinst +if [ -x /usr/sbin/update-mime-database ]; then + update-mime-database /usr/share/mime +fi #DEBHELPER# diff --git a/debian/gramps.postrm b/debian/gramps.postrm index 07fe0c204..5101b7fb2 100644 --- a/debian/gramps.postrm +++ b/debian/gramps.postrm @@ -1,3 +1,9 @@ -#!/bin/sh -e +#!/bin/sh +set -e + +# Update mime database postrm +if [ -x /usr/sbin/update-mime-database ]; then + update-mime-database /usr/share/mime +fi #DEBHELPER# diff --git a/debian/rules b/debian/rules index fb6b2aee6..f0440224c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,16 @@ #!/usr/bin/make -f - -# This file was automatically generated by stdeb 0.6.0+git at -# Sun, 31 Mar 2013 16:54:38 +0200 +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +#export DH_OPTIONS=-v %: - dh $@ --with python2 --buildsystem=python_distutils + dh $@ --with python2 +# Remove COPYING file (duplicates standard copyright) +override_dh_install: + dh_install + rm debian/gramps/usr/share/gramps/COPYING +# Test packager mode to avoid installing mime type +override_dh_auto_configure: + dh_auto_configure -- --enable-packager-mode diff --git a/debian/watch b/debian/watch new file mode 100644 index 000000000..14f6f4141 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/gramps/gramps-(.+)\.tar\.gz