Граф коммитов

81 Коммитов

Автор SHA1 Сообщение Дата
Zibi Braniecki 5e4528bed4 Bug 1390461 - Update langpack-webext to use WEBEXT_LANGPACKS mk flag. r=Pike
MozReview-Commit-ID: HdfCwaDvjTa

--HG--
extra : rebase_source : 16d60769d57cb8cea24dfb3bb02944efec3f1861
2017-08-27 17:27:19 -07:00
Sebastian Hengst e08ac68aa5 Backed out changeset 27f6228d4118 (bug 1390461) for frequently failing own check-clobber-l10n-x-test during build. r=backout on a CLOSED TREE 2017-08-31 10:57:59 +02:00
Zibi Braniecki 222035f58b Bug 1390461 - Update langpack-webext to use WEBEXT_LANGPACKS mk flag. r=Pike
MozReview-Commit-ID: HdfCwaDvjTa

--HG--
extra : rebase_source : 5f7b40da4365c79b760b7a6ca39be6d44782060f
2017-08-27 17:27:19 -07:00
Axel Hecht 315fd4ecf1 bug 1385227, use proper make steps to put l10n repacks in sequence, r=gps
This drops the abuse of make dependencies to factor our steps
in l10n repacks and language packs.
It's replaced with clobbers, libs, and the packaging, which
can be shared between installers and the language pack.

MozReview-Commit-ID: 2vEHp0QogXQ

--HG--
extra : rebase_source : fad397c5061fa1a613a4f4484c0d0be172116c1d
2017-08-04 17:19:12 +02:00
Sebastian Hengst 03cbf11c2a Backed out changeset 70bc0e060dd6 (bug 1385227)
MozReview-Commit-ID: LHxsFUC5eTg
2017-08-22 15:08:57 +02:00
Axel Hecht 38ddc7aa54 bug 1385227, use proper make steps to put l10n repacks in sequence, r=gps
This drops the abuse of make dependencies to factor our steps
in l10n repacks and language packs.
It's replaced with clobbers, libs, and the packaging, which
can be shared between installers and the language pack.

MozReview-Commit-ID: 2vEHp0QogXQ

--HG--
extra : rebase_source : 3cfad08c20a100a50306fc44f955589c0568e29a
2017-08-04 17:19:12 +02:00
Zibi Braniecki aa1cdf93c2 Bug 1365440 - Generate langpacks as webextensions. r=mshal
Introduce a new make command to produce new type of language packs based
on web extensions.

MozReview-Commit-ID: EltYtzT7ZRR

--HG--
extra : rebase_source : 6477be07c747e90992f18d8c7bff93fd48965200
2017-05-30 11:33:59 +02:00
Axel Hecht b9f1d30851 bug 1370506, for Nightly builds, automatically clone l10n repos for localized installers, r=glandium
Making more decisions on behalf of developers:

L10NBASEDIR is always defined, if not specified, it's ~/.mozbuild/l10n-central,
or in MOZBUILD_STATE_PATH/l10n-central if the state path in defined in the
environment.
If a locale isn't checked out, do that. The targets for which that works are
merge-%, installers-%, langpack-%

But only do that for Nightly builds, as for Beta and beyond, we have
explicit revisions to use for the builds, and we don't want to break release
builds silently with this.

MozReview-Commit-ID: EhGJPLuiyYO

--HG--
extra : rebase_source : 61a92396920965107a8811679552c1992b29155e
2017-06-15 19:47:28 +02:00
Axel Hecht aebc0e7f7e bug 1370506, always merge for l10n repacks, with internally set merge dir, r=glandium
To not merge the en-US language pack, the merge-% steps are in
a conditional function that disables that for en-US. Using a function
here as that's easier than a shell if in the merge rule, and
Makefile conditionals don't get evaluated late enough.

To liberate the l10n builds from settings in the automation,
we move the patch logic from LOCALE_MERGEDIR to REAL_LOCALE_MERGEDIR.

To determine strongly when we're in a repack or building a langpack,
the trick here is to

  export IS_LANGUAGE_REPACK

in l10n.mk, and only set that to true in the entry-point rules.

