Bug#821270: RFS: firefox-branding-iceweasel/0.3.0 [ITP] -- Preserves Iceweasel branding for new Firefox packages

2016-04-19 Thread Paul Wise
On Mon, 2016-04-18 at 14:31 +, nord-stream wrote:

> Technically a Firefox extension cannot change this. It's a .desktop
> file's job, I assume. But can we replace a .desktop file from another
> package? Adding extra files to be installed also complicates rules a
> lot.

I think this would have to be handled in the iceweasel package:

pabs@chianamo ~ $ dpkg -L iceweasel 
/.
/usr
/usr/bin
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/iceweasel
/usr/share/applications
/usr/share/applications/iceweasel.desktop
/usr/share/doc
/usr/share/doc/iceweasel
/usr/share/doc/iceweasel/copyright
/usr/share/doc/iceweasel/MPL-1.1.gz
/usr/share/doc/iceweasel/MPL-2.0.gz
/usr/share/doc/iceweasel/changelog.Debian.gz
/usr/bin/iceweasel
pabs@chianamo ~ $ grep -i exec /usr/share/applications/iceweasel.desktop
Exec=firefox-esr %u
pabs@chianamo ~ $ grep -i icon /usr/share/applications/iceweasel.desktop
Icon=firefox-esr
pabs@chianamo ~ $ ls -l /usr/bin/iceweasel
lrwxrwxrwx 1 root root 30 Apr 13 10:13 /usr/bin/iceweasel -> 
../lib/firefox-esr/firefox-esr*

-- 
bye,
pabs

https://wiki.debian.org/PaulWise




signature.asc
Description: This is a digitally signed message part


Bug#821270: RFS: firefox-branding-iceweasel/0.3.0 [ITP] -- Preserves Iceweasel branding for new Firefox packages

2016-04-19 Thread nord-stream
Fixed in Git. I will upload the new package with other proposed changes
soon.

On 18/04/16 18:47, Ben Finney wrote:
> nord-stream  writes:
> 
>> It builds those binary packages:
>>
>>   firefox-branding-iceweasel - Preserves Iceweasel branding for new Firefox 
>> packages
> 
> Please change the description synopsis, to conform to the Developer's
> Reference §6.2.2.
> 
> That entails that it should not be a sentence itself, but a phrase
> describing what the package *is*.
> 
> The synopsis “” should make sense when inserted into a
> sentence of the form “The package  installs .”.
> 
> So a proper sentence is not appropriate as the “”.
> 
> I suggest:
> 
> branding for Firefox to apply Iceweasel name and images
> 

--
nord-stream




signature.asc
Description: OpenPGP digital signature


Bug#821270: RFS: firefox-branding-iceweasel/0.3.0 [ITP] -- Preserves Iceweasel branding for new Firefox packages

2016-04-18 Thread Ben Finney
nord-stream  writes:

> It builds those binary packages:
>
>   firefox-branding-iceweasel - Preserves Iceweasel branding for new Firefox 
> packages

Please change the description synopsis, to conform to the Developer's
Reference §6.2.2.

That entails that it should not be a sentence itself, but a phrase
describing what the package *is*.

The synopsis “” should make sense when inserted into a
sentence of the form “The package  installs .”.

So a proper sentence is not appropriate as the “”.

I suggest:

branding for Firefox to apply Iceweasel name and images

