diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-01-13 18:31:45 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-01-13 18:31:45 +0100 |
commit | ac8f963d0789d56a6a5b59fbd15c5ef7e9855a62 (patch) | |
tree | c49c98b6bc0d01fe94892032ce6865036cacd552 /pkgs/applications/video/dvdstyler | |
parent | 0792676d67081df80152b663f967258d341701cf (diff) |
dvdstyler: 3.1.2 -> 3.2.1
Diffstat (limited to 'pkgs/applications/video/dvdstyler')
-rw-r--r-- | pkgs/applications/video/dvdstyler/default.nix | 13 | ||||
-rw-r--r-- | pkgs/applications/video/dvdstyler/wxgtk32.patch | 12 |
2 files changed, 21 insertions, 4 deletions
diff --git a/pkgs/applications/video/dvdstyler/default.nix b/pkgs/applications/video/dvdstyler/default.nix index cd3691458336..ba0d4945385e 100644 --- a/pkgs/applications/video/dvdstyler/default.nix +++ b/pkgs/applications/video/dvdstyler/default.nix @@ -17,7 +17,7 @@ , libjpeg , pkg-config , wrapGAppsHook -, wxGTK30 # crash with wxGTK30 with GTK2 compat +, wxGTK32 , wxSVG , xine-ui , xmlto @@ -33,13 +33,18 @@ let inherit (lib) optionals makeBinPath; in stdenv.mkDerivation rec { pname = "dvdstyler"; - version = "3.1.2"; + version = "3.2.1"; src = fetchurl { url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/DVDStyler-${version}.tar.bz2"; - sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4"; + sha256 = "sha256-C7M0hzn0yTCXRUuBTss6WPa6zo8DD0Fhmp/ur7R0dVg="; }; + patches = [ + # https://sourceforge.net/p/dvdstyler/DVDStyler/ci/679fa8dc6ac7657775eda9d7b0ed9da9d069aeec/ + ./wxgtk32.patch + ]; + nativeBuildInputs = [ bison docbook_xml_dtd_412 @@ -62,7 +67,7 @@ in stdenv.mkDerivation rec { libexif libjpeg wxSVG - wxGTK30 + wxGTK32 xine-ui ] ++ optionals dvdisasterSupport [ dvdisaster ] diff --git a/pkgs/applications/video/dvdstyler/wxgtk32.patch b/pkgs/applications/video/dvdstyler/wxgtk32.patch new file mode 100644 index 000000000000..92b3c3fbe3ba --- /dev/null +++ b/pkgs/applications/video/dvdstyler/wxgtk32.patch @@ -0,0 +1,12 @@ +--- a/wxVillaLib/PropDlg.cpp ++++ b/wxVillaLib/PropDlg.cpp +@@ -12,7 +12,9 @@ + #include "utils.h" + #include <wx/fontdlg.h> + #include <wx/colordlg.h> ++#ifdef __WXMSW__ + #include <wx/generic/colrdlgg.h> ++#endif + #include <wx/filedlg.h> + #include <wx/dirdlg.h> + #include <wx/grid.h> |