From 2d47e1be722df1e61132ae4a7b17444f3af656f9 Mon Sep 17 00:00:00 2001 From: Ambroz Bizjak Date: Sun, 12 Mar 2017 16:49:24 +0100 Subject: [PATCH] kdevelop: 5.0.3 -> 5.0.4 (#23788) --- .../editors/kdevelop5/kdevelop.nix | 6 +- .../kdevplatform-projectconfigskeleton.patch | 55 ------------------- .../editors/kdevelop5/kdevplatform.nix | 8 +-- 3 files changed, 6 insertions(+), 63 deletions(-) delete mode 100644 pkgs/applications/editors/kdevelop5/kdevplatform-projectconfigskeleton.patch diff --git a/pkgs/applications/editors/kdevelop5/kdevelop.nix b/pkgs/applications/editors/kdevelop5/kdevelop.nix index 19ffb2c4959b..facd1206a00e 100644 --- a/pkgs/applications/editors/kdevelop5/kdevelop.nix +++ b/pkgs/applications/editors/kdevelop5/kdevelop.nix @@ -9,8 +9,8 @@ let pname = "kdevelop"; - version = "5.0.3"; - dirVersion = "5.0.3"; + version = "5.0.4"; + dirVersion = "5.0.4"; in stdenv.mkDerivation rec { @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://kde/stable/${pname}/${dirVersion}/src/${name}.tar.xz"; - sha256 = "17a58dfc38b853c6c5987084e8973b4f7f5015a6c2c20f94c2a9f96b0c13f601"; + sha256 = "191142b2bdb14837c82721fdfeb15e852329f2c4c0d48fd479c57514c3235d55"; }; nativeBuildInputs = [ diff --git a/pkgs/applications/editors/kdevelop5/kdevplatform-projectconfigskeleton.patch b/pkgs/applications/editors/kdevelop5/kdevplatform-projectconfigskeleton.patch deleted file mode 100644 index ba5140c77fcf..000000000000 --- a/pkgs/applications/editors/kdevelop5/kdevplatform-projectconfigskeleton.patch +++ /dev/null @@ -1,55 +0,0 @@ -From e84645d1694bdad7f179cd41babce723fe07aa63 Mon Sep 17 00:00:00 2001 -From: Kevin Funk -Date: Mon, 5 Dec 2016 15:20:53 +0100 -Subject: Hotfix for restoring build with newer KConfig - -https://phabricator.kde.org/D3386 is a SIC change, handle that ---- - project/projectconfigskeleton.cpp | 4 ++++ - project/projectconfigskeleton.h | 14 +++++--------- - 2 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/project/projectconfigskeleton.cpp b/project/projectconfigskeleton.cpp -index 0e06149..c4c9767 100644 ---- a/project/projectconfigskeleton.cpp -+++ b/project/projectconfigskeleton.cpp -@@ -46,6 +46,10 @@ ProjectConfigSkeleton::ProjectConfigSkeleton( const QString & configname ) - ProjectConfigSkeleton::ProjectConfigSkeleton( KSharedConfigPtr config ) - : KConfigSkeleton( config ), d( new ProjectConfigSkeletonPrivate ) - { -+ // FIXME: Check if that does the right thing. -+ // https://phabricator.kde.org/D3386 broke source compat in kconfig, thus requiring us to make this ctor public -+ Q_ASSERT(config); -+ d->m_developerTempFile = config->name(); - } - - void ProjectConfigSkeleton::setDeveloperTempFile( const QString& cfg ) -diff --git a/project/projectconfigskeleton.h b/project/projectconfigskeleton.h -index ed17ed0..c8314df 100644 ---- a/project/projectconfigskeleton.h -+++ b/project/projectconfigskeleton.h -@@ -55,16 +55,12 @@ public: - - Path projectFile() const; - Path developerFile() const; -+ -+protected: -+ explicit ProjectConfigSkeleton( KSharedConfigPtr config ); -+ - private: -- /** -- * There's no way in KDE4 API to find out the file that the config object -- * was created from, so we can't apply defaults when using this -- * constructors. Thus I'm making this private, so we can find out when -- * this constructor is used and see if we need to add appropriate API to -- * kdelibs -- */ -- explicit ProjectConfigSkeleton( KSharedConfigPtr config ); -- struct ProjectConfigSkeletonPrivate * const d; -+ struct ProjectConfigSkeletonPrivate * const d; - }; - - } --- -cgit v0.11.2 - diff --git a/pkgs/applications/editors/kdevelop5/kdevplatform.nix b/pkgs/applications/editors/kdevelop5/kdevplatform.nix index c36885a9e139..f2b4fc32fe4c 100644 --- a/pkgs/applications/editors/kdevelop5/kdevplatform.nix +++ b/pkgs/applications/editors/kdevelop5/kdevplatform.nix @@ -6,8 +6,8 @@ let pname = "kdevplatform"; - version = "5.0.3"; - dirVersion = "5.0.3"; + version = "5.0.4"; + dirVersion = "5.0.4"; in stdenv.mkDerivation rec { @@ -15,11 +15,9 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://kde/stable/kdevelop/${dirVersion}/src/${name}.tar.xz"; - sha256 = "643d1145e1948af221f9ae148d0a10809f3d89af4b97ff0d6c4d571004f46bd4"; + sha256 = "01abfcd71383048d017fe989ccce0e7590010a3975bbe6e161f55ababe2ad471"; }; - patches = [ ./kdevplatform-projectconfigskeleton.patch ]; - nativeBuildInputs = [ cmake gettext pkgconfig extra-cmake-modules makeQtWrapper ]; propagatedBuildInputs = [ ];