|
|
9ccdfb |
diff -up ./esc/coreconf/Linux3.9.mk.fix17 ./esc/coreconf/Linux3.9.mk
|
|
|
9ccdfb |
--- ./esc/coreconf/Linux3.9.mk.fix17 2013-06-17 18:52:29.341000000 -0400
|
|
|
9ccdfb |
+++ ./esc/coreconf/Linux3.9.mk 2013-06-17 18:52:48.988000000 -0400
|
|
|
9ccdfb |
@@ -0,0 +1,35 @@
|
|
|
9ccdfb |
+# BEGIN COPYRIGHT BLOCK
|
|
|
9ccdfb |
+# This Program is free software; you can redistribute it and/or modify it under
|
|
|
9ccdfb |
+# the terms of the GNU General Public License as published by the Free Software
|
|
|
9ccdfb |
+# Foundation; version 2 of the License.
|
|
|
9ccdfb |
+#
|
|
|
9ccdfb |
+# This Program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
9ccdfb |
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
9ccdfb |
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
9ccdfb |
+#
|
|
|
9ccdfb |
+# You should have received a copy of the GNU General Public License along with
|
|
|
9ccdfb |
+# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
|
|
9ccdfb |
+# Place, Suite 330, Boston, MA 02111-1307 USA.
|
|
|
9ccdfb |
+#
|
|
|
9ccdfb |
+# Copyright (C) 2005 Red Hat, Inc.
|
|
|
9ccdfb |
+# All rights reserved.
|
|
|
9ccdfb |
+# END COPYRIGHT BLOCK
|
|
|
9ccdfb |
+
|
|
|
9ccdfb |
+#
|
|
|
9ccdfb |
+# Config stuff for Linux 3.9 (ELF)
|
|
|
9ccdfb |
+#
|
|
|
9ccdfb |
+
|
|
|
9ccdfb |
+include $(CORE_DEPTH)/coreconf/Linux.mk
|
|
|
9ccdfb |
+
|
|
|
9ccdfb |
+OS_REL_CFLAGS += -DLINUX2_1
|
|
|
9ccdfb |
+MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
|
|
|
9ccdfb |
+ifdef BUILD_OPT
|
|
|
9ccdfb |
+ OPTIMIZER = -O2
|
|
|
9ccdfb |
+endif
|
|
|
9ccdfb |
+
|
|
|
9ccdfb |
+ifdef MAPFILE
|
|
|
9ccdfb |
+ MKSHLIB += -Wl,--version-script,$(MAPFILE)
|
|
|
9ccdfb |
+endif
|
|
|
9ccdfb |
+PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
|
|
|
9ccdfb |
+ sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
|
|
|
9ccdfb |
+
|
|
|
9ccdfb |
diff -up ./esc/src/app/xpcom/rhCoolKey.cpp.fix17 ./esc/src/app/xpcom/rhCoolKey.cpp
|
|
|
9ccdfb |
--- ./esc/src/app/xpcom/rhCoolKey.cpp.fix17 2013-06-17 18:48:27.263000000 -0400
|
|
|
9ccdfb |
+++ ./esc/src/app/xpcom/rhCoolKey.cpp 2013-06-17 18:48:27.328000000 -0400
|
|
|
9ccdfb |
@@ -1383,7 +1383,7 @@ NS_IMETHODIMP rhCoolKey::GetCoolKeyGetAp
|
|
|
9ccdfb |
|
|
|
9ccdfb |
*_retval = ver;
|
|
|
9ccdfb |
|
|
|
9ccdfb |
- return S_OK;
|
|
|
9ccdfb |
+ return NS_OK;
|
|
|
9ccdfb |
}
|
|
|
9ccdfb |
|
|
|
9ccdfb |
/* boolean rhCoolKeyIsEnrolled (in unsigned long aKeyType, in string aKeyID); */
|
|
|
9ccdfb |
diff -up ./esc/src/app/xpcom/tray/rhLinuxTray.cpp.fix17 ./esc/src/app/xpcom/tray/rhLinuxTray.cpp
|
|
|
9ccdfb |
--- ./esc/src/app/xpcom/tray/rhLinuxTray.cpp.fix17 2013-06-17 18:48:27.267000000 -0400
|
|
|
9ccdfb |
+++ ./esc/src/app/xpcom/tray/rhLinuxTray.cpp 2013-06-17 18:48:27.329000000 -0400
|
|
|
9ccdfb |
@@ -152,7 +152,10 @@ NS_IMETHODIMP rhTray::Unsetwindnotifycal
|
|
|
9ccdfb |
NS_IMETHODIMP rhTray::Add(nsIBaseWindow *aWindow)
|
|
|
9ccdfb |
{
|
|
|
9ccdfb |
char tBuff[56];
|
|
|
9ccdfb |
- NS_ENSURE_ARG(aWindow);
|
|
|
9ccdfb |
+
|
|
|
9ccdfb |
+ if ( aWindow == NULL) {
|
|
|
9ccdfb |
+ return NS_ERROR_FAILURE;
|
|
|
9ccdfb |
+ }
|
|
|
9ccdfb |
|
|
|
9ccdfb |
PR_LOG( trayLog, PR_LOG_DEBUG, ("%s rhTray::Add %p \n",GetTStamp(tBuff,56),aWindow));
|
|
|
9ccdfb |
HRESULT res = Initialize();
|
|
|
9ccdfb |
@@ -509,7 +512,7 @@ HRESULT rhTray::AddListener(nsIBaseWindo
|
|
|
9ccdfb |
nsresult rv;
|
|
|
9ccdfb |
|
|
|
9ccdfb |
PR_LOG( trayLog, PR_LOG_DEBUG, ("%s rhTray::AddListener %p \n",GetTStamp(tBuff,56),aWindow));
|
|
|
9ccdfb |
- NS_ENSURE_ARG(aWindow);
|
|
|
9ccdfb |
+ //NS_ENSURE_ARG(aWindow);
|
|
|
9ccdfb |
|
|
|
9ccdfb |
nativeWindow aNativeWindow;
|
|
|
9ccdfb |
rv = aWindow->GetParentNativeWindow( &aNativeWindow );
|
|
|
9ccdfb |
@@ -635,13 +638,13 @@ NS_IMETHODIMP rhTray::Setmenuitemtext(PR
|
|
|
9ccdfb |
PR_LOG( trayLog, PR_LOG_DEBUG, ("%s rhTray::Setmenuitemtext: index: %d text %s. \n",GetTStamp(tBuff,56),aIndex,aText));
|
|
|
9ccdfb |
|
|
|
9ccdfb |
if(!aText)
|
|
|
9ccdfb |
- return S_OK;
|
|
|
9ccdfb |
+ return NS_OK;
|
|
|
9ccdfb |
|
|
|
9ccdfb |
if(!mIconMenu)
|
|
|
9ccdfb |
- return S_OK;
|
|
|
9ccdfb |
+ return NS_OK;
|
|
|
9ccdfb |
|
|
|
9ccdfb |
if(aIndex < 0 || aIndex > 10)
|
|
|
9ccdfb |
- return S_OK;
|
|
|
9ccdfb |
+ return NS_OK;
|
|
|
9ccdfb |
|
|
|
9ccdfb |
GList *iterate = NULL;
|
|
|
9ccdfb |
|
|
|
9ccdfb |
@@ -670,7 +673,7 @@ NS_IMETHODIMP rhTray::Setmenuitemtext(PR
|
|
|
9ccdfb |
i++;
|
|
|
9ccdfb |
}
|
|
|
9ccdfb |
|
|
|
9ccdfb |
- return S_OK;
|
|
|
9ccdfb |
+ return NS_OK;
|
|
|
9ccdfb |
}
|
|
|
9ccdfb |
|
|
|
9ccdfb |
//rhTrayWindNotify methods
|
|
|
9ccdfb |
diff -up ./esc/src/app/xul/esc/application.ini.fix17 ./esc/src/app/xul/esc/application.ini
|
|
|
9ccdfb |
--- ./esc/src/app/xul/esc/application.ini.fix17 2013-06-17 18:48:27.243000000 -0400
|
|
|
9ccdfb |
+++ ./esc/src/app/xul/esc/application.ini 2013-06-17 18:48:27.330000000 -0400
|
|
|
9ccdfb |
@@ -25,11 +25,11 @@ Vendor=RedHat
|
|
|
9ccdfb |
Name=ESC
|
|
|
9ccdfb |
;
|
|
|
9ccdfb |
; This field specifies your application's version. This field is optional.
|
|
|
9ccdfb |
-Version=1.1.0-16
|
|
|
9ccdfb |
+Version=1.1.0-19
|
|
|
9ccdfb |
;
|
|
|
9ccdfb |
; This field specifies your application's build ID (timestamp). This field is
|
|
|
9ccdfb |
; required.
|
|
|
9ccdfb |
-BuildID=0000001017
|
|
|
9ccdfb |
+BuildID=0000001019
|
|
|
9ccdfb |
;
|
|
|
9ccdfb |
; This ID is just an example. Every XUL app ought to have it's own unique ID.
|
|
|
9ccdfb |
; You can use the microsoft "guidgen" or "uuidgen" tools, or go on
|
|
|
9ccdfb |
@@ -47,6 +47,6 @@ MinVersion=6.0.0
|
|
|
9ccdfb |
; application requires. It should be specified if your application uses
|
|
|
9ccdfb |
; unfrozen interfaces. Specifying 1.8 matches all releases with a version
|
|
|
9ccdfb |
; prefixed by 1.8 (e.g., 1.8a4, 1.8b, 1.8.2).
|
|
|
9ccdfb |
-MaxVersion=20.0.0
|
|
|
9ccdfb |
+MaxVersion=22.0.0
|
|
|
9ccdfb |
|
|
|
9ccdfb |
[Shell]
|