Merge pull request #552 from RossGammon/update_deb_dir.

This commit is contained in:
Nick Hall 2018-02-23 17:57:04 +00:00
commit 7b6f46d595
16 changed files with 454 additions and 299 deletions

24
debian/README.Debian vendored
View File

@ -1,18 +1,18 @@
Gramps for Debian
----------------------
-----------------
This is the Debian package of the 4.0 series of GRAMPS.
Version 5.0 of gramps adds the option of using a new database backend called
DB_API, as an alternative to the default BSDDB (Berkeley).
It is a major update of Gramps to upgrade to GTK 3. A switch was also made to distutils from autotools.
Two DB-API SQL engines have been developed, sqlite3 and postgresql. Compared
to BSDDB, the alternative backends have beend designed allow some flexibility
with respect to using the database with multiple users, or in multiple
locations (different computers).
The 4.0 series of Gramps is being packaged for the experimental distribution until all dependencies are available
and it proves stable.
For more details, please read the Gramps wiki:
https://gramps-project.org/wiki/index.php?title=DB-API_Database_Backend
Webkit - gir1.2-webkit-3.0 crashes. Gramps has been patched disable the hidden
HTML view instead until a solution is found.
Please note, this particular version is a pre-release version for testing.
Please do not use it on your only copy of important genealogical data.
Goocanvas2 - The latest Goocanvas is not available in Debian yet. If you miss
the Graphview plugin, you could try installing the gir1.2-goocanvas-2.0-9 which
is available in Ubuntu.
-- Ross Gammon <rossgammon@mail.dk> Sat, 25 Jan 2014 18:00:00 +0100
-- Ross Gammon <rossgammon@debian.org> Mon, 19 Feb 2018 00:04:00 +0100

157
debian/README.test vendored Normal file
View File

