Repository 32bit  Forum
Repository 64bit  Wiki

Firefox 22.0beta parliamone

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la distribuzione usata e la versione della utility coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza dell'ultima regola porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.

Re: Firefox 5.0beta parliamone

Messaggioda murdock » mer ago 17, 2011 4:04

Anche io ho fatto i miei soliti pacchetti in italiano (FF6 e Thunderbird6, 32 e 64 bit) sul solito http://www.mdkcom.net.
Saluti,
MuRdOcK
Avatar utente
murdock
Linux 2.4
Linux 2.4
 
Messaggi: 446
Iscritto il: ven mag 25, 2007 12:58
Slackware: 64 14.0
Kernel: 3.8.10
Desktop: KDE 4.10.2

Re: Firefox 5.0beta parliamone

Messaggioda hal9000 » mer ago 17, 2011 13:56

Dove posso trovare gli slackbuild per compilarli sulla mia 13.1? O vanno bene anche quelli della 13.37?
Grazie
Avatar utente
hal9000
Linux 2.0
Linux 2.0
 
Messaggi: 129
Iscritto il: dom gen 07, 2007 22:24
Località: Roma
Nome Cognome: Alessandro Zamori
Slackware: 64 13.1
Kernel: huge-2.6.33.4
Desktop: xfce

Re: Firefox 7.0beta parliamone

Messaggioda Trotto@81 » mer ago 17, 2011 15:38

Sto compilando la 7beta1 in italiano a 64bit, potrei upparlo più tardi se c'è qualcuno interessato.
Per ora l'unica differenza notata è stata sul binario firefox, non è più uno script, ma un binario vero e proprio e non necessita più della patch per settare la giusta directory per i plugins.
Con l'uso continuato voglio vedere come si comporta con l'occupazione di memoria, per ora aprendo molte tab arrivo a 200 mb occupati, chiudendole tutte tranne about:memory scende effettivamente a 100 mb, quindi libera realmente la memoria occupata, cosa che prima non avveniva.
Avatar utente
Trotto@81
Iper Master
Iper Master
 
Messaggi: 2769
Iscritto il: sab giu 26, 2004 0:00
Località: Monasterace M. (RC)
Nome Cognome: Andrea
Slackware: Slackware 14 64 bit
Kernel: 3.2.29
Desktop: KDE 4.8.5

Re: Firefox 7.0beta parliamone

Messaggioda hal9000 » ven ago 19, 2011 19:51

IO sarei interessato anche per curiosità. Andrebbero bene anche solo gli Slackbuilds per compilarlo sulla mia 13.1.
Avatar utente
hal9000
Linux 2.0
Linux 2.0
 
Messaggi: 129
Iscritto il: dom gen 07, 2007 22:24
Località: Roma
Nome Cognome: Alessandro Zamori
Slackware: 64 13.1
Kernel: huge-2.6.33.4
Desktop: xfce

Re: Firefox 7.0beta parliamone

Messaggioda Trotto@81 » ven ago 19, 2011 21:00

Oltre allo slackbuild postato qui devi scaricare il file della traduzione insieme agli altri file che scaricherai dal mirror di slack.
I link per la lingua http://hg.mozilla.org/releases/l10n/moz ... 8cb876d030
tutti gli altri file necessari alla compilazione http://www.slackware.at/data/slackware6 ... a-firefox/
I sorgenti per il 7.0beta1 qui http://ftp.mozilla.org/pub/mozilla.org/ ... d1/source/

Codice: Seleziona tutto
#!/bin/sh

# Copyright 2008, 2009, 2010, 2011  Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Thanks to the folks at the Mozilla Foundation for permission to
# distribute this, and for all the great work!  :-)

# This is a source build script. Unfortunately, there is no official
# binary tarball available for x86_64

VERSION=7.0
VERSIONP=$(basename $(ls firefox-*.tar.bz2 | cut -d - -f 2 | rev | cut -f 3- -d . | rev) .source)
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) export ARCH=i486 ;;
    arm*) export ARCH=arm ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
       *) export ARCH=$( uname -m ) ;;
  esac
fi
BUILD=${BUILD:-1}

MOZVERS=${MOZVERS:-beta}

NUMJOBS=${NUMJOBS:-" -j7 "}

# Try to be gentle to the compiler, no optimizations:
if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O -fPIC"
  LIBDIRSUFFIX="64"
elif [ "$ARCH" = "arm" ]; then
  SLKCFLAGS="-O2 -march=armv4 -mtune=xscale"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "armel" ]; then
  SLKCFLAGS="-O2 -march=armv4t"
  LIBDIRSUFFIX=""
fi

CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-mozilla-firefox
LCV=it-a38cb876d030

rm -rf $PKG
mkdir -p $TMP $PKG/usr/lib${LIBDIRSUFFIX}

cd $TMP
rm -rf mozilla-$MOZVERS
tar xvf $CWD/firefox-$VERSIONP.source.tar.bz2 || exit 1
cd mozilla-$MOZVERS || exit 1

# Localizzazione
# http://hg.mozilla.org/releases/l10n/mozilla-aurora/it/file/daa5fef44051
( cd $TMP
  mkdir l10n
  cd l10n
  tar xvf $CWD/$LCV.tar.bz2
  mv $LCV it
)

# Fix a long standing bug that's prevented staying current on GTK+.
# Thanks to the BLFS folks.  :-)
cat << EOF >> layout/build/Makefile.in

ifdef MOZ_ENABLE_CANVAS
EXTRA_DSO_LDOPTS += \$(XLDFLAGS) -lX11 -lXrender
endif

EOF

# Patch mimeTypes.rdf
# Uncomment this if you want to use the patch; otherwise, we overwrite the
# mimeTypes.rdf inside the package directory later
# zcat $CWD/mozilla-firefox-mimeTypes-fix.diff.gz | patch -p1 || exit 1

chown -R root:root .
find . \
  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
  -exec chmod 755 {} \; -o \
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;

export MOZILLA_OFFICIAL="1" &&
export BUILD_OFFICIAL="1" &&
export MOZ_PHOENIX="1" &&
export CFLAGS="$SLKCFLAGS" &&
export CXXFLAGS="$SLKCFLAGS" &&
./configure \
  --enable-official-branding \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --with-default-mozilla-five-home=/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION \
  --with-system-zlib \
  --enable-application=browser \
  --enable-default-toolkit=cairo-gtk2 \
  --enable-crypto \
  --enable-svg \
  --enable-canvas \
  --enable-logging \
  --enable-xft \
  --enable-webm \
  --enable-xinerama \
  --enable-optimize \
  --enable-reorder \
  --enable-strip \
  --enable-cpp-rtti \
  --enable-single-profile \
  --disable-ldap \
  --disable-accessibility \
  --disable-debug \
  --disable-tests \
  --disable-pedantic \
  --disable-installer \
  --disable-mailnews \
  --disable-composer \
  --disable-profilesharing \
  --disable-necko-wifi \
  --with-l10n-base=$TMP/l10n \
  --enable-ui-locale=it \
  --build=$MACHTYPE \
  --target=$MACHTYPE \
  --enable-optimize=-O3 \
  --enable-jemalloc \
  --enable-startup-notification
  # Complains about missing APNG support in Slackware's libpng:
  #--with-system-png \

#make -f client.mk build MOZ_MAKE_FLAGS="$NUMJOBS" || exit 1
make -j10 || exit 1
make install DESTDIR=$PKG || exit 1

# We don't need these (just symlinks anyway):
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/firefox-devel-$VERSION

# Nor these:
rm -rf $PKG/usr/include

( cd $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION
  #mv defaults/profile/mimeTypes.rdf defaults/profile/mimeTypes.rdf.orig || exit 1
  if [ -d defaults/profile ]; then
    zcat $CWD/mimeTypes.rdf > defaults/profile/mimeTypes.rdf || exit 1
  fi
  #zcat $CWD/firefox.moz_plugin_path.diff.gz \
   # | sed -e "s#usr/lib#usr/lib${LIBDIRSUFFIX}#g" \
   # | patch -p1 --verbose --backup --suffix=.orig || exit 1
  # Clean up if the above patch was successful:
  #rm -f firefox.orig
) || exit

mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/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${LIBDIRSUFFIX}/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
)

# Need some default icons in the right place:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION/chrome/icons/default
install -m 644 other-licenses/branding/firefox/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION/icons/
install -m 644 other-licenses/branding/firefox/default16.png \
  $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION/chrome/icons/default/
( cd $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION
  install -m 644 icons/{default,mozicon50}.xpm chrome/icons/default/
)

# Copy over the LICENSE
install -p -c -m 644 LICENSE $PKG/usr/lib${LIBDIRSUFFIX}/firefox-$VERSION/

mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $TMP/mozilla-firefox-$VERSIONP-$ARCH-$BUILD.txz

Avatar utente
Trotto@81
Iper Master
Iper Master
 
Messaggi: 2769
Iscritto il: sab giu 26, 2004 0:00
Località: Monasterace M. (RC)
Nome Cognome: Andrea
Slackware: Slackware 14 64 bit
Kernel: 3.2.29
Desktop: KDE 4.8.5

Re: Firefox 7.0beta parliamone

Messaggioda lennynero » sab ago 20, 2011 13:51

Trotto@81 ha scritto:
Codice: Seleziona tutto
#!/bin/sh
...
# Fix a long standing bug that's prevented staying current on GTK+.
# Thanks to the BLFS folks.  :-)
cat << EOF >> layout/build/Makefile.in
...

Ho l'impressione che ci sia un errore a questa riga nello script, puoi controllare?
Avatar utente
lennynero
Linux 2.6
Linux 2.6
 
Messaggi: 543
Iscritto il: lun mag 03, 2004 0:00
Località: Salerno
Slackware: 14.0-x64
Kernel: 3.2.29
Desktop: xfce-4.10

Re: Firefox 7.0beta parliamone

Messaggioda Trotto@81 » sab ago 20, 2011 15:15

Lo slackbuild è di Alien Bob, l'ho solo modificato per compilarlo in italiano.
Dall'errore che mi hai postato è impossibile dirti qualcosa.
Avatar utente
Trotto@81
Iper Master
Iper Master
 
Messaggi: 2769
Iscritto il: sab giu 26, 2004 0:00
Località: Monasterace M. (RC)
Nome Cognome: Andrea
Slackware: Slackware 14 64 bit
Kernel: 3.2.29
Desktop: KDE 4.8.5

Re: Firefox 7.0beta parliamone

Messaggioda Trotto@81 » sab ago 20, 2011 15:27

Posso confermare dopo qualche giorno di utilizzo che l'utilizzo della memoria non è spropositato come nella 6, almeno ora chiudendo le tab aperte libera un po' di ram usata.
Avatar utente
Trotto@81
Iper Master
Iper Master
 
Messaggi: 2769
Iscritto il: sab giu 26, 2004 0:00
Località: Monasterace M. (RC)
Nome Cognome: Andrea
Slackware: Slackware 14 64 bit
Kernel: 3.2.29
Desktop: KDE 4.8.5

Re: Firefox 7.0beta parliamone

Messaggioda lennynero » sab ago 20, 2011 22:14

