mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
New package: xiphos-4.3.2
Based on the template provided by @jonpikum at https://github.com/void-linux/void-packages/issues/50026#issuecomment-2766343046 Includes the patch from https://gitlab.archlinux.org/archlinux/packaging/packages/xiphos/-/blob/main/https-by-default.patch Fixes: #50026 Co-authored-by: Duncaen <duncaen@voidlinux.org>
This commit is contained in:
parent
0fcc30334b
commit
4112f046e3
3 changed files with 56 additions and 0 deletions
12
srcpkgs/xiphos/patches/build-without-uuidgen.patch
Normal file
12
srcpkgs/xiphos/patches/build-without-uuidgen.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
Its actually not needed during build. void's build chroot does not come with it.
|
||||
And installing it by installing `util-linux` breaks the build chroot.
|
||||
--- a/cmake/XiphosBuildTools.cmake
|
||||
+++ b/cmake/XiphosBuildTools.cmake
|
||||
@@ -85,7 +85,6 @@
|
||||
|
||||
# ePub help: yelp-build needs uuidgen, epub needs zip
|
||||
if (EPUB)
|
||||
- xiphos_find_program (UUIDGEN uuidgen)
|
||||
xiphos_find_program (ZIP zip)
|
||||
endif (EPUB)
|
||||
|
28
srcpkgs/xiphos/patches/https-by-default.patch
Normal file
28
srcpkgs/xiphos/patches/https-by-default.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
commit a6bf0fe8d243bb7637410985dac6dfee42f56ff7
|
||||
Author: T.J. Townsend <blakkheim@archlinux.org>
|
||||
Date: Sun Oct 9 22:51:53 2022 -0400
|
||||
|
||||
Fetch modules over HTTPS instead of FTP by default.
|
||||
|
||||
diff --git a/src/backend/module_manager.cc b/src/backend/module_manager.cc
|
||||
index 1b53a601..b0b3b0e0 100644
|
||||
--- a/src/backend/module_manager.cc
|
||||
+++ b/src/backend/module_manager.cc
|
||||
@@ -554,13 +554,13 @@ void backend_init_module_mgr_config(void)
|
||||
|
||||
SWConfig config(confPath.c_str());
|
||||
|
||||
- InstallSource is("FTP");
|
||||
+ InstallSource is("HTTPS");
|
||||
is.caption = "CrossWire";
|
||||
- is.source = "ftp.crosswire.org";
|
||||
- is.directory = "/pub/sword/raw";
|
||||
+ is.source = "www.crosswire.org";
|
||||
+ is.directory = "/ftpmirror/pub/sword/raw";
|
||||
|
||||
config["General"]["PassiveFTP"] = "true";
|
||||
- config["Sources"]["FTPSource"] = is.getConfEnt();
|
||||
+ config["Sources"]["HTTPSSource"] = is.getConfEnt();
|
||||
config.save();
|
||||
|
||||
InstallSource is_local("DIR");
|
16
srcpkgs/xiphos/template
Normal file
16
srcpkgs/xiphos/template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'xiphos'
|
||||
pkgname=xiphos
|
||||
version=4.3.2
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="appstream-glib dbus-glib-devel desktop-file-utils gettext
|
||||
glib-devel libxml2-python3 pkg-config python3-lxml yelp-tools zip"
|
||||
makedepends="biblesync-devel dbus-glib-devel gtk+3-devel icu-devel intltool
|
||||
itstool libffi libsoup3-devel libwebkit2gtk41-devel libxml2 libxslt
|
||||
minizip-devel sword-devel zlib"
|
||||
short_desc="GTK3 Bible tool for reading, study, and research"
|
||||
maintainer="Samuel Allan <samuelengineer@fastmail.com>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://xiphos.org/"
|
||||
distfiles="https://github.com/crosswire/xiphos/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=9d90678657aa1cf34a5101aa56bcdbdfdb586609d8a43004b872ca80988f5f35
|
Loading…
Add table
Reference in a new issue