@ -0,0 +1,157 @@
Run gramps -v from the commandline and check dependencies:
- From the commandline type $ gramps -v
- The gramps version and versions of library dependencies are output
- Check that all dependencies have been installed, show their versions, and that there are no error messages
- If required, install the dependencies that have not been found (typically icu, osmgpsmap & gexiv)
- Type $ gramps -v again
- Check that all dependencies have been installed, show their versions, and that there are no error messages
Open Gramps, create an empty Family Tree, and check the Gramps version, credits & license:
- Run gramps
- Family Trees window opens
- Click "New" to create an empty Family Tree
- Type a name for your family tree (e.g. Sample), and press "Enter"
- Click "Load Family Tree"
- Gramps displays the "Welcome to Gramps!" start screen
- Choose Help > About from the menu
- The "About gramps" window is displayed with Version information
- Click on "Credits"
- A list of Authors and Contributors to Gramps is displayed
- Click on "License"
- The GNU General Public License is displayed
- Click on the "X" to close the "About gramps" window
- Gramps closes the "About gramps" window and returns to the "Welcome to Gramps!" start screen
Import a GEDCOM file into Gramps
If you do not have one to hand, the provided example can be extracted to your home directory and imported from there.
/usr/share/doc/gramps/example/gedcom/sample.ged.gz
- From your open and empty Family Tree, choose Family Trees > Import from the menu
- The Gramps: Import Family Tree window opens
- Locate your GEDCOM file, select it and click on "Import"
- The Import Statistics window displays "Results: done"
- Click on "Close"
- The GEDCOM import report window displays "No errors detected"
- CLick on "Close"
- The Top Surnames gramplet displays the surnames of the people imported into the Tree
Test aspects of the People View
- Click on the People View
- A list of people in "Group View" mode are shown
- Click on the arrow for a surname (e.g. Hansdotter)
- The people with this surname are revealed
- Select a person and click in the "Edit selcted person" icon (or just double click on the person)
- The "Person" window opens showing the details of this person
- Click on Cancel
- The "Person" window closes
- Choose the person list view (not grouped) by clicking on the "People" icon
- The people are now listed without any grouping by surname
- Click on the "+" icon to create a new person
- An empty "Person" window opens
- Enter some details about the person (e.g. given name, surname, and gender)
- Click on the "+" button to create a new event for this person
- The "Event Reference Editor" window opens
- Create an event (e.g. birth) by entering a date
- Click on the "+" button to add a new place
- The "New Place" window opens
- Type in some details about the place (Name, Type, Latitude & Longitude)
- Click on OK
- The "New Place" window closes
- In the "Event Reference Editor" click OK
- In the "Person" window click OK
- The "Person" window closes and you can find the person just created in the list of people
Test aspects of the Relationships View
- Click on Anna Hansdotter to select her
- Click on the Relationships View
- Details of Anna and her family are displayed
- Click on one of her children, Hjalmar Smith
- Details of Hjalmar and his family are displayed
- Click on the "Add existing Child to family" icon just above Halmar's children
- The "Select Child" window opens
- Find the person you entered previously and select it
- Click OK
- The "Select Child" window closes and you can see the new person listed as a child in Hjalmar's family
Test aspects of the Charts View
- Click on the Charts View
- The Pedigree View is shown
- Click somewhere in the Pedigree View and drag the chart around
- The mouse pointer changes to a hand and the chart can be move around
- Click on the left and right arrows (when going left you need to choose the child to move to)
- The chart will move to reveal the next generation in the family
- Make sure there are several families in view, then Click on the "Fan Chart" icon
- A fan chart showing the ancesters of the main person is shown
- Click on the Descendant Fan icon
- A fan chart showing the descendants of the same person is shown
Test aspects of the Geography View
- Click on the Geography View
- The map may take some time to load, then a pin for the person you entered early should be shown on the map at the coordinates you entered
- Click on the pin
- A choice of the place, or the person will be offered
- Hover over the place name, and choose "Edit Place"
- The "Place Selection in a region" opens
- Double click on the place
- The "Place:" editor opens
- Click on Cancel
- Click on the pin
- A choice of the place, or the person will be offered
- Hover over the persons name, and choose "Edit Event"
- The "Event:" window opens
- Click on Cancel
Import a Gramps Xml file (*.gramps) into Gramps
An existing Gramps *.gramps file with links to media will be needed for this and the next test. If you do not have one to hand, the provided example can be extracted to your home directory and imported from there.
/usr/share/doc/gramps/example/gramps/example.gramps.gz
- From the "Family Trees" menu, choose "Manage Family Trees"
- The Family Trees window opens
- Click "New" to create an empty Family Tree
- Type a name for your family tree (e.g. Example), and press "Enter"
- Click "Load Family Tree"
- Gramps opens an empty database
- From your open and empty Family Tree, choose Family Trees > Import from the menu
- The Gramps: Import Family Tree window opens
- Locate your *.gramps file, select it and click on "Import"
- The import may take some minutes, then the Import Statistics window displays the number of objects imported.
- Click on "Close"
- The Import Statistics window closes.
View Media for a person, and add new media
The media for the example file you may have used in the previous test can be found in /usr/share/doc/gramps/example/gramps/. Create a folder in your home directory to store Gramps media, and then copy the media there.
You will also need a photo to add to Gramps. Any photo will do (e.g. *.jpg file - but you can use the ones provided with Gramps).
You also need to set the base media patch for Gramps.
- In the "Edit" menu, choose "Preferences".
- The Preferences window opens on the "General" tab.
- Click the "Folder" icon to set the "Base path for relative media paths".
- The "Select media directory" window opens
- Choose the directory where your media is stored and then click "Apply"
- The "Select media directory" window closes
- Click Close
- The "Preferences" window closes
- In the "People" View, find a person with media associated (e.g. Eugene Stanley Garner, Jr. in the example database) and select him/her.
- Below the Detials tab, a thumbnail image of the person should appear (in the case of Eugene Stanley Garner, Jr. you should see him yawning). It may be necessary to restart Gramps to see the Thumbnail.
- Double click on the person's name in the People View.
- The "Person:" window opens, and the image is dispayed for the person in the Image square in the top left corner of the "Person:" window.
- Double click on the image.
- The Media Reference Editor opens showing details about the image.
- Double click in the bottom image Preview.
- An external viewer opens giving details of the image metadata and allowing some basic manipulation of the image.
- Click on the "X" to close the external viewer
- Click "Cancel" on the Media Reference Editor
- Click "Cancel" on the "Person:" window.
- All three windows close.
- Click on the "Media View".
- A list of available media is shown.
- Click on the "+" icon.
- The "Select a media object" window opens.
- Move to the folder where the media is and select the new photo (if you are using the examples provided with Gramps, I can recommend choosing O3.jpg).
- Click on "OK".
- The "New Media" window opens.
- Click on "OK".
- The media is added to the list of media.
- Select the new media.
- A preview (thumbnail) image is shown.
- Close Gramps by choosing "Quit" from the "Family Trees" menu.
- Gramps closes.
TODO: Tagging & Filtering

