pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/wxGTK32 x11/wxGTK32: install locale files when bui...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2750c6e6ed89
branches: trunk
changeset: 382734:2750c6e6ed89
user: dbj <dbj%pkgsrc.org@localhost>
date: Thu Aug 04 04:49:40 2022 +0000
description:
x11/wxGTK32: install locale files when building with cmake
switch deafult to build with cmake
diffstat:
x11/wxGTK32/Makefile | 18 ++++++++++------
x11/wxGTK32/PLIST | 48 ++++++++++++++++++++++++++++++++++++++++++++-
x11/wxGTK32/PLIST.configure | 3 +-
3 files changed, 59 insertions(+), 10 deletions(-)
diffs (129 lines):
diff -r b2d0ec053e44 -r 2750c6e6ed89 x11/wxGTK32/Makefile
--- a/x11/wxGTK32/Makefile Thu Aug 04 01:02:21 2022 +0000
+++ b/x11/wxGTK32/Makefile Thu Aug 04 04:49:40 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2022/07/31 16:57:22 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/08/04 04:49:40 dbj Exp $
DISTNAME= wxWidgets-3.2.0
PKGNAME= ${DISTNAME:S/wxWidgets/wxGTK32/}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=wxWidgets/}
GITHUB_PROJECT= wxWidgets
@@ -15,7 +15,7 @@
# LGPLv2 with additional permission; http://opensource.org/licenses/wxwindows
LICENSE= gnu-lgpl-v2
-USE_TOOLS+= pkg-config msgfmt
+USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
PLIST_SRC+= ${PLIST_SRC_DFLT}
@@ -32,17 +32,14 @@
# We build using configure by default
# The software supports building using cmake but
# the default cmake configuration is different.
-# In particular, it doesn't install proper locale data
-# and also installs unused headers.
+# In particular it installs unused headers.
#
# This option is expected to be a temporary hack.
# We should fix cmake builds to match configure builds
# and remove support for building with GNU_CONFIGURE
PKG_OPTIONS_VAR= PKG_OPTIONS.wxGTK32
PKG_SUPPORTED_OPTIONS= cmake
-.if ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS= cmake
-.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcmake)
@@ -103,6 +100,13 @@
.endif
post-install:
+ for f in ${WRKSRC}/locale/*.mo; do \
+ lang="$$(basename "$${f}" .mo)"; \
+ ${INSTALL_DATA_DIR} "${DESTDIR}/${PREFIX}/share/wx-3.2/locale/$${lang}/LC_MESSAGES"; \
+ ${INSTALL_DATA} "$${f}" "${DESTDIR}/${PREFIX}/share/wx-3.2/locale/$${lang}/LC_MESSAGES/wxstd.mo"; \
+ done
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/wx-3.2/aclocal
+ ${INSTALL_DATA} ${WRKSRC}/wxwin.m4 ${DESTDIR}${PREFIX}/share/wx-3.2/aclocal/wxwin.m4
${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/lgpl.txt ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/changes.txt ${DESTDIR}${PREFIX}/${DOCDIR}
diff -r b2d0ec053e44 -r 2750c6e6ed89 x11/wxGTK32/PLIST
--- a/x11/wxGTK32/PLIST Thu Aug 04 01:02:21 2022 +0000
+++ b/x11/wxGTK32/PLIST Thu Aug 04 04:49:40 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2022/07/28 05:25:22 dbj Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/08/04 04:49:40 dbj Exp $
bin/wx-config-3.2
bin/wxrc-3.2
include/wx-3.2/wx/aboutdlg.h
@@ -802,7 +802,53 @@
libexec/wx-3.2/wx-config
libexec/wx-3.2/wxrc
libexec/wx-3.2/wxrc-3.2
+share/wx-3.2/aclocal/wxwin.m4
share/wx-3.2/doc/wxWidgets/changes.txt
share/wx-3.2/doc/wxWidgets/lgpl.txt
share/wx-3.2/doc/wxWidgets/licence.txt
share/wx-3.2/doc/wxWidgets/readme.txt
+share/wx-3.2/locale/af/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/an/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ar/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ca/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ca@valencia/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/co/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/cs/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/da/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/de/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/el/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/es/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/eu/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/fa_IR/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/fi/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/fr/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/gl_ES/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/hi/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/hr/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/hu/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/id/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/it/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ja/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ka/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ko_KR/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/lt/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/lv/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ms/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/nb/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ne/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/nl/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/pl/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/pt/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/pt_BR/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ro/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ru/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/sk/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/sl/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/sq/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/sv/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/ta/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/tr/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/uk/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/vi/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/zh_CN/LC_MESSAGES/wxstd.mo
+share/wx-3.2/locale/zh_TW/LC_MESSAGES/wxstd.mo
diff -r b2d0ec053e44 -r 2750c6e6ed89 x11/wxGTK32/PLIST.configure
--- a/x11/wxGTK32/PLIST.configure Thu Aug 04 01:02:21 2022 +0000
+++ b/x11/wxGTK32/PLIST.configure Thu Aug 04 04:49:40 2022 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST.configure,v 1.2 2022/07/28 05:25:22 dbj Exp $
-share/wx-3.2/aclocal/wxwin.m4
+@comment $NetBSD: PLIST.configure,v 1.3 2022/08/04 04:49:40 dbj Exp $
share/wx-3.2/bakefile/presets/wx.bkl
share/wx-3.2/bakefile/presets/wx_presets.py
share/wx-3.2/bakefile/presets/wx_unix.bkl
Home |
Main Index |
Thread Index |
Old Index