void-packages/srcpkgs/xulrunner/patches/mozilla-pkgconfig.patch

64 lines
2.4 KiB
Diff

--- xulrunner/installer/libxul-embedding.pc.in 2010-01-21 05:31:27.000000000 +0200
+++ xulrunner/installer/libxul-embedding.pc.in 2010-01-21 22:27:17.000000000 +0200
@@ -6,5 +6,6 @@
Name: libxul-embedding
Description: Static library for version-independent embedding of the Mozilla runtime
Version: %MOZILLA_VERSION%
+Requires: %NSPR_NAME% >= %NSPR_VERSION%
Libs: -L${sdkdir}/lib -lxpcomglue
Cflags: -DXPCOM_GLUE -I${includedir} %WCHAR_CFLAGS%
--- xulrunner/installer/libxul.pc.in 2010-01-21 05:31:27.000000000 +0200
+++ xulrunner/installer/libxul.pc.in 2010-01-21 22:27:56.000000000 +0200
@@ -1,5 +1,6 @@
prefix=%prefix%
sdkdir=%sdkdir%
+libdir=%libdir%
includedir=%includedir%
idldir=%idldir%
--- xulrunner/installer/Makefile.in 2010-01-21 05:31:27.000000000 +0200
+++ xulrunner/installer/Makefile.in 2010-01-21 22:25:04.000000000 +0200
@@ -121,6 +121,7 @@
-e "s|%includedir%|$(includedir)|" \
-e "s|%idldir%|$(idldir)|" \
-e "s|%sdkdir%|$(sdkdir)|" \
+ -e "s|%libdir%|$(installdir)|" \
-e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \
-e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \
-e "s|%WCHAR_CFLAGS%|$(WCHAR_CFLAGS)|" \
--- xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in 2010-01-21 05:31:27.000000000 +0200
+++ xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in 2010-01-21 22:28:15.000000000 +0200
@@ -1,5 +1,6 @@
prefix=%prefix%
sdkdir=%sdkdir%
+libdir=%libdir%
includedir=%includedir%
Name: mozilla-gtkembedmoz
--- xulrunner/installer/mozilla-gtkmozembed.pc.in 2010-01-21 05:31:27.000000000 +0200
+++ xulrunner/installer/mozilla-gtkmozembed.pc.in 2010-01-21 22:28:27.000000000 +0200
@@ -1,5 +1,6 @@
prefix=%prefix%
sdkdir=%sdkdir%
+libdir=%libdir%
includedir=%includedir%
Name: mozilla-gtkembedmoz
--- xulrunner/installer/mozilla-js.pc.in 2010-01-21 05:31:27.000000000 +0200
+++ xulrunner/installer/mozilla-js.pc.in 2010-01-21 22:29:30.000000000 +0200
@@ -7,4 +7,4 @@
Version: %MOZILLA_VERSION%
Requires: %NSPR_NAME% >= %NSPR_VERSION%
Libs: -L${sdkdir}/lib -lmozjs
-Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE
+Cflags: -I${includedir} -I${includedir}/js -DXP_UNIX -DJS_THREADSAFE
--- xulrunner/installer/mozilla-plugin.pc.in 2010-01-21 05:31:27.000000000 +0200
+++ xulrunner/installer/mozilla-plugin.pc.in 2010-01-21 22:29:58.000000000 +0200
@@ -5,5 +5,5 @@
Name: Mozilla Plug-In API
Description: Mozilla Plug-In API
Version: %MOZILLA_VERSION%
-Cflags: -I${includedir}/stable -DXP_UNIX %ojidef%
+Cflags: -I${includedir} -DXP_UNIX %ojidef%