lp:ubuntu/lucid/mozilla-devscripts

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/lucid/mozilla-devscripts
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

22. By Benjamin Drung

* Add a dh buildsystem; thanks to Mike Hommey for the patch (Closes: #576946).
  - add src/xul-ext_build.pm
  - update src/Makefile
* Use debian/package.js as configuration file if it exists.
  - update man/install-xpi.1
  - update src/install-xpi

21. By Benjamin Drung

[ Micah Gersten <email address hidden> ]
* xulapp.mk:
  - add testing and tools directory to clean target for xulrunner-1.9.2
    build system
    - update src/xulapp.mk.in

[ Benjamin Drung <email address hidden> ]
* add new xpi-repack script
  - add man/xpi-repack.1
  - add src/xpi-repack
  - update src/Makefile
* Install extensions into xul-ext subdirectory; thanks to Daniel Kahn Gillmor
  for the patch.
  - update src/install-xpi
* Use optparse instead of getopts and ignore unknown options (LP: #543862).
  - update man/dh_xul-ext.1
  - update src/dh_xul-ext
* Use optparse instead of getopts.
  - update src/install-xpi
* install-xpi will create a system preference file in /etc; add
  --disable-system-prefs to disable the new behavior (Closes: #558490,
  LP: #535544)
  - update man/install-xpi.1
  - update src/install-xpi
  - update src/xpi.mk

20. By Benjamin Drung

[ Micah Gersten <email address hidden> ]
* xpi-data:
  - make thunderbird unversioned
  - make firefox-3.6 and abrowser-3.6 be unversioned from now on
    - update src/xul-app-data.csv.Ubuntu

[ Benjamin Drung <email address hidden> ]
* dh_xul-ext:
  - insert dh_xul-ext after dh_install into dh sequence (Closes: #566618)
    - update src/xul-ext.pm
* packaging:
  - Bump Standards-Version to 3.8.4; no changes required.
    - update debian/control
* xpi-data:
  - Drop xulrunner-1.9 from Debian unstable.
    - update src/xul-app-data.csv.Debian
  - Add xulrunner-1.9.2 to Ubuntu lucid.
    - update src/xul-app-data.csv.Ubuntu

19. By Benjamin Drung

* xpi.mk:
  - get rid of temp directory; extract xpi file directly into installation
    directory
    - update src/xpi.mk
  - correct permissions of installed files and add
    MOZ_XPI_PRESERVE_PERMISSIONS to disable this behaviour (Closes: #556741)
    - update src/xpi.mk
  - drop support for deprecated MOZ_EXT_NAME and MOZ_XPI_MOZILLA_DIRS variable
    - update src/xpi.mk
  - add new MOZ_XPI_INSTALL_DIRECTORY variable
    - update src/xpi.mk
* med-xpi-{pack,unpack}:
  - Drop med- prefix.
    - rename man/med-xpi-{pack,unpack}.1 to man/xpi-{pack,unpack}.1
    - rename src/med-xpi-{pack,unpack} to src/xpi-{pack,unpack}
    - update README
    - update src/Makefile
    - update src/xpi.mk
* xpi-data:
  - Add Firefox 3.6 and Thunderbird 3.0 for lucid.
    - update src/xpi-data-Ubuntu.mk
  - Convert xpi-data-*.mk files into xul-app-data.csv* files for dh_xul-ext
    - remove src/xpi-config.mk.in
    - remove src/xpi-data-Debian.mk
    - remove src/xpi-data-Ubuntu.mk
    - remove src/xpi-data-all.mk
    - remove src/xpi-data-common.mk
    - add src/xul-app-data.csv.Debian
    - add src/xul-app-data.csv.Ubuntu
    - update src/Makefile
* dh_xul-ext:
  - Split substvars calculation from xpi.mk into new dh_xul-ext.
    - add src/dh_xul-ext
    - update src/Makefile
    - update src/xpi.mk
  - Move compare_versions from moz-version into separate module moz_version.py
    - add src/moz_version.py
    - update src/moz-version
    - update src/dh_xul-ext
  - Install moz_version.py using python-support
    - update debian/control
    - update debian/rules
    - update src/Makefile
  - Add "xul-ext" dh sequence
    - add src/xul-ext.pm
    - update src/Makefile
    - update debian/control
  - wrote man page for dh_xul-ext
    - add man/dh_xul-ext.1
    - update src/Makefile
* install-xpi:
  - Split xpi installation from xpi.mk into new install-xpi script.
    - add src/install-xpi
    - update src/Makefile
    - update src/xpi.mk
    - update debian/control
  - wrote man page for install-xpi
    - add man/install-xpi.1
    - update src/Makefile
  - add --install-dir parameter to install-xpi
    - update man/install-xpi.1
    - update src/install-xpi
  - create links for architecture independent extensions in /usr/share instead
    of /usr/lib (Closes: #564671)
    - update src/install-xpi
  - create additional symlinks for icedove and thunderbird, because they do
    not scan /usr/{lib,share}/mozilla/extensions/$target_application
    - update src/install-xpi
* moz-version:
  - Add parameter for converting Mozilla versions into Debian upstream
    versions and the other way round.
    - update man/moz-version.1
    - update src/moz_version.py
    - update src/moz-version
  - Add a test suite for testing moz-version --compare
    - add tests/test-moz-version
    - update debian/rules
    - update src/Makefile
* packaging:
  - add homepage field
    - update debian/control

[ Alexander Sack <email address hidden> ]
* dh_xul-ext:
  - convert xpath expression to python/rdflib; extract (id, max, min)
    triples for all targetApplications in get_supported_apps; in turn
    add python-rdflib to Depends (Closes: #551182, LP: #453040, #444540)
    - update src/dh_xul-ext
    - update debian/control

18. By Benjamin Drung

[ Sasa Bodiroza <email address hidden> ]
* med-xpi-pack:
  - Keep track of produced jar files and remove them only after the build
    of xpi file (LP: #452422, Closes: #551065)
* med-xpi-{pack,unpack}:
  - Enclose -name parameter with single quotes in find command

17. By Benjamin Drung

* xpi.mk:
  - Fail to build, if no xpi file is found.
    - update src/xpi.mk
  - only add stripped binary package name to xpi:Provides, if it equals the
    source package name
    - update src/xpi.mk
  - Fail to build, if the extension manager ID could not be detected.
    - update src/xpi.mk
  - support different types of install.rdf files (LP: #442897)
    - update src/xpi.mk
  - move data for the automagic detection of target application packages
    into separate xpi-data-*.mk files
    - update src/xpi.mk
    - add src/xpi-data-all.mk
    - add src/xpi-data-common.mk
    - add src/xpi-data-Debian.mk
    - add src/xpi-data-Ubuntu.mk
    - update debian/control
    - update src/Makefile
  - rename MOZ_EXT_NAME to MOZ_XPI_EXT_NAME
    - update src/xpi.mk
  - set default MOZ_XPI_DISTRO in xpi-config.mk on installation
    - add src/xpi-config.mk.in
    - update src/xpi.mk
    - update src/Makefile

16. By Alexander Sack

[ Benjamin Drung <email address hidden> ]
* xpi.mk:
  - List all phony target and run dh_clean for all packages. These changes
    makes it possible to use xpi.mk without cdbs in a simple way.
    - update src/xpi.mk
  - MOZ_EXTENSION_PKG is defined in either case, removing missing case handler
    - update src/xpi.mk
  - rename stamp-* targets to *-stamp, merge stamp-extension-install into
    xpi-install, merge xpi-clean into clean
    - update src/xpi.mk
  - Guess common license file names if MOZ_XPI_DOCUMENTED_LICENSE_FILES is
    not set.
    - update src/xpi.mk
  - simplify xpi-depends-stamp rule
    - update src/xpi.mk
  - override files on xpi extraction (otherwise running build target would
    require user interaction)
    - update src/xpi.mk
  - only list packages in ${xpi:Depends} if they are available in the archive
    and add lsb-release as dependency
    - update src/xpi.mk
    - update debian/control
  - rename ${xpi:Depends} to ${xpi:Recommends} and keep ${xpi:Depends} for
    backwards compatibility
    - update src/xpi.mk
  - add ${xpi:Provides} and ${xpi:Enhances} to support the Debian policy for
    packaging extensions: http://wiki.debian.org/Teams/DebianMozExtTeam
    - update src/xpi.mk
  - "mkdir -p" can be run in all cases
    - update src/xpi.mk
  - add sanity check for xpi file and fail with useful error messages
    - update src/xpi.mk
  - support different types of install.rdf files (LP: #422898)
    - update src/xpi.mk
  - add MOZ_EXT_NAME option (used for calculating xpi:Provides)
    - update src/xpi.mk
* packaging:
  - allow uploads done by Debian Maintainers
    - update debian/control
* med-xpi-{pack,unpack}:
  - add parenthesis to $1 to avoid problems if $1 is empty
    - update src/med-xpi-pack
    - update src/med-xpi-unpack
  - replace \n in echo commands with an extra empty echo command to avoid
    bashism (Closes: #547755)
    - update src/med-xpi-pack
    - update src/med-xpi-unpack

[ Alexander Sack <email address hidden> ]
+ mozclient: use stable awesome-browser branding branch for firefox-3.0
  - update src/mozclient/firefox-3.0.conf
+ xpi.mk:
  - install extension tree to /usr/share or /usr/lib based on Architecture:
    field in debian/control for the target package
    - update src/xpi.mk

15. By Benjamin Drung

[ Benjamin Drung <email address hidden> ]
* packaging:
  - break and sort Depends and Suggests
    - update debian/control
  - add ${misc:Depends} to Depends
    - update debian/control
  - wrap too long lines
    - update debian/changelog
  - fix Vcs-Bzr-Browser field to Vcs-Browser
    - update debian/control
  - all files are directly installed into debian/mozilla-devscripts
    - update debian/rules
    - remove debian/mozilla-devscripts.install
  - Bump Standards-Version to 3.8.3
    - update debian/control
* build-system:
  - make minefield-packager.mk executable
    - update src/Makefile
* lp-locale-export.mk:
  - remove shebang
    - update src/lp-locale-export.mk
* moz-version:
  - wrote man page for moz-version
    - add man/moz-version.1
    - update src/Makefile
* xpi.mk:
  - add abrowser-3.7, firefox-3.7, xulrunner-1.9.3
    - update debian/control

[ Sasa Bodiroza <email address hidden> ]
* med-xpi-{pack,unpack}:
  - wrote man page for med-xpi-{pack,unpack}
  - add man/med-xpi-{pack,unpack}.1
  - update src/Makefile
* xpi.mk:
  - add MOZ_XPI_DOCUMENTED_LICENSE_FILES parameter to enable exclusion of
    extra license files during installation of the XPI to the packaging tree

14. By Alexander Sack

[ Alexander Sack <email address hidden> ]
* xpi.mk:
  - add target application id magic (|XPI_TARGET_EMIDs|); parse install.rdf
    and create extension links for all targetapplications like:
    |/usr/lib/mozilla/extensions/$targetappid/$extid|; in same turn we
    deprecate |MOZ_XPI_MOZILLA_DIRS| and unset its default accordingly
    - update src/xpi.mk
  - improve rule dependencies; avoid duplicate/circular depends
    - update src/xpi.mk
  - first pitch on automagic max/min version detection implemented; add a
    generic |TARGET_VERSION| call taking parameters a) appid,
    b) maxVersion|minVersion and c) extension-dir; this call is then used to
    parse the right max/minVersion for a given targetApplication on demand in
    |CHECK_VERSION|. In this way we now filter out unsuitable packages from
    xpi:Depends based on the install.rdf version bounds
    - update src/xpi.mk
  - add <email address hidden> 1.0 to list of auto detected target
    application packages
    - update src/xpi.mk
  - use moz-version --compare in ${xpi:Depends} |CHECK_VERSION| call
    instead of the rather flawed dpkg --compare-versions approach.
    - update src/xpi.mk
  - add thunderbird-3.0 to list of auto detected target application packages
    - update src/xpi.mk
 * build-system:
  - add bindir_files feature and use that to install med-xpi-*pack as well as
    moz-version-compare to BINDIR; in turn adjust dh_install helper
    accordingly.
    - update src/Makefile
    - update debian/mozilla-devscripts.install
 * lp-locale-export.mk:
   - fix LP: #411191 - webfav lp-locale-export.mk yields en-US.xpi with
     .manifest files only - fix parsing bug for jar: protocol lines
* packaging:
  - fix Vcs-Bzr: to point to a proper R/W location and use Vcs-Bzr-Browser for the
    browsable read-only location
    - update debian/control
  - add Benjamin Drung <email address hidden> to Uploaders and also add my @ubuntu.com
    address work-time uploads won't count as NMU
    - update debian/control

[ Benjamin Drung <email address hidden> ]
* xpi.mk:
  - add automatic xpi depends .substvars feature based on smart parsing
    of install.rdf and checking min/maxVersion for each target application;
    extensions can now use ${xpi:Depends} to get the right dependencies added;
    the version/package/targetAppId mapping information is currently
    maintained in src/xpi.mk itself
    - update src/xpi.mk
  - add moz-version helper script and ship it in extra_files; this script
    implements compare operations for mozilla versions as in
    https://developer.mozilla.org/en/Toolkit_version_format
    - add src/moz-version
    - update src/Makefile
  - implement start/end of life for comparing possible alternate binary
    dependency
    - update src/xpi.mk
  - make MOZ_EXTENSION_PKG optional; if this variable is unset, the first
    binary package listed in debian/control will be used
    - update src/xpi.mk

13. By Fabien Tassin

[ Fabien Tassin <email address hidden> ]
* mozclient:
  - fix hg incorrectly requesting branches
    - update src/mozclient/lib/MozClient/Mercurial.pm
  - search the main nobin script in the system wide mozclient
    path if we are building with a conf-dir and no script was found
    - update src/mozclient/lib/MozClient/VCS.pm
  - add support for local branches instead of the configured remote ones.
    It is faster if you have to publish tarballs quite often from a branch,
    such as when doing daily snapshots.
    - update src/mozclient.mk.in
    - update src/mozclient/lib/MozClient/{CVS,Git,Mercurial,Subversion,VCS}.pm
    - update src/mozclient/mozclient.pl
    - update README

[ Sasa Bodiroza <email address hidden> ]
* Remove "firefox" from MOZ_XPI_MOZILLA_DIRS in src/xpi.mk, adjust parameter
  description

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/maverick/mozilla-devscripts
This branch contains Public information 
Everyone can see this information.

Subscribers