Hello community,
here is the log from the commit of package chmsee for openSUSE:12.1:Update:Test checked in at 2012-02-07 17:37:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/chmsee (Old)
and /work/SRC/openSUSE:12.1:Update:Test/.chmsee.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chmsee", Maintainer is "PWu@novell.com"
Changes:
--------
--- /work/SRC/openSUSE:12.1:Update:Test/chmsee/chmsee.changes 2011-12-23 09:25:59.000000000 +0100
+++ /work/SRC/openSUSE:12.1:Update:Test/.chmsee.new/chmsee.changes 2012-02-07 17:37:45.000000000 +0100
@@ -2 +2 @@
-Thu Dec 22 13:54:48 UTC 2011 - lnussel@suse.de
+Mon Feb 6 13:37:39 UTC 2012 - wr@rosenauer.org
@@ -4 +4,9 @@
-- declare compatible with Firefox 9 and fix build (xpidl replaced with python scripts)
+- Update to version 1.99.07
+- patch to build against Gecko 10
+- allow xulrunner to be updated even if it breaks chmsee (bnc#745303)
+
+-------------------------------------------------------------------
+Sun Dec 25 08:03:30 UTC 2011 - wr@rosenauer.org
+
+- Update to version 1.99.06
+- Adapted chmsee-newer-firefox.patch for xulrunner 9
Old:
----
chmsee-xulrunner9.diff
jungleji-chmsee-v1.99.05-0-g7fb12b8.tar.gz
New:
----
jungleji-chmsee-v1.99.07-0-gc2a00db.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ chmsee.spec ++++++
--- /var/tmp/diff_new_pack.IHHI8t/_old 2012-02-07 17:37:46.000000000 +0100
+++ /var/tmp/diff_new_pack.IHHI8t/_new 2012-02-07 17:37:46.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package chmsee
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,30 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
-
Name: chmsee
Summary: A Gtk+2 CHM document viewer
-Version: 1.99.05
-Release: 1
-License: GPLv2+
+License: GPL-2.0+
Group: Productivity/Graphics/Viewers
+Version: 1.99.07
+Release: 0
Url: http://code.google.com/p/chmsee/
-Source0: jungleji-chmsee-v1.99.05-0-g7fb12b8.tar.gz
+Source0: jungleji-chmsee-v1.99.07-0-gc2a00db.tar.gz
Source1: Makefile
-# PATCH-FIX-UPSTREAM chmsee-newer-firefox.patch vuntz@opensuse.org -- Declare chmsee compatible with Firefox 8
+# PATCH-FIX-UPSTREAM chmsee-newer-firefox.patch vuntz@opensuse.org -- Declare chmsee compatible with Firefox 9
Patch0: chmsee-newer-firefox.patch
-Patch1: chmsee-xulrunner9.diff
BuildRequires: chmlib-devel
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: python
-BuildRequires: xulrunner-devel
BuildRequires: shared-mime-info
BuildRequires: update-desktop-files
+BuildRequires: xulrunner-devel >= 9.0
%define xulrunner_version %(rpm -q --queryformat '%{VERSION}' xulrunner)
-Requires: xulrunner = %{xulrunner_version}
+Requires: xulrunner >= %{xulrunner_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -50,10 +46,9 @@
and several other great people.
%prep
-%setup -q -n jungleji-chmsee-370f906
+%setup -q -n jungleji-chmsee-ccdf6d2
cp %{SOURCE1} src
%patch0 -p1
-%patch1 -p1
%build
pushd src
++++++ chmsee-newer-firefox.patch ++++++
--- /var/tmp/diff_new_pack.IHHI8t/_old 2012-02-07 17:37:46.000000000 +0100
+++ /var/tmp/diff_new_pack.IHHI8t/_new 2012-02-07 17:37:46.000000000 +0100
@@ -1,10 +1,25 @@
-Index: jungleji-chmsee-370f906/application.ini
-===================================================================
---- jungleji-chmsee-370f906.orig/application.ini
-+++ jungleji-chmsee-370f906/application.ini
-@@ -25,4 +25,4 @@ ID={f48601d0-39a1-11e0-a013-00241d8cf371
+diff --git a/application.ini b/application.ini
+index 7102022..44b0c1c 100644
+--- a/application.ini
++++ b/application.ini
+@@ -25,4 +25,4 @@ ID={f48601d0-39a1-11e0-a013-00241d8cf371}
[Gecko]
- MinVersion=2.0b9
--MaxVersion=7.0.*
-+MaxVersion=9.0.*
+ MinVersion=6.0
+-MaxVersion=9.0.*
++MaxVersion=10.0.*
+diff --git a/src/common.mk b/src/common.mk
+index 43a6302..b0174bd 100644
+--- a/src/common.mk
++++ b/src/common.mk
+@@ -45,8 +45,8 @@ LDFLAGS += ${DEFINES} \
+ all: ${TARGET}
+
+ ${XPT}: ${IDL}
+- ${XPIDL_HEADER} -o ${INTERFACE}.h -I ${SDK_IDL} ${IDL}
+- ${XPIDL_TYPELIB} -o ${INTERFACE}.xpt -I ${SDK_IDL} ${IDL}
++ ${XPIDL_HEADER} -o ${INTERFACE}.h -I ${SDK_IDL} --cachedir=. ${IDL}
++ ${XPIDL_TYPELIB} -o ${INTERFACE}.xpt -I ${SDK_IDL} --cachedir=. ${IDL}
+ ${XPT_LINK} ${XPT} ${INTERFACE}.xpt
+
+ ${TARGET}: ${XPT} ${OBJS}
++++++ jungleji-chmsee-v1.99.05-0-g7fb12b8.tar.gz -> jungleji-chmsee-v1.99.07-0-gc2a00db.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/COPYING new/jungleji-chmsee-ccdf6d2/COPYING
--- old/jungleji-chmsee-370f906/COPYING 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/COPYING 2012-01-01 11:32:58.000000000 +0100
@@ -2,7 +2,7 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -305,7 +305,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/application.ini new/jungleji-chmsee-ccdf6d2/application.ini
--- old/jungleji-chmsee-370f906/application.ini 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/application.ini 2012-01-01 11:32:58.000000000 +0100
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2011 Ji YongGang
+# Copyright (C) 2012 Ji YongGang
#
# ChmSee is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,10 +19,10 @@
[App]
Name=ChmSee
-Version=1.99.05
+Version=1.99.07
BuildID=2011040511
ID={f48601d0-39a1-11e0-a013-00241d8cf371}
[Gecko]
-MinVersion=2.0b9
-MaxVersion=7.0.*
+MinVersion=6.0
+MaxVersion=9.0.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/chrome/content/book.js new/jungleji-chmsee-ccdf6d2/chrome/content/book.js
--- old/jungleji-chmsee-370f906/chrome/content/book.js 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/chrome/content/book.js 2012-01-01 11:32:58.000000000 +0100
@@ -39,6 +39,8 @@
if (uri.scheme === "about") {
if (uri.path === "mozilla") {
book.title = "Welcome";
+ } else if (uri.path === "config") {
+ book.title = "about:config";
}
} else if (uri.scheme === "file") {
d("Book::getBookFromUrl", "path = " + uri.path);
@@ -115,6 +117,10 @@
book.url = CsScheme + book.homepage;
return book;
},
+
+ saveBookInfo: function (book) {
+ RDF.saveBookinfo(book);
+ },
};
var EmptyBook = {
@@ -124,6 +130,7 @@
lastpage: "",
url: "",
title: "",
+ zoom: 1.0,
hhc: null,
hhcDS: null,
hhk: null,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/chrome/content/main.js new/jungleji-chmsee-ccdf6d2/chrome/content/main.js
--- old/jungleji-chmsee-370f906/chrome/content/main.js 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/chrome/content/main.js 2012-01-01 11:32:58.000000000 +0100
@@ -140,6 +140,10 @@
Prefs.lastDir = fp.file.parent;
var book = Book.getBookFromFile(fp.file);
+ if (book == null) {
+ notice(window, "Open book failed!\nYou may need to rebuild the chmsee XPCOM component.");
+ return;
+ }
var newTab = createBookTab(book);
replaceTab(newTab, getCurrentTab());
@@ -283,16 +287,21 @@
var browser = contentTabbox.selectedPanel.browser;
var zoom = browser.markupDocumentViewer.fullZoom;
browser.markupDocumentViewer.fullZoom = zoom * 1.2;
+ var book = contentTabbox.selectedPanel.book;
+ book.zoom = browser.markupDocumentViewer.fullZoom;
};
var zoomOut = function () {
var browser = contentTabbox.selectedPanel.browser;
var zoom = browser.markupDocumentViewer.fullZoom;
browser.markupDocumentViewer.fullZoom = zoom * 0.8;
+ var book = contentTabbox.selectedPanel.book;
+ book.zoom = browser.markupDocumentViewer.fullZoom;
};
var zoomReset = function () {
contentTabbox.selectedPanel.browser.markupDocumentViewer.fullZoom = 1.0;
+ contentTabbox.selectedPanel.book.zoom = 1.0;
};
var togglePanel = function () {
@@ -331,6 +340,11 @@
window.openDialog("chrome://chmsee/content/preferences.xul", "Preferences", features);
};
+var aboutConfig = function () {
+ appendTab(createPageTab(Book.getBookFromUrl("about:config")));
+ contentTabbox.selectedIndex = contentTabbox.tabs.itemCount - 1;
+};
+
/*** Other functions ***/
var openCmdLineFiles = function(cmdLine) {
@@ -360,22 +374,26 @@
};
var loadSavedTabs = function () {
- var data = LastUrls.read();
- var urls = JSON.parse(data);
- var book = null;
- var newTab = null;
-
- for (var i = 0; i < urls.length; i += 1) {
- book = Book.getBookFromUrl(urls[i]);
- if (book.type === "book") {
- newTab = createBookTab(book);
- appendTab(newTab);
- refreshBookTab(newTab);
- } else {
- appendTab(createPageTab(book));
+ try {
+ var data = LastUrls.read();
+ var urls = JSON.parse(data);
+ var book = null;
+ var newTab = null;
+
+ for (var i = 0; i < urls.length; i += 1) {
+ book = Book.getBookFromUrl(urls[i]);
+ if (book.type === "book") {
+ newTab = createBookTab(book);
+ appendTab(newTab);
+ refreshBookTab(newTab);
+ } else {
+ appendTab(createPageTab(book));
+ }
}
+ } catch (e) {
+ d("loadSavedTabs", e.name + ": " + e.message);
+ appendTab(createPageTab(Book.getBookFromUrl("about:mozilla")));
}
- contentTabbox.selectedIndex = 0;
};
var saveCurrentTabs = function () {
@@ -386,6 +404,10 @@
var child = panels.childNodes[i];
d("saveCurrentTabs", "url = " + child.browser.currentURI.spec);
urls.push(child.browser.currentURI.spec);
+
+ if (child.book.type == "book") {
+ Book.saveBookInfo(child.book);
+ }
}
LastUrls.save(urls);
@@ -554,6 +576,11 @@
var tabpanels = contentTabbox.tabpanels;
var currentIndex = contentTabbox.selectedIndex;
+ var book = tab.panel.book;
+ if (book.type == "book") {
+ Book.saveBookInfo(book);
+ }
+
tabs.removeChild(tab.tab);
tabpanels.removeChild(tab.panel);
adjustTabWidth(tabs);
@@ -602,6 +629,11 @@
if (book.url !== "") {
tab.panel.browser.setAttribute("src", book.url);
}
+
+ if (book.zoom) {
+ panel.browser.markupDocumentViewer.fullZoom = book.zoom;
+ }
+
};
var rebuildIndexTree = function (tree, data, filterText) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/chrome/content/main.xul new/jungleji-chmsee-ccdf6d2/chrome/content/main.xul
--- old/jungleji-chmsee-370f906/chrome/content/main.xul 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/chrome/content/main.xul 2012-01-01 11:32:58.000000000 +0100
@@ -43,6 +43,8 @@
<command id="cmd_removebookmark" oncommand="removeBookmark();"/>
<command id="cmd_print" oncommand="onPrint();"/>
+
+ <command id="cmd_aboutConfig" oncommand="aboutConfig();"/>
</commandset>
0) {
this.containers.pop();
+ this.res.pop();
}
}
} else if (tag.toLowerCase() == "object" && this.isItem) {
@@ -231,7 +242,7 @@
this.containers[this.containers.length - 1].AppendElement(res);
- this.lastRes = res;
+ this.res.push(res);
this.isItem = false;
}
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/chrome/content/utils.js new/jungleji-chmsee-ccdf6d2/chrome/content/utils.js
--- old/jungleji-chmsee-370f906/chrome/content/utils.js 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/chrome/content/utils.js 2012-01-01 11:32:58.000000000 +0100
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-var EXPORTED_SYMBOLS = ["Prefs", "LastUrls", "Bookmarks", "d", "CsScheme"];
+var EXPORTED_SYMBOLS = ["Prefs", "LastUrls", "Bookmarks", "d", "CsScheme", "notice"];
const Cc = Components.classes;
const Ci = Components.interfaces;
@@ -171,7 +171,6 @@
},
getItems: function () {
- d("Bookmarks::getItems", "");
var items = [];
try {
var historyService = Cc["@mozilla.org/browser/nav-history-service;1"].getService(Ci.nsINavHistoryService);
@@ -193,7 +192,7 @@
}
rootNode.containerOpen = false;
- }catch(e) {
+ } catch(e) {
d("Bookmarks::getItems", "error e.name = " + e.name + ", message = " + e.message);
}
@@ -214,3 +213,10 @@
if (CsDebug)
dump(f + " >>> " + s + "\n");
};
+
+
+var notice = function (win, msg) {
+ let prompts = Cc["@mozilla.org/embedcomp/prompt-service;1"].getService(Ci.nsIPromptService);
+
+ prompts.alert(win, "ChmSee 2.0", msg);
+};
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/chrome/locale/en-US/main.dtd new/jungleji-chmsee-ccdf6d2/chrome/locale/en-US/main.dtd
--- old/jungleji-chmsee-370f906/chrome/locale/en-US/main.dtd 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/chrome/locale/en-US/main.dtd 2012-01-01 11:32:58.000000000 +0100
@@ -51,6 +51,8 @@
<!ENTITY helpMenu.accesskey "h">
<!ENTITY about.label "About">
<!ENTITY about.accesskey "a">
+<!ENTITY aboutConfig.label "about:config">
+<!ENTITY aboutConfig.accesskey "c">
<!ENTITY openCmd.tooltip "Open a CHM file">
<!ENTITY togglePanel.label "Show/Hide panel">
<!ENTITY togglePanel.tooltip "Show/Hide book tree panel">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/defaults/preferences/pref.js new/jungleji-chmsee-ccdf6d2/defaults/preferences/pref.js
--- old/jungleji-chmsee-370f906/defaults/preferences/pref.js 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/defaults/preferences/pref.js 2012-01-01 11:32:58.000000000 +0100
@@ -24,3 +24,6 @@
pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
pref("extensions.getMoreExtensionsURL", "chrome://mozapps/locale/extensions/extensions.properties");
pref("extensions.getMoreThemesURL", "chrome://mozapps/locale/extensions/extensions.properties");
+
+/* chmsee preference */
+pref("chmsee.open.lasturls", true);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/src/Makefile.arch new/jungleji-chmsee-ccdf6d2/src/Makefile.arch
--- old/jungleji-chmsee-370f906/src/Makefile.arch 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/src/Makefile.arch 2012-01-01 11:32:58.000000000 +0100
@@ -1,4 +1,4 @@
-LIBXUL_SDK = /usr/lib/xulrunner-devel-5.0
+LIBXUL_SDK = $(shell pkg-config --variable=sdkdir libxul)
NSPR_INCLUDES = -I/usr/include/nspr
NSPR_LIBS = -lplds4 -lplc4 -lnspr4 -lpthread -ldl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/src/Makefile.debian new/jungleji-chmsee-ccdf6d2/src/Makefile.debian
--- old/jungleji-chmsee-370f906/src/Makefile.debian 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/src/Makefile.debian 2012-01-01 11:32:58.000000000 +0100
@@ -1,4 +1,4 @@
-LIBXUL_SDK = /usr/lib/xulrunner-devel-5.0
+LIBXUL_SDK = $(shell pkg-config --variable=sdkdir libxul)
NSPR_INCLUDES = -I/usr/include/nspr
NSPR_LIBS = -lplds4 -lplc4 -lnspr4 -lpthread -ldl
@@ -7,3 +7,5 @@
CHMLIB_LIBS = -lchm
include ./common.mk
+
+XPT_LINK = python ${LIBXUL_SDK}/sdk/bin/xpt.py link
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/src/Makefile.fedora new/jungleji-chmsee-ccdf6d2/src/Makefile.fedora
--- old/jungleji-chmsee-370f906/src/Makefile.fedora 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/src/Makefile.fedora 2012-01-01 11:32:58.000000000 +0100
@@ -1,5 +1,5 @@
## -*- Mode: makefile -*-
-LIBXUL_SDK = /usr/lib64/xulrunner-sdk-2
+LIBXUL_SDK := $(shell pkg-config --variable=sdkdir libxul)
NSPR_INCLUDES = -I/usr/include/nspr4
NSPR_LIBS = -lplds4 -lplc4 -lnspr4 -lpthread -ldl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/src/Makefile.sample new/jungleji-chmsee-ccdf6d2/src/Makefile.sample
--- old/jungleji-chmsee-370f906/src/Makefile.sample 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/src/Makefile.sample 2012-01-01 11:32:58.000000000 +0100
@@ -1,6 +1,6 @@
## -*- Mode: makefile -*-
-## REPLACE WITH YOUR XULRNNER SDK DIRECTORY
-LIBXUL_SDK = /usr/lib/xulrunner-devel-2.0
+## REPLACE WITH YOUR XULRUNNER SDK DIRECTORY
+LIBXUL_SDK := $(shell pkg-config --variable=sdkdir libxul)
## REPLACE WITH YOUR NSPR CFLAGS
NSPR_INCLUDES = -I/usr/include/nspr
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jungleji-chmsee-370f906/src/common.mk new/jungleji-chmsee-ccdf6d2/src/common.mk
--- old/jungleji-chmsee-370f906/src/common.mk 2011-08-23 16:58:30.000000000 +0200
+++ new/jungleji-chmsee-ccdf6d2/src/common.mk 2012-01-01 11:32:58.000000000 +0100
@@ -11,19 +11,21 @@
XPT = ${COMPONENTSDIR}/xpcomchm.xpt
SDK_IDL = ${LIBXUL_SDK}/idl
-XPIDL = ${LIBXUL_SDK}/bin/xpidl
-XPT_LINK = ${LIBXUL_SDK}/sdk/bin/xpt.py link
+XPIDL = python ${LIBXUL_SDK}/sdk/bin/xpidl.py
+XPIDL_HEADER = python ${LIBXUL_SDK}/sdk/bin/header.py
+XPIDL_TYPELIB = python ${LIBXUL_SDK}/sdk/bin/typelib.py
+XPT_LINK = python ${LIBXUL_SDK}/sdk/bin/xpt.py link
MOZ_DEBUG_DISABLE_DEFS = -DNDEBUG -DTRIMMED
INCLUDES = -I/usr/include -I. -I${LIBXUL_SDK}/include ${NSPR_INCLUDES} ${CHMLIB_INCLUDES}
DEFINES = -Wall -Wpointer-arith -Wcast-align -Wno-variadic-macros \
- -O2 -fPIC -DPIC -fno-strict-aliasing -Dunix -std=gnu++0x -fshort-wchar -pthread -pipe
+ -O2 -fPIC -DPIC -fno-strict-aliasing -Dunix -fshort-wchar -pthread -pipe
VISIBILITY_FLAGS = -fvisibility=hidden
LIBXUL_CXXFLAGS = -DMOZILLA_CLIENT -include mozilla-config.h
CFLAGS += ${DEFINES} ${VISIBILITY_FLAGS} ${INCLUDES}
-CXXFLAGS += -fno-rtti -fno-exceptions \
+CXXFLAGS += -fno-rtti -fno-exceptions -std=gnu++0x \
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof \
${VISIBILITY_FLAGS} ${DEFINES} ${INCLUDES} ${LIBXUL_CXXFLAGS}
@@ -43,8 +45,8 @@
all: ${TARGET}
${XPT}: ${IDL}
- ${XPIDL} -w -v -m header -I ${SDK_IDL} ${IDL}
- ${XPIDL} -w -v -m typelib -I ${SDK_IDL} ${IDL}
+ ${XPIDL_HEADER} -o ${INTERFACE}.h -I ${SDK_IDL} ${IDL}
+ ${XPIDL_TYPELIB} -o ${INTERFACE}.xpt -I ${SDK_IDL} ${IDL}
${XPT_LINK} ${XPT} ${INTERFACE}.xpt
${TARGET}: ${XPT} ${OBJS}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org