Re: [gentoo-user] libreoffice cannot use oxygen theme

2013-08-19 Thread Alan McKinnon
On 19/08/2013 06:52, Wang Xuerui wrote:
 2013/8/19 东方巽雷 dongfangxun...@gmail.com:
 libreoffice-bin needs older icu version,libreoffice need so much time to
 compile
 
 libreoffice-bin (at this time only 4.0.4.2 is present) requests
 icu/51.1, while the latest is slotted 51.2. I don't know of any
 package that specifically asks for such a new version of icu; a quick
 equery on my system shows this:
 
 equery depends icu
  * These packages depend on icu:
 app-i18n/fcitx-4.2.8.1 (icu ? dev-libs/icu)
 app-office/libreoffice-4.1.0.4 (=dev-libs/icu-4.8.1.1)
 app-text/libmspub-0.0.6 (dev-libs/icu)
 app-text/texlive-core-2013 (xetex ? =dev-libs/icu-50)
 dev-db/sqlite-3.7.17 (icu ? dev-libs/icu)
 dev-lang/php-5.4.18 (intl ? dev-libs/icu)
 dev-lang/php-5.5.1-r1 (intl ? dev-libs/icu)
 dev-libs/boost-1.53.0 (icu ? =dev-libs/icu-3.6)
 dev-libs/libxml2-2.9.1-r1 (icu ? dev-libs/icu)
 dev-qt/qtcore-4.8.5 (icu ? =dev-libs/icu-49)
 dev-qt/qtwebkit-4.8.5 (icu ? dev-libs/icu)
 dev-tex/bibtexu-3.71_p20130530 (=dev-libs/icu-4.4)
 media-libs/harfbuzz-0.9.18-r1 (icu ? dev-libs/icu)
 media-libs/libcdr-0.0.14 (dev-libs/icu)
 media-libs/libvisio-0.0.30 (dev-libs/icu)
 media-libs/raptor-2.0.9 (unicode ? dev-libs/icu)
 net-libs/webkit-gtk-1.8.3-r201 (=dev-libs/icu-3.8.1-r1)
 net-libs/webkit-gtk-2.0.4 (=dev-libs/icu-3.8.1-r1)
 net-nds/openldap-2.4.35 (icu ? dev-libs/icu)
 sys-apps/gptfdisk-0.8.6 (icu ? dev-libs/icu)
 (icu ? dev-libs/icu[static-libs(+)])
 www-client/chromium-29.0.1547.41 (=dev-libs/icu-49.1.1-r1)
 
 So at least nothing installed on my system requires a recent icu to
 run. Thus, you shouldn't have problems setting up libreoffice-bin; if
 you indeed have to stick with the latest icu, share with us your
 specific setup and we'll be glad to help.
 


NOT upgrading icu on a whim also comes with massive user benefits:

such as, for example, NOT having to rebuild every damn huge piece of
software on the box every other week just coz icu decided to change how
something is done and shove it into a point release. Again.

/rant over


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] libreoffice cannot use oxygen theme

2013-08-19 Thread Wang Xuerui
2013/8/19 Alan McKinnon alan.mckin...@gmail.com:
 NOT upgrading icu on a whim also comes with massive user benefits:

 such as, for example, NOT having to rebuild every damn huge piece of
 software on the box every other week just coz icu decided to change how
 something is done and shove it into a point release. Again.

 /rant over

Sure...

And if you choose to not rebuild things you end up putting a whole lot
of packages into @preserved-rebuild, which shows up *every* time
emerge completes. Well, I basically get over this by simply ignoring
them, but the length of @preserved-rebuild output usually forces me
into emerging it every 2 weeks or so.

And just consider how much CPU cycles are lost in frequent qtwebkit,
webkit-gtk and chromium rebuilds...



Re: [gentoo-user] libreoffice cannot use oxygen theme

