LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-18-2013, 04:33 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,944

Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
Wrong icon path in current mozilla-thunderbird.SlackBuild


Hi,

I'm currently adapting mozilla-thunderbird.SlackBuild (from current) for personal use (on stable).

The original SlackBuild has this:
Code:
# Need some default icons in the right place:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/chrome/icons/default
install -m 644 other-licenses/branding/thunderbird/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/icons/
install -m 644 other-licenses/branding/thunderbird/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/chrome/icons/default/
But there's no default16.png file in the specified place. I poked around a bit and finally found it. Here's the corrected stanza:
Code:
# Need some default icons in the right place:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/chrome/icons/default
install -m 644 obj/mozilla/dist/thunderbird/chrome/icons/default/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/icons/
install -m 644 obj/mozilla/dist/thunderbird/chrome/icons/default/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/chrome/icons/default/
Cheers,

Niki
 
Old 04-18-2013, 05:47 AM   #2
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,944

Original Poster
Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
On a side note: it looks like recent versions of both Mozilla Firefox and Thunderbird ignore CCache. Compiling them with the compiler cache activated takes bloody ages even beyond the second compilation.

Why is that?
 
Old 04-18-2013, 03:43 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 876

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
Quote:
Originally Posted by kikinovak View Post
Hi,

I'm currently adapting mozilla-thunderbird.SlackBuild (from current) for personal use (on stable).

The original SlackBuild has this:
Code:
# Need some default icons in the right place:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/chrome/icons/default
install -m 644 other-licenses/branding/thunderbird/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/icons/
install -m 644 other-licenses/branding/thunderbird/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/chrome/icons/default/
But there's no default16.png file in the specified place. I poked around a bit and finally found it. Here's the corrected stanza:
Code:
# Need some default icons in the right place:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/chrome/icons/default
install -m 644 obj/mozilla/dist/thunderbird/chrome/icons/default/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/icons/
install -m 644 obj/mozilla/dist/thunderbird/chrome/icons/default/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-$VERSION/chrome/icons/default/
Cheers,

Niki
It looks like all of the required icons make it to the second location without any help. The first location has only an icon for the updater, and the directory isn't made by the SlackBuild. Probably everything in the built package is in the right places.

I suspect those portions of the script are harmless cruft unless icons have been observed to be missing without these fixes.
 
Old 04-18-2013, 04:12 PM   #4
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,944

Original Poster
Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
Quote:
Originally Posted by volkerdi View Post
It looks like all of the required icons make it to the second location without any help. The first location has only an icon for the updater, and the directory isn't made by the SlackBuild. Probably everything in the built package is in the right places.

I suspect those portions of the script are harmless cruft unless icons have been observed to be missing without these fixes.
Well, it's harmless anyway. The only reason I noticed it is because my script exits on the slightest error.
 
Old 04-21-2013, 11:40 AM   #5
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,944

Original Poster
Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
Quote:
Originally Posted by kikinovak View Post
On a side note: it looks like recent versions of both Mozilla Firefox and Thunderbird ignore CCache. Compiling them with the compiler cache activated takes bloody ages even beyond the second compilation.

Why is that?
OK, found the answer to this at last. Ccache's default limit is 1.0 GB. One single build of Firefox 17 ESR, and the cache was filled. The solution was to simply raise the cache limit, and now it works.

Code:
# ccache --max-size=5G
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
update from mozilla thunderbird 12.0.1 to mozilla thunderbird 13.0 herakles_14 Ubuntu 1 06-11-2012 03:49 AM
[SOLVED] How to get the absolute path of the running executable file and current work path ? 915086731 Programming 3 11-01-2011 10:28 AM
LXer: Mozilla Thunderbird to Find New Home as Mozilla Foundation Focuses on Mozilla Firefox LXer Syndicated Linux News 0 07-27-2007 10:16 AM
LXer: Mozilla Firefox and Mozilla Thunderbird 1.5.0.5 Community Test Day LXer Syndicated Linux News 0 07-14-2006 09:54 AM
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 02:33 AM


All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration