[Lunar-commits] <moonbase> firefox3, thunderbird3: move them to zdeprecated.

Florin Braescu florin at lunar-linux.org
Wed Sep 7 08:57:52 CEST 2011


commit cde476c4c333065c66d4533d20a3f573e7e4c3b2
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Sep 7 10:57:52 2011 +0400

    firefox3, thunderbird3: move them to zdeprecated.
---
 mail/thunderbird3/BUILD                      |   93 -------------------------
 mail/thunderbird3/CONFIGURE                  |    1 -
 mail/thunderbird3/CONFLICTS                  |    1 -
 mail/thunderbird3/DEPENDS                    |   12 ---
 mail/thunderbird3/DETAILS                    |   33 ---------
 mail/thunderbird3/POST_INSTALL               |   17 -----
 mail/thunderbird3/POST_REMOVE                |    3 -
 mail/thunderbird3/PRE_BUILD                  |    5 --
 mail/thunderbird3/mozconfig                  |   41 -----------
 mail/thunderbird3/thunderbird.desktop        |   12 ---
 web/firefox3/BUILD                           |   96 --------------------------
 web/firefox3/BUILD.x86_64                    |   95 -------------------------
 web/firefox3/CONFIGURE                       |    2 -
 web/firefox3/CONFLICTS                       |    1 -
 web/firefox3/DEPENDS                         |   25 -------
 web/firefox3/DETAILS                         |   40 -----------
 web/firefox3/POST_INSTALL                    |   20 ------
 web/firefox3/POST_REMOVE                     |    4 -
 web/firefox3/PRE_BUILD                       |    5 --
 web/firefox3/firefox.desktop                 |   11 ---
 web/firefox3/mozconfig                       |   30 --------
 zdeprecated/firefox3/BUILD                   |   96 ++++++++++++++++++++++++++
 zdeprecated/firefox3/BUILD.x86_64            |   95 +++++++++++++++++++++++++
 zdeprecated/firefox3/CONFIGURE               |    2 +
 zdeprecated/firefox3/CONFLICTS               |    1 +
 zdeprecated/firefox3/DEPENDS                 |   25 +++++++
 zdeprecated/firefox3/DETAILS                 |   40 +++++++++++
 zdeprecated/firefox3/POST_INSTALL            |   20 ++++++
 zdeprecated/firefox3/POST_REMOVE             |    4 +
 zdeprecated/firefox3/PRE_BUILD               |    5 ++
 zdeprecated/firefox3/firefox.desktop         |   11 +++
 zdeprecated/firefox3/mozconfig               |   30 ++++++++
 zdeprecated/thunderbird3/BUILD               |   93 +++++++++++++++++++++++++
 zdeprecated/thunderbird3/CONFIGURE           |    1 +
 zdeprecated/thunderbird3/CONFLICTS           |    1 +
 zdeprecated/thunderbird3/DEPENDS             |   12 +++
 zdeprecated/thunderbird3/DETAILS             |   33 +++++++++
 zdeprecated/thunderbird3/POST_INSTALL        |   17 +++++
 zdeprecated/thunderbird3/POST_REMOVE         |    3 +
 zdeprecated/thunderbird3/PRE_BUILD           |    5 ++
 zdeprecated/thunderbird3/mozconfig           |   41 +++++++++++
 zdeprecated/thunderbird3/thunderbird.desktop |   12 +++
 42 files changed, 547 insertions(+), 547 deletions(-)

