New package: thunderbird-17.0.
This commit is contained in:
parent
f2b40a21ac
commit
599ee6e2cb
|
@ -0,0 +1,40 @@
|
|||
mk_add_options MOZ_CO_PROJECT=mail
|
||||
ac_add_options --enable-application=mail
|
||||
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --libdir=/usr/lib
|
||||
|
||||
# System libraries
|
||||
ac_add_options --with-system-nspr
|
||||
ac_add_options --with-system-nss
|
||||
ac_add_options --with-system-jpeg
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --with-system-bz2
|
||||
ac_add_options --with-system-png
|
||||
ac_add_options --with-system-libevent
|
||||
ac_add_options --with-system-libvpx
|
||||
ac_add_options --enable-system-hunspell
|
||||
ac_add_options --enable-system-sqlite
|
||||
ac_add_options --enable-system-ffi
|
||||
#ac_add_options --enable-system-cairo
|
||||
ac_add_options --enable-system-pixman
|
||||
ac_add_options --with-pthreads
|
||||
|
||||
# Features
|
||||
ac_add_options --enable-official-branding
|
||||
ac_add_options --enable-safe-browsing
|
||||
ac_add_options --enable-startup-notification
|
||||
ac_add_options --enable-gio
|
||||
|
||||
ac_add_options --disable-gnomevfs
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --disable-mochitest
|
||||
ac_add_options --disable-installer
|
||||
|
||||
# Optimization
|
||||
ac_add_options --enable-optimize
|
||||
|
||||
export MOZILLA_OFFICIAL=1
|
||||
mk_add_options MOZILLA_OFFICIAL=1
|
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Thunderbird
|
||||
Comment=Mail & News Reader
|
||||
GenericName=Mail Client & News Reader
|
||||
Exec=thunderbird %u
|
||||
TryExec=thunderbird
|
||||
Icon=thunderbird
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;Email;
|
||||
MimeType=message/rfc822;x-scheme-handler/mailto;
|
||||
StartupNotify=true
|
|
@ -0,0 +1,9 @@
|
|||
// Use LANG environment variable to choose locale
|
||||
pref("intl.locale.matchOS", true);
|
||||
|
||||
// Disable default mailer checking.
|
||||
pref("mail.shell.checkDefaultMail", false);
|
||||
|
||||
// Don't disable our bundled extensions in the application directory
|
||||
pref("extensions.autoDisableScopes", 11);
|
||||
pref("extensions.shownSelectionUI", true);
|
|
@ -0,0 +1,44 @@
|
|||
--- config/baseconfig.mk 2012-11-21 03:19:15.000000000 +0200
|
||||
+++ config/baseconfig.mk 2012-11-21 03:20:35.000000000 +0200
|
||||
@@ -1,9 +1,9 @@
|
||||
INCLUDED_AUTOCONF_MK = 1
|
||||
|
||||
-includedir := $(includedir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
|
||||
+includedir := $(includedir)/$(MOZ_APP_NAME)
|
||||
+idldir = $(datadir)/idl/$(MOZ_APP_NAME)
|
||||
+installdir = $(libdir)/$(MOZ_APP_NAME)
|
||||
+sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel
|
||||
MOZILLA_SRCDIR = $(topsrcdir)/mozilla
|
||||
MOZDEPTH = $(DEPTH)/mozilla
|
||||
DIST = $(MOZDEPTH)/dist
|
||||
--- mozilla/config/baseconfig.mk 2012-11-21 03:19:16.000000000 +0200
|
||||
+++ mozilla/config/baseconfig.mk 2012-11-21 03:19:20.000000000 +0200
|
||||
@@ -1,9 +1,9 @@
|
||||
INCLUDED_AUTOCONF_MK = 1
|
||||
|
||||
-includedir := $(includedir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
|
||||
+includedir := $(includedir)/$(MOZ_APP_NAME)
|
||||
+idldir = $(datadir)/idl/$(MOZ_APP_NAME)
|
||||
+installdir = $(libdir)/$(MOZ_APP_NAME)
|
||||
+sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel
|
||||
DIST = $(DEPTH)/dist
|
||||
|
||||
# We do magic with OBJ_SUFFIX in config.mk, the following ensures we don't
|
||||
--- mozilla/js/src/config/baseconfig.mk 2012-11-21 03:19:15.000000000 +0200
|
||||
+++ mozilla/js/src/config/baseconfig.mk 2012-11-21 03:19:20.000000000 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
INCLUDED_AUTOCONF_MK = 1
|
||||
|
||||
-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
-sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
|
||||
+installdir = $(libdir)/$(MOZ_APP_NAME)
|
||||
+sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel
|
||||
|
||||
ifneq (,$(filter /%,$(TOP_DIST)))
|
||||
DIST = $(TOP_DIST)
|
|
@ -0,0 +1,56 @@
|
|||
# Template build file for 'thunderbird'.
|
||||
pkgname=thunderbird
|
||||
version=17.0
|
||||
revision=1
|
||||
wrksrc=comm-release
|
||||
short_desc="Standalone Mail/News reader"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.mozilla.org/thunderbird/"
|
||||
license="MPL-1.1, GPL-2, LGPL-2.1"
|
||||
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
||||
checksum=08a102f21511afb696980b7c35b75f385f4260fba5f1c0b1b488ab81a49dbede
|
||||
long_desc="
|
||||
Mozilla Firefox is a free, open-source and cross-platform web browser
|
||||
for Windows, Linux, MacOS X and many other operating systems. It is
|
||||
small, fast and easy to use, and offers many advantages over other web
|
||||
browsers, such as tabbed browsing and the ability to block pop-up
|
||||
windows.
|
||||
|
||||
Firefox also offers excellent bookmark and history management, and it
|
||||
can be extended by developers using industry standards such as XML,
|
||||
CSS, JavaScript, C++, etc. Many extensions are available."
|
||||
|
||||
disable_debug=yes
|
||||
depends="desktop-file-utils hicolor-icon-theme"
|
||||
|
||||
makedepends="unzip zip perl python yasm jpeg-devel libpng-devel>=1.5.10
|
||||
pixman-devel libIDL-devel nss-devel>=3.13.3 sqlite-devel libXrender-devel
|
||||
gtk+-devel libevent-devel libnotify-devel libvpx-devel GConf-devel
|
||||
startup-notification-devel dbus-glib-devel alsa-lib-devel hunspell-devel
|
||||
wireless_tools-devel libXScrnSaver-devel"
|
||||
|
||||
do_build() {
|
||||
cp -f ${FILESDIR}/mozconfig .mozconfig
|
||||
export LDFLAGS="-Wl,-R/usr/lib/thunderbird"
|
||||
|
||||
make ${makejobs} -f client.mk MOZ_MAKE_FLAGS="${makejobs}"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make -f client.mk DESTDIR=${DESTDIR} install
|
||||
|
||||
vinstall ${FILESDIR}/vendor.js 644 usr/lib/thunderbird/defaults/pref
|
||||
|
||||
vinstall ${FILESDIR}/thunderbird.desktop 644 usr/share/applications
|
||||
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
||||
vinstall other-licenses/branding/thunderbird/mailicon${i%x*}.png 644 \
|
||||
usr/share/icons/hicolor/${i}/apps thunderbird.png
|
||||
done
|
||||
|
||||
rm -rf ${DESTDIR}/usr/lib/thunderbird/{dictionaries,hyphenation}
|
||||
ln -sf /usr/share/hunspell ${DESTDIR}/usr/lib/thunderbird/dictionaries
|
||||
ln -sf /usr/share/hyphen ${DESTDIR}/usr/lib/thunderbird/hyphenation
|
||||
|
||||
# We don't want the development stuff
|
||||
rm -r ${DESTDIR}/usr/{include,lib/thunderbird-devel,share/idl}
|
||||
}
|
Loading…
Reference in New Issue