From 048f6d7f3358d83a017d995667dabd7f21275d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sat, 30 Nov 2013 11:15:11 +0100 Subject: [PATCH] Merge experimental python3 support (Ross Gammon - Debian packaging) --- debian/README.Debian | 18 +- debian/compat | 2 +- debian/control | 30 ++- debian/copyright | 529 +++++++++++++++++++++++------------------- debian/gbp.conf | 7 + debian/gramps.install | 1 + debian/rules | 22 +- debian/watch | 3 + 8 files changed, 351 insertions(+), 261 deletions(-) create mode 100644 debian/gbp.conf create mode 100644 debian/gramps.install create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian index f32595ca0..8a760b412 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -1,18 +1,10 @@ gramps for Debian ---------------------- -This is the Debian package of GRAMPS. +This is the Debian package of the 4.0 series of GRAMPS. -Regarding the extra dependencies: +It is a major update of Gramps to enable a switch to Python 3 as the default interpreter, +and to upgrade to GTK 3. A switch was also made to distutils from autotools. -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. +The 4.0 series of Gramps is being packaged for the experimental distribution until all dependencies are available +and it proves stable. 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..faefff557 100644 --- a/debian/control +++ b/debian/control @@ -1,17 +1,25 @@ 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, gettext, python3-all, intltool, dh-python, python3-setuptools +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/ +X-Python3-Version: >= 3.2 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: ${python3:Depends}, librsvg2-2, xdg-utils, python-gobject (>= 3.3.2), gir1.2-gtk-3.0, python3-gi-cairo, python3-bsddb3, ${misc:Depends} +Recommends: graphviz, python-pyicu +Suggests: ttf-freefont, python-gtkspell, rcs, python3-pil.imagetk, python-pygoocanvas, python-webkit, gir1.2-gexiv2-0.4 +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..652c70687 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,251 +1,314 @@ -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-2007, Alex Roitman + 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, Graham J. Williams + 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 + 2006-2011, Brian G. Matherly + 2006, 2008-2011, Kees Bakker + 2006-2008, Steve Hall + 2007-2012, 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, 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 + 2008-2010, Stephen George + 2009-2010, Andrew I Baznikin + 2009, 2011, The Dojo Foundation + 2009, Florian Heinle + 2009, Gerald W. Britton + 2009, Igal Shapira + 2009, 2011, John Resig + 2009-2013, Nick Hall + 2009, Pander Musubi + 2009, Robert Ham + 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-2012, Harald Rosemann + 2011, 2013, Heinz Brinker + 2011, Helge Herz + 2011, 2013 John Ralls + 2011, Matt Keenan + 2011-2013, Paul Franklin + 2012, Mathieu MD + 2012, Nicolas Adenis-Lamarre + 2013, Fedir Zinchuk + 2013, Oleh Petrivk + 2013, Vassilii Khachaturov + 2013, Zissis Papadopoulos +License: GPL-2+ -It was downloaded from http://gramps-project.org +Files: data/javascript/jquery-1.3.2.min.js +Copyright: 2009, John Resig +License: MIT and GPL -Upstream Authors: - Donald N. Allingham, Alexander Roitman, Martin Hawlisch, Richard Taylor, - Brian Matherly, Tim Waugh, Donald A. Peterson, David Hampton +Files: data/javascript/jquery-1.7.1.js +Copyright: 2011, John Resig + 2011, The Dojo Foundation +License: BSD and 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: data/javascript/jquery-ui-1.7.2.custom.min.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: data/javascript/jquery.flexbox* +Copyright: 2008-2010, Noah Heldman and Fairway Technologies +License: Ms-PL - 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 +Files: data/jhtmlarea/Readme.txt +Copyright: 2009, Chris Pietschmann +License: Ms-RL -On Debian systems, the complete text of the GNU General Public -License can be found in /usr/share/common-licenses/GPL +Files: data/jhtmlarea/scripts/jHtmlArea* +Copyright: 2009, Chris Pietschmann +License: Ms-RL -======================================================== -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. +Files: data/jhtmlarea/scripts/jquery-1.3.2* +Copyright: 2009, John Resig + 2009, The Dojo Foundation +License: MIT - 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. +Files: data/jhtmlarea/scripts/jquery-ui-* +Copyright: 2009, jQuery UI Team (http://jqueryui.com/about) +License: MIT and GPL - 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 +Files: debian/* +Copyright: 2001-2002, Brandon L. Griffith + 2002, Alex Roitman + 2002-2012, James A. Treacy + 2013, Ross Gammon +License: GPL-2+ -======================================================== -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. +Files: gramps/webapp/grampsdb/view/png.py +Copyright: 2006, Johann C. Rocholl + 2009, David Jones + 2006, Nicko van Someren +License: MIT - 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. +License: BSD + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY John Resig ''AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - 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 + 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 1 only of the License. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. -======================================================== -The data/grampsxml.dtd file is Copyright 2001 Graham J. William - and Copyright 2000-2006 Donald N. Allingham +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'. - 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. +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'. - 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. +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. - 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: Ms-PL + This license governs use of the accompanying software. If you use the + software, you accept this license. If you do not accept the license, do not + use the software. + . + 1. Definitions + . + The terms "reproduce," "reproduction," "derivative works," and "distribution" + have the same meaning here as under U.S. copyright law. + . + A "contribution" is the original software, or any additions or changes to the + software. + . + A "contributor" is any person that distributes its contribution under this + license. + . + "Licensed patents" are a contributor's patent claims that read directly on its + contribution. + . + 2. Grant of Rights + . + (A) Copyright Grant- Subject to the terms of this license, including the + license conditions and limitations in section 3, each contributor grants you a + non-exclusive, worldwide, royalty-free copyright license to reproduce its + contribution, prepare derivative works of its contribution, and distribute its + contribution or any derivative works that you create. + . + (B) Patent Grant- Subject to the terms of this license, including the license + conditions and limitations in section 3, each contributor grants you a + non-exclusive, worldwide, royalty-free license under its licensed patents to + make, have made, use, sell, offer for sale, import, and/or otherwise dispose of + its contribution in the software or derivative works of the contribution in the + software. + . + 3. Conditions and Limitations + . + (A) No Trademark License- This license does not grant you rights to use any + contributors' name, logo, or trademarks. + . + (B) If you bring a patent claim against any contributor over patents that you + claim are infringed by the software, your patent license from such contributor + to the software ends automatically. + . + (C) If you distribute any portion of the software, you must retain all copyright, + patent, trademark, and attribution notices that are present in the software. + . + (D) If you distribute any portion of the software in source code form, you may do + so only under this license by including a complete copy of this license with your + distribution. If you distribute any portion of the software in compiled or object + code form, you may only do so under a license that complies with this license. + . + (E) The software is licensed "as-is." You bear the risk of using it. The + contributors give no express warranties, guarantees or conditions. You may have + additional consumer rights under your local laws which this license cannot change. + To the extent permitted under your local laws, the contributors exclude the + implied warranties of merchantability, fitness for a particular purpose and + non-infringement. -======================================================== -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: Ms-RL + This license governs use of the accompanying software. If you use the software, + you accept this license. If you do not accept the license, do not use the software. + . + 1. Definitions + The terms "reproduce," "reproduction," "derivative works," and "distribution" have + the same meaning here as under U.S. copyright law. + A "contribution" is the original software, or any additions or changes to the + software. + A "contributor" is any person that distributes its contribution under this license. + "Licensed patents" are a contributor's patent claims that read directly on its + contribution. + . + 2. Grant of Rights + (A) Copyright Grant- Subject to the terms of this license, including the license + conditions and limitations in section 3, each contributor grants you a + non-exclusive, worldwide, royalty-free copyright license to reproduce its + contribution, prepare derivative works of its contribution, and distribute its + contribution or any derivative works that you create. + (B) Patent Grant- Subject to the terms of this license, including the license + conditions and limitations in section 3, each contributor grants you a + non-exclusive, worldwide, royalty-free license under its licensed patents to make, + have made, use, sell, offer for sale, import, and/or otherwise dispose of its + contribution in the software or derivative works of the contribution in the software. + . + 3. Conditions and Limitations + (A) Reciprocal Grants- For any file you distribute that contains code from the + software (in source code or binary format), you must provide recipients the source + code to that file along with a copy of this license, which license will govern that + file. You may license other files that are entirely your own work and do not contain + code from the software under any terms you choose. + (B) No Trademark License- This license does not grant you rights to use any + contributors' name, logo, or trademarks. + (C) If you bring a patent claim against any contributor over patents that you claim + are infringed by the software, your patent license from such contributor to the + software ends automatically. + (D) If you distribute any portion of the software, you must retain all copyright, + patent, trademark, and attribution notices that are present in the software. + (E) If you distribute any portion of the software in source code form, you may do so + only under this license by including a complete copy of this license with your + distribution. If you distribute any portion of the software in compiled or object code + form, you may only do so under a license that complies with this license. + (F) The software is licensed "as-is." You bear the risk of using it. The contributors + give no express warranties, guarantees or conditions. You may have additional consumer + rights under your local laws which this license cannot change. To the extent permitted + under your local laws, the contributors exclude the implied warranties of + merchantability, fitness for a particular purpose and non-infringement. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 000000000..4c9067ecb --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +# the default build command +#builder=debuild -i\.git -I.git +# the default branch for experimental upstream sources +upstream-branch=upstream +# the default branch for the debian patch +debian-branch=experimental diff --git a/debian/gramps.install b/debian/gramps.install new file mode 100644 index 000000000..a1e68dd5e --- /dev/null +++ b/debian/gramps.install @@ -0,0 +1 @@ +debian/gramps.xpm usr/share/pixmaps/ diff --git a/debian/rules b/debian/rules index fb6b2aee6..71b8141d4 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,25 @@ #!/usr/bin/make -f -# This file was automatically generated by stdeb 0.6.0+git at -# Sun, 31 Mar 2013 16:54:38 +0200 +# Remember to remove verbose option once testing is finished +DH_VERBOSE=1 +export PYBUILD_NAME=gramps %: - dh $@ --with python2 --buildsystem=python_distutils + dh $@ --with python3 --buildsystem=pybuild +# Override auto test because upstream do not use the standard unittest discover +override_dh_auto_test: +# Override of auto_build to force python 3 +override_dh_auto_build: + python3 setup.py build + +# Override of auto_install to force python 3 +override_dh_auto_install: + python3 setup.py install --root=debian/gramps --install-layout=deb + # Remove duplicate copyright information + rm debian/gramps/usr/share/doc/gramps/COPYING + # Remove install file as it is not needed by package users + rm debian/gramps/usr/share/doc/gramps/INSTALL + # Remove duplicate license information + rm debian/gramps/usr/share/doc/gramps/LICENSE diff --git a/debian/watch b/debian/watch new file mode 100644 index 000000000..611853c2f --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +# watch control file for uscan +version=3 +http://sf.net/gramps/gramps-(.+)\.tar\.gz debian uupdate