Now, we can use that value in config.mk to define the l10n-specific
rules.

I did the same thing for langpack-%, which allows us to disable
the crashreporter files for language packs, for example.

With that,

  make installers-de

just works, if you have localizations checked out.

For a while, we might run l10n-merge twice in automation, but it's really not
optional, so let's just make sure we run it.


MozReview-Commit-ID: 3nr33CKxkBQ

--HG--
extra : rebase_source : 0605a4adba018fa4b85d563cdafba80b0533bc91
2017-06-16 15:21:16 +02:00
Axel Hecht 2f6175c28a bug 1370506, libs-% and chrome-% targets should set AB_CD, r=glandium
Set AB_CD on per-locale entry point pattern rules.

Not setting this on the repackaging top-level pattern rules, as they
need AB_CD to be en-US to find the original package to unpack.
MozReview-Commit-ID: JqrLYyEyvvb

--HG--
extra : rebase_source : 82c840f16e131fe8f340e21ff86a34c70e3f7f97
2017-06-19 16:51:05 +02:00
Justin Wood c93d0cefa5 Bug 1381577 - Part R; Build system changes to support taskcluster backed windows l10n repacks. r=mshal
Land date changes to support windows nightlies onto central

This adds support for a seperate installer URL. We need this because in taskcluster the flow goes like this:
-|- Unsigned Build (outputs test files, unsigned .zip and similar files)
 \-|- Signing (outputs .zip with signed contents and a signed setup.exe and setup-stub.exe)
   \-|- Repackage (takes the signed .zip and generates unsigned update .mar and installers using the signed internal files)
     \-|- Repackage Signing (Takes the installers and signs them, and signs the update mar)

L10n tasks for windows need to take the .zip and the completed installer, and want to reuse as much
of the en-US signing as we can, so we pass in the URLs to artifacts from both signing steps in the chain.

MozReview-Commit-ID: 9nIo2CCTh9h

--HG--
extra : rebase_source : 6d2e9a77c9f0cb118ff5389f584034f491bbf0ed
2017-07-18 13:58:54 -04:00
Mike Shal 8e02493469 Bug 1329355 - Remove MOZ_PKG_PRETTYNAMES; r=ted
This is no longer relevant now that we use release promotion instead of
a separate release build with MOZ_PKG_PRETTYNAMES=1.

MozReview-Commit-ID: 11mgGJ7IDaK

--HG--
extra : rebase_source : da8fde3ae36779549b2097fc95d754f558cb88c8
2017-01-10 11:12:10 -05:00
Axel Hecht 4458fe9cad bug 1280683, keep a pristine copy of en-US installer for repacks, r=glandium
Let's use a pristine unpackaged directory of the en-US package, and just
rsync that to l10n-stage. That way, all repacks start off with a copy
of en-US without modifications of the previous repack.

Removing clobber-zip, that hasn't been used in ages, on the way.

Moving the creation of the branding dir to the INNER_UNMAKE_PACKAGE,
which is the command that needs it, to simplify rulesets.

MozReview-Commit-ID: 8WJtaAqjmk1

--HG--
extra : rebase_source : 2c60a09bc09c72d5d8cf3058a66f806059c93751
2016-11-23 22:19:19 +01:00
Justin Wood 1bd4fbdac9 Bug 1301509 - Make EN_US_PACKAGE_NAME a thing, so we can avoid simple names in l10n. r=mshal
MozReview-Commit-ID: 2oo0MS0nWQx