111
debian/changelog vendored
View File

@ -1,16 +1,113 @@
Old Changelog:
gramps (5.0.0~beta1-1) unstable; urgency=medium
* First beta release of gramps 5.0
* Sync debian directory with Debian experimental branch on salsa
* Point Vcs URLs at the Gramps Project on Github
* Correct spelling in debian/rules, node > nose
* Delete gbp.conf, not required as gbp not used to build package
* Delete NEWS file, only really applicable in Debian
* Fix syntax errors in d/changelog and remove trailing whitespace
* Patch person_rules_test.py to remove hard coded build path from
import. Fixes FTBFS due to test failure.
* Enable extra tests that were failing for alpha3
-- Ross Gammon <rossgammon@debian.org> Mon, 19 Feb 2018 19:25:25 +0100
gramps (4.2.8) unstable; urgency=medium
* Quick bug fix release
-- Ross Gammon <rossgammon@debian.org> Sat, 10 Feb 2018 08:30:33 +0100
gramps (5.0.0-alpha3) experimental; urgency=medium
* New alpha release for Gramps 5.0.0
-- Ross Gammon <rossgammon@debian.org> Mon, 04 Sep 2017 16:55:41 +0200
gramps (4.2.6) UNRELEASED; urgency=medium
* New upstream for Gramps 4.2.6
-- Jérôme Rapinat <romjerome@yahoo.fr> Tue, 01 Aug 2017 14:10:19 +0200
gramps (5.0.0-alpha2) experimental; urgency=medium
* 2nd Alpha release for testing
-- Ross Gammon <rosco2@ubuntu.com> Mon, 12 Jun 2017 19:42:39 +0200
gramps (4.2.5) UNRELEASED; urgency=medium
* New upstream for Gramps 4.2.5
-- Jérôme Rapinat <romjerome@yahoo.fr> Thu, 15 Dec 2016 18:52:08 +0100
gramps (4.2.4) UNRELEASED; urgency=medium
* New upstream for Gramps 4.2.4
-- Jérôme Rapinat <romjerome@yahoo.fr> Sun, 04 Sep 2016 18:34:49 +0200
gramps (5.0.0-alpha1) UNRELEASED; urgency=medium
* Alpha stream for Gramps 5.0.0
-- système <romjerome@yahoo.fr> Sat, 04 Jun 2016 20:07:14 +0200
gramps (4.2.3) UNRELEASED; urgency=medium
* New upstream for Gramps 4.2.3
-- Jérôme Rapinat <romjerome@yahoo.fr> Sun, 10 Apr 2016 21:09:19 +0200
gramps (4.2.2) UNRELEASED; urgency=medium
* New upstream for Gramps 4.2.2
-- Jérôme Rapinat <romjerome@yahoo.fr> Wed, 06 Jan 2016 19:38:25 +0100
gramps (4.2.1) UNRELEASED; urgency=medium
* New upstream for Gramps 4.2.1
-- Jérôme Rapinat <romjerome@yahoo.fr> Tue, 13 Oct 2015 05:08:30 +0200
gramps (4.2.0) UNRELEASED; urgency=medium
* New upstream for Gramps 4.2.0
-- Jérôme Rapinat <romjerome@yahoo.fr> Sun, 02 Aug 2015 17:03:37 +0200
gramps (4.1.3) precise; urgency=low
* New upstream for Gramps 4.1 branch (4.1.3)
-- Jérôme Rapinat <romjerome@yahoo.fr> Thu, 30 Apr 2015 18:42:34 +0200
gramps (3.4.9-1) precise; urgency=low
* New upstream release for 3.4.x branch
-- Jérôme Rapinat <romjerome@yahoo.fr> Thu, 30 Apr 2015 16:02:44 +0200
gramps (4.0.4) precise; urgency=low
* New upsteam for Gramps 4.0.4
-- Jérôme Rapinat <romjerome@yahoo.fr> Fri, 23 May 2014 17:07:41 +0200
gramps (4.0.3) precise; urgency=low
* - 4.0.4-git.f08e40 Experimental stream gramps.git
-- Jérôme Rapinat <romjerome@yahoo.fr> Tue, 04 Feb 2014 19:49:32 +0100
gramps (4.0.2) precise; urgency=low
* experimental .deb for gramps 4.0.2
-- Jérôme Rapinat <romjerome@yahoo.fr> Wed, 04 Dec 2013 10:23:36 +0100
-- Jérôme Rapinat <romjerome@yahoo.fr> Wed, 04 Dec 2013 10:23:36 +0100
gramps (4.0.1-2) precise; urgency=low
@ -705,7 +802,7 @@ gramps (0.7.3-1) unstable; urgency=low
* Added new entry to the upstream NEWS file - it was missing.
* Added '#! usr/bin/python -O' line to src/AddMedia.py to make lintian happy.
Also removed this line from src/DbPrompter.py for the same reason.
* Edited debian/rules to call '$(MAKE) clean' instead of
* Edited debian/rules to call '$(MAKE) clean' instead of
'$(MAKE) distclean' which did not exist.
* Edited src/Makefile.in - 'clean' target should also remove *.so files.
* Pre-built static HTMLs since the on-the-fly generation from SGML is buggy.
@ -840,7 +937,7 @@ gramps (0.3.1-2) unstable; urgency=low
* The author has finally addressed the issue of a missing help file. Though
as of now none have been created the error produced before is gone and the
author is working on better documentation.
Closes: #99617
Closes: #99617
-- Brandon L. Griffith <brandon@debian.org> Thu, 28 Jun 2001 20:27:30 -0500
@ -917,7 +1014,7 @@ gramps (0.1.4-3) unstable; urgency=low
This should take care of the startup problem some people have had.
Bug Fixed. Closes: #98646
* Silly me named the menu file wrong so it never got included into the
* Silly me named the menu file wrong so it never got included into the
Debian Menu system. Gramps should now show up under Apps->Tools. Have
no idea how I overlooked this.

