Synch with factory (bsc#1252967) #2

Manually merged
anag_factory merged 9 commits from mgorse/gramps:leap-16.0 into leap-16.0 2025-11-24 18:36:33 +01:00
5 changed files with 153 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd1b7dc3f26ffd480f607a79e3a76688024a28b0f0b412ac1e4d77402ddc87d6
size 21081011

3
gramps-6.0.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee74447e6d767928435129b546637706b0cba65d6221672bc5ef1a4e275666be
size 22177300

View File

@@ -1,12 +1,14 @@
diff -auNr gramps-5.2.0-orig/gramps/gui/grampsgui.py gramps-5.2.0/gramps/gui/grampsgui.py
--- gramps-5.2.0-orig/gramps/gui/grampsgui.py 2024-02-29 15:24:39.051875696 +0800
+++ gramps-5.2.0/gramps/gui/grampsgui.py 2024-02-29 15:25:28.485647876 +0800
@@ -573,7 +573,7 @@
dbstate = DbState()
Index: gramps-6.0.2/gramps/gui/grampsgui.py
===================================================================
--- gramps-6.0.2.orig/gramps/gui/grampsgui.py
+++ gramps-6.0.2/gramps/gui/grampsgui.py
@@ -574,7 +574,8 @@ class Gramps:
self._vm = ViewManager(app, dbstate, config.get("interface.view-categories"))
- if lin() and glocale.lang != "C" and not gettext.find(GTK_GETTEXT_DOMAIN):
+ if (False and lin() and glocale.lang != "C" and not gettext.find(GTK_GETTEXT_DOMAIN)):
_display_gtk_gettext_message(parent=self._vm.window)
_display_translator_message(parent=self._vm.window)
if (
- lin()
+ False
+ and lin()
and "SNAP" not in os.environ
and glocale.lang != "C"
and not gettext.find(GTK_GETTEXT_DOMAIN)

View File

@@ -1,3 +1,132 @@
-------------------------------------------------------------------
Mon Jul 14 20:39:08 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Update to version 6.0.3
* Revert “Pass an object rather than a handle to the note editor callback”.
Fixes #13884.
* Update translations.
- Update to version 6.0.2
* Fix date modifiers for lt.
* Update translation template for new release.
* Add optimization to HasIdOf rules.
* Connect the Help button in the repository reference editor. Fixes #13352.
* Pass an object rather than a handle to the note editor callback. Fixes
#13702.
* Fix broken compound dates with bce year in XML import. Fixes #13631.
* Avoid multiple copies of Rules after Plugin manager reload. Fixes #13844.
* Fix bad surname list after upgrade from bsddb. Fixes #13807.
* Fix narrated web when two places have same name but a different type. Fixes
#13841.
* Fix crash in citation view due to wrong filter_info. Fixes #13796.
* Dont attempt to call set_orientation if self.pui is None. Fixes #13820.
* Dont crash in search_changed if self.search_list has no active item. Fixes
#13793.
* Fix incorrect addons project after upgrade from Gramps 5.2. Fixes #13789.
* Respect user choice of CSS files for existing narrated web site. Fixes
#13792.
* Ensure that the spell checker gets removed with the editor. Fixes #13795.
* Fix Optimizer class when combining sub-filters. Fixes #13799.
* Remove check for Gtk translations in Snap packages.
* Update translations.
- Refresh gramps-no-translations-check.patch
-------------------------------------------------------------------
Fri Jun 13 03:12:05 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
-------------------------------------------------------------------
Thu May 1 14:34:50 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Update to version 6.0.1
* Update translations: ar, br, ca, cs, de, de_AT, el, en_GB, es, fi, fr, ga,
he, it, ja, ko, nb, nl, pl, pt_PT, ro, sk, sv, tr, uk, zh_CN.
* Update translation template for new release.
* Extend SearchBar so that it supports text search and filters. Fixes #13720.
* Fix patronymic in name display. Fixes #13764.
* Update links in the README to v6.0.
* Update the INSTALL file. Issue #13717.
+ Change install from setup.py to pip.
+ Update typical installation locations.
+ Remove the --resourcepath option which no longer exists.
* Fix wiki help link in the Addon Manager. Fixes #13735.
* Remove the outer progress meter from the filter prepare phase. Fixes #13725.
* Fix error when importing a GEDCOM file into an existing tree. Fixes #13726.
* Avoid empty metadata fields. Fixes #13721.
* Update Italian date modifiers.
-------------------------------------------------------------------
Thu May 1 14:00:29 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Update to version 6.0.0
* Full changelog available at
https://gramps-project.org/blog/2025/03/gramps-6-0-0-released/
* Reports
+ The narrative web report has four main improvements:
- New indexes for big databases.
- Add heatmap.
- Improve language and hamburger menus.
- Show other roles for an event.
+ Other report changes:
- Add gender symbol option to the detailed descendant, detailed ancestral
and descendant report.
- Add Gramps ID option to Kinship Report.
- Tree reports convert images to thumbnails for embedding. This allows
cropped rectangles selected in the media references to be displayed.
- Report options are now memorised on a per family tree (database) level.
* Gramplets
+ Improvements to the backlinks (References) gramplets:
+ Allow an object to be made active from within the backlinks gramplet.
+ Add a context menu to make “Edit” and “Make Active” more discoverable.
+ Allow objects in the backlinks gramplets to be dragged to the clipboard.
+ Add edit capability to the notes gramplets.
+ Enhanced version of the Filter gramplet.
* Selector dialogs
+ A standard search bar has been added to the person selector dialog. It
may default to selecting men or women by default, but selecting on other
columns is possible.
+ It is now possible to select multiple media objects in the media selector
and gallery tabs.
+ The media selector has a new path column.
* Other changes
+ Improvements to the Probably Alive code.
+ New rules: “Has Event”, “Has Source” and “Having Note of Type”.
+ New Gedcom 7.0 event roles: “Father”, Mother”, “Parent”, “Child”, “Multiple”, Friend”, “Neighbour” and “Officiator”.
+ Allow web-accessible file references in media objects.
+ Add a preference option for the selection of the toolbar style.
+ Enhancements to the help display. This is ongoing though.
+ Enable Web Connection menu in all list views.
-------------------------------------------------------------------
Mon Feb 10 22:37:58 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Update to version 5.2.4
* Fix Citations gramplet to recognize event reference citations. Fixes #13555.
* Fix exception when finding relationship to home person. Fixes #13495.
* Fix mouse scroll direction in pedigree view.
* Fix incorrect usage of exec. As of PEP558, locals() is not populated by
exec(). This change means that this call is broken on Python 3.13.
* Remove some usage of globals().
* Remove unnecessary use of exec.
* Test current_date being an empty date in probably alive function. Fixes #13431.
* Improve warning message in date_test.py when 3 tests are skipped.
* Correctly assign sortval = 0 when a date is EMPTY. Fixes #13415, #13423.
* Fix unicode conversion bug when upgrading from schema 16 to 17.
* Correct the documentation for the match() method of the Date class. Also
added more detail to documentation in 3 other cases. Fixes #13428.
* Gramps version output now reports OS rather than Platform. Fixes #12285.
* Downgrade upgrade messages from warning to informational level. Fixes #13464.
* Fix list size option in the top surnames gramplet. Allow users to specify
how many surnames appear in the list from 10 to 1000. Fixes #13448.
* Correct misleading description of GUI element placement.
* Use the preferred calendar for new dates only in the date editor. Fixes #13403.
* Fix docs typo in INSTALL file.
* Fix printing of Books. Fixes #12804.
* Render reports with styled notes containing subscript and strikethrough. Fixes #13417.
* Remove broken link to svn2cl package in the About dialog. Fixes #13152.
* Improve media performance in the narrative web report. Fixes #13370.
* Updated translations.
-------------------------------------------------------------------
Sun Aug 11 19:56:06 UTC 2024 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>

View File

@@ -1,7 +1,7 @@
#
# spec file for package gramps
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# All modifications and additions to the file contributed by third parties
@@ -18,8 +18,9 @@
%global __requires_exclude typelib\\(GtkosxApplication\\)|typelib\\(Gtkspell\\)|typelib\\(GConf\\)
%define pythons python3
Name: gramps
Version: 5.2.3
Version: 6.0.3
Release: 0
Summary: Genealogical Research Software
License: GPL-2.0-or-later
@@ -33,7 +34,9 @@ BuildRequires: fdupes
BuildRequires: gobject-introspection
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
BuildRequires: python-rpm-macros
BuildRequires: python3
BuildRequires: python3-pip
BuildRequires: python3-setuptools
# We need the %%mime_database_* macros
BuildRequires: shared-mime-info
@@ -42,6 +45,7 @@ Requires: python3-bsddb3
Requires: python3-cairo
Requires: python3-gobject >= 3.12.0
Requires: python3-gobject-Gdk
Requires: python3-orjson
Requires: xdg-utils
Recommends: ghostscript
Recommends: graphviz
@@ -67,10 +71,10 @@ organized, searchable and as precise as you need it to be.
%autosetup -p1
%build
python3 setup.py build
%pyproject_wheel
%install
python3 setup.py install --root=%{buildroot}
%pyproject_install
# fix resource-path containing buildroot information
echo -n %{_datadir} > %{buildroot}%{python3_sitelib}/gramps/gen/utils/resource-path
# We package those files as package docs...
@@ -101,7 +105,7 @@ rm -r %{buildroot}%{_datadir}/doc/%{name}/
%{_datadir}/metainfo/org.gramps_project.Gramps.metainfo.xml
%{_datadir}/mime/packages/org.gramps_project.Gramps.xml
%{python3_sitelib}/%{name}/
%{python3_sitelib}/%{name}-%{version}-*.egg-info
%{python3_sitelib}/%{name}-%{version}.dist-info
%{_mandir}/man1/%{name}.1%{?ext_man}
# We can't really move the localized manpages to the lang package, since they'd
# create a conflict between the lang subpackage and bundles