Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 131527 | Differences between
and this patch

Collapse All | Expand All

(-)Democracy-0.8.5.orig/platform/gtk-x11/frontend_implementation/MozillaBrowserXPCOM.h (+4 lines)
Lines 4-9 Link Here
4
#include <gtkmozembed.h>
4
#include <gtkmozembed.h>
5
#include <nscore.h>
5
#include <nscore.h>
6
6
7
#ifndef MOZILLA_INTERNAL_API
8
#define MOZILLA_INTERNAL_API
9
7
#ifdef __cplusplus
10
#ifdef __cplusplus
8
extern "C" {
11
extern "C" {
9
#endif
12
#endif
Lines 25-28 Link Here
25
}
28
}
26
#endif
29
#endif
27
30
31
#endif /* MOZILLA_INTERNAL_API */
28
#endif /* MOZILLA_BROWSER_XPCOM_H */
32
#endif /* MOZILLA_BROWSER_XPCOM_H */
(-)Democracy-0.8.5.orig/platform/gtk-x11/setup.py (-4 / +7 lines)
Lines 145-152 Link Here
145
145
146
    if options_dict is None:
146
    if options_dict is None:
147
        options_dict = {
147
        options_dict = {
148
            'include_dirs' : [],
148
            'include_dirs' : ['/usr/lib/mozilla-firefox/include/webbrwsr',
149
            'library_dirs' : [],
149
	                      '/usr/lib/mozilla-firefox/include/dom',
150
	                      '/usr/lib/mozilla-firefox/include/uriloader'],
151
	    'library_dirs' : [],
150
            'libraries' : [],
152
            'libraries' : [],
151
            'extra_compile_args' : []
153
            'extra_compile_args' : []
152
        }
154
        }
Lines 160-167 Link Here
160
            options_dict['library_dirs'].append(rest)
162
            options_dict['library_dirs'].append(rest)
161
        elif prefix == '-l':
163
        elif prefix == '-l':
162
            options_dict['libraries'].append(rest)
164
            options_dict['libraries'].append(rest)
163
        else:
164
            options_dict['extra_compile_args'].append(comp)
165
    return options_dict
165
    return options_dict
166
166
167
#### The fasttypes extension ####
167
#### The fasttypes extension ####
Lines 179-184 Link Here
179
elif re.search("^mozilla-xpcom", packages, re.MULTILINE):
179
elif re.search("^mozilla-xpcom", packages, re.MULTILINE):
180
    xpcom = 'mozilla-xpcom'
180
    xpcom = 'mozilla-xpcom'
181
    gtkmozembed = 'mozilla-gtkmozembed'
181
    gtkmozembed = 'mozilla-gtkmozembed'
182
elif re.search("^firefox-xpcom", packages, re.MULTILINE):
183
    xpcom = 'firefox-xpcom'
184
    gtkmozembed = 'firefox-gtkmozembed'
182
else:
185
else:
183
    raise RuntimeError("Can't find xulrunner-xpcom or mozilla-xpcom")
186
    raise RuntimeError("Can't find xulrunner-xpcom or mozilla-xpcom")
184
mozilla_browser_options = parsePkgConfig("pkg-config" , 
187
mozilla_browser_options = parsePkgConfig("pkg-config" , 

Return to bug 131527