Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

xiphos: 4.2.1 -> 4.3.2

emaryn 2055acbb 890df368

+15 -28
+6 -3
pkgs/by-name/xi/xiphos/0001-Add-dbus-glib-dependency-to-main.patch
··· 18 18 index 49b86371..bb8e4bb6 100644 19 19 --- a/src/main/CMakeLists.txt 20 20 +++ b/src/main/CMakeLists.txt 21 - @@ -74,3 +74,14 @@ target_link_libraries(main 22 - PkgConfig::Sword 21 + @@ -77,6 +77,17 @@ 23 22 PkgConfig::Biblesync 24 23 ) 25 - + 24 + 26 25 +IF (DBUS) 27 26 + target_include_directories (main 28 27 + PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ··· 33 32 + PkgConfig::DBus 34 33 + ) 35 34 +ENDIF (DBUS) 35 + + 36 + if(WK_FOUND) 37 + target_compile_definitions(main 38 + PRIVATE 36 39 -- 37 40 2.34.1 38 41
+9 -25
pkgs/by-name/xi/xiphos/package.nix
··· 1 1 { 2 - stdenv, 3 2 lib, 3 + stdenv, 4 4 fetchFromGitHub, 5 - fetchpatch, 6 5 appstream-glib, 7 6 biblesync, 8 7 cmake, ··· 10 9 desktop-file-utils, 11 10 docbook2x, 12 11 docbook_xml_dtd_412, 13 - enchant2, 14 12 glib, 15 - gtk3, 16 13 gtkhtml, 17 14 icu, 18 15 intltool, 19 - isocodes, 20 16 itstool, 21 17 libuuid, 22 18 libxslt, 23 19 minizip, 24 20 pkg-config, 25 21 sword, 26 - webkitgtk_4_0, 22 + webkitgtk_4_1, 27 23 wrapGAppsHook3, 28 24 yelp-tools, 29 25 zip, 30 26 }: 31 27 32 - stdenv.mkDerivation rec { 28 + stdenv.mkDerivation (finalAttrs: { 33 29 pname = "xiphos"; 34 - version = "4.2.1"; 30 + version = "4.3.2"; 35 31 36 32 src = fetchFromGitHub { 37 33 owner = "crosswire"; 38 34 repo = "xiphos"; 39 - rev = version; 40 - hash = "sha256-H5Q+azE2t3fgu77C9DxrkeUCJ7iJz3Cc91Ln4dqLvD8="; 35 + tag = finalAttrs.version; 36 + hash = "sha256-HTndBWfze8tV4G9npLYB7SkgpJNQcQBZqHKjxhZU6JY="; 41 37 }; 42 38 43 39 patches = [ 44 - # GLIB_VERSION_MIN_REQUIRED is not defined. 45 - # https://github.com/crosswire/xiphos/issues/1083#issuecomment-820304874 46 - (fetchpatch { 47 - name = "xiphos-glibc.patch"; 48 - url = "https://aur.archlinux.org/cgit/aur.git/plain/xiphos-glibc.patch?h=xiphos&id=bb816f43ba764ffac1287ab1e2a649c2443e3ce8"; 49 - sha256 = "he3U7phU2/QCrZidHviupA7YwzudnQ9Jbb8eMZw6/ck="; 50 - extraPrefix = ""; 51 - }) 52 - 53 40 # Fix D-Bus build 54 41 # https://github.com/crosswire/xiphos/pull/1103 55 42 ./0001-Add-dbus-glib-dependency-to-main.patch ··· 73 60 buildInputs = [ 74 61 biblesync 75 62 dbus-glib 76 - enchant2 77 63 glib 78 - gtk3 79 64 gtkhtml 80 65 icu 81 - isocodes 82 66 libuuid 83 67 minizip 84 68 sword 85 - webkitgtk_4_0 69 + webkitgtk_4_1 86 70 ]; 87 71 88 72 cmakeFlags = [ ··· 92 76 93 77 preConfigure = '' 94 78 # The build script won't continue without the version saved locally. 95 - echo "${version}" > cmake/source_version.txt 79 + echo "${finalAttrs.version}" > cmake/source_version.txt 96 80 97 81 export SWORD_HOME=${sword}; 98 82 ''; ··· 110 94 maintainers = [ ]; 111 95 platforms = lib.platforms.linux; 112 96 }; 113 - } 97 + })