You are not logged in.

#1 2009-11-04 01:54:13

Fou
Member
Registered: 2009-09-27
Posts: 49

Enabling Firefox Branding[SOLVED]

Hi,

I try to execute this procedure http://wiki.archlinux.org/index.php/Firefox but i don't find the line that i have to convert in the PKGBUILD file

convert ${startdir}/src/mozilla/browser/app/default.xpm ${startdir}/pkg/usr/share/pixmaps/firefox.png

and this two lines to

install -m644 ${startdir}/src/mozilla/browser/app/default.xpm ${startdir}/pkg/usr/lib/firefox/chrome/icons/default/
install -m644 ${startdir}/src/mozilla/browser/app/default.xpm ${startdir}/pkg/usr/lib/firefox/icons/

there is my entire file

# $Id: PKGBUILD 56839 2009-10-28 10:25:01Z jgc $
# Contributor: Jakub Schmidtke <sjakub@gmail.com>

pkgname=firefox
pkgver=3.5.4
pkgrel=1
_xulver=1.9.1.4
pkgdesc="Standalone web browser from mozilla.org"
arch=(i686 x86_64)
license=('MPL' 'GPL' 'LGPL')
depends=("xulrunner=${_xulver}" 'desktop-file-utils')
makedepends=('zip' 'pkgconfig' 'diffutils' 'libgnomeui>=2.24.1' 'python')
replaces=('firefox3')
install=firefox.install
url="http://www.mozilla.org/projects/firefox"
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/source/firefox-${pkgver}.source.tar.bz2
        mozconfig
        firefox.desktop
        firefox-safe.desktop
        mozilla-firefox-1.0-lang.patch
        browser-defaulturls.patch
        firefox-version.patch)
md5sums=('0b6ccb1e50d96b7127a18a69399fcf05'
         'd672df11a6e16a5dec68428b00bfb810'
         '68cf02788491c6e846729b2f2913bf79'
         '5e68cabfcf3c021806b326f664ac505e'
         'bd5db57c23c72a02a489592644f18995'
         '346d74ec560e7bbf453c02ff21f4b868'
         '1dd9a10df0b9e4cf332eadc326d78e07')

build() {
  cd "${srcdir}/mozilla-1.9.1"
  patch -Np1 -i "${srcdir}/mozilla-firefox-1.0-lang.patch" || return 1
  patch -Np0 -i "${srcdir}/browser-defaulturls.patch" || return 1
  patch -Np1 -i "${srcdir}/firefox-version.patch" || return 1

  cp "${srcdir}/mozconfig" .mozconfig
  unset CFLAGS
  unset CXXFLAGS

  export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-3.5"

  make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
  make -j1 DESTDIR="${pkgdir}" install || return 1

  rm -f ${pkgdir}/usr/lib/firefox-3.5/libjemalloc.so

  install -m755 -d ${pkgdir}/usr/share/applications
  install -m755 -d ${pkgdir}/usr/share/pixmaps
  install -m644 ${srcdir}/mozilla-1.9.1/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png || return 1
  install -m644 ${srcdir}/firefox.desktop ${pkgdir}/usr/share/applications/ || return 1
  install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/ || return 1
}
md5sums=('0b6ccb1e50d96b7127a18a69399fcf05'
         '76b797d26d77cc1f1621518497512310'
         '68cf02788491c6e846729b2f2913bf79'
         '5e68cabfcf3c021806b326f664ac505e'
         'bd5db57c23c72a02a489592644f18995'
         '346d74ec560e7bbf453c02ff21f4b868'
         '1dd9a10df0b9e4cf332eadc326d78e07')

someone can help me on this

Thank you

Last edited by Fou (2009-11-04 13:37:06)

Offline

#2 2009-11-04 02:23:54

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Enabling Firefox Branding[SOLVED]

convert is a command from imagemagick to convert one image format to another.

Offline

#3 2009-11-04 04:24:07

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Enabling Firefox Branding[SOLVED]

skottish wrote:

convert is a command from imagemagick to convert one image format to another.

Yes, and it's missing from the PKGBUILD even though the wiki says it should be there tongue

I'm not sure why there's a discrepancy there -- I can only assume the PKGBUILD has been updated and had that part removed since the wiki was written. Using the 'firebrand.sh' script is much easier if you want official branding. Searching the forums should turn it up for you smile

Offline

#4 2009-11-04 04:57:42

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Enabling Firefox Branding[SOLVED]

Fou

If you are new to this and would just like to have the firefox package without much sweating then try installing the [1]AUR package, else carry on the manual compilation. smile


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#5 2009-11-04 13:36:49

Fou
Member
Registered: 2009-09-27
Posts: 49

Re: Enabling Firefox Branding[SOLVED]

Ok thank you for your help.

Offline

Board footer

Powered by FluxBB