pkgsrc-WIP-changes archive

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

frida-glib2: Make this library installable



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Mar 14 06:25:19 2018 +0100
Changeset:	b0fc1c0ad2169e52f9ac7d250914a1a63c3acbf0

Modified Files:
	frida-glib2/Makefile
	frida-glib2/PLIST
	frida-glib2/buildlink3.mk

Log Message:
frida-glib2: Make this library installable

Drop locally locale files. This project dosn't accept regular arguments
to ./configure (--localedir and similar).

Add a hack with a custom PKG_CONFIG_LIBDIR in buildlink3.mk.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b0fc1c0ad2169e52f9ac7d250914a1a63c3acbf0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 frida-glib2/Makefile      |  4 ++
 frida-glib2/PLIST         | 98 -----------------------------------------------
 frida-glib2/buildlink3.mk |  2 +
 3 files changed, 6 insertions(+), 98 deletions(-)

diffs:
diff --git a/frida-glib2/Makefile b/frida-glib2/Makefile
index f81fd736a0..9444ad747e 100644
--- a/frida-glib2/Makefile
+++ b/frida-glib2/Makefile
@@ -64,6 +64,10 @@ CONFIGURE_ENV+=	ac_cv_prog_GTKDOC_CHECK= \
 pre-configure:
 	${RUN} cd ${WRKSRC} && ${SH} autogen.sh
 
