From e02451a34663a18d5ec4de7366762ce70229be82 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 29 Jan 2014 21:54:49 -0600 Subject: [PATCH 01/75] Reduced GTK to GTK2 because of known bugs. Upstream reports several known bugs with GTK3 and certain Linux environments. Reducing the GTK dependency to 2 for now is a workaround while upstream fixes these issues for the next release. --- xiphos.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/xiphos.spec b/xiphos.spec index 9d2e290..4965ac6 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 3.1.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bible study and research tool Group: Applications/Text @@ -12,12 +12,14 @@ BuildRequires: gettext BuildRequires: desktop-file-utils BuildRequires: gnome-doc-utils BuildRequires: gtkhtml3-devel GConf2-devel -BuildRequires: webkitgtk3-devel +BuildRequires: webkitgtk-devel BuildRequires: libgsf-devel BuildRequires: dbus-glib-devel #BuildRequires: ImageMagick-c++-devel BuildRequires: perl(XML::Parser) intltool BuildRequires: rarian-compat +# Needed on GTK+2 builds +BuildRequires: libglade2-devel Requires: yelp Obsoletes: gnomesword < 2.4.2 Provides: gnomesword = %{version}-%{release} @@ -33,7 +35,8 @@ Project and elsewhere. %build CFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' CXXFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' ./waf configure \ - --prefix %{_prefix} --enable-webkit + --prefix %{_prefix} --enable-webkit \ + --gtk=2 ./waf build -v @@ -76,6 +79,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %_datadir/gnome/help/xiphos %changelog +* Wed Jan 29 2014 Greg Hellings - 3.1.6-2 +- Removed GTK3 in favor of GTK2, as GTK3 is known to be buggy for this release + * Wed Jan 29 2014 Deji Akingunola - 3.1.6-1 - Update to version 3.1.6 From 88d7e7220a492814b2ffa77e4d1319700f1421b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Sun, 8 Jun 2014 09:24:52 +0200 Subject: [PATCH 02/75] Upgrade to 3.2.1 --- .gitignore | 1 + sources | 2 +- xiphos.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 203ccfa..d63ca5f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ xiphos-3.1.3.tar.gz /xiphos-3.1.5.tar.gz /xiphos-3.1.6.tar.gz /xiphos-3.2.0.tar.gz +/xiphos-3.2.1.tar.gz diff --git a/sources b/sources index 33424e6..eb86caf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -62bafd280a6a5371464d7eabf2ea314e xiphos-3.2.0.tar.gz +b420231baa72f0307bd73e687a8add27 xiphos-3.2.1.tar.gz diff --git a/xiphos.spec b/xiphos.spec index a2cdc6f..eba770a 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,5 +1,5 @@ Name: xiphos -Version: 3.2.0 +Version: 3.2.1 Release: 1%{?dist} Summary: Bible study and research tool From 9738d6a9bd5fc3a104b03a5eda9ec4ab4c2875f0 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 1 Dec 2014 23:44:34 -0600 Subject: [PATCH 03/75] New upstream and EPEL7 version --- xiphos.spec | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/xiphos.spec b/xiphos.spec index 2ef4274..6ff8d1e 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos -Version: 3.2.1 -Release: 2%{?dist} +Version: 3.2.2 +Release: 1%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -13,23 +13,13 @@ BuildRequires: docbook-utils BuildRequires: GConf2-devel BuildRequires: gettext BuildRequires: gnome-doc-utils -%if 0%{?rhel} > 0 && 0%{?rhel} <= 6 -BuildRequires: libglade2-devel -%else BuildRequires: gtk3-devel -%endif -BuildRequires: gtkhtml3-devel BuildRequires: intltool BuildRequires: libgsf-devel BuildRequires: libuuid-devel -#BuildRequires: perl(XML::Parser) BuildRequires: rarian-compat BuildRequires: sword-devel >= 1.7.3 -%if 0%{?rhel} > 0 && 0%{?rhel} <= 6 -BuildRequires: webkitgtk-devel -%else BuildRequires: webkitgtk3-devel -%endif Requires: yelp Obsoletes: gnomesword < 2.4.2-1 Provides: gnomesword = %{version}-%{release} @@ -50,12 +40,9 @@ CXXFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' \ LDFLAGS='%{?__global_ldflags}' \ ./waf configure \ --prefix=%{_prefix} \ -%if 0%{?rhel} > 0 && 0%{?rhel} <= 6 - --gtk=2 \ -%else --gtk=3 \ -%endif - --enable-webkit || cat build/config.log + --enable-webkit \ + --enable-webkit-editor || cat build/config.log ./waf build -v @@ -97,6 +84,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Mon Dec 01 2014 Greg Hellings - 3.2.2-1 +- New upstream release and branch for EPEL7 + * Sat Aug 02 2014 Christopher Meng - 3.2.1-2 - Build against GTK+3 From a7cdaa9d6678e8f0aebf08cd8e7bfbf2d870e312 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 1 Dec 2014 23:58:31 -0600 Subject: [PATCH 04/75] New source tarball --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d63ca5f..f41c7a0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ xiphos-3.1.3.tar.gz /xiphos-3.1.6.tar.gz /xiphos-3.2.0.tar.gz /xiphos-3.2.1.tar.gz +/xiphos-3.2.2.tar.gz diff --git a/sources b/sources index eb86caf..87a4455 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b420231baa72f0307bd73e687a8add27 xiphos-3.2.1.tar.gz +9aaca7380b1537d2b0e6bcc0ab758663 xiphos-3.2.2.tar.gz From 6a4c21112bfe26f8eef0b674c00afb31762b2987 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 2 Dec 2014 00:12:00 -0600 Subject: [PATCH 05/75] Removed upstreamed patch --- format-warning.patch | 24 ------------------------ xiphos.spec | 2 -- 2 files changed, 26 deletions(-) delete mode 100644 format-warning.patch diff --git a/format-warning.patch b/format-warning.patch deleted file mode 100644 index 5549b68..0000000 --- a/format-warning.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/gnome2/dialog.c b/src/gnome2/dialog.c -index d13df3f..ccf161d 100644 ---- a/src/gnome2/dialog.c -+++ b/src/gnome2/dialog.c -@@ -656,18 +656,13 @@ void gui_generic_warning(char *message) - { - #if 1 - GtkWidget *dialog; -- gchar *dialog_text; -- -- dialog_text = g_strdup_printf -- ("Xiphos\n\n%s", message); /* ξίφος */ - - dialog = gtk_message_dialog_new_with_markup - (NULL, /* no need for a parent window */ - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_INFO, - GTK_BUTTONS_OK, -- dialog_text); -- g_free(dialog_text); -+ "Xiphos\n\n%s", message); - - g_signal_connect_swapped (dialog, "response", - G_CALLBACK (gtk_widget_destroy), diff --git a/xiphos.spec b/xiphos.spec index 6ff8d1e..c5bd821 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -5,7 +5,6 @@ Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ Source0: http://downloads.sourceforge.net/gnomesword/xiphos-%{version}.tar.gz -Patch0: format-warning.patch BuildRequires: biblesync-devel BuildRequires: desktop-file-utils BuildRequires: dbus-glib-devel @@ -32,7 +31,6 @@ Project and elsewhere. %prep %setup -q -%patch0 -p1 %build CFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' \ From 7492eb98e85d6936035def3c1041cc167ee5496a Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Mon, 26 Jan 2015 15:22:53 -0600 Subject: [PATCH 06/75] Disable ppc64 build due to upstream failures --- xiphos.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xiphos.spec b/xiphos.spec index c5bd821..8293b33 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -22,6 +22,7 @@ BuildRequires: webkitgtk3-devel Requires: yelp Obsoletes: gnomesword < 2.4.2-1 Provides: gnomesword = %{version}-%{release} +ExcludeArch: ppc64 %description Xiphos (formerly known as GnomeSword) is a Bible study tool written for Linux, From b7e48ca320f4c12579013d22f91b232fed9a31ca Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 10:07:28 +0000 Subject: [PATCH 07/75] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- xiphos.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xiphos.spec b/xiphos.spec index 8293b33..beaa593 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : * Mon Dec 01 2014 Greg Hellings - 3.2.2-1 - New upstream release and branch for EPEL7 +* Mon Aug 18 2014 Fedora Release Engineering - 3.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Aug 02 2014 Christopher Meng - 3.2.1-2 - Build against GTK+3 From 3c36fe41be8099cdc1bfaaa3c0280ef445dedd0e Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 25 Aug 2014 22:08:24 -0500 Subject: [PATCH 08/75] New upstream version 3.2.2 --- xiphos.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xiphos.spec b/xiphos.spec index beaa593..ef1e972 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -32,6 +32,7 @@ Project and elsewhere. %prep %setup -q +rm -rf src/biblesync %build CFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' \ @@ -86,6 +87,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : * Mon Dec 01 2014 Greg Hellings - 3.2.2-1 - New upstream release and branch for EPEL7 +* Mon Aug 25 2014 Greg Hellings - 3.2.2-1 +- New upstream version + * Mon Aug 18 2014 Fedora Release Engineering - 3.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From d204529f8036c4d5f1e6ba402a48979967e12144 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Thu, 16 Oct 2014 11:21:28 +0200 Subject: [PATCH 09/75] fix ppc64* builds --- xiphos.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/xiphos.spec b/xiphos.spec index ef1e972..53c673f 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 3.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -35,8 +35,15 @@ Project and elsewhere. rm -rf src/biblesync %build -CFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' \ -CXXFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' \ +CFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' +CXXFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' +%ifarch %{power64} + CFLAGS="$CFLAGS -D__SANE_USERSPACE_TYPES__" + CXXFLAGS="$CXXFLAGS -D__SANE_USERSPACE_TYPES__" +%endif +export CXXFLAGS +export CFLAGS + LDFLAGS='%{?__global_ldflags}' \ ./waf configure \ --prefix=%{_prefix} \ From a8027bc35eb49d7cfc23eadb8f401757450562bd Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Thu, 16 Oct 2014 14:37:32 +0200 Subject: [PATCH 10/75] add changelog: fix ppc64* builds --- xiphos.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xiphos.spec b/xiphos.spec index 53c673f..25e5de1 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -91,8 +91,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog -* Mon Dec 01 2014 Greg Hellings - 3.2.2-1 -- New upstream release and branch for EPEL7 +* Thu Oct 16 2014 Karsten Hopp 3.2.2-2 +- fix ppc64* builds * Mon Aug 25 2014 Greg Hellings - 3.2.2-1 - New upstream version From 2133022fbd032448c62470d0943a6214fc49c9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Tue, 21 Apr 2015 20:04:22 +0200 Subject: [PATCH 11/75] =?UTF-8?q?Don=E2=80=99t=20build=20on=20ppc*=20on=20?= =?UTF-8?q?EPEL-7=20...=20we=20don't=20have=20gtkhtml3=20there.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiphos.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/xiphos.spec b/xiphos.spec index f8c26b7..c17f55e 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -5,9 +5,9 @@ %define build3 1 %endif -Name: xiphos +Name: xiphos Version: 4.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -33,6 +33,9 @@ BuildRequires: gtk3-devel BuildRequires: webkitgtk3-devel %endif Requires: yelp +%if 0%{?rhel} > 0 && 0%{?rhel} <= 7 +ExcludeArch: ppc64 +%endif %description Xiphos is a Bible study tool written for Linux, @@ -203,6 +206,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/appdata/xiphos.appdata.xml %changelog +* Tue Apr 21 2015 Matej Cepl - 4.0.2-2 +- Don’t build on ppc* on EPEL-7 ... we don't have gtkhtml3 there. + * Wed Apr 15 2015 Greg Hellings 4.0.2-1 - Version bump - major upstream memory bugs @@ -349,7 +355,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Update to 2.3.6 * Thu Jul 24 2008 Deji Akingunola - 2.3.5-2 -- Bump EVR +- Bump EVR * Thu Jul 03 2008 Deji Akingunola - 2.3.5-1 - Update to 2.3.5 @@ -439,7 +445,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Fix Build requires * Wed Nov 08 2006 Deji Akingunola - 2.1.8-1 -- Update to new (unstable) version +- Update to new (unstable) version * Wed Sep 20 2006 Deji Akingunola - 2.1.6-4 - Add perl(XML::Parser) to the BRs From 6539c0550f89a496d91883aed32f812276c54fae Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 1 Mar 2016 19:59:34 +0000 Subject: [PATCH 12/75] Force rebuild against new soname --- xiphos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index de2c980..d71cde5 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -7,7 +7,7 @@ Name: xiphos Version: 4.0.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -210,6 +210,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/appdata/xiphos.appdata.xml %changelog +* Tue Mar 01 2016 Greg Hellings - 4.0.4-4 +- Rebuild against new SWORD library + * Mon Feb 08 2016 Greg Hellings - 4.0.4-3 - Exclude ppc64 from EPEL for lack of gtkhtml3 From 7f31ec14aa862733d8ec6f429c10242af0b5c054 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Thu, 30 Nov 2017 20:56:19 +0000 Subject: [PATCH 13/75] Rebuild for ICU 60.1 --- xiphos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index 7119749..cda6020 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 4.0.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -104,6 +104,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Thu Nov 30 2017 Pete Walter - 4.0.7-2 +- Rebuild for ICU 60.1 + * Mon Sep 25 2017 Greg Hellings - 4.0.7-1 - Upstream release 4.0.7 From 9db04874382e85526aa715414ff3803c4b5a1069 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 12 Jan 2018 15:34:23 +0100 Subject: [PATCH 14/75] Adapt to the webkitgtk4 rename --- xiphos.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xiphos.spec b/xiphos.spec index cda6020..bfff80a 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 4.0.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -19,7 +19,7 @@ BuildRequires: libuuid-devel BuildRequires: rarian-compat BuildRequires: sword-devel >= 1.7.3 BuildRequires: gtk3-devel -BuildRequires: webkitgtk4-devel +BuildRequires: webkit2gtk3-devel BuildRequires: gtkhtml3-devel Requires: yelp Provides: xiphos @@ -104,6 +104,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Fri Jan 12 2018 Tomas Popela - 4.0.7-3 +- Adapt to the webkitgtk4 rename + * Thu Nov 30 2017 Pete Walter - 4.0.7-2 - Rebuild for ICU 60.1 From 571da8b77ec959b4b07aa7daf882c4570cd81546 Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Mon, 15 Jan 2018 17:00:29 -0600 Subject: [PATCH 15/75] Rebuild for Sword 1.8 --- xiphos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index cda6020..2eb87d8 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 4.0.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -104,6 +104,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Mon Jan 15 2018 Greg Hellings - 4.0.7-3 +- Rebuild for SWORD 1.8 + * Thu Nov 30 2017 Pete Walter - 4.0.7-2 - Rebuild for ICU 60.1 From 83a499f803635a94d4b46613f968ae54da9e4703 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 21:42:55 +0000 Subject: [PATCH 16/75] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xiphos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index 632ae92..a73fca4 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 4.0.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -104,6 +104,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 4.0.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Mon Jan 15 2018 Greg Hellings - 4.0.7-4 - Rebuild for SWORD 1.8 From 5e03e879c540e53274773d057803379a155d6bc2 Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Fri, 30 Mar 2018 10:37:16 -0500 Subject: [PATCH 17/75] Force rebuild to new SWORD --- xiphos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index 3ddfe44..c4f4424 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -7,7 +7,7 @@ Name: xiphos Version: 4.0.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -111,6 +111,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Fri Mar 30 2018 Greg Hellings - 4.0.7-2 +- Force rebuild for Sword 1.8.x update + * Mon Sep 25 2017 Greg Hellings - 4.0.7-1 - Upstream release 4.0.7 From 72c928db620885e48c75a3c2e01122767f06fe21 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Mon, 30 Apr 2018 20:44:58 +0100 Subject: [PATCH 18/75] Rebuild for ICU 61.1 --- xiphos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index a73fca4..b9d5785 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 4.0.7 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -104,6 +104,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Mon Apr 30 2018 Pete Walter - 4.0.7-6 +- Rebuild for ICU 61.1 + * Fri Feb 09 2018 Fedora Release Engineering - 4.0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From e0471489cfe02149ccba578faf86bd462cab2a35 Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Mon, 14 May 2018 22:47:55 -0500 Subject: [PATCH 19/75] Upstream version 4.1.0 --- .gitignore | 1 + sources | 2 +- xiphos.spec | 11 +++++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index e14bfdb..7c894ce 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ xiphos-3.1.3.tar.gz /4.0.5.tar.gz /4.0.6.tar.gz /4.0.7.tar.gz +/4.1.0.tar.gz diff --git a/sources b/sources index fac913b..f0c6c3e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (4.0.7.tar.gz) = 041e0e9c6a7406b02c5b45066b44a3d44c37a34a799c3dfd617b6aa52dc50efbf800e475e107108fcf1d0d23a3522d0a9fa0838c474d2e4dd39f3af9d3429bd4 +SHA512 (4.1.0.tar.gz) = f2da65a0cf10cda5ca471a09d351be8e2e5601857b4cb363ba45865e4595bebbc9b8cfa47660a1106b1521b4059d341c7e8c04c0c712387b913bdf994d1c6400 diff --git a/xiphos.spec b/xiphos.spec index 632ae92..e3d7b7b 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,11 +1,11 @@ Name: xiphos -Version: 4.0.7 -Release: 4%{?dist} +Version: 4.1.0 +Release: 1%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ Source0: https://github.com/crosswire/%{name}/archive/%{version}.tar.gz -BuildRequires: biblesync-devel >= 1.1.2 +BuildRequires: biblesync-devel >= 1.2 BuildRequires: desktop-file-utils BuildRequires: dbus-glib-devel BuildRequires: docbook-utils @@ -17,7 +17,7 @@ BuildRequires: intltool BuildRequires: libgsf-devel BuildRequires: libuuid-devel BuildRequires: rarian-compat -BuildRequires: sword-devel >= 1.7.3 +BuildRequires: sword-devel >= 1.8 BuildRequires: gtk3-devel BuildRequires: webkit2gtk3-devel BuildRequires: gtkhtml3-devel @@ -104,6 +104,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Mon May 14 2018 Greg Hellings - 4.1.0-1 +- Upstream release 4.1.0 + * Mon Jan 15 2018 Greg Hellings - 4.0.7-4 - Rebuild for SWORD 1.8 From 9c728cbdd8bf98645669742f9da99735a027ca11 Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Mon, 14 May 2018 23:12:21 -0500 Subject: [PATCH 20/75] Correct several lint issues --- xiphos.spec | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/xiphos.spec b/xiphos.spec index 79f3adc..0b0c4b3 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 4.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -22,13 +22,9 @@ BuildRequires: gtk3-devel BuildRequires: webkit2gtk3-devel BuildRequires: gtkhtml3-devel Requires: yelp -Provides: xiphos -Provides: xiphos-common -Provides: xiphos-gtk2 -Provides: xiphos-gtk3 -Obsoletes: xiphos-gtk2 -Obsoletes: xiphos-gtk3 -Obsoletes: xiphos-common +Obsoletes: xiphos-gtk2 < 4.1 +Obsoletes: xiphos-gtk3 < 4.1 +Obsoletes: xiphos-common < 4.1 %if 0%{?rhel} > 0 && 0%{?rhel} <= 7 ExcludeArch: ppc64 @@ -66,11 +62,11 @@ LDFLAGS='%{?__global_ldflags}' \ ./waf install --destdir %{buildroot} desktop-file-install --delete-original \ - --add-category=X-Bible \ - --add-category=X-Religion \ - --dir=%{buildroot}%{_datadir}/applications \ - --copy-name-to-generic-name \ - %{buildroot}%{_datadir}/applications/xiphos.desktop + --add-category=X-Bible \ + --add-category=X-Religion \ + --dir=%{buildroot}%{_datadir}/applications \ + --copy-name-to-generic-name \ + %{buildroot}%{_datadir}/applications/xiphos.desktop # package docs with macro rm -frv %{buildroot}%{_docdir}/%{name} From e11279c0bca51a49d543048e4bdcfb05412e8ff6 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Tue, 10 Jul 2018 22:05:54 +0100 Subject: [PATCH 21/75] Rebuild for ICU 62 --- xiphos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index 0b0c4b3..a76095c 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 4.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -100,6 +100,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Tue Jul 10 2018 Pete Walter - 4.1.0-3 +- Rebuild for ICU 62 + * Mon May 14 2018 Greg Hellings - 4.1.0-1 - Upstream release 4.1.0 From e5e43dcff2214fe9934ca44f6d4a23b56ac7e422 Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Thu, 12 Jul 2018 13:41:27 -0500 Subject: [PATCH 22/75] Rebuild for SWORD 1.8.1-7 --- xiphos.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index a76095c..dd4eada 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -1,6 +1,6 @@ Name: xiphos Version: 4.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Bible study and research tool License: GPLv2+ URL: http://xiphos.org/ @@ -100,6 +100,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog +* Thu Jul 12 2018 Greg Hellings - 4.1.1-2 +- Rebuild for SWORD 1.8.1-7 + * Tue Jul 10 2018 Pete Walter - 4.1.0-3 - Rebuild for ICU 62 From fb30d64e2e583f6c0dcb12d85ae03bbc6f8140b5 Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Thu, 12 Jul 2018 14:10:45 -0500 Subject: [PATCH 23/75] Fix %changelog version name --- xiphos.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xiphos.spec b/xiphos.spec index dd4eada..1a93728 100644 --- a/xiphos.spec +++ b/xiphos.spec @@ -100,7 +100,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/xiphos/ %changelog -* Thu Jul 12 2018 Greg Hellings - 4.1.1-2 +* Thu Jul 12 2018 Greg Hellings - 4.1.0-2 - Rebuild for SWORD 1.8.1-7 * Tue Jul 10 2018 Pete Walter - 4.1.0-3 From fae7108249d70f8fe6584881bea97d906d387a3a Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Sat, 28 Jul 2018 22:28:33 -0500 Subject: [PATCH 24/75] Switch build to CMake --- cmake.patch | 124109 +++++++++++++++++++++++++++++++++++++++++++++++++ xiphos.spec | 48 +- 2 files changed, 124144 insertions(+), 13 deletions(-) create mode 100644 cmake.patch diff --git a/cmake.patch b/cmake.patch new file mode 100644 index 0000000..ca63bad --- /dev/null +++ b/cmake.patch @@ -0,0 +1,124109 @@ +diff --git a/.bzrignore b/.bzrignore +index 1425fec6..67dc79cd 100644 +--- a/.bzrignore ++++ b/.bzrignore +@@ -34,12 +34,12 @@ po/.intltool-merge-cache + po/Makefile.in.in + po/POTFILES + po/stamp-it +-src/gnome2/.libs/ +-src/gnome2/ipc-interface.h +-src/gnome2/locale_set.c +-src/gnome2/marshal.c +-src/gnome2/marshal.h +-src/gnome2/xiphos ++src/gtk/.libs/ ++src/gtk/ipc-interface.h ++src/gtk/locale_set.c ++src/gtk/marshal.c ++src/gtk/marshal.h ++src/gtk/xiphos + .waf* + build + .lock-wscript +diff --git a/CMakeLists.txt b/CMakeLists.txt +new file mode 100644 +index 00000000..02073f1d +--- /dev/null ++++ b/CMakeLists.txt +@@ -0,0 +1,109 @@ ++# Xiphos build script ++# ++# Copyright (C) 2018 Xiphos Development Team ++# ++# 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 Library General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with this program; if not, write to the Free Software ++# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. ++# ++ ++# the oldest stable cmake version we support ++cmake_minimum_required (VERSION 3.6 FATAL_ERROR) ++cmake_policy(VERSION 3.6) ++ ++ ++### set project name and version HERE ### ++project (xiphos ++ VERSION "4.1.0" ++ LANGUAGES C CXX) ++ ++ ++# set commonly used Xiphos variables: ++# Xiphos website ++set (XIPHOS_WEBSITE "http://xiphos.org") ++ ++# Xiphos issues report website ++set (XIPHOS_BUG_REPORT "https://github.com/crosswire/xiphos/issues") ++ ++# Xiphos release date, (read from 'ChangeLog') ++# read last entry in ChangeLog ++file(STRINGS ${PROJECT_SOURCE_DIR}/ChangeLog ++ ChangeLog_lastentry REGEX "^20[0-9][0-9]-[0-9][0-9]" LIMIT_COUNT 1) ++# get year ++string(SUBSTRING ${ChangeLog_lastentry} 0 4 ChangeLog_year) ++# get month's number ++string(SUBSTRING ${ChangeLog_lastentry} 5 2 ChangeLog_month) ++# transform month's number into month's name ++list(APPEND month_names "XXX;Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec") ++list(GET month_names ${ChangeLog_month} ChangeLog_month) ++# generate release date string ++string(CONFIGURE "@ChangeLog_month@ @ChangeLog_year@" XIPHOS_RELEASE_DATE) ++ ++ ++# make sure it's an out-of-stream build ++file(TO_CMAKE_PATH "${PROJECT_BINARY_DIR}/CMakeLists.txt" LOC_PATH) ++if(EXISTS "${LOC_PATH}") ++ message(FATAL_ERROR "You cannot build in the source directory (or any directory with a CMakeLists.txt file). Please make an out-of-stream build subdirectory.") ++endif() ++ ++ ++# tell cmake where its modules can be found in our project directory ++list (APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) ++list (APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules) ++ ++# set install directory variables as defined by the GNU Coding Standards. ++# e.g. CMAKE_INSTALL_DATAROOTDIR; CMAKE_INSTALL_FULL_BINDIR; ++# CMAKE_INSTALL_FULL_DOCDIR... ++include (GNUInstallDirs) ++ ++# set CMAKE options that the user can optionally select ON or OFF. ++include (XiphosOptions) ++ ++# find needed tools for building Xiphos ++include (XiphosBuildTools) ++ ++# find dependencies ++include (XiphosDependencies) ++ ++# set flags ++include (XiphosFlags) ++ ++# create config.h ++include (XiphosConfig_h) ++ ++# build xiphos ++add_subdirectory(win32) ++add_subdirectory(src/backend) ++add_subdirectory(src/editor) ++add_subdirectory(src/main) ++add_subdirectory(src/webkit) ++add_subdirectory(src/xiphos_html) ++add_subdirectory(src/gtk) ++ ++# build xiphos-nav ++add_subdirectory(src/examples) ++ ++# build other stuff ++add_subdirectory(pixmaps) ++add_subdirectory(ui) ++add_subdirectory(po) ++add_subdirectory(desktop) ++add_subdirectory(doc) ++add_subdirectory(mhelp) ++ ++# create packages ++add_subdirectory(cpack) ++ ++# report ++include (XiphosReport) ++# End +diff --git a/INSTALL-cmake.md b/INSTALL-cmake.md +new file mode 100644 +index 00000000..d0f601d9 +--- /dev/null ++++ b/INSTALL-cmake.md +@@ -0,0 +1,232 @@ ++Installation instructions ++========================== ++ ++On Linux install Xiphos through you package manager, for example on Fedora: ++ ++ $ sudo dnf install xiphos-gtk3 ++ ++Or on Debian, Ubuntu, or Linux Mint: ++ ++ $ sudo apt-get update ++ $ sudo apt-get install xiphos ++ ++If you use Windows download the .exe file from: http://xiphos.org/download/ ++ ++Compile Xiphos from source ++========================== ++ ++Get source ++---------- ++ ++To compile Xiphos from source you will need to get a checkout of Xiphos from ++GitHub. To do so, do: ++ ++ $ git clone https://github.com/crosswire/xiphos.git ++ ++Dependencies ++------------ ++ ++Before building Xiphos with CMake, please ensure that you have the platform ++specific dependencies installed: ++ ++ gcc GCC, the GNU Compiler Collection ++ intltool Set of tools to centralize translation ++ libxml2 XML C parser and toolkit ++ libgsf The G Structured File Library ++ gconfmm C++ wrappers for GConf ++ libuuid universally unique identifier library ++ sword >= 1.8.0 CrossWire Bible Society's Bible software ++ biblesync Protocol to support Bible software shared co-navigation ++ Gtk+-2.0 or GTK+-3.0 The GIMP Toolkit ++ WebKit1 or Webkit2 Port to Gtk+ of the WebKit rendering engine ++ ++Optional Dependencies: ++ ++ gtkhtml Lightweight HTML rendering/editing engine ++ dbus-glib API for use of D-Bus from GLib applications ++ ++Recommended tools: ++ ++ intltool An internationalization tool ++ appstream-util Utility to validate AppStream metadata ++ desktop-file-validate Validates a desktop file ++ itstool Translates XML documents with PO files ++ xmllint Validates an XML file against an XSD schema ++ yelp-build Creates HTML, EPUB, and other files from help files ++ chmcmd Creates a Compressed HTML help file (chm) ++ ++For *Fedora*, you need to make sure you have these packages installed: ++ ++ $ sudo dnf install cmake gcc-c++ intltool gtk3-devel dbus-glib-devel gtkhtml3-devel webkitgtk4-devel libxml2-devel libgsf-devel gconfmm26-devel sword-devel libuuid-devel biblesync-devel intltool libappstream-glib-devel desktop-file-utils itstool yelp-tools fpc ++ ++Or for *Ubuntu*, both GTK3 and GTK2 versions, install: ++ ++ $ sudo apt-get install cmake cpp intltool libdbus-glib-1-dev libwebkitgtk-3.0-dev libxml2-dev libgsf-1-dev libgconfmm-2.6-dev libsword-dev uuid-dev libwebkitgtk-dev libglade2-dev intltool appstream-util desktop-file-utils itstool libxml2-utils yelp-tools fp-utils uuid-runtime ++ ++ ++Building Xiphos with CMake ++-------------------------- ++ ++CMake is a cross-platform tool for generating makefiles (as well as project files ++used by IDEs). ++ ++The current version of the buildsystem is capable of building and packaging ++Xiphos for the following platforms: ++ ++- Linux (GNU Makefiles, Ninja) ++ ++Should work, but untested: ++- FreeBSD (GNU Makefiles) ++ ++Work in progress: ++- Linux Cross compiling for Windows (GNU Makefiles, Ninja) ++ ++While the legacy build systems typically used in-source builds, it's highly ++recommended to use *out-of-source* builds with CMake. ++ ++The necessary runtime dependencies such as generated source files, static ++libraries, translated files are copied over to the build directory automatically ++during the build process. ++ ++ ++Commands for building Xiphos ++---------------------------- ++ ++This section lists the necessary commands for building Xiphos with CMake. ++CMake supports different generators (like GNU/NMake Makefiles or Ninja). ++ ++The cmake command-line tool --help output lists available generators on the ++current platform. Use its -G option to specify the generator for a new build tree. ++ ++Set-up the out-of-source build. Using a build tree that is separate from the ++source tree will prevent CMake from generating any files in the source tree. ++Create a completely separate directory: ++ ++ ++ mkdir xiphos-build && cd xiphos-build ++ ++ ++All examples below are for out-of-source builds with Xiphos checked out to ++``: ++ ++### Linux build with Ninja ++ ++ ++ cmake -G Ninja ++ cmake --build . -- -v # or: ninja -v all ++ ++`CMAKE_BUILD_TYPE` defaults to `Release` (or to `Debug` if a .git dir exists) ++ ++### Linux build with Makefiles ++ ++ cmake ++ cmake --build . -- VERBOSE=1 -j$(nproc) # or: make VERBOSE=1 -j$(nproc) ++ ++ ++Build Options ++------------- ++ ++Xiphos supports a number of build options that can enable or disable certain ++functionality. These options must be set when running CMake with ++`-DENABLE_