lp:ubuntu/karmic/mozilla-devscripts

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

Related bugs

Related blueprints

Branch information

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

Recent revisions

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

12. By Fabien Tassin

* Bump Standards-Version to 3.8.0
  - update debian/control
* [ minefield-packager ]
  upstream builds are now identified with a trailling "-mozilla-central",
  it's no longer "-trunk"
  - update src/minefield-packager.mk.in
* [ mozclient ]
  - add support for external project files helping adoption
    of mozilla-devscripts by downstream. Introduce MOZCLIENT_PROJECTDIR.
    - update README
    - update src/mozclient.mk.in
  - don't run MOZCLIENT_EXCLUDE_SCRIPT if does not exist as it creates
    false positives
    - update src/mozclient/lib/MozClient/VCS.pm
  - drop $(EXT), left-over from when mozclient.pl was substed and use -c instead
    - update src/mozclient.mk.in
  - add support for git
    - add src/mozclient/lib/MozClient/Git.pm
    - update src/mozclient/mozclient.pl
    - update src/mozclient/lib/MozClient/VCS.pm
    - update debian/control
  - move thunderbird-3.0 and seamonkey-2.0 from cvs to hg comm-central
    - update src/mozclient/thunderbird-3.0.conf
    - update src/mozclient/seamonkey-2.0.conf
    - add src/mozclient/thunderbird-3.0-remove.binonly.sh
    - add src/mozclient/seamonkey-2.0-remove.binonly.sh
  - add project midbrowser (LP: #210314)
    - add src/mozclient/midbrowser.conf
    - update README
* [ compare ]
  search for $(DEB_BUILDDIR)/mozilla/dist/bin, needed
  by mozilla packages using MOZ_OBJDIR
  - update src/compare.mk.in
* [ xpi ]
  add support for xpi not located in the root directory. This is needed
  for extensions built with xulapp.mk
  - update src/xpi.mk
* [ xulapp ]
  - allow caller to specify the xulrunner version by pre-setting DEBIAN_XUL_VER
    - update src/xulapp.mk.in
  - add confdefs.h and a.out to the clean rule
    - update src/xulapp.mk.in

11. By Fabien Tassin

[ Sasa Bodiroza ]
* Add src/med-xpi-{pack,unpack} scripts to manage packing and unpacking of
  XPI files.
* Add default build command in src/xpi.mk.
* In README:
  - Document src/med-xpi-{pack,unpack} scripts.
  - Document default build command in xpi.mk part.
* Add zip to Depends in debian/control, because src/med-xpi-{pack,unpack}
  scripts need it.
* Add src/med-xpi-{pack,unpack} to debian/mozilla-devscripts.install to
  install them to /usr/bin.

[ Fabien Tassin ]
* Change Recommends into Suggests for cvs and mercurial as those are
  not needed to use mozilla-devscripts as a build-dependency.
  - update debian/control
* [mozclient] fix Mercurial tags not passed during checkout
  - update src/mozclient/lib/MozClient/Mercurial.pm

[ Alexander Sack <email address hidden> ]
* inject awesome-browser branding into firefox source tree by
  adding appropriate MOZCLIENT_POSTCOCMD to the mozclient configs
  - update src/mozclient/firefox-3.0.conf
  - update src/mozclient/firefox-3.1.conf
  - update src/mozclient/firefox-4.0.conf

10. By Fabien Tassin

* Move cvs and mercurial from depends to recommends
* [ mozclient ]
  + Full refactoring of mozclient: It is now written in object-oriented Perl.
    The makefile version was getting difficult to extend and to maintain.
    We now have a base class called MozClient::VCS and a set of VCS classes
    inheriting for it.
  + New features:
    * MOZCLIENT_DYNTAG and MOZCLIENT_DYNTAG_FILES: nspr and nss are now
      using a dynamic tag. They used to fetch HEAD which made them tricky
      to distribute. Now, we take NSPR_CO_TAG and NSS_CO_TAG from
      mozilla/client.mk (fetched from HEAD or from a tag) and we assign
      a version like nss-3.12.0.3+1.9~cvs without trailing cvs date
      (as it's a tagged nss), or nss-3.12.0.3+1.9 when using a tagged
      mozilla/client.mk
    * add optional MOZCLIENT_SEPARATOR to specify what we want between
      the version and the date/revision tag in the version (default to ~)
    * run an optional package specific clean-up script. It should be called
      src/mozclient/${pkg_name}-remove.binonly.sh
    * add support for svn
    * add optional MOZCLIENT_TAREXCLUDE to extend the list of dirs/files
      to exclude from packaging
    * change MOZCLIENT_CVS_LOC and MOZCLIENT_HG_LOC into a common
      MOZCLIENT_VCS_LOC and make it mandatory
    * add MOZCLIENT_APPNAME in order for xulrunner applications to specify
      their toplevel directory name. It is set by default to 'mozilla'
    * change version of all hg project to have YYYYMMDDrRRR instead of
      RRR~YYYMMDD which was different from all other VCS
  + New or updated projects:
    * add projects for Prism and Flock using svn
    * add project for Fennec using hg
    * make xulrunner-1.9.1 and xulrunner-2.0 use embedded tarballs
    * disable MOZCLIENT_POSTCOCMD for xulrunner-1.9.1 and firefox-3.1
      now that upstream made it obsolete
  + Update global clean-up script to remove new .dll/.exe shipped
    by upstream

* [ compare ]
  + Add build-tree/dist to the list of directories for compare1
  + add support for flock

* [ xulapp ]
  + Add a rules file for xulrunner applications installing a build
    system from the xulrunner SDK

9. By Alexander Sack

Release cherry pick from 0.09 release to intrepid
[ Fabien Tassin ]
* Move cvs and mercurial from depends to recommends
  - update debian/control

8. By Fabien Tassin

[ Alexander Sack ]
* add .NOTPARALLEL target to make mozclient.mk more reliable in parallel
  make runs. We don't want parallel execution within the scope of mozclient.mk.
  Maybe noteworthy that this doesn't prevent clients to invoke get-orig-source
  with distinct parameters in parallel.
  - update src/mozclient.mk.in

[ Fabien Tassin ]
* [ mozclient ]
  + change the mozclient-status target name to list-tags, easier to remember.
    Preserve legacy mozclient-status
    - update src/mozclient.mk.in
    - update README
  + add support for Mercurial (hg) in addition to cvs.
    Add MOZCLIENT_VCS variable (default to cvs). Add mercurial to Depends.
    The preferred way to fetch a particular hg snapshot is to use a revision
    number, it's better than a date.
    - update deban/control
    - update src/mozclient.mk.in
    - update README
  + make the mozclient patch system optional by introducing a new variable
    called MOZCLIENT_WANTPATCH. Set it only for firefox 3.
    - update src/firefox-3.0-full.mk.in
    - update src/firefox-3.0.mk.in
    - update src/mozclient.mk.in
  + add 4 projects using Mercurial. They need python (>= 2.4) so add
    python | python2.4 to Depends. They also need a post checkout script to
    fetch dependencies (nspr/nss/tamarin) so introduce a new variable called
    MOZCLIENT_POSTCOCMD. We now use hgweb instead of bonsai to get revision
    ids and dates.
    - update deban/control
    - add src/firefox-3.1.mk.in
    - add src/firefox-4.0.mk.in
    - add src/xulrunner-1.9.1.mk.in
    - add src/xulrunner-2.0.mk.in
    - update src/Makefile
  + add a variable called DEBIAN_KEEP_VCS to preserve the VCS files such as
    */CVS or .hg
    - update src/mozclient.mk.in
    - update README
  + Add a mozclient-version target producing a VERSION=foo string on stdout
    - update src/mozclient.mk.in
  + Fix nspr and nss conf files to fetch xulrunner version file using
    MOZCLIENT_FILE instead of MOZCLIENT_MODULES
    - update src/nspr.mk.in
    - update src/nss.mk.in

 * [ minefield-packager ]
   + drop dpkg-shlibdeps's stderr messages, add a banner with a license
    - udpate src/minefield-packager.mk.in
   + change the description in the desktop file to identify more clearly
     that this is an upstream nightly build
    - udpate src/minefield-packager/debian/pkgname.desktop.in
   + drop gif/jpg/png from the MimeType field so this minefield does not
     appear in the Open With menu for images
    - udpate src/minefield-packager/debian/pkgname.desktop.in

Branch metadata

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

Subscribers