-- 
 \“You can't have everything; where would you put it?” —Steven |
  `\Wright |
_o__)  |
Ben Finney 



Bug#821270: RFS: firefox-branding-iceweasel/0.3.0 [ITP] -- Preserves Iceweasel branding for new Firefox packages

2016-04-18 Thread nord-stream


On 18/04/16 08:05, Paul Wise wrote:
> On Sun, Apr 17, 2016 at 3:25 PM, nord-stream wrote:
> 
>>  * Package name: firefox-branding-iceweasel
> 
> Thoughts:
> 
> Should the vendorShortName be Debian instead of Mozilla?

I think that file was copied as-is from the last Iceweasel source package.

> 
> One thing that isn't rebranded is the window icon, when I do alt-tab I
> get the Firefox icon.

Technically a Firefox extension cannot change this. It's a .desktop
file's job, I assume. But can we replace a .desktop file from another
package? Adding extra files to be installed also complicates rules a lot.

> 
> Automatic checks:
> 
> Build:
> 
> ...
> make[1]: Entering directory
> '/home/pabs/devel/debian/mentors/firefox-branding-iceweasel-0.3.0'
> xpi-pack ./xpi-build ./build.xpi
> Packing ./build.xpi
> Packed XPI file. It is located in
> /home/pabs/devel/debian/mentors/firefox-branding-iceweasel-0.3.0
> install-xpi ./build.xpi
> Archive:  ./build.xpi
> ...
>   inflating: 
> /home/pabs/devel/debian/mentors/firefox-branding-iceweasel-0.3.0/debian/firefox-branding-iceweasel/usr/share/xul-ext/firefox-branding-iceweasel/install.rdf
> /usr/lib/python2.7/dist-packages/RDF.py:2014: RedlandWarning: Variable
> bnodeid1 was bound but is unused in the query
>   results = Redland.librdf_query_execute(self._query,model._model)
> /usr/lib/python2.7/dist-packages/RDF.py:2014: RedlandWarning: Variable
> bnodeid2 was bound but is unused in the query
>   results = Redland.librdf_query_execute(self._query,model._model)
> ...
>dh_xul-ext -O--parallel
> /usr/lib/python2.7/dist-packages/RDF.py:2014: RedlandWarning: Variable
> bnodeid1 was bound but is unused in the query
>   results = Redland.librdf_query_execute(self._query,model._model)
> 
> 
> check-all-the-things:
> 
> $ find -type f -iname '*.css' -exec csslint-0.6 {} \; > /dev/null
> parsing error: 4:1:could not recognize next production
> parsing error: 6:1:while parsing rulset: current char must be a '}'
> parsing error: 5:15:while parsing declaration: next property is malformed
> parsing error: 4:1:could not recognize next production
> parsing error: 6:1:while parsing rulset: current char must be a '}'
> parsing error: 5:15:while parsing declaration: next property is malformed
> parsing error: 4:1:could not recognize next production
> parsing error: 6:1:while parsing rulset: current char must be a '}'
> parsing error: 5:15:while parsing declaration: next property is malformed
> 
> $ debmake -k
> ...
> === debian/copyright checked for 102 data ===
> Pattern #00: *
>   File: xpi-build/chrome/content/aboutIceweasel/aboutIce.js
> - MPL-2.0
> + MPL-1.1
> 
> Pattern #01: src/iceweasel/*
>   File: src/iceweasel/content/aboutIceweasel/aboutIce.js
> - MPL-2.0, and MPL-1.1 or GPL-2.0+ or LGPL-2.1+
> + MPL-1.1
> 
> Pattern #01: src/iceweasel/*
>   File: src/iceweasel/content/aboutDialog.css
> src/iceweasel/content/browser-overlay.css
> - MPL-2.0, and MPL-1.1 or GPL-2.0+ or LGPL-2.1+
> + MPL-2.0
> 
> # check if these can be switched to https://
> $ grep -rF http: .
> 
> 
> $ license-reconcile
> ...
> License mismatch: File
> src/iceweasel/content/aboutIceweasel/aboutIce.js has license MPL
> (v1.1) GPL (unversioned/unknown version) which does not match GPL-2.0+
> or LGPL-2.1+ or MPL-2.0, and MPL-1.1. at
> /usr/share/perl5/Debian/LicenseReconcile/App.pm line 222,  line
> 3.
> ...
> License mismatch: File src/iceweasel/content/aboutIceweasel/ice.xhtml
> has license MPL (v1.1) GPL (unversioned/unknown version) which does
> not match GPL-2.0+ or LGPL-2.1+ or MPL-2.0, and MPL-1.1. at
> /usr/share/perl5/Debian/LicenseReconcile/App.pm line 222,  line
> 3.
> ...
> License mismatch: File src/iceweasel/content/browser-overlay.css has
> license MPL-2.0 which does not match GPL-2.0+ or LGPL-2.1+ or MPL-2.0,
> and MPL-1.1. at /usr/share/perl5/Debian/LicenseReconcile/App.pm line
> 222,  line 3.
> 
> $ find -type d \( -iname .bzr -o -iname .git -o -iname .hg -o -iname
> .svn -o -iname CVS -o -iname RCS -o -iname SCCS -o -iname _MTN -o
> -iname _darcs -o -iname .pc -o -iname .cabal-sandbox -o -iname .cdv -o
> -iname .metadata -o -iname CMakeFiles -o -iname _build -o -iname
> _sgbak -o -iname autom4te.cache -o -iname blib -o -iname cover_db -o
> -iname node_modules -o -iname '~.dep' -o -iname '~.dot' -o -iname
> '~.nib' -o -iname '~.plst' \) -prune -o -type f ! \( -iname '*.bak' -o
> -iname '*.swp' -o -iname '#.*' -o -iname '#*#' -o -iname 'core.*' -o
> -iname '*~' -o -iname '*.gif' -o -iname '*.jpg' -o -iname '*.jpeg' -o
> -iname '*.png' -o -iname '*.min.js' -o -iname '*.js.map' -o -iname
> '*.js.min' -o -iname '*.min.css' -o -iname '*.css.map' -o -iname
> '*.css.min' \) -exec spellintian --picky {} +
> ./README.markdown: debian -> Debian
> 



Bug#821270: RFS: firefox-branding-iceweasel/0.3.0 [ITP] -- Preserves Iceweasel branding for new Firefox packages

2016-04-18 Thread Paul Wise
On Sun, Apr 17, 2016 at 3:25 PM, nord-stream wrote:

>  * Package name: firefox-branding-iceweasel

Thoughts:

Should the vendorShortName be Debian instead of Mozilla?

One thing that isn't rebranded is the window icon, when I do alt-tab I
get the Firefox icon.

Automatic checks:

Build:

...
make[1]: Entering directory
'/home/pabs/devel/debian/mentors/firefox-branding-iceweasel-0.3.0'
xpi-pack ./xpi-build ./build.xpi
Packing ./build.xpi
Packed XPI file. It is located in
/home/pabs/devel/debian/mentors/firefox-branding-iceweasel-0.3.0
install-xpi ./build.xpi
Archive:  ./build.xpi
...
  inflating: 
/home/pabs/devel/debian/mentors/firefox-branding-iceweasel-0.3.0/debian/firefox-branding-iceweasel/usr/share/xul-ext/firefox-branding-iceweasel/install.rdf
/usr/lib/python2.7/dist-packages/RDF.py:2014: RedlandWarning: Variable
bnodeid1 was bound but is unused in the query
  results = Redland.librdf_query_execute(self._query,model._model)
/usr/lib/python2.7/dist-packages/RDF.py:2014: RedlandWarning: Variable
bnodeid2 was bound but is unused in the query
  results = Redland.librdf_query_execute(self._query,model._model)
...
   dh_xul-ext -O--parallel
/usr/lib/python2.7/dist-packages/RDF.py:2014: RedlandWarning: Variable
bnodeid1 was bound but is unused in the query
  results = Redland.librdf_query_execute(self._query,model._model)


check-all-the-things:

$ find -type f -iname '*.css' -exec csslint-0.6 {} \; > /dev/null
parsing error: 4:1:could not recognize next production
parsing error: 6:1:while parsing rulset: current char must be a '}'
parsing error: 5:15:while parsing declaration: next property is malformed
parsing error: 4:1:could not recognize next production
parsing error: 6:1:while parsing rulset: current char must be a '}'
parsing error: 5:15:while parsing declaration: next property is malformed
parsing error: 4:1:could not recognize next production
parsing error: 6:1:while parsing rulset: current char must be a '}'
parsing error: 5:15:while parsing declaration: next property is malformed

$ debmake -k
...
=== debian/copyright checked for 102 data ===
Pattern #00: *
  File: xpi-build/chrome/content/aboutIceweasel/aboutIce.js
- MPL-2.0
+ MPL-1.1

Pattern #01: src/iceweasel/*
  File: src/iceweasel/content/aboutIceweasel/aboutIce.js
- MPL-2.0, and MPL-1.1 or GPL-2.0+ or LGPL-2.1+
+ MPL-1.1

Pattern #01: src/iceweasel/*
  File: src/iceweasel/content/aboutDialog.css
src/iceweasel/content/browser-overlay.css
- MPL-2.0, and MPL-1.1 or GPL-2.0+ or LGPL-2.1+
+ MPL-2.0

# check if these can be switched to https://
$ grep -rF http: .


$ license-reconcile
...
License mismatch: File
src/iceweasel/content/aboutIceweasel/aboutIce.js has license MPL
(v1.1) GPL (unversioned/unknown version) which does not match GPL-2.0+
or LGPL-2.1+ or MPL-2.0, and MPL-1.1. at
/usr/share/perl5/Debian/LicenseReconcile/App.pm line 222,  line
3.
...
License mismatch: File src/iceweasel/content/aboutIceweasel/ice.xhtml
has license MPL (v1.1) GPL (unversioned/unknown version) which does
not match GPL-2.0+ or LGPL-2.1+ or MPL-2.0, and MPL-1.1. at
/usr/share/perl5/Debian/LicenseReconcile/App.pm line 222,  line
3.
...
License mismatch: File src/iceweasel/content/browser-overlay.css has
license MPL-2.0 which does not match GPL-2.0+ or LGPL-2.1+ or MPL-2.0,
and MPL-1.1. at /usr/share/perl5/Debian/LicenseReconcile/App.pm line
222,  line 3.

$ find -type d \( -iname .bzr -o -iname .git -o -iname .hg -o -iname
.svn -o -iname CVS -o -iname RCS -o -iname SCCS -o -iname _MTN -o
-iname _darcs -o -iname .pc -o -iname .cabal-sandbox -o -iname .cdv -o
-iname .metadata -o -iname CMakeFiles -o -iname _build -o -iname
_sgbak -o -iname autom4te.cache -o -iname blib -o -iname cover_db -o
-iname node_modules -o -iname '~.dep' -o -iname '~.dot' -o -iname
'~.nib' -o -iname '~.plst' \) -prune -o -type f ! \( -iname '*.bak' -o
-iname '*.swp' -o -iname '#.*' -o -iname '#*#' -o -iname 'core.*' -o
-iname '*~' -o -iname '*.gif' -o -iname '*.jpg' -o -iname '*.jpeg' -o
-iname '*.png' -o -iname '*.min.js' -o -iname '*.js.map' -o -iname
'*.js.min' -o -iname '*.min.css' -o -iname '*.css.map' -o -iname
'*.css.min' \) -exec spellintian --picky {} +
./README.markdown: debian -> Debian

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



Bug#821270: RFS: firefox-branding-iceweasel/0.3.0 [ITP] -- Preserves Iceweasel branding for new Firefox packages

2016-04-17 Thread nord-stream
Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my package "firefox-branding-iceweasel"

 * Package name: firefox-branding-iceweasel
   Version : 0.3.0
   Upstream Author : nord-stream 
 * URL : https://notabug.org/desktopd/iceweasel-branding
 * License : MPL-2.0
   Section : web

It builds those binary packages:

  firefox-branding-iceweasel - Preserves Iceweasel branding for new
Firefox packages

To access further information about this package, please visit the
following URL:

http://mentors.debian.net/package/firefox-branding-iceweasel


Alternatively, one can download the package with dget using this command:

  dget -x
http://mentors.debian.net/debian/pool/main/f/firefox-branding-iceweasel/firefox-branding-iceweasel_0.3.0.dsc

More information about this package can be obtained from
https://notabug.org/desktopd/iceweasel-branding.

Changelog:

  * Initial Debian packaging.
  * Removed support for older Firefox releases (<45.0).

Regards,
 nord-stream



signature.asc
Description: OpenPGP digital signature