pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kxmlgui kxmlgui: SUBST rather than patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a421ea10e0e0
branches:  trunk
changeset: 374843:a421ea10e0e0
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Jan 30 08:17:10 2018 +0000

description:
kxmlgui: SUBST rather than patch

diffstat:

 x11/kxmlgui/Makefile                         |   8 +++++++-
 x11/kxmlgui/distinfo                         |   3 +--
 x11/kxmlgui/patches/patch-src_CMakeLists.txt |  15 ---------------
 3 files changed, 8 insertions(+), 18 deletions(-)

diffs (53 lines):

diff -r a5da2385bc45 -r a421ea10e0e0 x11/kxmlgui/Makefile
--- a/x11/kxmlgui/Makefile      Tue Jan 30 08:04:59 2018 +0000
+++ b/x11/kxmlgui/Makefile      Tue Jan 30 08:17:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2018/01/24 19:06:12 markd Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/30 08:17:10 markd Exp $
 
 DISTNAME=      kxmlgui-${KF5VER}
 PKGREVISION=   1
@@ -12,6 +12,12 @@
 
 USE_TOOLS+=    msgmerge
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       post-patch
+SUBST_MESSAGE.xdg=     Install via examples dir.
+SUBST_FILES.xdg=       src/CMakeLists.txt
+SUBST_SED.xdg=         -e 's:{KDE_INSTALL_CONFDIR}/ui:{KDE_INSTALL_DATAROOTDIR}/examples/kxmlgui:'
+
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg/ui
 CONF_FILES+=   ${PREFIX}/share/examples/kxmlgui/ui_standards.rc \
                ${PKG_SYSCONFDIR}/xdg/ui/ui_standards.rc
diff -r a5da2385bc45 -r a421ea10e0e0 x11/kxmlgui/distinfo
--- a/x11/kxmlgui/distinfo      Tue Jan 30 08:04:59 2018 +0000
+++ b/x11/kxmlgui/distinfo      Tue Jan 30 08:17:10 2018 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/01/17 20:16:58 markd Exp $
+$NetBSD: distinfo,v 1.4 2018/01/30 08:17:10 markd Exp $
 
 SHA1 (kxmlgui-5.41.0.tar.xz) = 7992b037e952940a975edef107e6a47415c08c8b
 RMD160 (kxmlgui-5.41.0.tar.xz) = a641f5f61bb416ed3544f33e42a89bb16a766468
 SHA512 (kxmlgui-5.41.0.tar.xz) = c8e7d39ebf8e0cb887f7b8bde7fb1a9a5f35e24972df26b1ba9ff5bb444fc905bd9380e6daf3b52a6bfe97d022029f9c00f55b0062d24de51dc0b0ccd255f1a1
 Size (kxmlgui-5.41.0.tar.xz) = 884016 bytes
-SHA1 (patch-src_CMakeLists.txt) = 415ba3e83db7aea0c960a776e06ab9bb7665f4af
diff -r a5da2385bc45 -r a421ea10e0e0 x11/kxmlgui/patches/patch-src_CMakeLists.txt
--- a/x11/kxmlgui/patches/patch-src_CMakeLists.txt      Tue Jan 30 08:04:59 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.2 2018/01/17 20:16:59 markd Exp $
-
-Install via examples dir
-
---- src/CMakeLists.txt.orig    2017-12-02 20:09:39.000000000 +0000
-+++ src/CMakeLists.txt
-@@ -136,7 +136,7 @@ install(FILES
- )
- 
- # install this file to be compatible, it is bundled in the resource file, too
--install( FILES ui_standards.rc  DESTINATION  ${KDE_INSTALL_CONFDIR}/ui )
-+install( FILES ui_standards.rc  DESTINATION  ${KDE_INSTALL_DATAROOTDIR}/examples/kxmlgui )
- 
- if (BUILD_QCH)
-     ecm_add_qch(



Home | Main Index | Thread Index | Old Index