2013-08-19 Thread Alan McKinnon
On 19/08/2013 10:10, Wang Xuerui wrote:
 2013/8/19 Alan McKinnon alan.mckin...@gmail.com:
 NOT upgrading icu on a whim also comes with massive user benefits:

 such as, for example, NOT having to rebuild every damn huge piece of
 software on the box every other week just coz icu decided to change how
 something is done and shove it into a point release. Again.

 /rant over
 
 Sure...
 
 And if you choose to not rebuild things you end up putting a whole lot
 of packages into @preserved-rebuild, which shows up *every* time
 emerge completes. Well, I basically get over this by simply ignoring
 them, but the length of @preserved-rebuild output usually forces me
 into emerging it every 2 weeks or so.
 
 And just consider how much CPU cycles are lost in frequent qtwebkit,
 webkit-gtk and chromium rebuilds...
 

webkit* updates have slowed down recently so I'm not too bothered about
that. But chromium, that thing drive me to tears, now I just use
google-chrome.

I don't always need the latest icu - 7-bit ASCII satisfies all my daily
needs :-) So I can afford to mask anything after the current version and
just leave it as-is until it suits me to rebuild things.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] libreoffice cannot use oxygen theme

2013-08-19 Thread Wang Xuerui
2013/8/19 Alan McKinnon alan.mckin...@gmail.com:
 webkit* updates have slowed down recently so I'm not too bothered about
 that. But chromium, that thing drive me to tears, now I just use
 google-chrome.

Well, I choose to temporarily mask chromium if I don't have the time.
I have a /etc/portage/package.mask/11temp for (mainly) that (-:

I've switched yesterday from firefox to firefox-bin after some
mysterious crashes in the graphic backend (with HW acceleration force
enabled), only to find my compiler is not at fault... But the binary
version indeed fixed another bug, that's the page loading spinner
not animating, so I'd stick with that.

I don't have to use google-chrome because chromium is usually *still*
masked when I feel like upgrading, so it actually doesn't cost me much
time. In fact, I usually go to sleep right after starting emerge (-:

 I don't always need the latest icu - 7-bit ASCII satisfies all my daily
 needs :-) So I can afford to mask anything after the current version and
 just leave it as-is until it suits me to rebuild things.

As a Chinese, living with Unicode support is a must. But since CJK
codepoints are well supported for ages, and most of Chinese users are
not researchers who need access to the latest glyphs or complex-layout
writing systems, we don't have to upgrade icu that often either.

Actually, AFAICT all my icu upgrades are forced on me by the version
bump of big things like chromium or libreoffice.



Re: [gentoo-user] libreoffice cannot use oxygen theme

2013-08-19 Thread Wang Xuerui
2013/8/18 东方巽雷 dongfangxun...@gmail.com:
 I download LibreOffice_4.1.0_Linux_x86-64_deb.tar.gz from
 https://www.libreoffice.org/download/ and extract all the deb files.My
 desktop is KDE,but libreoffice only uses gtk+ theme.
 How should I find out the problem?

Oh... upon further reading of your question it seems we're all misled
by your description.

Your real question is Why a GTK application won't pick up KDE's theme
settings, and the answer is it simply doesn't know about Qt in the
first place. I downloaded the archive you used and ldd'd all the
libraries, none seems to depend on Qt. Gentoo's libreoffice-bin
packages are build by Gentoo developers (I remember a blog post
explaining this), so they're different from the upstream provided
ones. I haven't used them, so I can't say if they would help, but it's
certain that the official builds does NOT support Qt widgets.

Solution: Install oxygen-gtk for Oxygen-looking GTK2 widgets.



[gentoo-user] libreoffice cannot use oxygen theme

2013-08-18 Thread 东方巽雷
I download LibreOffice_4.1.0_Linux_x86-64_deb.tar.gz from
https://www.libreoffice.org/download/ and extract all the deb files.My
desktop is KDE,but libreoffice only uses gtk+ theme.
How should I find out the problem?


Re: [gentoo-user] libreoffice cannot use oxygen theme

2013-08-18 Thread Alan McKinnon
On 18/08/2013 17:16, 东方巽雷 wrote:
 I download LibreOffice_4.1.0_Linux_x86-64_deb.tar.gz
 from https://www.libreoffice.org/download/ and extract all the deb
 files.My desktop is KDE,but libreoffice only uses gtk+ theme.
 How should I find out the problem?



Why are you downloading LibreOffice and extracting it manually?

There are 2 ebuilds for it in the tree: libreoffice and libreoffice-bin.

Use those instead, they work properly.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] libreoffice cannot use oxygen theme

