зеркало из https://github.com/mozilla/pjs.git
Bug 418851
Changes to build system to create xulrunner debian installers. r=luser
This commit is contained in:
Родитель
829028104f
Коммит
c2f72aec18
|
@ -68,6 +68,11 @@ TARGET_CPU="${target_cpu}"
|
|||
TARGET_VENDOR="${target_vendor}"
|
||||
TARGET_OS="${target_os}"
|
||||
|
||||
|
||||
MOZ_DEB_TIMESTAMP=`date +"%a, %d %b %Y %T %z" 2>&1`
|
||||
AC_SUBST(MOZ_DEB_TIMESTAMP)
|
||||
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
dnl = Don't change the following two lines. Doing so breaks:
|
||||
|
|
|
@ -90,3 +90,8 @@ sdk:
|
|||
|
||||
distclean::
|
||||
@$(MAKE) -C xulrunner/installer distclean
|
||||
|
||||
ifeq ($(OS_TARGET),Linux)
|
||||
deb: package
|
||||
@$(MAKE) -C xulrunner/installer deb
|
||||
endif
|
|
@ -129,3 +129,24 @@ install:: $(pkg_config_files)
|
|||
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(libdir)/pkgconfig
|
||||
|
||||
GARBAGE += $(MOZILLA_VERSION).system.conf $(pkg_config_files)
|
||||
|
||||
|
||||
DEBDESTDIR=debian/$(MOZ_BUILD_APP)
|
||||
|
||||
|
||||
ifeq ($(OS_TARGET),Linux)
|
||||
deb:
|
||||
$(NSINSTALL) $(topsrcdir)/$(MOZ_BUILD_APP)/installer/debian .
|
||||
rm -rf $(DEBDESTDIR)/usr/local/*
|
||||
$(NSINSTALL) -D $(DEBDESTDIR)/usr/local
|
||||
cd $(DEBDESTDIR)/usr/local; cat ../../../../dist/$(PKG_BASENAME)$(PKG_SUFFIX) | $(UNMAKE_PACKAGE)
|
||||
$(NSINSTALL) -D $(DEBDESTDIR)/usr/share/dbus-1/services/
|
||||
cp debian/$(MOZ_BUILD_APP).service $(DEBDESTDIR)/usr/share/dbus-1/services/org.mozilla.$(MOZ_BUILD_APP).service
|
||||
ifdef NS_HILDON
|
||||
$(NSINSTALL) $(DEPTH)/dist/bin/components/softkey.xpt $(DEBDESTDIR)/usr/local/$(MOZ_BUILD_APP)/components/
|
||||
$(NSINSTALL) $(DEPTH)/dist/bin/components/libsoftkey.so $(DEBDESTDIR)/usr/local/$(MOZ_BUILD_APP)/components/
|
||||
$(NSINSTALL) $(DEPTH)/dist/bin/libsoftokn3.* $(DEBDESTDIR)/usr/local/$(MOZ_BUILD_APP)/
|
||||
endif
|
||||
dh_shlibdeps; fakeroot dh_gencontrol; fakeroot dh_md5sums; dh_builddeb
|
||||
endif
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
xulrunner (@MOZ_APP_VERSION@) unstable; urgency=low
|
||||
|
||||
* Mozilla Nightly (Closes: #nnnn) <nnnn is the bug number of your ITP>
|
||||
|
||||
-- Mozilla xulrunner <blassey@mozilla.com> @MOZ_DEB_TIMESTAMP@
|
|
@ -0,0 +1 @@
|
|||
5
|
|
@ -0,0 +1,47 @@
|
|||
Source: xulrunner
|
||||
Section: user/internet
|
||||
Priority: extra
|
||||
Maintainer: Mozilla xulrunner <blassey@mozilla.com>
|
||||
Build-Depends: debhelper (>= 5)
|
||||
Standards-Version: 3.7.2
|
||||
|
||||
Package: xulrunner
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Project aiming to create a XUL runtime that requires no browser.
|
||||
XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird.
|
||||
XB-Maemo-Icon-26:
|
||||
MB5!.1PT*&@H````-24A$4@```!H````:"`8```"I2DS.````"7!(67,```L3
|
||||
M```+$P$`FIP8```%;$E$051(B:667XQ4U1W'/_>>>V?NG=F9V3^S_W%9<'#!
|
||||
M/Q1;NQ:EQH@:T2"EH>&A34R;]$U?Q%9-VH:41BUJFV"-B<8'^Z!-VP=E?37&
|
||||
M5=18L"SACVMVH<M.9W>8V9G9N7-G[O_3AP6$LD"$;W*3<T_R^W[.]Y=S3@Z<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0,0 +1,2 @@
|
|||
?package(xulrunner):needs="X11|text|vc|wm" section="Apps/Internet"\
|
||||
title="xulrunner" command="/usr/bin/xulrunner"
|
|
@ -0,0 +1,40 @@
|
|||
#!/bin/sh
|
||||
# postinst script for moz
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <postinst> `abort-remove'
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
/usr/local/xulrunner/xulrunner --register-global
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
gtk-update-icon-cache /usr/share/icons/hicolor
|
||||
|
||||
|
||||
exit 0
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
/usr/local/xulrunner/xulrunner /usr/bin/xulrunner
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[D-BUS Service]
|
||||
Name=org.mozilla.xulrunner
|
||||
Exec=/usr/local/xulrunner/xulrunner
|
||||
|
|
@ -44,4 +44,5 @@ xulrunner/app/profile/chrome/Makefile
|
|||
xulrunner/app/profile/extensions/Makefile
|
||||
xulrunner/installer/Makefile
|
||||
xulrunner/installer/mac/Makefile
|
||||
xulrunner/installer/debian/changelog
|
||||
"
|
||||
|
|
Загрузка…
Ссылка в новой задаче