+# Hack, something is broken with --localedir
+post-install:
+	${RM} -rf ${DESTDIR}${PREFIX}/share
+
 # to run gdbus-codegen to generate gdbus-daemon-generated.{h,c}
 TOOL_DEPENDS+=		${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
 PYTHON_FOR_BUILD_ONLY?=	yes
diff --git a/frida-glib2/PLIST b/frida-glib2/PLIST
index 7997d60b3e..39e34c9104 100644
--- a/frida-glib2/PLIST
+++ b/frida-glib2/PLIST
@@ -331,102 +331,4 @@ frida/share/glib-2.0/gdb/gobject_gdb.py
 frida/share/glib-2.0/gettext/po/Makefile.in.in
 frida/share/glib-2.0/schemas/gschema.dtd
 frida/share/glib-2.0/valgrind/glib.supp
-share/locale/af/LC_MESSAGES/glib20.mo
-share/locale/am/LC_MESSAGES/glib20.mo
-share/locale/an/LC_MESSAGES/glib20.mo
-share/locale/ar/LC_MESSAGES/glib20.mo
-share/locale/as/LC_MESSAGES/glib20.mo
-share/locale/ast/LC_MESSAGES/glib20.mo
-share/locale/az/LC_MESSAGES/glib20.mo
-share/locale/be/LC_MESSAGES/glib20.mo
-share/locale/be@latin/LC_MESSAGES/glib20.mo
-share/locale/bg/LC_MESSAGES/glib20.mo
-share/locale/bn/LC_MESSAGES/glib20.mo
-share/locale/bn_IN/LC_MESSAGES/glib20.mo
-share/locale/bs/LC_MESSAGES/glib20.mo
-share/locale/ca/LC_MESSAGES/glib20.mo
-share/locale/ca@valencia/LC_MESSAGES/glib20.mo
-share/locale/cs/LC_MESSAGES/glib20.mo
-share/locale/cy/LC_MESSAGES/glib20.mo
-share/locale/da/LC_MESSAGES/glib20.mo
-share/locale/de/LC_MESSAGES/glib20.mo
-share/locale/dz/LC_MESSAGES/glib20.mo
-share/locale/el/LC_MESSAGES/glib20.mo
-share/locale/en@shaw/LC_MESSAGES/glib20.mo
-share/locale/en_CA/LC_MESSAGES/glib20.mo
-share/locale/en_GB/LC_MESSAGES/glib20.mo
-share/locale/eo/LC_MESSAGES/glib20.mo
-share/locale/es/LC_MESSAGES/glib20.mo
-share/locale/et/LC_MESSAGES/glib20.mo
-share/locale/eu/LC_MESSAGES/glib20.mo
-share/locale/fa/LC_MESSAGES/glib20.mo
-share/locale/fi/LC_MESSAGES/glib20.mo
-share/locale/fr/LC_MESSAGES/glib20.mo
-share/locale/fur/LC_MESSAGES/glib20.mo
-share/locale/ga/LC_MESSAGES/glib20.mo
-share/locale/gd/LC_MESSAGES/glib20.mo
-share/locale/gl/LC_MESSAGES/glib20.mo
-share/locale/gu/LC_MESSAGES/glib20.mo
-share/locale/he/LC_MESSAGES/glib20.mo
-share/locale/hi/LC_MESSAGES/glib20.mo
-share/locale/hr/LC_MESSAGES/glib20.mo
-share/locale/hu/LC_MESSAGES/glib20.mo
-share/locale/hy/LC_MESSAGES/glib20.mo
-share/locale/id/LC_MESSAGES/glib20.mo
-share/locale/is/LC_MESSAGES/glib20.mo
-share/locale/it/LC_MESSAGES/glib20.mo
-share/locale/ja/LC_MESSAGES/glib20.mo
-share/locale/ka/LC_MESSAGES/glib20.mo
-share/locale/kk/LC_MESSAGES/glib20.mo
-share/locale/kn/LC_MESSAGES/glib20.mo
-share/locale/ko/LC_MESSAGES/glib20.mo
-share/locale/ku/LC_MESSAGES/glib20.mo
-share/locale/lt/LC_MESSAGES/glib20.mo
-share/locale/lv/LC_MESSAGES/glib20.mo
-share/locale/mai/LC_MESSAGES/glib20.mo
-share/locale/mg/LC_MESSAGES/glib20.mo
-share/locale/mk/LC_MESSAGES/glib20.mo
-share/locale/ml/LC_MESSAGES/glib20.mo
-share/locale/mn/LC_MESSAGES/glib20.mo
-share/locale/mr/LC_MESSAGES/glib20.mo
-share/locale/ms/LC_MESSAGES/glib20.mo
-share/locale/nb/LC_MESSAGES/glib20.mo
-share/locale/nds/LC_MESSAGES/glib20.mo
-share/locale/ne/LC_MESSAGES/glib20.mo
-share/locale/nl/LC_MESSAGES/glib20.mo
-share/locale/nn/LC_MESSAGES/glib20.mo
-share/locale/oc/LC_MESSAGES/glib20.mo
-share/locale/or/LC_MESSAGES/glib20.mo
-share/locale/pa/LC_MESSAGES/glib20.mo
-share/locale/pl/LC_MESSAGES/glib20.mo
-share/locale/ps/LC_MESSAGES/glib20.mo
-share/locale/pt/LC_MESSAGES/glib20.mo
-share/locale/pt_BR/LC_MESSAGES/glib20.mo
-share/locale/ro/LC_MESSAGES/glib20.mo
-share/locale/ru/LC_MESSAGES/glib20.mo
-share/locale/rw/LC_MESSAGES/glib20.mo
-share/locale/si/LC_MESSAGES/glib20.mo
-share/locale/sk/LC_MESSAGES/glib20.mo
-share/locale/sl/LC_MESSAGES/glib20.mo
-share/locale/sq/LC_MESSAGES/glib20.mo
-share/locale/sr/LC_MESSAGES/glib20.mo
-share/locale/sr@ije/LC_MESSAGES/glib20.mo
-share/locale/sr@latin/LC_MESSAGES/glib20.mo
-share/locale/sv/LC_MESSAGES/glib20.mo
-share/locale/ta/LC_MESSAGES/glib20.mo
-share/locale/te/LC_MESSAGES/glib20.mo
-share/locale/tg/LC_MESSAGES/glib20.mo
-share/locale/th/LC_MESSAGES/glib20.mo
-share/locale/tl/LC_MESSAGES/glib20.mo
-share/locale/tr/LC_MESSAGES/glib20.mo
-share/locale/tt/LC_MESSAGES/glib20.mo
-share/locale/ug/LC_MESSAGES/glib20.mo
-share/locale/uk/LC_MESSAGES/glib20.mo
-share/locale/vi/LC_MESSAGES/glib20.mo
-share/locale/wa/LC_MESSAGES/glib20.mo
-share/locale/xh/LC_MESSAGES/glib20.mo
-share/locale/yi/LC_MESSAGES/glib20.mo
-share/locale/zh_CN/LC_MESSAGES/glib20.mo
-share/locale/zh_HK/LC_MESSAGES/glib20.mo
-share/locale/zh_TW/LC_MESSAGES/glib20.mo
 @pkgdir frida/lib/gio/modules
diff --git a/frida-glib2/buildlink3.mk b/frida-glib2/buildlink3.mk
index 4ffde2b4a5..8cc63f6235 100644
--- a/frida-glib2/buildlink3.mk
+++ b/frida-glib2/buildlink3.mk
@@ -5,6 +5,8 @@ BUILDLINK_TREE+=	frida-glib2
 .if !defined(FRIDA_GLIB2_BUILDLINK3_MK)
 FRIDA_GLIB2_BUILDLINK3_MK:=
 
+_PKG_CONFIG_LIBDIR=			${BUILDLINK_DIR}/lib/pkgconfig:${BUILDLINK_DIR}/share/pkgconfig:${BUILDLINK_DIR}/frida/lib/pkgconfig
+
 BUILDLINK_API_DEPENDS.frida-glib2+=	frida-glib2>=2.54.3
 BUILDLINK_PKGSRCDIR.frida-glib2?=	../../wip/frida-glib2
 


Home | Main Index | Thread Index | Old Index