2
debian/compat vendored
View File

@ -1 +1 @@
9
11

51
debian/control vendored
View File

@ -1,29 +1,38 @@
Source: gramps
Section: python
Section: gnome
Priority: optional
Maintainer: Ross Gammon <rossgammon@mail.dk>
Maintainer: Ross Gammon <rossgammon@debian.org>
Build-Depends-Indep:
dh-linktree,
dh-python,
gettext,
intltool,
libxml-parser-perl,
python3-all,
python3-setuptools
python3-setuptools,
python3-nose,
gir1.2-gtk-3.0 (>= 3.10.0),
python3-gi (>= 3.12.0),
python3-gi-cairo,
python3-bsddb3,
python3-lxml,
python3-jsonschema,
python3-mock,
python3-icu,
python3-nose-exclude
Build-Depends:
dh-python,
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/gitweb/?p=collab-maint/gramps.git
Homepage: http://www.gramps-project.org/
X-Python-Version: >= 3.2
debhelper (>= 11)
Standards-Version: 4.1.3
Vcs-Git: https://github.com/gramps-project/gramps.git
Vcs-browser: https://github.com/gramps-project/gramps/tree/maintenance/gramps50
Homepage: https://www.gramps-project.org/
X-Python3-Version: >= 3.2
Package: python3-gramps
Package: gramps
Architecture: all
Depends:
gir1.2-gtk-3.0 (>= 3.10.0),
librsvg2-2,
python3-gi,
python3-gi (>= 3.12.0),
python3-gi-cairo,
python3-bsddb3,
xdg-utils,
@ -31,16 +40,22 @@ Depends:
${python3:Depends}
Recommends:
graphviz,
gir1.2-goocanvas-2.0,
libosmgpsmap-1.0-0,
gir1.2-gexiv2-0.10,
gir1.2-osmgpsmap-1.0,
python3-pyicu
python3-icu
Suggests:
fonts-freefont-ttf,
gir1.2-gexiv2-0.10,
gir1.2-goocanvas-2.0,
gir1.2-gtkspell3-3.0,
python3-pil,
rcs
rcs,
python3-numpy
Conflicts:
python-gramps,
python3-gramps
Replaces:
python-gramps,
python3-gramps
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

