Debian Bug report logs -
#573250
mozilla-devscripts: install-xpi unpacks to wrong location, contradicts https://wiki.debian.org/Mozilla/ExtensionsPolicy
Reported by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Wed, 10 Mar 2010 04:54:02 UTC
Severity: normal
Found in version mozilla-devscripts/0.20
Done: Benjamin Drung <bdrung@ubuntu.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com>:
Bug#573250; Package mozilla-devscripts.
(Wed, 10 Mar 2010 04:54:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
New Bug report received and forwarded. Copy sent to Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com>.
(Wed, 10 Mar 2010 04:54:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: mozilla-devscripts
Version: 0.20
Severity: normal
The current draft of https://wiki.debian.org/Mozilla/ExtensionsPolicy
suggests:
> Packages shipping extensions for XUL-based applications like
> iceweasel or icedove should put unpack the contents of the extension
> in a folder in /usr/share/mozilla/extensions/common.
It also says:
> It is recommended to use mozilla-devscripts. It will realize the
> policy for you.
However, using mozilla-devscripts 0.20 on a new xul-ext-monkeysphere
package, i see the file getting unpacked into
/usr/share/xul-ext-monkeysphere instead. (and then linked to from each
compatible application's private extensions directory in
/usr/share/mozilla/extensions/{xulapp-id}/{extension-id}).
I'm using plain debhelper as instructed with:
override_dh_auto_install:
install-xpi monkeysphere.xpi
I realize there was some discussion over whether
/usr/share/mozilla/extensions/common was the right choice, but we
should either fix the policy draft or we should fix the install-xpi.
it seems silly to have them disagree.
IIRC, the best argument in favor of modifying the draft to match the
current behavior of install-xpi was: do we have xulrunner apps scan
for compatible packages each invocation? or do we figure out which
apps are compatible at extension installation time? opting for the
latter seems more efficient.
IIRC, the best argument in favor of modifying install-xpi to match the
current draft of policy was that upstream xulrunner apps are all going
to default to looking in the same place in the future. I'm not sure
whether the xulapps will subsequently stop looking in their private
extensions directory as well.
Can we align the policy and the tool somehow?
--dkg
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mozilla-devscripts depends on:
ii dpkg-dev 1.15.5.6 Debian package development tools
ii fakeroot 1.14.4-1 Gives a fake root environment
ii perl 5.10.1-11 Larry Wall's Practical Extraction
ii python 2.5.4-9 An interactive high-level object-o
ii python-rdflib 2.4.2-1+b1 RDF library containing an RDF trip
ii python-support 1.0.6.1 automated rebuilding support for P
ii quilt 0.48-5 Tool to work with series of patche
ii unzip 6.0-4 De-archiver for .zip files
ii wget 1.12-1.1 retrieves files from the web
ii zip 3.0-3 Archiver for .zip files
mozilla-devscripts recommends no packages.
Versions of packages mozilla-devscripts suggests:
ii cvs 1:1.12.13-12 Concurrent Versions System
ii git-core 1:1.7.0-1 fast, scalable, distributed revisi
pn mercurial <none> (no description available)
-- no debconf information
Reply sent
to Benjamin Drung <bdrung@ubuntu.com>:
You have taken responsibility.
(Tue, 30 Nov 2010 23:36:06 GMT) (full text, mbox, link).
Notification sent
to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Bug acknowledged by developer.
(Tue, 30 Nov 2010 23:36:07 GMT) (full text, mbox, link).
Message #10 received at 573250-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
I made some changes to the policy [1]:
* Finally I dropped the install location paragraph (agreed on in April).
* Specify that the em-id of the extension should be used for symlinking.
* Improve config file section.
* Add source package name recommendation.
These changes align the policy with the behavior of mozilla-devscripts.
Please review the changes, improve the wording, and let me know if
disagree with the changes.
[1] https://wiki.debian.org/Mozilla/ExtensionsPolicy
--
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 29 Dec 2010 07:32:32 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jan 7 23:30:40 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.