diff --git a/mail/thunderbird3/BUILD b/mail/thunderbird3/BUILD
deleted file mode 100644
index 403df3e..0000000
--- a/mail/thunderbird3/BUILD
+++ /dev/null
@@ -1,93 +0,0 @@
-(
-
-  COMM_VER=comm-1.9.2
-
-  if module_is_expired $MODULE && [ "$VERSION" != "`installed_version $MODULE`" ]; then
-        set_module_config OLD_VER "`installed_version $MODULE`"
-  fi &&
-
-  export MOZILLA_HOME=/usr/lib/$MODULE-$VERSION
-  export MOZ_CO_PROJECT=mail
-  export MOZILLA_OFFICIAL=1
-  export BUILD_OFFICIAL=1
-  export MOZ_THUNDERBIRD=1
-  # I have no idea how Mozilla compiles binaries if source code is not compilable without these fixes:
-  sedit '160s/^protected/public/' $COMM_VER/mozilla/layout/generic/nsFrame.h &&
-  export MOZILLA_SRCDIR=$SOURCE_DIRECTORY/$COMM_VER/mozilla
-  export BUILD_TOOLS=$MOZILLA_SRCDIR/build/unix
-  export MOZILLA_DIR=$MOZILLA_SRCDIR
-
-  . /etc/profile.d/pkgconfig.rc &&
-  cp $SCRIPT_DIRECTORY/mozconfig $COMM_VER &&
-
-  export MOZ_OBJDIR="${SOURCE_DIRECTORY}/build-mozilla"
-  mkdir -p ${MOZ_OBJDIR}  &&
-
-  cd $COMM_VER &&
-
-  #Add DEPENDS options
-
-  if in_depends $MODULE dbus ; then
-    echo "ac_add_options --enable-dbus" >> mozconfig
-  else
-    echo "ac_add_options --disable-dbus" >> mozconfig
-  fi  &&
-
-  if in_depends $MODULE sqlite ; then
-    echo "ac_add_options --enable-system-sqlite" >> mozconfig
-  fi  &&
-
-  if in_depends $MODULE "xulrunner" ; then
-    XUL=`module_version xulrunner`
-    echo "ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-$XUL" >> mozconfig
-  fi  &&
-
-  if in_depends $MODULE gnome-vfs ; then
-    echo "ac_add_options --enable-gnomevfs" >> mozconfig
-  else
-    echo "ac_add_options --disable-gnomevfs" >> mozconfig
-  fi  &&
-
-  if in_depends $MODULE openldap ; then
-    echo "ac_add_options --enable-ldap" >> mozconfig
-  else
-    echo "ac_add_options --disable-ldap" >> mozconfig
-  fi  &&
-
-  setterm -bfreq -blength &&
-
-  #Finally, the build!
-  if [ "$PGO" == "y" ] ; then
-    #CCache breaks the pgo build
-    export CCACHE_DISABLE=1
-    echo "ac_add_options --enable-profile-guided-optimization" >> mozconfig
-    echo "mk_add_options PROFILE_GEN_SCRIPT='python $MOZ_OBJDIR/_profile/pgo/profileserver.py'" >> mozconfig
-    make -f client.mk build
-    make -f client.mk profiledbuild
-  else
-    make -f client.mk build
-  fi  &&
-
-  cd ${MOZ_OBJDIR}  &&
-  prepare_install   &&
-  make install      &&
-
-  # Make thunderbird use its own icon
-  mkdir -p $MOZILLA_HOME/chrome/icons/default  &&
-
-  for icon in `ls $MOZILLA_HOME/icons`; do
-   `ln -sf $MOZILLA_HOME/icons/$icon \
-           $MOZILLA_HOME/chrome/icons/default/$icon`
-  done
-
-  # Now the .desktop file and the icon
-  mkdir -p /usr/share/applications /usr/share/pixmaps &&
-  install -m644 $SCRIPT_DIRECTORY/thunderbird.desktop /usr/share/applications &&
-  # please, dont just let the lin fail because /usr/share/pixmaps/thunderbird.xpm is an existing symlink...
-  rm -f /usr/share/pixmaps/thunderbird.xpm &&
-  cp $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/content/icon64.png $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/mailicon64.png &&
-  cp -f $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/content/icon48.png $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/mailicon48.png &&
-  install -m644 $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/mailicon*.png /usr/share/pixmaps
-
-) > $C_FIFO 2>&1
-
diff --git a/mail/thunderbird3/CONFIGURE b/mail/thunderbird3/CONFIGURE
deleted file mode 100644
index bb3eff0..0000000
--- a/mail/thunderbird3/CONFIGURE
+++ /dev/null
@@ -1 +0,0 @@
-mquery PGO "Build with Profile Guided Optimization?"  y  "--enable-profile-guided-optimization"  ""
diff --git a/mail/thunderbird3/CONFLICTS b/mail/thunderbird3/CONFLICTS
deleted file mode 100644
index baf133f..0000000
--- a/mail/thunderbird3/CONFLICTS
+++ /dev/null
@@ -1 +0,0 @@
-conflicts thunderbird
diff --git a/mail/thunderbird3/DEPENDS b/mail/thunderbird3/DEPENDS
deleted file mode 100644
index f6e20fd..0000000
--- a/mail/thunderbird3/DEPENDS
+++ /dev/null
@@ -1,12 +0,0 @@
-depends ORBit2
-depends zip
-depends unzip
-depends expat
-depends gtk+-2
-depends startup-notification
-depends libnotify
-
-optional_depends "gnome-vfs" "" "" "for Gnome VFS support"
-optional_depends "openldap"  "" "" "for LDAP address book support"
-optional_depends "Python"    "" "" "Needed to do a Profile Guided Optimization build"
-
diff --git a/mail/thunderbird3/DETAILS b/mail/thunderbird3/DETAILS
deleted file mode 100644
index 027820a..0000000
--- a/mail/thunderbird3/DETAILS
+++ /dev/null
@@ -1,33 +0,0 @@
-          MODULE=thunderbird3
-         VERSION=3.1.13
-          SOURCE=thunderbird-$VERSION.source.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
-   SOURCE_URL[0]=ftp://mozilla.isc.org/pub/mozilla.org/$MODULE/releases/$VERSION/source
-   SOURCE_URL[1]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/$MODULE/releases/$VERSION/source
-   SOURCE_URL[2]=http://archive.progeny.com/mozilla.org/$MODULE/releases/$VERSION/source
-   SOURCE_URL[3]=ftp://ftp.mozilla.org/pub/mozilla.org/$MODULE/releases/$VERSION/source
-      SOURCE_VFY=sha1:5bb8945e505a9d7d89b5a95ac932c47ad9032e56
-        WEB_SITE=http://www.mozilla.org/projects/thunderbird
-         ENTERED=20031021
-         UPDATED=20110831
-           SHORT="A full-featured mail client"
-           PSAFE=no
-
-cat << EOF
-Thunderbird includes:
-* The ability to customize your toolbars the way you want them.
-  Choose View / Toolbars / Customize inside any window.
-* UI extensions can be added to Mozilla Thunderbird to customize your
-  experience with specific features and enhancements that you need. Support
-  for extensions. Extensions allow you to add features particular to your
-  needs such as offline mail support. A full list of available extensions can
-  be found here.
-* A new look and feel. Thunderbird also supports a large number of
-  downloadable themes which alter the appearance of the client.
-* An addressing sidebar for mail compose which makes it easy and convenient
-  to add address book contacts to emails.
-* Online help includes a FAQ, tips and tricks and other useful information.
-* Simplified preferences UI and menus.
-* Footprint and performance improvements.
-* Better Junk Mail Filtering Support
-EOF
diff --git a/mail/thunderbird3/POST_INSTALL b/mail/thunderbird3/POST_INSTALL
deleted file mode 100644
index 3fc416c..0000000
--- a/mail/thunderbird3/POST_INSTALL
+++ /dev/null
@@ -1,17 +0,0 @@
-OLD_VER="$(get_module_config OLD_VER)"
-TBIRD_HOME=/usr
-TBIRD_LIBDIR=thunderbird-$VERSION
-
-if [ ! -z $OLD_VER ]; then
-  rm -rf /usr/lib/thunderbird-$OLD_VER
-fi
-
-unset_module_config OLD_VER
-
-# No more linking workarounds
-export LD_LIBRARY_PATH="$TBIRD_HOME/lib/$TBIRD_LIBDIR:$TBIRD_HOME/lib/$TBIRD_LIBDIR/plugins:$TBIRD_HOME/lib/$TBIRD_LIBDIR/components"
-export MOZILLA_FIVE_HOME="$TBIRD_HOME/lib/$TBIRD_LIBDIR"
-ldconfig
-
-#echo "skin,install,select,classic/1.0" >> $TBIRD_HOME/lib/$TBIRD_LIBDIR/chrome/installed-chrome.txt
-#echo "locale,install,select,en-US" >> $TBIRD_HOME/lib/$TBIRD_LIBDIR/chrome/installed-chrome.txt
diff --git a/mail/thunderbird3/POST_REMOVE b/mail/thunderbird3/POST_REMOVE
deleted file mode 100644
index c9d5ec6..0000000
--- a/mail/thunderbird3/POST_REMOVE
+++ /dev/null
@@ -1,3 +0,0 @@
-rm -f  /usr/share/pixmaps/mozicon50.xpm
-rm -rf /usr/include/thunderbird-$VERSION
-rm -rf /usr/lib/thunderbird-$VERSION
diff --git a/mail/thunderbird3/PRE_BUILD b/mail/thunderbird3/PRE_BUILD
deleted file mode 100644
index cc901d0..0000000
--- a/mail/thunderbird3/PRE_BUILD
+++ /dev/null
@@ -1,5 +0,0 @@
-validate_source_dir &&
-mk_source_dir &&
-
-cd $SOURCE_DIRECTORY &&
-unpack $SOURCE
diff --git a/mail/thunderbird3/mozconfig b/mail/thunderbird3/mozconfig
deleted file mode 100644
index 0af1644..0000000
--- a/mail/thunderbird3/mozconfig
+++ /dev/null
@@ -1,41 +0,0 @@
-ac_add_options --prefix=/usr
-ac_add_options --with-x
-ac_add_options --with-pthreads
-ac_add_options --with-default-mozilla-five-home=$MOZILLA_HOME
-ac_add_options --with-user-appdir=".thunderbird"
-ac_add_options --with-system-zlib
-#ac_add_options --with-system-png
-ac_add_options --with-system-jpeg
-ac_add_options --with-system-bz2
-ac_add_options --enable-system-cairo
-ac_add_options --enable-application=mail
-ac_add_options --enable-default-toolkit=cairo-gtk2 #cairo-qt
-ac_add_options --enable-optimize="$CFLAGS"
-ac_add_options --enable-cpp-rtti
-ac_add_options --enable-cpp-exceptions
-ac_add_options --enable-crypto
-ac_add_options --enable-strip
-ac_add_options --enable-xterm-updates
-ac_add_options --enable-official-branding
-ac_add_options --enable-jemalloc
-ac_add_options --enable-calendar
-ac_add_options --enable-startup-notification
-ac_add_options --disable-pedantic
-ac_add_options --disable-debug
-ac_add_options --disable-tests
-ac_add_options --disable-logging
-ac_add_options --disable-accessibility
-ac_add_options --disable-installer
-ac_add_options --disable-oji
-# static build is required for mail
-ac_add_options --enable-static
-# wifi breaks build due to incompatibile header files
-ac_add_options --disable-necko-wifi
-#--with-system-nspr
-#--with-system-nss
-#--enable-system-hunspell
-#--enable-ui-locale
-#--enable-native-uconv
-#--enable-tree-freetype
-#--enable-xpcom-lea
-
diff --git a/mail/thunderbird3/thunderbird.desktop b/mail/thunderbird3/thunderbird.desktop
deleted file mode 100644
index 3cc7194..0000000
--- a/mail/thunderbird3/thunderbird.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Thunderbird Mail
-Name[pl]=Poczta Thunderbird
-Comment=Thunderbird Mail Client
-Exec=thunderbird
-Icon=mailicon48.png
-Terminal=false
-Type=Application
-Categories=Application;Network;
-Comment[pl]=Thunderbird - klient poczty
-StartupNotify=true
diff --git a/web/firefox3/BUILD b/web/firefox3/BUILD
deleted file mode 100644
index f5bd91a..0000000
--- a/web/firefox3/BUILD
+++ /dev/null
@@ -1,96 +0,0 @@
-(
-
-  MOZILLA_DIR=mozilla-1.9.2 &&
-
-  if module_is_expired $MODULE && [ "$VERSION" != "`installed_version $MODULE`" ]; then
-        set_module_config OLD_VER "`installed_version $MODULE`"
-  fi &&
-
-  export MOZILLA_HOME=/usr/lib/$MODULE-$VERSION &&
-  export MOZ_CO_PROJECT=browser &&
-  export MOZILLA_OFFICIAL=1 &&
-  export BUILD_OFFICIAL=1 &&
-
-  # This should always be just a link
-  rm -rf $MOZILLA_HOME/plugins &&
-
-  cp $SCRIPT_DIRECTORY/mozconfig $MOZILLA_DIR/ &&
-
-  export MOZ_OBJDIR="${SOURCE_DIRECTORY}/build-mozilla" &&
-  mkdir -p ${MOZ_OBJDIR} &&
-
-  cd $MOZILLA_DIR &&
-
-  echo "ac_add_options --disable-necko-wifi" >> mozconfig &&
-  echo "ac_add_options --disable-system-sqlite" >> mozconfig &&
-
-  #Add DEPENDS options
-
-  if in_depends $MODULE "xulrunner" ; then
-    XUL=`module_version xulrunner` &&
-    echo "ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-$XUL" >> mozconfig
-  fi &&
-
-  if in_depends $MODULE gnome-vfs ; then
-    echo "ac_add_options --enable-gnomevfs" >> mozconfig
-  else
-    echo "ac_add_options --disable-gnomevfs" >> mozconfig
-  fi &&
-
-  if in_depends $MODULE sun-jdk ; then
-    echo "ac_add_options --with-java-include-path=/usr/java/include" >> mozconfig &&
-    echo "ac_add_options --with-java-bin-path=/usr/java/bin" >> mozconfig &&
-    echo "ac_add_options --enable-javaxpcom" >> mozconfig
-  fi &&
-
-  #Add CONFIGURE options
-
-  if [ "$SAFE" == "y" ] ; then
-    echo "ac_add_options --enable-safe-browsing" >> mozconfig
-  fi &&
-
-  setterm -bfreq -blength &&
-
-  #Finally, the build!
-  if [ "$PGO" == "y" ] ; then
-    #CCache breaks the pgo build
-    export CCACHE_DISABLE=1 &&
-    echo "ac_add_options --enable-profile-guided-optimization" >> mozconfig &&
-    echo "mk_add_options PROFILE_GEN_SCRIPT='python $MOZ_OBJDIR/_profile/pgo/profileserver.py'" >> mozconfig &&
-    make -f client.mk build &&
-    make -f client.mk profiledbuild
-  else
-    make -f client.mk build
-  fi &&
-
-  cd ${MOZ_OBJDIR} &&
-  prepare_install  &&
-  make install      || exit 1
-  # Using "exit 1" above, because the "for" loop below will break the error-handling chain
-
-  # Put some important headers in place
-  mkdir -p /usr/include/firefox-$VERSION/nss &&
-  cp -Lf dist/private/nss/*.h dist/public/nss/*.h /usr/include/firefox-$VERSION/nss &&
-
-  # Install the plugins in the right directories
-  mkdir -p /opt/lunar/plugins &&
-  for plugin in `ls $MOZILLA_HOME/plugins`; do
-       `install -m755 $MOZILLA_HOME/plugins/$plugin /opt/lunar/plugins`; done &&
-
-  rm -rf $MOZILLA_HOME/plugins &&
-  ln -snf /opt/lunar/plugins $MOZILLA_HOME/plugins &&
-
-  # Now the .desktop file and the icon
-  mkdir -p /usr/share/applications /usr/share/pixmaps &&
-  install -m644 $SCRIPT_DIRECTORY/firefox.desktop /usr/share/applications &&
-  # please, dont just let the lin fail because /usr/share/pixmaps/firefox48.png is an existing symlink...
-  rm -f /usr/share/pixmaps/firefox48.png &&
-  install -m644 $MOZILLA_HOME/chrome/icons/default/default48.png /usr/share/pixmaps/firefox48.png || exit 1
-
-  # Make firefox use its own icon
-  for icon in `ls $MOZILLA_HOME/icons`; do
-    ln -sf $MOZILLA_HOME/icons/$icon \
-           $MOZILLA_HOME/chrome/icons/default/$icon
-  done
-
-) > $C_FIFO 2>&1
diff --git a/web/firefox3/BUILD.x86_64 b/web/firefox3/BUILD.x86_64
deleted file mode 100644
index 9f207f7..0000000
--- a/web/firefox3/BUILD.x86_64
+++ /dev/null
@@ -1,95 +0,0 @@
-(
-
- MOZILLA_DIR=mozilla-1.9.2
-
-  if module_is_expired $MODULE && [ "$VERSION" != "`installed_version $MODULE`" ]; then
-        set_module_config OLD_VER "`installed_version $MODULE`"
-  fi  &&
-
-  export MOZILLA_HOME=/usr/lib/$MODULE-$VERSION
-  export MOZ_CO_PROJECT=browser
-  export MOZILLA_OFFICIAL=1
-  export BUILD_OFFICIAL=1
-
-  # This should always be just a link
-  rm -rf $MOZILLA_HOME/plugins  &&
-
-  cp $SCRIPT_DIRECTORY/mozconfig $MOZILLA_DIR/  &&
-
-  export MOZ_OBJDIR="${SOURCE_DIRECTORY}/build-mozilla"
-  mkdir -p ${MOZ_OBJDIR}  &&
-
-  cd $MOZILLA_DIR  &&
-
-  echo "ac_add_options --disable-necko-wifi" >> mozconfig
-  echo "ac_add_options --disable-system-sqlite" >> mozconfig
-
-  #Add DEPENDS options
-
-  if in_depends $MODULE "xulrunner" ; then
-    XUL=`module_version xulrunner`
-    echo "ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-$XUL" >> mozconfig
-  fi  &&
-
-  if in_depends $MODULE gnome-vfs ; then
-    echo "ac_add_options --enable-gnomevfs" >> mozconfig
-  else
-    echo "ac_add_options --disable-gnomevfs" >> mozconfig
-  fi  &&
-
-  if in_depends $MODULE sun-jdk ; then
-    echo "ac_add_options --with-java-include-path=/usr/java/include" >> mozconfig
-    echo "ac_add_options --with-java-bin-path=/usr/java/bin" >> mozconfig
-    echo "ac_add_options --enable-javaxpcom" >> mozconfig
-  fi  &&
-
-  #Add CONFIGURE options
-
-  if [ "$SAFE" == "y" ] ; then
-    echo "ac_add_options --enable-safe-browsing" >> mozconfig
-  fi  &&
-
-  setterm -bfreq -blength &&
-
-  #Finally, the build!
-  if [ "$PGO" == "y" ] ; then
-    #CCache breaks the pgo build
-    export CCACHE_DISABLE=1
-    echo "ac_add_options --enable-profile-guided-optimization" >> mozconfig  &&
-    echo "mk_add_options PROFILE_GEN_SCRIPT='python $MOZ_OBJDIR/_profile/pgo/profileserver.py'" >> mozconfig  &&
-    make -f client.mk build &&
-    make -f client.mk profiledbuild
-  else
-    make -f client.mk build
-  fi  &&
-
-  cd ${MOZ_OBJDIR}  &&
-  prepare_install   &&
-  make install      &&
-
-  # Put some important headers in place
-  mkdir -p /usr/include/firefox-$VERSION/nss  &&
-  cp -Lf dist/private/nss/*.h dist/public/nss/*.h /usr/include/firefox-$VERSION/nss  &&
-
-  # Install the plugins in the right directories
-  mkdir -p /opt/lunar/plugins  &&
-  for plugin in `ls $MOZILLA_HOME/plugins`; do
-       `install -m755 $MOZILLA_HOME/plugins/$plugin /opt/lunar/plugins`; done  &&
-
-  rm -rf $MOZILLA_HOME/plugins  &&
-  ln -snf /opt/lunar/plugins $MOZILLA_HOME/plugins  &&
-
-  # Now the .desktop file and the icon
-  mkdir -p /usr/share/applications /usr/share/pixmaps  &&
-  install -m644 $SCRIPT_DIRECTORY/firefox.desktop /usr/share/applications  &&
-  # please, dont just let the lin fail because /usr/share/pixmaps/firefox48.png is an existing symlink...
-  rm -f /usr/share/pixmaps/firefox48.png  &&
-  install -m644 $MOZILLA_HOME/chrome/icons/default/default48.png /usr/share/pixmaps/firefox48.png  &&
-
-  # Make firefox use its own icon
-  for icon in `ls $MOZILLA_HOME/icons`; do
-    ln -sf $MOZILLA_HOME/icons/$icon \
-           $MOZILLA_HOME/chrome/icons/default/$icon
-  done
-
-) > $C_FIFO 2>&1
diff --git a/web/firefox3/CONFIGURE b/web/firefox3/CONFIGURE
deleted file mode 100644
index c8311d9..0000000
--- a/web/firefox3/CONFIGURE
+++ /dev/null
@@ -1,2 +0,0 @@
-mquery PGO "Build with Profile Guided Optimization?"  y  "--enable-profile-guided-optimization"  ""
-mquery SAFE "Enable safe browsing (anti-phishing)?"  y  "--enable-safe-browsing"  ""
diff --git a/web/firefox3/CONFLICTS b/web/firefox3/CONFLICTS
deleted file mode 100644
index db109b6..0000000
--- a/web/firefox3/CONFLICTS
+++ /dev/null
@@ -1 +0,0 @@
-conflicts firefox
diff --git a/web/firefox3/DEPENDS b/web/firefox3/DEPENDS
deleted file mode 100644
index 65e2c11..0000000
--- a/web/firefox3/DEPENDS
+++ /dev/null
@@ -1,25 +0,0 @@
-depends ORBit2
-depends zip
-depends unzip
-depends gtk+-2
-depends nss
-depends curl
-depends libnotify
-depends alsa-lib
-
-# Firefox crashes with sqlite 3.6.18 when adding new bookmarks:
-# https://bugzilla.mozilla.org/show_bug.cgi?id=512940
-# Comment 9:  "System SQLite isn't supported by Mozilla (in fact we discourage its use)"
-# So, disable the option to use system sqlite - instead, use Mozilla's version
-#optional_depends "sqlite"  ""  ""  \
-#                 "Use system sqlite"
-
-optional_depends "Python"           ""  ""  "Needed to do a Profile Guided Optimization build"
-optional_depends "flash-plugin-10"  ""  ""  "To enable Flash plugin"
-optional_depends "gnome-vfs"        ""  ""  "For Gnome VFS support"
-optional_depends "hunspell"         ""  ""  "For spelling support"
-
-optional_depends "dbus-glib"       \
-                 "--enable-dbus"   \
-                 "--disable-dbus"  \
-                 "for dbus support"
diff --git a/web/firefox3/DETAILS b/web/firefox3/DETAILS
deleted file mode 100644
index 38dd749..0000000
--- a/web/firefox3/DETAILS
+++ /dev/null
@@ -1,40 +0,0 @@
-          MODULE=firefox3
-         VERSION=3.6.22
-          SOURCE=firefox-$VERSION.source.tar.bz2
-   SOURCE_URL[0]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/firefox/releases/$VERSION/source
-   SOURCE_URL[1]=ftp://mozilla.isc.org/pub/mozilla.org/firefox/releases/$VERSION/source
-   SOURCE_URL[2]=ftp://ftp.mozilla.org/pub/firefox/releases/$VERSION/source
-      SOURCE_VFY=sha1:db7953b20568126a3ffe7c5a89ab0cecac4b0a53
-        WEB_SITE=http://www.mozilla.org/projects/firefox
-         ENTERED=20030810
-         UPDATED=20110904
-      MAINTAINER="tchan at lunar-linux.org"
-           PSAFE=no
-           SHORT="A speedy, full-featured web browser"
-
-cat << EOF
-Mozilla Firefox is the successor of Mozilla Firebird.
-
-Firefox includes:
-  * comprehensive popup controls to keep unwanted advertising off
-    your desktop
-  * a tab browsing mode that lets you open several pages in a single
-    window, allowing you to load links in the background without
-    leaving the page you're on
-  * integrated Google search
-  * industry leading accessibility with Find As You Type - find links
-    and page text by simply typing
-  * simplified privacy controls that let you cover your tracks more
-    effectively
-  * a streamlined browser window that lets you see more of the page
-    than any other browser while at the same time being more
-    configurable
-  * a large variety of free downloadable extensions and themes that
-    add specific functionality and visual changes to the browser
-
-------- NOTE -------
-The Lunar version of Firefox has crypto enabled and uses only gtk+-2.
-NOTHING ELSE IS CONFIGURED IN! No mail, irc, composer, gpg, calendar,
-MathML, Javascript debugger, html code inspector, LDAP, help support.
-If you want any of that use the regular seamonkey module.
-EOF
diff --git a/web/firefox3/POST_INSTALL b/web/firefox3/POST_INSTALL
deleted file mode 100644
index 5ca5b8a..0000000
--- a/web/firefox3/POST_INSTALL
+++ /dev/null
@@ -1,20 +0,0 @@
-OLD_VER="`get_module_config OLD_VER`"
-FIREFOX_HOME=/usr
-FFOX_LIBDIR=firefox-$VERSION
-
-if [ ! -z "$OLD_VER" ]; then
-  for old_version in $OLD_VER
-  do
-    rm -rf /usr/lib/firefox-$old_version
-    rm -rf /usr/lib/firefox-devel-$old_version
-    rm -rf /usr/include/firefox-$old_version
-    rm -rf /usr/share/idl/firefox-$old_version
-    rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/firefox-$old_version
-  done
-fi
-
-unset_module_config OLD_VER
-
-export LD_LIBRARY_PATH="$FIREFOX_HOME/lib/$FFOX_LIBDIR:$FIREFOX_HOME/lib/$FFOX_LIBDIR/plugins:$FIREFOX_HOME/lib/$FFOX_LIBDIR/components"
-export MOZILLA_FIVE_HOME="$FIREFOX_HOME/lib/$FFOX_LIBDIR"
-ldconfig
diff --git a/web/firefox3/POST_REMOVE b/web/firefox3/POST_REMOVE
deleted file mode 100644
index a46a092..0000000
--- a/web/firefox3/POST_REMOVE
+++ /dev/null
@@ -1,4 +0,0 @@
-rm -f  /usr/share/pixmaps/firefox48.png
-rm -rf /usr/include/firefox-$VERSION
-rm -rf /usr/lib/firefox-$VERSION
-rm -rf /usr/lib/firefox-devel-$VERSION
diff --git a/web/firefox3/PRE_BUILD b/web/firefox3/PRE_BUILD
deleted file mode 100644
index cc901d0..0000000
--- a/web/firefox3/PRE_BUILD
+++ /dev/null
@@ -1,5 +0,0 @@
-validate_source_dir &&
-mk_source_dir &&
-
-cd $SOURCE_DIRECTORY &&
-unpack $SOURCE
diff --git a/web/firefox3/firefox.desktop b/web/firefox3/firefox.desktop
deleted file mode 100644
index d750023..0000000
--- a/web/firefox3/firefox.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Firefox
-Comment=Firefox Web Browser
-Exec=firefox
-Icon=/usr/share/pixmaps/firefox48.png
-Terminal=false
-Type=Application
-Categories=Application;Network;
-Comment[pl]=Firefox - przeglÄ…darka WWW
-X-KDE-StartupNotify=true
diff --git a/web/firefox3/mozconfig b/web/firefox3/mozconfig
deleted file mode 100644
index 409bc24..0000000
--- a/web/firefox3/mozconfig
+++ /dev/null
@@ -1,30 +0,0 @@
-ac_add_options --prefix=/usr
-ac_add_options --with-x
-ac_add_options --with-pthreads
-ac_add_options --with-default-mozilla-five-home=$MOZILLA_HOME
-ac_add_options --with-user-appdir=".firefox"
-ac_add_options --with-system-zlib
-ac_add_options --with-system-jpeg
-ac_add_options --with-system-bz2
-ac_add_options --enable-storage
-ac_add_options --enable-places
-ac_add_options --enable-application=browser
-ac_add_options --enable-default-toolkit=cairo-gtk2
-ac_add_options --enable-optimize="$CFLAGS"
-ac_add_options --enable-crypto
-ac_add_options --enable-strip
-ac_add_options --enable-canvas
-ac_add_options --enable-svg
-ac_add_options --enable-system-cairo
-ac_add_options --enable-xterm-updates
-ac_add_options --enable-libxul
-ac_add_options --enable-official-branding
-ac_add_options --enable-jemalloc
-ac_add_options --disable-debug
-ac_add_options --disable-tests
-ac_add_options --disable-installer
-ac_add_options --disable-pedantic
-ac_add_options --disable-logging
-ac_add_options --disable-accessibility
-ac_add_options --enable-mathml
-ac_add_options --disable-os2-high-mem
diff --git a/zdeprecated/firefox3/BUILD b/zdeprecated/firefox3/BUILD
new file mode 100644
index 0000000..f5bd91a
--- /dev/null
+++ b/zdeprecated/firefox3/BUILD
@@ -0,0 +1,96 @@
+(
+
+  MOZILLA_DIR=mozilla-1.9.2 &&
+
+  if module_is_expired $MODULE && [ "$VERSION" != "`installed_version $MODULE`" ]; then
+        set_module_config OLD_VER "`installed_version $MODULE`"
+  fi &&
+
+  export MOZILLA_HOME=/usr/lib/$MODULE-$VERSION &&
+  export MOZ_CO_PROJECT=browser &&
+  export MOZILLA_OFFICIAL=1 &&
+  export BUILD_OFFICIAL=1 &&
+
+  # This should always be just a link
+  rm -rf $MOZILLA_HOME/plugins &&
+
+  cp $SCRIPT_DIRECTORY/mozconfig $MOZILLA_DIR/ &&
+
+  export MOZ_OBJDIR="${SOURCE_DIRECTORY}/build-mozilla" &&
+  mkdir -p ${MOZ_OBJDIR} &&
+
+  cd $MOZILLA_DIR &&
+
+  echo "ac_add_options --disable-necko-wifi" >> mozconfig &&
+  echo "ac_add_options --disable-system-sqlite" >> mozconfig &&
+
+  #Add DEPENDS options
+
+  if in_depends $MODULE "xulrunner" ; then
+    XUL=`module_version xulrunner` &&
+    echo "ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-$XUL" >> mozconfig
+  fi &&
+
+  if in_depends $MODULE gnome-vfs ; then
+    echo "ac_add_options --enable-gnomevfs" >> mozconfig
+  else
+    echo "ac_add_options --disable-gnomevfs" >> mozconfig
+  fi &&
+
+  if in_depends $MODULE sun-jdk ; then
+    echo "ac_add_options --with-java-include-path=/usr/java/include" >> mozconfig &&
+    echo "ac_add_options --with-java-bin-path=/usr/java/bin" >> mozconfig &&
+    echo "ac_add_options --enable-javaxpcom" >> mozconfig
+  fi &&
+
+  #Add CONFIGURE options
+
+  if [ "$SAFE" == "y" ] ; then
+    echo "ac_add_options --enable-safe-browsing" >> mozconfig
+  fi &&
+
+  setterm -bfreq -blength &&
+
+  #Finally, the build!
+  if [ "$PGO" == "y" ] ; then
+    #CCache breaks the pgo build
+    export CCACHE_DISABLE=1 &&
+    echo "ac_add_options --enable-profile-guided-optimization" >> mozconfig &&
+    echo "mk_add_options PROFILE_GEN_SCRIPT='python $MOZ_OBJDIR/_profile/pgo/profileserver.py'" >> mozconfig &&
+    make -f client.mk build &&
+    make -f client.mk profiledbuild
+  else
+    make -f client.mk build
+  fi &&
+
+  cd ${MOZ_OBJDIR} &&
+  prepare_install  &&
+  make install      || exit 1
+  # Using "exit 1" above, because the "for" loop below will break the error-handling chain
+
+  # Put some important headers in place
+  mkdir -p /usr/include/firefox-$VERSION/nss &&
+  cp -Lf dist/private/nss/*.h dist/public/nss/*.h /usr/include/firefox-$VERSION/nss &&
+
+  # Install the plugins in the right directories
+  mkdir -p /opt/lunar/plugins &&
+  for plugin in `ls $MOZILLA_HOME/plugins`; do
+       `install -m755 $MOZILLA_HOME/plugins/$plugin /opt/lunar/plugins`; done &&
+
+  rm -rf $MOZILLA_HOME/plugins &&
+  ln -snf /opt/lunar/plugins $MOZILLA_HOME/plugins &&
+
+  # Now the .desktop file and the icon
+  mkdir -p /usr/share/applications /usr/share/pixmaps &&
+  install -m644 $SCRIPT_DIRECTORY/firefox.desktop /usr/share/applications &&
+  # please, dont just let the lin fail because /usr/share/pixmaps/firefox48.png is an existing symlink...
+  rm -f /usr/share/pixmaps/firefox48.png &&
+  install -m644 $MOZILLA_HOME/chrome/icons/default/default48.png /usr/share/pixmaps/firefox48.png || exit 1
+
+  # Make firefox use its own icon
+  for icon in `ls $MOZILLA_HOME/icons`; do
+    ln -sf $MOZILLA_HOME/icons/$icon \
+           $MOZILLA_HOME/chrome/icons/default/$icon
+  done
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/firefox3/BUILD.x86_64 b/zdeprecated/firefox3/BUILD.x86_64
new file mode 100644
index 0000000..9f207f7
--- /dev/null
+++ b/zdeprecated/firefox3/BUILD.x86_64
@@ -0,0 +1,95 @@
+(
+
+ MOZILLA_DIR=mozilla-1.9.2
+
+  if module_is_expired $MODULE && [ "$VERSION" != "`installed_version $MODULE`" ]; then
+        set_module_config OLD_VER "`installed_version $MODULE`"
+  fi  &&
+
+  export MOZILLA_HOME=/usr/lib/$MODULE-$VERSION
+  export MOZ_CO_PROJECT=browser
+  export MOZILLA_OFFICIAL=1
+  export BUILD_OFFICIAL=1
+
+  # This should always be just a link
+  rm -rf $MOZILLA_HOME/plugins  &&
+
+  cp $SCRIPT_DIRECTORY/mozconfig $MOZILLA_DIR/  &&
+
+  export MOZ_OBJDIR="${SOURCE_DIRECTORY}/build-mozilla"
+  mkdir -p ${MOZ_OBJDIR}  &&
+
+  cd $MOZILLA_DIR  &&
+
+  echo "ac_add_options --disable-necko-wifi" >> mozconfig
+  echo "ac_add_options --disable-system-sqlite" >> mozconfig
+
+  #Add DEPENDS options
+
+  if in_depends $MODULE "xulrunner" ; then
+    XUL=`module_version xulrunner`
+    echo "ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-$XUL" >> mozconfig
+  fi  &&
+
+  if in_depends $MODULE gnome-vfs ; then
+    echo "ac_add_options --enable-gnomevfs" >> mozconfig
+  else
+    echo "ac_add_options --disable-gnomevfs" >> mozconfig
+  fi  &&
+
+  if in_depends $MODULE sun-jdk ; then
+    echo "ac_add_options --with-java-include-path=/usr/java/include" >> mozconfig
+    echo "ac_add_options --with-java-bin-path=/usr/java/bin" >> mozconfig
+    echo "ac_add_options --enable-javaxpcom" >> mozconfig
+  fi  &&
+
+  #Add CONFIGURE options
+
+  if [ "$SAFE" == "y" ] ; then
+    echo "ac_add_options --enable-safe-browsing" >> mozconfig
+  fi  &&
+
+  setterm -bfreq -blength &&
+
+  #Finally, the build!
+  if [ "$PGO" == "y" ] ; then
+    #CCache breaks the pgo build
+    export CCACHE_DISABLE=1
+    echo "ac_add_options --enable-profile-guided-optimization" >> mozconfig  &&
+    echo "mk_add_options PROFILE_GEN_SCRIPT='python $MOZ_OBJDIR/_profile/pgo/profileserver.py'" >> mozconfig  &&
+    make -f client.mk build &&
+    make -f client.mk profiledbuild
+  else
+    make -f client.mk build
+  fi  &&
+
+  cd ${MOZ_OBJDIR}  &&
+  prepare_install   &&
+  make install      &&
+
+  # Put some important headers in place
+  mkdir -p /usr/include/firefox-$VERSION/nss  &&
+  cp -Lf dist/private/nss/*.h dist/public/nss/*.h /usr/include/firefox-$VERSION/nss  &&
+
+  # Install the plugins in the right directories
+  mkdir -p /opt/lunar/plugins  &&
+  for plugin in `ls $MOZILLA_HOME/plugins`; do
+       `install -m755 $MOZILLA_HOME/plugins/$plugin /opt/lunar/plugins`; done  &&
+
+  rm -rf $MOZILLA_HOME/plugins  &&
+  ln -snf /opt/lunar/plugins $MOZILLA_HOME/plugins  &&
+
+  # Now the .desktop file and the icon
+  mkdir -p /usr/share/applications /usr/share/pixmaps  &&
+  install -m644 $SCRIPT_DIRECTORY/firefox.desktop /usr/share/applications  &&
+  # please, dont just let the lin fail because /usr/share/pixmaps/firefox48.png is an existing symlink...
+  rm -f /usr/share/pixmaps/firefox48.png  &&
+  install -m644 $MOZILLA_HOME/chrome/icons/default/default48.png /usr/share/pixmaps/firefox48.png  &&
+
+  # Make firefox use its own icon
+  for icon in `ls $MOZILLA_HOME/icons`; do
+    ln -sf $MOZILLA_HOME/icons/$icon \
+           $MOZILLA_HOME/chrome/icons/default/$icon
+  done
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/firefox3/CONFIGURE b/zdeprecated/firefox3/CONFIGURE
new file mode 100644
index 0000000..c8311d9
--- /dev/null
+++ b/zdeprecated/firefox3/CONFIGURE
@@ -0,0 +1,2 @@
+mquery PGO "Build with Profile Guided Optimization?"  y  "--enable-profile-guided-optimization"  ""
+mquery SAFE "Enable safe browsing (anti-phishing)?"  y  "--enable-safe-browsing"  ""
diff --git a/zdeprecated/firefox3/CONFLICTS b/zdeprecated/firefox3/CONFLICTS
new file mode 100644
index 0000000..db109b6
--- /dev/null
+++ b/zdeprecated/firefox3/CONFLICTS
@@ -0,0 +1 @@
+conflicts firefox
diff --git a/zdeprecated/firefox3/DEPENDS b/zdeprecated/firefox3/DEPENDS
new file mode 100644
index 0000000..65e2c11
--- /dev/null
+++ b/zdeprecated/firefox3/DEPENDS
@@ -0,0 +1,25 @@
+depends ORBit2
+depends zip
+depends unzip
+depends gtk+-2
+depends nss
+depends curl
+depends libnotify
+depends alsa-lib
+
+# Firefox crashes with sqlite 3.6.18 when adding new bookmarks:
+# https://bugzilla.mozilla.org/show_bug.cgi?id=512940
+# Comment 9:  "System SQLite isn't supported by Mozilla (in fact we discourage its use)"
+# So, disable the option to use system sqlite - instead, use Mozilla's version
+#optional_depends "sqlite"  ""  ""  \
+#                 "Use system sqlite"
+
+optional_depends "Python"           ""  ""  "Needed to do a Profile Guided Optimization build"
+optional_depends "flash-plugin-10"  ""  ""  "To enable Flash plugin"
+optional_depends "gnome-vfs"        ""  ""  "For Gnome VFS support"
+optional_depends "hunspell"         ""  ""  "For spelling support"
+
+optional_depends "dbus-glib"       \
+                 "--enable-dbus"   \
+                 "--disable-dbus"  \
+                 "for dbus support"
diff --git a/zdeprecated/firefox3/DETAILS b/zdeprecated/firefox3/DETAILS
new file mode 100644
index 0000000..38dd749
--- /dev/null
+++ b/zdeprecated/firefox3/DETAILS
@@ -0,0 +1,40 @@
+          MODULE=firefox3
+         VERSION=3.6.22
+          SOURCE=firefox-$VERSION.source.tar.bz2
+   SOURCE_URL[0]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/firefox/releases/$VERSION/source
+   SOURCE_URL[1]=ftp://mozilla.isc.org/pub/mozilla.org/firefox/releases/$VERSION/source
+   SOURCE_URL[2]=ftp://ftp.mozilla.org/pub/firefox/releases/$VERSION/source
+      SOURCE_VFY=sha1:db7953b20568126a3ffe7c5a89ab0cecac4b0a53
+        WEB_SITE=http://www.mozilla.org/projects/firefox
+         ENTERED=20030810
+         UPDATED=20110904
+      MAINTAINER="tchan at lunar-linux.org"
+           PSAFE=no
+           SHORT="A speedy, full-featured web browser"
+
+cat << EOF
+Mozilla Firefox is the successor of Mozilla Firebird.
+
+Firefox includes:
+  * comprehensive popup controls to keep unwanted advertising off
+    your desktop
+  * a tab browsing mode that lets you open several pages in a single
+    window, allowing you to load links in the background without
+    leaving the page you're on
+  * integrated Google search
+  * industry leading accessibility with Find As You Type - find links
+    and page text by simply typing
+  * simplified privacy controls that let you cover your tracks more
+    effectively
+  * a streamlined browser window that lets you see more of the page
+    than any other browser while at the same time being more
+    configurable
+  * a large variety of free downloadable extensions and themes that
+    add specific functionality and visual changes to the browser
+
+------- NOTE -------
+The Lunar version of Firefox has crypto enabled and uses only gtk+-2.
+NOTHING ELSE IS CONFIGURED IN! No mail, irc, composer, gpg, calendar,
+MathML, Javascript debugger, html code inspector, LDAP, help support.
+If you want any of that use the regular seamonkey module.
+EOF
diff --git a/zdeprecated/firefox3/POST_INSTALL b/zdeprecated/firefox3/POST_INSTALL
new file mode 100644
index 0000000..5ca5b8a
--- /dev/null
+++ b/zdeprecated/firefox3/POST_INSTALL
@@ -0,0 +1,20 @@
+OLD_VER="`get_module_config OLD_VER`"
+FIREFOX_HOME=/usr
+FFOX_LIBDIR=firefox-$VERSION
+
+if [ ! -z "$OLD_VER" ]; then
+  for old_version in $OLD_VER
+  do
+    rm -rf /usr/lib/firefox-$old_version
+    rm -rf /usr/lib/firefox-devel-$old_version
+    rm -rf /usr/include/firefox-$old_version
+    rm -rf /usr/share/idl/firefox-$old_version
+    rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/firefox-$old_version
+  done
+fi
+
+unset_module_config OLD_VER
+
+export LD_LIBRARY_PATH="$FIREFOX_HOME/lib/$FFOX_LIBDIR:$FIREFOX_HOME/lib/$FFOX_LIBDIR/plugins:$FIREFOX_HOME/lib/$FFOX_LIBDIR/components"
+export MOZILLA_FIVE_HOME="$FIREFOX_HOME/lib/$FFOX_LIBDIR"
+ldconfig
diff --git a/zdeprecated/firefox3/POST_REMOVE b/zdeprecated/firefox3/POST_REMOVE
new file mode 100644
index 0000000..a46a092
--- /dev/null
+++ b/zdeprecated/firefox3/POST_REMOVE
@@ -0,0 +1,4 @@
+rm -f  /usr/share/pixmaps/firefox48.png
+rm -rf /usr/include/firefox-$VERSION
+rm -rf /usr/lib/firefox-$VERSION
+rm -rf /usr/lib/firefox-devel-$VERSION
diff --git a/zdeprecated/firefox3/PRE_BUILD b/zdeprecated/firefox3/PRE_BUILD
new file mode 100644
index 0000000..cc901d0
--- /dev/null
+++ b/zdeprecated/firefox3/PRE_BUILD
@@ -0,0 +1,5 @@
+validate_source_dir &&
+mk_source_dir &&
+
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE
diff --git a/zdeprecated/firefox3/firefox.desktop b/zdeprecated/firefox3/firefox.desktop
new file mode 100644
index 0000000..d750023
--- /dev/null
+++ b/zdeprecated/firefox3/firefox.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Firefox
+Comment=Firefox Web Browser
+Exec=firefox
+Icon=/usr/share/pixmaps/firefox48.png
+Terminal=false
+Type=Application
+Categories=Application;Network;
+Comment[pl]=Firefox - przeglÄ…darka WWW
+X-KDE-StartupNotify=true
diff --git a/zdeprecated/firefox3/mozconfig b/zdeprecated/firefox3/mozconfig
new file mode 100644
index 0000000..409bc24
--- /dev/null
+++ b/zdeprecated/firefox3/mozconfig
@@ -0,0 +1,30 @@
+ac_add_options --prefix=/usr
+ac_add_options --with-x
+ac_add_options --with-pthreads
+ac_add_options --with-default-mozilla-five-home=$MOZILLA_HOME
+ac_add_options --with-user-appdir=".firefox"
+ac_add_options --with-system-zlib
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-bz2
+ac_add_options --enable-storage
+ac_add_options --enable-places
+ac_add_options --enable-application=browser
+ac_add_options --enable-default-toolkit=cairo-gtk2
+ac_add_options --enable-optimize="$CFLAGS"
+ac_add_options --enable-crypto
+ac_add_options --enable-strip
+ac_add_options --enable-canvas
+ac_add_options --enable-svg
+ac_add_options --enable-system-cairo
+ac_add_options --enable-xterm-updates
+ac_add_options --enable-libxul
+ac_add_options --enable-official-branding
+ac_add_options --enable-jemalloc
+ac_add_options --disable-debug
+ac_add_options --disable-tests
+ac_add_options --disable-installer
+ac_add_options --disable-pedantic
+ac_add_options --disable-logging
+ac_add_options --disable-accessibility
+ac_add_options --enable-mathml
+ac_add_options --disable-os2-high-mem
diff --git a/zdeprecated/thunderbird3/BUILD b/zdeprecated/thunderbird3/BUILD
new file mode 100644
index 0000000..403df3e
--- /dev/null
+++ b/zdeprecated/thunderbird3/BUILD
@@ -0,0 +1,93 @@
+(
+
+  COMM_VER=comm-1.9.2
+
+  if module_is_expired $MODULE && [ "$VERSION" != "`installed_version $MODULE`" ]; then
+        set_module_config OLD_VER "`installed_version $MODULE`"
+  fi &&
+
+  export MOZILLA_HOME=/usr/lib/$MODULE-$VERSION
+  export MOZ_CO_PROJECT=mail
+  export MOZILLA_OFFICIAL=1
+  export BUILD_OFFICIAL=1
+  export MOZ_THUNDERBIRD=1
+  # I have no idea how Mozilla compiles binaries if source code is not compilable without these fixes:
+  sedit '160s/^protected/public/' $COMM_VER/mozilla/layout/generic/nsFrame.h &&
+  export MOZILLA_SRCDIR=$SOURCE_DIRECTORY/$COMM_VER/mozilla
+  export BUILD_TOOLS=$MOZILLA_SRCDIR/build/unix
+  export MOZILLA_DIR=$MOZILLA_SRCDIR
+
+  . /etc/profile.d/pkgconfig.rc &&
+  cp $SCRIPT_DIRECTORY/mozconfig $COMM_VER &&
+
+  export MOZ_OBJDIR="${SOURCE_DIRECTORY}/build-mozilla"
+  mkdir -p ${MOZ_OBJDIR}  &&
+
+  cd $COMM_VER &&
+
+  #Add DEPENDS options
+
+  if in_depends $MODULE dbus ; then
+    echo "ac_add_options --enable-dbus" >> mozconfig
+  else
+    echo "ac_add_options --disable-dbus" >> mozconfig
+  fi  &&
+
+  if in_depends $MODULE sqlite ; then
+    echo "ac_add_options --enable-system-sqlite" >> mozconfig
+  fi  &&
+
+  if in_depends $MODULE "xulrunner" ; then
+    XUL=`module_version xulrunner`
+    echo "ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-$XUL" >> mozconfig
+  fi  &&
+
+  if in_depends $MODULE gnome-vfs ; then
+    echo "ac_add_options --enable-gnomevfs" >> mozconfig
+  else
+    echo "ac_add_options --disable-gnomevfs" >> mozconfig
+  fi  &&
+
+  if in_depends $MODULE openldap ; then
+    echo "ac_add_options --enable-ldap" >> mozconfig
+  else
+    echo "ac_add_options --disable-ldap" >> mozconfig
+  fi  &&
+
+  setterm -bfreq -blength &&
+
+  #Finally, the build!
+  if [ "$PGO" == "y" ] ; then
+    #CCache breaks the pgo build
+    export CCACHE_DISABLE=1
+    echo "ac_add_options --enable-profile-guided-optimization" >> mozconfig
+    echo "mk_add_options PROFILE_GEN_SCRIPT='python $MOZ_OBJDIR/_profile/pgo/profileserver.py'" >> mozconfig
+    make -f client.mk build
+    make -f client.mk profiledbuild
+  else
+    make -f client.mk build
+  fi  &&
+
+  cd ${MOZ_OBJDIR}  &&
+  prepare_install   &&
+  make install      &&
+
+  # Make thunderbird use its own icon
+  mkdir -p $MOZILLA_HOME/chrome/icons/default  &&
+
+  for icon in `ls $MOZILLA_HOME/icons`; do
+   `ln -sf $MOZILLA_HOME/icons/$icon \
+           $MOZILLA_HOME/chrome/icons/default/$icon`
+  done
+
+  # Now the .desktop file and the icon
+  mkdir -p /usr/share/applications /usr/share/pixmaps &&
+  install -m644 $SCRIPT_DIRECTORY/thunderbird.desktop /usr/share/applications &&
+  # please, dont just let the lin fail because /usr/share/pixmaps/thunderbird.xpm is an existing symlink...
+  rm -f /usr/share/pixmaps/thunderbird.xpm &&
+  cp $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/content/icon64.png $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/mailicon64.png &&
+  cp -f $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/content/icon48.png $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/mailicon48.png &&
+  install -m644 $SOURCE_DIRECTORY/$COMM_VER/other-licenses/branding/thunderbird/mailicon*.png /usr/share/pixmaps
+
+) > $C_FIFO 2>&1
+
diff --git a/zdeprecated/thunderbird3/CONFIGURE b/zdeprecated/thunderbird3/CONFIGURE
new file mode 100644
index 0000000..bb3eff0
--- /dev/null
+++ b/zdeprecated/thunderbird3/CONFIGURE
@@ -0,0 +1 @@
+mquery PGO "Build with Profile Guided Optimization?"  y  "--enable-profile-guided-optimization"  ""
diff --git a/zdeprecated/thunderbird3/CONFLICTS b/zdeprecated/thunderbird3/CONFLICTS
new file mode 100644
index 0000000..baf133f
--- /dev/null
+++ b/zdeprecated/thunderbird3/CONFLICTS
@@ -0,0 +1 @@
+conflicts thunderbird
diff --git a/zdeprecated/thunderbird3/DEPENDS b/zdeprecated/thunderbird3/DEPENDS
new file mode 100644
index 0000000..f6e20fd
--- /dev/null
+++ b/zdeprecated/thunderbird3/DEPENDS
@@ -0,0 +1,12 @@
+depends ORBit2
+depends zip
+depends unzip
+depends expat
+depends gtk+-2
+depends startup-notification
+depends libnotify
+
+optional_depends "gnome-vfs" "" "" "for Gnome VFS support"
+optional_depends "openldap"  "" "" "for LDAP address book support"
+optional_depends "Python"    "" "" "Needed to do a Profile Guided Optimization build"
+
diff --git a/zdeprecated/thunderbird3/DETAILS b/zdeprecated/thunderbird3/DETAILS
new file mode 100644
index 0000000..027820a
--- /dev/null
+++ b/zdeprecated/thunderbird3/DETAILS
@@ -0,0 +1,33 @@
+          MODULE=thunderbird3
+         VERSION=3.1.13
+          SOURCE=thunderbird-$VERSION.source.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
+   SOURCE_URL[0]=ftp://mozilla.isc.org/pub/mozilla.org/$MODULE/releases/$VERSION/source
+   SOURCE_URL[1]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/$MODULE/releases/$VERSION/source
+   SOURCE_URL[2]=http://archive.progeny.com/mozilla.org/$MODULE/releases/$VERSION/source
+   SOURCE_URL[3]=ftp://ftp.mozilla.org/pub/mozilla.org/$MODULE/releases/$VERSION/source
+      SOURCE_VFY=sha1:5bb8945e505a9d7d89b5a95ac932c47ad9032e56
+        WEB_SITE=http://www.mozilla.org/projects/thunderbird
+         ENTERED=20031021
+         UPDATED=20110831
+           SHORT="A full-featured mail client"
+           PSAFE=no
+
+cat << EOF
+Thunderbird includes:
+* The ability to customize your toolbars the way you want them.
+  Choose View / Toolbars / Customize inside any window.
+* UI extensions can be added to Mozilla Thunderbird to customize your
+  experience with specific features and enhancements that you need. Support
+  for extensions. Extensions allow you to add features particular to your
+  needs such as offline mail support. A full list of available extensions can
+  be found here.
+* A new look and feel. Thunderbird also supports a large number of
+  downloadable themes which alter the appearance of the client.
+* An addressing sidebar for mail compose which makes it easy and convenient
+  to add address book contacts to emails.
+* Online help includes a FAQ, tips and tricks and other useful information.
+* Simplified preferences UI and menus.
+* Footprint and performance improvements.
+* Better Junk Mail Filtering Support
+EOF
diff --git a/zdeprecated/thunderbird3/POST_INSTALL b/zdeprecated/thunderbird3/POST_INSTALL
new file mode 100644
index 0000000..3fc416c
--- /dev/null
+++ b/zdeprecated/thunderbird3/POST_INSTALL
@@ -0,0 +1,17 @@
+OLD_VER="$(get_module_config OLD_VER)"
+TBIRD_HOME=/usr
+TBIRD_LIBDIR=thunderbird-$VERSION
+
+if [ ! -z $OLD_VER ]; then
+  rm -rf /usr/lib/thunderbird-$OLD_VER
+fi
+
+unset_module_config OLD_VER
+
+# No more linking workarounds
+export LD_LIBRARY_PATH="$TBIRD_HOME/lib/$TBIRD_LIBDIR:$TBIRD_HOME/lib/$TBIRD_LIBDIR/plugins:$TBIRD_HOME/lib/$TBIRD_LIBDIR/components"
+export MOZILLA_FIVE_HOME="$TBIRD_HOME/lib/$TBIRD_LIBDIR"
+ldconfig
+
+#echo "skin,install,select,classic/1.0" >> $TBIRD_HOME/lib/$TBIRD_LIBDIR/chrome/installed-chrome.txt
+#echo "locale,install,select,en-US" >> $TBIRD_HOME/lib/$TBIRD_LIBDIR/chrome/installed-chrome.txt
diff --git a/zdeprecated/thunderbird3/POST_REMOVE b/zdeprecated/thunderbird3/POST_REMOVE
new file mode 100644
index 0000000..c9d5ec6
--- /dev/null
+++ b/zdeprecated/thunderbird3/POST_REMOVE
@@ -0,0 +1,3 @@
+rm -f  /usr/share/pixmaps/mozicon50.xpm
+rm -rf /usr/include/thunderbird-$VERSION
+rm -rf /usr/lib/thunderbird-$VERSION
diff --git a/zdeprecated/thunderbird3/PRE_BUILD b/zdeprecated/thunderbird3/PRE_BUILD
new file mode 100644
index 0000000..cc901d0
--- /dev/null
+++ b/zdeprecated/thunderbird3/PRE_BUILD
@@ -0,0 +1,5 @@
+validate_source_dir &&
+mk_source_dir &&
+
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE
diff --git a/zdeprecated/thunderbird3/mozconfig b/zdeprecated/thunderbird3/mozconfig
new file mode 100644
index 0000000..0af1644
--- /dev/null
+++ b/zdeprecated/thunderbird3/mozconfig
@@ -0,0 +1,41 @@
+ac_add_options --prefix=/usr
+ac_add_options --with-x
+ac_add_options --with-pthreads
+ac_add_options --with-default-mozilla-five-home=$MOZILLA_HOME
+ac_add_options --with-user-appdir=".thunderbird"
+ac_add_options --with-system-zlib
+#ac_add_options --with-system-png
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-bz2
+ac_add_options --enable-system-cairo
+ac_add_options --enable-application=mail
+ac_add_options --enable-default-toolkit=cairo-gtk2 #cairo-qt
+ac_add_options --enable-optimize="$CFLAGS"
+ac_add_options --enable-cpp-rtti
+ac_add_options --enable-cpp-exceptions
+ac_add_options --enable-crypto
+ac_add_options --enable-strip
+ac_add_options --enable-xterm-updates
+ac_add_options --enable-official-branding
+ac_add_options --enable-jemalloc
+ac_add_options --enable-calendar
+ac_add_options --enable-startup-notification
+ac_add_options --disable-pedantic
+ac_add_options --disable-debug
+ac_add_options --disable-tests
+ac_add_options --disable-logging
+ac_add_options --disable-accessibility
+ac_add_options --disable-installer
+ac_add_options --disable-oji
+# static build is required for mail
+ac_add_options --enable-static
+# wifi breaks build due to incompatibile header files
+ac_add_options --disable-necko-wifi
+#--with-system-nspr
+#--with-system-nss
+#--enable-system-hunspell
+#--enable-ui-locale
+#--enable-native-uconv
+#--enable-tree-freetype
+#--enable-xpcom-lea
+
diff --git a/zdeprecated/thunderbird3/thunderbird.desktop b/zdeprecated/thunderbird3/thunderbird.desktop
new file mode 100644
index 0000000..3cc7194
--- /dev/null
+++ b/zdeprecated/thunderbird3/thunderbird.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Thunderbird Mail
+Name[pl]=Poczta Thunderbird
+Comment=Thunderbird Mail Client
+Exec=thunderbird
+Icon=mailicon48.png
+Terminal=false
+Type=Application
+Categories=Application;Network;
+Comment[pl]=Thunderbird - klient poczty
+StartupNotify=true


More information about the Lunar-commits mailing list