--HG--
extra : rebase_source : 5ac855a1bd0005e2c699afdc7e6d3b6a0816f903
2016-09-08 15:55:57 -04:00
Justin Wood d144d6ca85 Bug 1276110 - Workaround a wget bug by not performing internationalisation. r=ted
Taskclusters cloud-mirror sends a url-encoded response as a redirect, which allows it to point at the absolute url to the file in another AWS region and then it fetches and caches it while returning said file to our client (wget in this case)
Wget however is performing ASCII-->UTF8 conversion on the url on windows, while at the same time also performing a urldecodeon the redirected url.
This urldecode is breaking Taskclusters cloud-mirror, so we work around that by telling wget not to perform the conversion at all (we don't need charset conversion here)

Alternative option was to set --local-encoding=ASCII, however that option doesn't work on our current linux machines (and likely OSX builders, but untested there) while --no-iri works on all 3 platforms, so we are going with that.

MozReview-Commit-ID: EXmiDpozFNr

--HG--
extra : rebase_source : 551bb299d959ac2af1f1c9511b665b7d1a0d9f2a
2016-06-22 08:59:07 -04:00
Nick Alexander 9ab9fa5451 Bug 1260241 - Implement Fennec packaging in Python. r=glandium
A few notes:

* This doesn't accommodate general OMNIJAR_NAME definitions.  The
  current name (assets/omni.ja) is baked into the product in a few
  places, and is very unlikely to change, so we just error out if this
  isn't true.

* This makes the package-manifest.in file authoritative for what goes
  into assets/, libs/, and the APK root.  Previously,
  package-manifest.in wrote into assets/ and libs/ but
  upload-files-APK.mk also had a convoluted DIST_FILES filtering
  process to work through before a file actually made it into the APK.

* This is intentional about repackaging.  It simplifies the repackage
  step rather than trying to make unpackage-then-repackage the same as
  just package.  I pretty much never get repackaging correct the first
  time; this should help.  (I've manually tested it.)

* The ALREADY_SZIPPED during repackaging is subsumed by the previous
  check if UNPACKAGE is set.  The custom linker expects stored, not
  deflated, libraries, so there's some small legwork to accommodate
  that in mozjar.

MozReview-Commit-ID: JvVtIUSX685

--HG--
extra : rebase_source : fd8a9cfe3dc364d23b1065995db599f99e676e38
2016-03-28 20:01:07 -07:00
Mike Hommey 837f1ced88 Bug 1236259 - Quote MOZ_APP_ID; r=gps
This is glandium's suggested patch. Committing under his name reviewed
by me.

--HG--
extra : commitid : 5abfwXR51iA
extra : rebase_source : d7d3658687e5b825e2095682786653cc42bf201e
extra : amend_source : fde873074c7e5d29f0fd9b5452ed5d1bed2f279d
2016-01-04 10:58:42 -08:00
Mike Hommey ae8b4f0347 Bug 1235676 - Replace _ABS_DIST with ABS_DIST. r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey 147df9c988 Bug 1235151 - Use #include in toolkit/locales/generic/install.rdf instead of -I on the preprocessor command line. r=mshal 2015-12-31 07:26:35 +09:00
Mike Hommey 581d13d0d1 Bug 1235151 - Factor all the install.rdfs used for langpacks. r=mshal
The only difference between all of them is the application id they target.
Interestingly, the Fennec one is still targetting the XUL appid, instead
of the Android one, which doesn't seem right.


--HG--
rename : b2g/locales/generic/install.rdf => toolkit/locales/generic/install.rdf
2015-12-31 07:26:34 +09:00
Mike Hommey e88f90548f Bug 1222323 - Avoid passing extra defines to the compiler from config.mk. r=gps
C/C++ code should not be relying on XPI_NAME or AB_CD being defined, so
moving them out works.
2015-11-14 08:40:54 +09:00
Steven Michaud 4729fff432 Bug 1089363 - Fix for zh-TW download image dialog. r=glandium 2015-07-22 14:02:28 +08:00
Ryan VanderMeulen 80227c12ff Backed out changeset a3daf8050780 (bug 1089363) for OSX B2G desktop build bustage.
CLOSED TREE
2015-07-17 15:15:20 -04:00
Steven Michaud fc2f5e8328 Bug 1089363 - Fix for zh-TW download image dialog. r=glandium 2015-07-15 16:01:17 +08:00
Mike Hommey 622e7d63a3 Bug 1166538 - Use zip py_action in a few places. r=gps 2015-05-21 15:17:02 +09:00
Philipp Kewisch 9789a7eb9c Bug 1153192 - Cannot pass extra arguments to l10n-repack.py. r=gps 2015-04-19 22:57:20 +02:00
Mike Shal a3687c2105 Bug 1144695 - Fix make installers errors in mozharness desktop repacks. r=gps, r=mgerva 2015-03-23 10:12:35 +01:00
Stephen Pohl f2ca5b3bd5 Bug 1115892: Ensure that en-GB displays the proper language in crashreporter. r=gps 2015-01-26 12:33:03 -05:00
Robert Strong 5746138bb6 Bug 1080395 - Crash reporter is only partially localized on Mac OS X. r=ted 2014-10-10 04:02:20 -07:00
Robert Strong 43f38a791e Mac v2 signing - Bug 1076370 - Fix Firefox.app l10n repacks for Mac v2 signing. r=jmaher 2014-10-02 09:12:36 -07:00
Mike Hommey 881a7c1554 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Mike Hommey a470038314 Bug 935305 - Move preprocessor to mozbuild.action. r=gps
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Mike Hommey ca1b5bf42a Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps 2013-10-17 07:55:16 +09:00
Mike Hommey 3b4751bb8b Bug 874783 - Fix l10n builds after bug 848764. r=ted 2013-05-23 07:27:20 +02:00
Jim Mathies fec1053b98 Bug 802254 - Add support for multiple app dirs in add-on packaging (mc bits), r=glandium 2013-02-06 15:21:32 -06:00
Mike Hommey 2acffd00d8 Bug 834176 - Use NON_OMNIJAR_FILES value in the new packager. r=gps 2013-01-25 00:38:47 +01:00
Mike Hommey 513a633819 Bug 780561 - Use new packager code for l10n repacks. r=ted 2013-01-23 11:23:15 +01:00
Robert Strong 86b654664a Bug 817723 - Only build the stub installer when building x86 and the update channel equals nightly, aurora, beta, and release. r=khuey 2012-12-10 16:23:09 -08:00
Robert Strong 76b6d8250e backout changeset ec6a21cbe516 - Bug 817723 2012-12-07 17:04:37 -08:00
Robert Strong 60b2ab4311 Bug 817723 - Only build the stub installer when the update channel equals nightly, aurora, beta, and release. r=khuey 2012-12-07 15:53:24 -08:00
Mike Hommey 3b09cc017f Bug 809798 - Don't use BOTH_MANIFESTS. r=pike 2012-11-13 08:17:14 +01:00
Mike Hommey 16daad165b Fixup for bug 787165. r=ted 2012-09-20 19:36:07 +02:00
Mike Hommey db95e78594 Bug 787165 - Move omnijar packaging out of installer-stage and install rules. r=ted 2012-09-11 09:42:49 +02:00
Siddharth Agarwal 71bbf89bc9 Bug 741014 - Pymake is busted with make l10n-check. Hack around the spaces issue by using a wildcard, and fix an underspecified dependency. r=ted
--HG--
extra : rebase_source : bbf2d6963f9eb2f2f3a3656fdd9833b719039717
2012-08-08 00:38:48 +05:30
Mike Hommey 1300a5b7f7 Bug 774772 - Fix webapprt l10n after bug 762864. r=bsmedberg
--HG--
extra : transplant_source : %17%9D%F6%99%D8%1Fx%26%B6q%F3F%A7%89%0C%03%AF%E2%C5%3C
2012-07-18 08:34:56 +02:00
Nick Thomas ffe9c4c62e Bug 745553, always bypass cache on ftp.m.o when pulling en-US build for l10n repacks, r=l10n,khuey DONTBUILD 2012-05-31 20:50:01 +12:00
Ben Hearsum 31c947e922 bug 723176: support mac dmg signing in the build system - turn on signing of mac builds again. r=ted
--HG--
extra : rebase_source : 7aa71b8b31f975411b491966e859df15b8d9071f
2012-05-25 09:25:07 -04:00
Ben Hearsum cf7195099a Backout all patches from bug 723176, because we still have problems with our CodeResources file. 2012-05-23 22:30:25 -04:00
Ben Hearsum b4d6cf48c5 bug 723176: support mac dmg signing in the build system - add PACKAGE_BASE_DIR to packager.mk, override in l10n.mk, to fix mac repacks. r=ted 2012-05-23 13:53:43 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00