diff options
author | Marek Szuba <marecki@gentoo.org> | 2016-09-22 16:53:32 +0200 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2016-09-23 08:56:42 +0200 |
commit | 2621df486a36a61ea5f21039709f5094688a8864 (patch) | |
tree | 82a8b25a00f72f22ec0b496a8212f9ee77cd5307 /app-misc/gramps/files | |
parent | 5e708f89285f5d55f5b5dd26618df439e2943591 (diff) | |
download | gentoo-2621df486a36a61ea5f21039709f5094688a8864.tar.gz gentoo-2621df486a36a61ea5f21039709f5094688a8864.tar.xz |
app-misc/gramps: version bump to 4.2.4
Dependency on sci-geosciences/osm-gps-map temporarily removed because we
haven't got the right version in Portage yet.
Seems to work with python3_5 as well but needs more testing, will
officially add support for that version later.
Suggested-By: Kevin Simmons <kevin@kblob.com>
Package-Manager: portage-2.3.1
Diffstat (limited to 'app-misc/gramps/files')
-rw-r--r-- | app-misc/gramps/files/gramps-4.2.4-resourcepath.patch | 11 | ||||
-rw-r--r-- | app-misc/gramps/files/gramps-4.2.4-versioned_doc_dir.patch | 15 |
2 files changed, 26 insertions, 0 deletions
diff --git a/app-misc/gramps/files/gramps-4.2.4-resourcepath.patch b/app-misc/gramps/files/gramps-4.2.4-resourcepath.patch new file mode 100644 index 00000000000..4c1f6920cbb --- /dev/null +++ b/app-misc/gramps/files/gramps-4.2.4-resourcepath.patch @@ -0,0 +1,11 @@ +--- a/setup.py 2016-09-04 14:44:02.000000000 +0000 ++++ b/setup.py 2016-09-22 12:21:52.496968618 +0000 +@@ -278,7 +278,7 @@ + if packaging: + path = resource_path + else: +- path = os.path.abspath(os.path.join(self.install_data, 'share')) ++ path = '/usr/share' + fp.write(path) + + _install.run(self) diff --git a/app-misc/gramps/files/gramps-4.2.4-versioned_doc_dir.patch b/app-misc/gramps/files/gramps-4.2.4-versioned_doc_dir.patch new file mode 100644 index 00000000000..3d1ea8cb87c --- /dev/null +++ b/app-misc/gramps/files/gramps-4.2.4-versioned_doc_dir.patch @@ -0,0 +1,15 @@ +--- a/setup.py 2016-09-04 14:44:02.000000000 +0000 ++++ b/setup.py 2016-09-22 13:08:33.188167127 +0000 +@@ -436,9 +436,9 @@ + CSS_FILES = glob.glob(os.path.join('data', 'css', '*.css')) + SWANKY_PURSE = glob.glob(os.path.join('data', 'css', 'swanky-purse', '*.css')) + SWANKY_IMG = glob.glob(os.path.join('data', 'css', 'swanky-purse', 'images', '*.png')) +-data_files_core.append(('share/doc/gramps', DOC_FILES)) +-data_files_core.append(('share/doc/gramps/example/gedcom', GEDCOM_FILES)) +-data_files_core.append(('share/doc/gramps/example/gramps', GRAMPS_FILES)) ++data_files_core.append(('share/doc/gramps-' + VERSION, DOC_FILES)) ++data_files_core.append(('share/doc/gramps-' + VERSION + '/example/gedcom', GEDCOM_FILES)) ++data_files_core.append(('share/doc/gramps-' + VERSION + '/example/gramps', GRAMPS_FILES)) + data_files_core.append(('share/gramps/images/webstuff', IMAGE_WEB)) + data_files_core.append(('share/gramps/css', CSS_FILES)) + data_files_core.append(('share/gramps/css/swanky-purse', SWANKY_PURSE)) |