...in realtà quello che ho postato non era l'errore ma il momento in cui l'*errore* viene causato(secondo me). Lo script termina così:
./mozilla-firefox.Slackbuild: line 213: warning: here-document at line 88 delimited by end-of-file (wanted `EOF')

Mi fa supporre che non esegue tutto quello che c'è dopo quella riga, ma sinceramente parlo un pò da profano.
Avatar utente
lennynero
Linux 2.6
Linux 2.6
 
Messaggi: 543
Iscritto il: lun mag 03, 2004 0:00
Località: Salerno
Slackware: 14.0-x64
Kernel: 3.2.29
Desktop: xfce-4.10

Re: Firefox 7.0beta parliamone

Messaggioda Trotto@81 » sab ago 20, 2011 22:28

La riga 213 è vuota, ricreati lo slackbuild.
Avatar utente
Trotto@81
Iper Master
Iper Master
 
Messaggi: 2769
Iscritto il: sab giu 26, 2004 0:00
Località: Monasterace M. (RC)
Nome Cognome: Andrea
Slackware: Slackware 14 64 bit
Kernel: 3.2.29
Desktop: KDE 4.8.5

Re: Firefox 5.0beta parliamone

Messaggioda Plaoo » dom ago 21, 2011 1:38

ocman ha scritto:la 6 uscita oggi nella current quando avvio alcuni download mi manza in freeze il pc. non posso che spegnerlo manualmente (non posso terminare x o fare il reboot da tastiera)
confermate?

Offtopic: Anche a me capita, non spegnere in HARD-reset (con il tasto) usa la combinazione Alt+Ctrl+Shift+Stamp e poi tenendo premuti i precedenti tasti premi R-E-I-S-U-B, serve per far chiudere tutti i processi e staccare i dischi in sicurezza.
Il canale ufficiale di slacky.eu si trova sui server irc.syrolnet.org canale #slackware
Avatar utente
Plaoo
Linux 2.6
Linux 2.6
 
Messaggi: 809
Iscritto il: gio apr 10, 2008 17:40
Località: Ittiri (SS)
Slackware: 14 64
Kernel: 3.2.9
Desktop: KDE

Re: Firefox 7.0beta parliamone

Messaggioda lennynero » dom ago 21, 2011 13:14

Trotto@81 ha scritto:La riga 213 è vuota, ricreati lo slackbuild.

Io ho solo compiato in un file quello che hai postato tu. Puoi inviarmelo in pm? Dove trovo quello di alienBob?
Avatar utente
lennynero
Linux 2.6
Linux 2.6
 
Messaggi: 543
Iscritto il: lun mag 03, 2004 0:00
Località: Salerno
Slackware: 14.0-x64
Kernel: 3.2.29
Desktop: xfce-4.10

Re: Firefox 7.0beta parliamone

Messaggioda Trotto@81 » dom ago 21, 2011 15:39

E' un problema relativo al carattere di fine file che nulla ha che vedere con lo script, evidentemente hai sbagliato qualcosa nel copia e incolla.
In allegato trovi lo slackbuild.
Allegati
mozilla-firefox7.SlackBuild.gz
(2.93 KiB) Scaricato 19 volte
Avatar utente
Trotto@81
Iper Master
Iper Master
 
Messaggi: 2769
Iscritto il: sab giu 26, 2004 0:00
Località: Monasterace M. (RC)
Nome Cognome: Andrea
Slackware: Slackware 14 64 bit
Kernel: 3.2.29
Desktop: KDE 4.8.5

Re: Firefox 7.0beta parliamone

Messaggioda lennynero » dom ago 21, 2011 15:58

Trotto@81 ha scritto:E' un problema relativo al carattere di fine file che nulla ha che vedere con lo script, evidentemente hai sbagliato qualcosa nel copia e incolla.
In allegato trovi lo slackbuild.

Avevo pensato fosse un mio problema di codifica, ma non sapevo come risolverlo; per il copia e incolla credo non ci siano molti dubbi...ho selezionato tutto e incollato in muosepad. comunque grazie del link, ora va.
Avatar utente
lennynero
Linux 2.6
Linux 2.6
 
Messaggi: 543
Iscritto il: lun mag 03, 2004 0:00
Località: Salerno
Slackware: 14.0-x64
Kernel: 3.2.29
Desktop: xfce-4.10

Re: Firefox 7.0beta parliamone

Messaggioda Trotto@81 » dom ago 21, 2011 16:02

Prego, aspettiamo tutti con ansia i commenti dopo che lo avrai provato. :)
Avatar utente
Trotto@81
Iper Master
Iper Master
 
Messaggi: 2769
Iscritto il: sab giu 26, 2004 0:00
Località: Monasterace M. (RC)
Nome Cognome: Andrea
Slackware: Slackware 14 64 bit
Kernel: 3.2.29
Desktop: KDE 4.8.5

PrecedenteProssimo

Torna a Gnu/Linux in genere

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti