LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Wrong icon path in current mozilla-thunderbird.SlackBuild (http://www.linuxquestions.org/questions/slackware-14/wrong-icon-path-in-current-mozilla-thunderbird-slackbuild-4175458595/)

kikinovak 04-18-2013 04:33 AM

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

kikinovak 04-18-2013 05:47 AM

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?

volkerdi 04-18-2013 03:43 PM

Quote:

Originally Posted by kikinovak (Post 4933876)
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.

kikinovak 04-18-2013 04:12 PM

Quote:

Originally Posted by volkerdi (Post 4934256)
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.

kikinovak 04-21-2013 11:40 AM

Quote:

Originally Posted by kikinovak (Post 4933910)
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


All times are GMT -5. The time now is 03:23 PM.