276
debian/copyright vendored
View File

@ -1,37 +1,37 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Gramps
Source: http://gramps-project.org
Source: https://gramps-project.org
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, Andrés Sepúlveda
2001, David R. Hampton
2001-2013, Free Software Foundation, Inc.
2001-2017, Free Software Foundation, Inc.
2001, Graham J. Williams
2001, Jesper Zedlitz
2001-2013, The Gramps Project
2001-2017, 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
2004-2013, Julio Sánchez
2005-2017, Serge Noiraud
2006-2012, Brian G. Matherly
2006, 2008-2011, Kees Bakker
2006-2008, Steve Hall
2007-2012, Benny Malengier
2007-2012, Douglas S. Blank
2007-2013, Benny Malengier
2007-2013, 2015-2016, Douglas S. Blank
2007-2012, Gary Burton
2007-2011, Jerome Rapinat
2007, Johan Gronqvist
2007, Robert Cawley
2007-2009, Stephane Charette
2007-2016, The Gramps Developers
2007, Thom Sturgill
2007-2008, Zsolt Foldvari
2008-2010, 2012, Craig J. Anderson
2008-2010, 2012-2015, Craig J. Anderson
2008-2009, James Friedmann
2008-2009, Jason Simanek
2008, Lukasz Rymarczyk
@ -43,133 +43,58 @@ Copyright: 2000-2007, Alex Roitman
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-2018, Nick Hall
2009, Pander Musubi
2009, Robert Ham
2009, Swoon on bug tracker
2009, Yevgeny Zegzda
2010, Gramps
2010, 2015 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ć
2010-2016, Tim G L Lyons
2010-2011, 2014, 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
2011, 2016 Matt Keenan
2011-2017, Paul Franklin
2012, lcc
2012, 2014, Mathieu MD
2012, Nicolas Adenis-Lamarre
2013, Fedir Zinchuk
2013, Oleh Petrivk
2013, Vassilii Khachaturov
2013, Artem Glebov
2011-2016, Fedir Zinchuk
2013-2017, Alois Poettker
2013-2014, Vassilii Khachaturov
2013, Zissis Papadopoulos
2015, Icelandic translators of Gramps
2014, Bastien Jacquet
2014, Gerald Kunzmann
2015, Fabrice
2015, Lajos Nemeséri
2015, Detlef Wolz
2016, Allen Crider
2016, DaAwesomeP
2016-2017, Paul Culley
2016, QuLogic
2016, Tom Samstag
2017, Mindaugas Baranauskas
2017, Robert Carnell
License: GPL-2+
Files: data/javascript/jquery-1.3.2.min.js
Copyright: 2009, John Resig
License: MIT and GPL
Files: data/javascript/jquery-1.7.1.js
Copyright: 2011, John Resig
2011, The Dojo Foundation
License: BSD and MIT and GPL-2
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
Files: data/javascript/jquery.flexbox*
Copyright: 2008-2010, Noah Heldman and Fairway Technologies
License: Ms-PL
Files: data/jhtmlarea/Readme.txt
Copyright: 2009, Chris Pietschmann
License: Ms-RL
Files: data/jhtmlarea/scripts/jHtmlArea*
Copyright: 2009, Chris Pietschmann
License: Ms-RL
Files: data/jhtmlarea/scripts/jquery-1.3.2*
Copyright: 2009, John Resig
2009, The Dojo Foundation
License: MIT
Files: data/jhtmlarea/scripts/jquery-ui-*
Copyright: 2009, jQuery UI Team (http://jqueryui.com/about)
License: MIT and GPL
Files: debian/*
Copyright: 2001-2002, Brandon L. Griffith
2002, Alex Roitman
2002-2012, James A. Treacy
2013, Ross Gammon
2013-2018, Ross Gammon
License: GPL-2+
Files: gramps/webapp/grampsdb/view/png.py
Copyright: 2006, Johann C. Rocholl
2009, David Jones
2006, Nicko van Someren
License: MIT
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 <organization> 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 <copyright holder> 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.
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'.
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'.
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
@ -187,128 +112,3 @@ License: GPL-2+
.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
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.
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.
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.

1
debian/gramps.docs vendored Normal file
View File

@ -0,0 +1 @@
RELEASE_NOTES

View File

@ -0,0 +1,24 @@
Description: Remove hard coded build path from import
gramps/gen/filters/rules/test/person_rules_test.py contains an import
that hard codes the normal build path when working in the source tree.
This causes the test to fail when building the Debian package, which
happens out of the source tree.
This patch imports using .... instead of build/lib for the path for the
MatchIdOf function (the same as the other imports in the file).
Author: Ross Gammon <rossgammon@debian.org>
Forwarded: not-yet
Applied-Upstream: not-yet
Last-Update: 2018-02-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- gramps.orig/gramps/gen/filters/rules/test/person_rules_test.py
+++ gramps/gramps/gen/filters/rules/test/person_rules_test.py
@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
-from build.lib.gramps.gen.filters.rules.person._matchidof import MatchIdOf
+from ....filters.rules.person._matchidof import MatchIdOf
"""
Unittest that tests person-specific filter rules

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
hardcoded_path_person_rules_test.patch

47
debian/rules vendored
View File

@ -1,35 +1,38 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS=-v
#export DH_VERBOSE=1
#export DH_OPTIONS=-v
export PYBUILD_NAME=gramps
export PYBUILD_INSTALL_ARGS_python3=--resourcepath=/usr/share --force
%:
dh $@ --with python3 --buildsystem=pybuild
# Override auto test because upstream do not use the standard unittest discover
# Override auto test to enable nose tests
override_dh_auto_test:
# Override of auto_build
override_dh_auto_build:
python3 setup.py build
HOME=$(CURDIR)/build \
nosetests3 -vv \
--exclude=TestcaseGenerator \
--exclude=test4_arbitrary_uncode_path \
--exclude-dir=gramps/plugins/test/ \
gramps
# Override of auto_install to remove information from package
override_dh_auto_install:
#dh_auto_install
python3 setup.py install --resourcepath=/usr/share --root=debian/python3-gramps --install-layout=deb
# Remove duplicate license/copyright information
rm $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/COPYING
dh_installchangelogs NEWS
dh_auto_install
# Remove install file as it is not needed by package users
rm $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/INSTALL
# Link license/copyright information to debians
ln -s /usr/share/common-licenses/GPL-2 $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/COPYING
rm $(CURDIR)/debian/gramps/usr/share/doc/gramps/INSTALL
# Remove NEWS file as it is now installed as the changelog
rm $(CURDIR)/debian/gramps/usr/share/doc/gramps/NEWS
#Remove license information in COPYING file & link to system license
rm $(CURDIR)/debian/gramps/usr/share/doc/gramps/COPYING
ln -s /usr/share/common-licenses/GPL-2 $(CURDIR)/debian/gramps/usr/share/doc/gramps/COPYING
# Make css style sheets and png icons non-executable
override_dh_fixperms:
dh_fixperms
chmod a-x $(CURDIR)/debian/python3-gramps/usr/share/gramps/css/Web_*.css
# Avoid compressing COPYING file so that it can appear in the "About" dialog
override_dh_compress:
dh_compress -X COPYING
# Fix clean target
override_dh_clean:
rm -rf data/tips.xml
rm -rf gramps/plugins/lib/holidays.xml
rm -rf po/.intltool-merge-cache
dh_clean

View File

@ -1 +1 @@
1.8
3.0 (quilt)

1
debian/source/local-options vendored Normal file
View File

@ -0,0 +1 @@
unapply-patches

3
debian/tests/control vendored Normal file
View File

@ -0,0 +1,3 @@
Tests: gramps-import-export
Depends: gramps, gzip
Restrictions: allow-stderr

38
debian/tests/gramps-import-export vendored Executable file
View File

@ -0,0 +1,38 @@
#!/bin/sh
# Author: Ross Gammon <rossgammon@mail.dk>
#
# autopkgtest check: Tests that gramps can import the sample gedcom file and
# export it in the .gpkg format, and then import the example gramps database
# and export it in gedcom format.
set -e
echo "--------------------------------"
echo "GEDCOM to Gramps conversion test"
echo "--------------------------------"
echo "Retrieving sample gedcom"
cp /usr/share/doc/gramps/example/gedcom/sample.ged.gz .
echo "Unzipping sample gedcom"
gunzip sample.ged.gz
echo "Importing gedcom into gramps and exporting a gramps .gpkg file"
gramps -i sample.ged -e sample.gpkg
echo "-----------------------------------"
echo "GEDCOM to Gramps conversion SUCCESS"
echo "-----------------------------------"
echo
echo "--------------------------------"
echo "Gramps to GEDCOM conversion test"
echo "--------------------------------"
echo "Retrieving example gramps file"
cp /usr/share/doc/gramps/example/gramps/example.gramps.gz .
echo "Unzipping example gramps file"
gunzip example.gramps.gz
echo "Importing gramps file into gramps and exporting a gedcom"
gramps -i example.gramps -e example.ged
echo "-----------------------------------"
echo "Gramps to GEDCOM conversion SUCCESS"
echo "-----------------------------------"
echo
echo "gramps-import-export: TEST PASSED"

7
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,7 @@
Bug-Database: https://gramps-project.org/bugs/my_view_page.php
Contact: https://lists.sourceforge.net/lists/listinfo/gramps-users
Donation: https://sourceforge.net/project/project_donations.php?group_id=25770
Name: Gramps
Homepage: https://gramps-project.org/
Repository: https://github.com/gramps-project/gramps.git
Repository-Browse: https://github.com/gramps-project/gramps

8
debian/watch vendored Normal file
View File

@ -0,0 +1,8 @@
version=3
opts=\
dversionmangle=s/(\~|\+)(debian|dfsg|ds|deb)(\.\d+)?$//,\
filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/$1\.tar\.gz/,\
repacksuffix=~dfsg \
https://github.com/gramps-project/gramps/tags \
.*/archive/v?([\d\.]+).tar.gz