[esc/f20] Fixes to adjust for latest xulrunner sdk.
Jack Magne
jmagne at fedoraproject.org
Thu Apr 17 23:13:08 UTC 2014
commit d881d9905146609b4a4f0dc5e716f484715f1d83
Author: Jack Magne <jmagne at dhcp-16-213.sjc.redhat.com>
Date: Thu Apr 17 16:09:23 2014 -0700
Fixes to adjust for latest xulrunner sdk.
esc-1.1.0-fix18.patch | 82 +++++++++++++++++++++++++++++++++++++++++++++++++
esc.spec | 6 +++-
2 files changed, 87 insertions(+), 1 deletions(-)
---
diff --git a/esc-1.1.0-fix18.patch b/esc-1.1.0-fix18.patch
new file mode 100644
index 0000000..3975f5e
--- /dev/null
+++ b/esc-1.1.0-fix18.patch
@@ -0,0 +1,82 @@
+diff -up ./esc/src/app/xpcom/Makefile.sdk.fix18 ./esc/src/app/xpcom/Makefile.sdk
+--- ./esc/src/app/xpcom/Makefile.sdk.fix18 2014-04-17 11:34:54.889316425 -0700
++++ ./esc/src/app/xpcom/Makefile.sdk 2014-04-17 11:39:32.903840765 -0700
+@@ -113,7 +113,7 @@ ifeq ($(OS_ARCH),Linux)
+ CPPFLAGS += -g -fno-rtti \
+ -DXPCOM_GLUE_USE_NSPR -fno-exceptions \
+ -fshort-wchar -fPIC -std=gnu++0x
+-GECKO_LD_LIBS=-L$(GECKO_SDK_PATH)/lib -lnssutil3 -lnss3 -lcrmf -lssl3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L$(GECKO_SDK_PATH)/lib -lxpcomglue_s -lxpcom
++GECKO_LD_LIBS=-L$(GECKO_SDK_PATH)/lib -lnssutil3 -lnss3 -lcrmf -lssl3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L$(GECKO_SDK_PATH)/lib -lxpcomglue_s
+ endif
+
+ ifeq ($(OS_ARCH),WINNT)
+@@ -127,7 +127,7 @@ endif
+ # #include "mozilla-config.h" to each of your .cpp files.
+ #GECKO_CONFIG_INCLUDE = -include mozilla-config.h
+
+-GECKO_DEFINES = -DXPCOM_GLUE -DMOZILLA_CLIENT
++GECKO_DEFINES = -DMOZILLA_CLIENT
+
+ ifdef ESC_VERSION
+ GECKO_DEFINES += -DESC_VERSION=$(ESC_VERSION)
+diff -up ./esc/src/app/xpcom/rhCoolKey.h.fix18 ./esc/src/app/xpcom/rhCoolKey.h
+--- ./esc/src/app/xpcom/rhCoolKey.h.fix18 2014-04-17 15:48:24.466170548 -0700
++++ ./esc/src/app/xpcom/rhCoolKey.h 2014-04-17 15:49:25.319409778 -0700
+@@ -17,7 +17,7 @@
+
+ #ifndef RH_COOLKEY_H
+ #define RH_COOLKEY_H
+-
++#include <mozilla/Char16.h>
+ #include "rhICoolKey.h"
+ /*#include "nsIGenericFactory.h" */
+ #include "mozilla/ModuleUtils.h"
+diff -up ./esc/src/app/xpcom/tray/Makefile.sdk.fix18 ./esc/src/app/xpcom/tray/Makefile.sdk
+--- ./esc/src/app/xpcom/tray/Makefile.sdk.fix18 2014-04-17 11:24:58.080777558 -0700
++++ ./esc/src/app/xpcom/tray/Makefile.sdk 2014-04-17 11:34:28.394647654 -0700
+@@ -167,7 +167,7 @@ endif
+ # #include "mozilla-config.h" to each of your .cpp files.
+ #GECKO_CONFIG_INCLUDE = -include mozilla-config.h
+
+-GECKO_DEFINES = -DMOZILLA_CLIENT -DXPCOM_GLUE
++GECKO_DEFINES = -DMOZILLA_CLIENT
+
+ NSS_INCLUDE = /usr/include/nss3
+ NSPR_INCLUDE = /usr/include/nspr4
+diff -up ./esc/src/app/xpcom/tray/rhTray.h.fix18 ./esc/src/app/xpcom/tray/rhTray.h
+--- ./esc/src/app/xpcom/tray/rhTray.h.fix18 2014-04-17 11:04:33.578085948 -0700
++++ ./esc/src/app/xpcom/tray/rhTray.h 2014-04-17 11:05:10.798620628 -0700
+@@ -17,7 +17,7 @@
+
+ #ifndef RH_TRAY_H
+ #define RH_TRAY_H
+-
++#include <mozilla/Char16.h>
+ #include "rhITray.h"
+ //#include "nsIGenericFactory.h"
+ //#include mozilla/ModuleUtils.h
+diff -up ./esc/src/app/xul/esc/application.ini.fix18 ./esc/src/app/xul/esc/application.ini
+--- ./esc/src/app/xul/esc/application.ini.fix18 2014-04-17 15:35:13.854054559 -0700
++++ ./esc/src/app/xul/esc/application.ini 2014-04-17 15:35:45.278661698 -0700
+@@ -25,11 +25,11 @@ Vendor=RedHat
+ Name=ESC
+ ;
+ ; This field specifies your application's version. This field is optional.
+-Version=1.1.0-19
++Version=1.1.0-23
+ ;
+ ; This field specifies your application's build ID (timestamp). This field is
+ ; required.
+-BuildID=0000001019
++BuildID=0000001023
+ ;
+ ; This ID is just an example. Every XUL app ought to have it's own unique ID.
+ ; You can use the microsoft "guidgen" or "uuidgen" tools, or go on
+@@ -47,6 +47,6 @@ MinVersion=6.0.0
+ ; application requires. It should be specified if your application uses
+ ; unfrozen interfaces. Specifying 1.8 matches all releases with a version
+ ; prefixed by 1.8 (e.g., 1.8a4, 1.8b, 1.8.2).
+-MaxVersion=22.0.0
++MaxVersion=50.0.0
+
+ [Shell]
diff --git a/esc.spec b/esc.spec
index 4e35db5..e30449d 100644
--- a/esc.spec
+++ b/esc.spec
@@ -33,6 +33,7 @@ Patch14: esc-1.1.0-fix14.patch
Patch15: esc-1.1.0-fix15.patch
Patch16: esc-1.1.0-fix16.patch
Patch17: esc-1.1.0-fix17.patch
+Patch18: esc-1.1.0-fix18.patch
BuildRequires: doxygen fontconfig-devel freetype-devel >= 2.1
BuildRequires: glib2-devel libIDL-devel atk-devel gtk2-devel libjpeg-devel
@@ -69,7 +70,7 @@ AutoReqProv: 0
%define escxuldir src/app/xul/esc
%define escxulchromeicons %{escxuldir}/chrome/icons/default
%define escdaemon escd
-%define geckoversion 22.0
+%define geckoversion 27.0
Source0: http://pki.fedoraproject.org/pki/sources/%name/%{escname}.tar.bz2
Source1: http://pki.fedoraproject.org/pki/sources/%name/esc
@@ -104,6 +105,7 @@ cryptographic smartcards.
%patch15 -p1 -b .fix15
%patch16 -p1 -b .fix16
%patch17 -p1 -b .fix17
+%patch18 -p1 -b .fix18
r=$(uname -r | sed -e 's/\(^[^.]*\.[^.]*\).*/\1/')
[ -f esc/coreconf/Linux$r.mk ] || ln -s Linux3.5.mk esc/coreconf/Linux$r.mk
@@ -232,6 +234,8 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
fi
%changelog
+* Thu Apr 17 2014 Jack Maghe <jmagne at redhat.com>=1.1.0-23
+- Appease more xulrunner changes.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list