about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-10-20 03:37:10 +0200
committerGitHub <noreply@github.com>2022-10-20 03:37:10 +0200
commit60c4f6436e2c1f0deb37f4855540168047c56444 (patch)
treeb7931488efb8b5dfc67fe900589cec34df8fbc3d /pkgs/applications
parent916be06faa90d66291362a0952430132ed03e2af (diff)
parent0d13ad34f6008454b1a09c6fb52592e7bc954e58 (diff)
Merge pull request #195884 from wegank/rapidsvn-wxgtk
rapidsvn: migrate to wxGTK30
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/version-management/rapidsvn/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/applications/version-management/rapidsvn/default.nix b/pkgs/applications/version-management/rapidsvn/default.nix
index bcb90c20698b7..4bede0ac82b68 100644
--- a/pkgs/applications/version-management/rapidsvn/default.nix
+++ b/pkgs/applications/version-management/rapidsvn/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, wxGTK, subversion, apr, aprutil, python3, fetchpatch }:
+{ lib, stdenv, fetchurl, wxGTK30-gtk3, subversion, apr, aprutil, python3, fetchpatch }:
 
 stdenv.mkDerivation rec {
   pname = "rapidsvn";
@@ -9,12 +9,14 @@ stdenv.mkDerivation rec {
     sha256 = "1bmcqjc12k5w0z40k7fkk8iysqv4fw33i80gvcmbakby3d4d4i4p";
   };
 
-  buildInputs = [ wxGTK subversion apr aprutil python3 ];
+  buildInputs = [ wxGTK30-gtk3 subversion apr aprutil python3 ];
 
   NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
 
-  configureFlags = [ "--with-svn-include=${subversion.dev}/include"
-    "--with-svn-lib=${subversion.out}/lib" ];
+  configureFlags = [
+    "--with-svn-include=${subversion.dev}/include"
+    "--with-svn-lib=${subversion.out}/lib"
+  ];
 
   patches = [
     ./fix-build.patch
@@ -31,6 +33,11 @@ stdenv.mkDerivation rec {
       url = "https://github.com/RapidSVN/RapidSVN/pull/44/commits/3e375f11d94cb8faddb8b7417354a9fb51f304ec.patch";
       hash = "sha256-BUpCMEH7jctOLtJktDUE52bxexfLemLItZ0IgdAnq9g=";
     })
+    # wxWidgets 3.0 compatibility patches
+    (fetchpatch {
+      url = "https://sources.debian.org/data/main/r/rapidsvn/0.12.1dfsg-3.1/debian/patches/wx3.0.patch";
+      sha256 = "sha256-/07+FoOrNw/Pc+wlVt4sGOITfIIEu8ZbI3/ym0u8bs4=";
+    })
   ];
 
   meta = {