2013-08-18 Thread 东方巽雷
libreoffice-bin needs older icu version,libreoffice need so much time to
compile


2013/8/18 Alan McKinnon alan.mckin...@gmail.com

 On 18/08/2013 17:16, 东方巽雷 wrote:
  I download LibreOffice_4.1.0_Linux_x86-64_deb.tar.gz
  from https://www.libreoffice.org/download/ and extract all the deb
  files.My desktop is KDE,but libreoffice only uses gtk+ theme.
  How should I find out the problem?



 Why are you downloading LibreOffice and extracting it manually?

 There are 2 ebuilds for it in the tree: libreoffice and libreoffice-bin.

 Use those instead, they work properly.


 --
 Alan McKinnon
 alan.mckin...@gmail.com





Re: [gentoo-user] libreoffice cannot use oxygen theme

2013-08-18 Thread Wang Xuerui
2013/8/19 东方巽雷 dongfangxun...@gmail.com:
 libreoffice-bin needs older icu version,libreoffice need so much time to
 compile

libreoffice-bin (at this time only 4.0.4.2 is present) requests
icu/51.1, while the latest is slotted 51.2. I don't know of any
package that specifically asks for such a new version of icu; a quick
equery on my system shows this:

equery depends icu
 * These packages depend on icu:
app-i18n/fcitx-4.2.8.1 (icu ? dev-libs/icu)
app-office/libreoffice-4.1.0.4 (=dev-libs/icu-4.8.1.1)
app-text/libmspub-0.0.6 (dev-libs/icu)
app-text/texlive-core-2013 (xetex ? =dev-libs/icu-50)
dev-db/sqlite-3.7.17 (icu ? dev-libs/icu)
dev-lang/php-5.4.18 (intl ? dev-libs/icu)
dev-lang/php-5.5.1-r1 (intl ? dev-libs/icu)
dev-libs/boost-1.53.0 (icu ? =dev-libs/icu-3.6)
dev-libs/libxml2-2.9.1-r1 (icu ? dev-libs/icu)
dev-qt/qtcore-4.8.5 (icu ? =dev-libs/icu-49)
dev-qt/qtwebkit-4.8.5 (icu ? dev-libs/icu)
dev-tex/bibtexu-3.71_p20130530 (=dev-libs/icu-4.4)
media-libs/harfbuzz-0.9.18-r1 (icu ? dev-libs/icu)
media-libs/libcdr-0.0.14 (dev-libs/icu)
media-libs/libvisio-0.0.30 (dev-libs/icu)
media-libs/raptor-2.0.9 (unicode ? dev-libs/icu)
net-libs/webkit-gtk-1.8.3-r201 (=dev-libs/icu-3.8.1-r1)
net-libs/webkit-gtk-2.0.4 (=dev-libs/icu-3.8.1-r1)
net-nds/openldap-2.4.35 (icu ? dev-libs/icu)
sys-apps/gptfdisk-0.8.6 (icu ? dev-libs/icu)
(icu ? dev-libs/icu[static-libs(+)])
www-client/chromium-29.0.1547.41 (=dev-libs/icu-49.1.1-r1)

So at least nothing installed on my system requires a recent icu to
run. Thus, you shouldn't have problems setting up libreoffice-bin; if
you indeed have to stick with the latest icu, share with us your
specific setup and we'll be glad to help.