SlackBuild para empacotar o Firefox (binário) pro Slackware
Publicado por Fellype (última atualização em 04/07/2011)
[ Hits: 4.907 ]
Homepage: http://scidavisbr.blogspot.com/
Download mozilla-firefox-binary.SlackBuild
Este é um SlackBuild para empacotar o Firefox para o Slackware, em em qualquer idioma diferente do inglês americano. Ele é apenas uma adaptação do script encontrado em [1], onde estão também os seguintes arquivos (requeridos no script):
- mimeTypes.rdf.gz
- mozilla-firefox.desktop
- firefox.png
- slack-desc
Os arquivos acima não são baixados automaticamente pelo SlackBuild por não variarem de versão pra versão, sendo necessário baixá-los apenas uma vez.
O uso deste script segue a a sintaxe:
# LOLANG=xx-YY VERSION=x.y.z ARCH=(i686 ou x86_64) ./mozilla-firefox-binary.SlackBuild
Supondo o nosso idioma (Português do Brasil), a versão 4.0.1 do Firefox e aquitetura i686, o comando acima ficaria assim:
# LOLANG=pt-BR VERSION=4.0.1 ARCH=i686 ./mozilla-firefox-binary.SlackBuild
Este SlackBuild foi testado apenas para a versão 4.0.1 do Firefox, mas, com as devidas modificações, deve funcionar com outras versões (desde que elas existam, é claro).
Um abraço.
[1] http://repository.slacky.eu/slackware-13.1/network/mozilla-firefox-it/3.6.8/src/
#!/bin/sh CWD=`pwd` TMP=${TMP:-/tmp} PKG=$TMP/package-mozilla-firefox # This is not a source build script. Rather, it builds a Slackware # package from the official binary tarball available from mozilla.org. # Using the official binaries seems like the most direct way to satify # the Mozilla project's concerns about quality control (and thus to # provide the most quality-certified package possible), and therefore # be able to use the official trademarks and logos. # # Thanks to the folks at the Mozilla Foundation for permission to # distribute this, and for all the great work! :-) VERSION=${VERSION:-} ARCH=${ARCH:-} BUILD=1 LOLANG=${LOLANG:-} PKG_LANG=${LOLANG//-/_} SOURCE="http://mozilla.c3sl.ufpr.br/releases//firefox/releases/$VERSION/linux-$ARCH/$LOLANG/firefox-$VERSION.tar.bz2" if [ ! -e $CWD/firefox-$VERSION.tar.bz2 ];then wget $SOURCE fi if [ ! -d $TMP ]; then mkdir -p $TMP fi rm -rf $PKG mkdir -p $PKG/usr/lib ( cd $PKG/usr/lib tar xvjf $CWD/firefox-$VERSION.tar.bz2 || exit 1 mv firefox firefox-$VERSION ln -sf firefox-$VERSION firefox cd firefox-$VERSION sed -i -e "s/usr\/local/usr/" firefox rm -f defaults/pref/firefox.js.orig cd $PKG/usr/lib/firefox-$VERSION # There's really no reason to save this .orig: mkdir defaults/profile zcat $CWD/mimeTypes.rdf > defaults/profile/mimeTypes.rdf || exit 1 ) || exit 1 mkdir -p $PKG/usr/bin ( cd $PKG/usr/bin ln -sf /usr/lib/firefox-$VERSION/firefox . ) mkdir -p $PKG/usr/lib/mozilla/plugins mkdir -p $PKG/usr/share/applications cat $CWD/mozilla-firefox.desktop > $PKG/usr/share/applications/mozilla-firefox.desktop mkdir -p $PKG/usr/share/pixmaps cat $CWD/firefox.png > $PKG/usr/share/pixmaps/firefox.png # These files/directories are usually created if Firefox is run as root, which on many # systems might (and possibly should) be never. Therefore, if we don't see them we'll # put stubs in place to prevent startup errors. ( cd $PKG/usr/lib/firefox-$VERSION if [ -d extensions/talkback\@mozilla.org ]; then if [ ! -r extensions/talkback\@mozilla.org/chrome.manifest ]; then echo > extensions/talkback\@mozilla.org/chrome.manifest fi fi if [ ! -d updates ]; then mkdir -p updates/0 fi ) mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG makepkg -l y -c n $TMP/mozilla-firefox-$PKG_LANG-$VERSION-$ARCH-$BUILD.txz
Pingmon1.0 - Ping Timeout Monitor
Dependências de Emuladores e DosBox
RWm4aMp3 - converter arquivos de música m4a para mp3
tag-mp3 - Um script para editar e/ou visualizar algumas tags ID3 de arquivos MP3
Fakemail anônimo - sem uso de SMTP
Nenhum coment�rio foi encontrado.
Servidor de Backup com Ubuntu Server 24.04 LTS, RAID e Duplicati (Dell PowerEdge T420)
Visualizar câmeras IP ONVIF no Linux sem necessidade de instalar aplicativos
Atualizar Debian Online de uma Versão para outra
Instalar driver Nvidia no Debian 13
Redimensionando, espelhando, convertendo e rotacionando imagens com script
Debian 13 Trixie para Iniciantes
Convertendo pacotes DEB que usam ZSTD (Padrão Novo) para XZ (Padrão Antigo)
Rust é o "C da nossa geração"? (8)
Ubuntu com problemas no áudio (3)
Debian 13 "trixie&... lançado! (44)
Gerenciador de arquivos é finalizado ao abrir pasta específica (2)