Re: Midbrowser and LANG environment variable

2008-05-16 Thread Akira Nonaka
Hi Alexander,

Since I could not find the latest binary package , I tried to build the
midbrowser from the source code but I did not succeed. What I did were 
the followings.

1) I downloaded the source tar ball from
http://moblin.org/repos/releases/mobile-browser/mobile-browser-0.3.0b5a-6.tar.gz

2) installed xulrunner-1.9-dev

3) symlink /usr/lib/pkgconfig/mozill-nspr-1.9.pc to mozilla-nspr.pc

4) ./configure --enabe-application=browser --disable-crashreporter

5) make

I got compile error below. Will you let me know how you building the 
browser? Or are there any binary package available?

Akira

--

c++ -o nsTHashtable.o -c -fvisibility=hidden -DOSTYPE=\Linux2.6\
-DOSARCH=Linux -DTARGET_XPCOM_ABI=\x86-gcc3\ -I./../build  -I. -I.
-I../../dist/include/string -I../../dist/include
-I../../dist/include/xpcom -I/usr/include/xulrunner-1.9a8/stable
-I../../dist/sdk/include-fPIC   -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long
-pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG
-DTRIMMED -Os -freorder-blocks -fno-reorder-functions -finline-limit=50
   -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsTHashtable.pp nsTHashtable.cpp
nsTHashtable.cpp: In function 'PRUint32 HashString(const nsAString)':
nsTHashtable.cpp:58: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const nsACString)':
nsTHashtable.cpp:81: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const char*)':
nsTHashtable.cpp:94: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const PRUnichar*)':
nsTHashtable.cpp:107: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In static member function 'static PRUint32
nsIDHashKey::HashKey(const nsID*)':
nsTHashtable.cpp:128: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
make[4]: *** [nsTHashtable.o] Error 1
c++ -o nsTHashtable.o -c -fvisibility=hidden -DOSTYPE=\Linux2.6\
-DOSARCH=Linux -DTARGET_XPCOM_ABI=\x86-gcc3\ -I./../build  -I. -I.
-I../../dist/include/string -I../../dist/include
-I../../dist/include/xpcom -I/usr/include/xulrunner-1.9a8/stable
-I../../dist/sdk/include-fPIC   -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long
-pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG
-DTRIMMED -Os -freorder-blocks -fno-reorder-functions -finline-limit=50
   -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsTHashtable.pp nsTHashtable.cpp
nsTHashtable.cpp: In function 'PRUint32 HashString(const nsAString)':
nsTHashtable.cpp:58: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const nsACString)':
nsTHashtable.cpp:81: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const char*)':
nsTHashtable.cpp:94: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const PRUnichar*)':
nsTHashtable.cpp:107: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In static member function 'static PRUint32
nsIDHashKey::HashKey(const nsID*)':
nsTHashtable.cpp:128: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
make[4]: *** [nsTHashtable.o] Error 1




Alexander Sack wrote:
 On Thu, May 15, 2008 at 06:46:11PM +0900, Akira Nonaka wrote:
 Hi,

 So I have installed the Japanese language pack into the midbrowser and
 launched it with the parameter --UILocale=ja, it works fine!

 However, even if I set the locale, it seems the midbrowser ignore them.
 Does anyone have a clue?

 Below is my locale setting on the CRB.
 
 Please test the latest version in mobile/ppa/hardy ... that should set
 midbrowser to consider your LANG environment for selecting the
 UI locale.
 
 
  - Alexander
 
 


-- 
Akira Nonaka
Miracle Linux,Tokyo


-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: Marquee panel supports theme update at runtime

2008-05-16 Thread Loïc Minier
On Fri, May 16, 2008, Li, Horace wrote:
 I worked out a patch to hildon-desktop 2.0.11, to support marquee
 panel theme update at runtime. The patch will read what is set in
 gconf key /desktop/gnome/interface/gtk_theme, apply the theme and then
 monitor any changes of /desktop/gnome/interface/gtk_theme at runtime.

 I wonder why Gtk+ xsettings watch on the theme setting doesn't work
 with hildon-desktop: gtk apps shouldn't have to listen to the gconf key
 changes.

-- 
Loïc Minier

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile