[Pkg-javascript-devel] Bug#679665: Bug#679665: jquery: build-deps not satisfiable in wheezy

2012-07-06 Thread Jonas Smedegaard
On 12-07-05 at 11:05pm, Mehdi Dogguy wrote:
 On 05/07/12 22:57, Jonas Smedegaard wrote:
 If we skip installing minified files, then yes it breaks. If we skip
 minifying but still install - i.e. install files that are 0% minified
 - then only download times should be affected.
 
 I think that this is the best option we have at this stage. In any case,
 it's your call as a maintainer to choose which solution you want to
 implement.
 
 Switching to slimit might be a sexy option but also falls in the
 changing the compressor category, imho.

How about this:

Now:

 1) Skip generating and installing any minified files at build time.
 2) Try minify and fallback to copy in postinst script:

for if in $files-to-be-minified; do
  of=$(basename $if .js).min.js
  javascript-minifier -o $of $if | cp -a $if $of
done

 3) Remove minified/copied files in remove state of postrm script:

for if in $files-to-be-minified; do
  of=$(basename $if .js).min.js
  rm -f $of
done

(javascript-minifier should use same basic syntax as both yui-compressor 
and uglifyjs share today.)

Official result now:

  * Javascript files will not be minified.

Unofficial possibility now:

  * Add /usr/local/bin/javascript-minifier symlink to yui-compressor
  * Add /usr/local/bin/javascript-minifier custom compressor script 

Official possibility later (perhaps even at a stable point release):

  * Add javascript-minifier package with debconf handling of 
/etc/alternatives symlinking of /usr/bin/javascript-minifier and 
perhaps also /usr/sbin/update-javascript-minifications.


How does that sound?  Too complex at this stage?

@Marcelo: What do you think?

What do others in the team think?


Regards,

 - Jonas

P.S. Yes - I still think generally across all Javascript packages...

-- 
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#679665: Bug#679665: jquery: build-deps not satisfiable in wheezy

2012-07-06 Thread Julien Cristau
On Fri, Jul  6, 2012 at 15:13:41 +0200, Jonas Smedegaard wrote:

 How does that sound?  Too complex at this stage?
 
Very much so, I'm afraid.

Cheers,
Julien



___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


[Pkg-javascript-devel] Bug#679665: Bug#679665: jquery: build-deps not satisfiable in wheezy

2012-07-06 Thread Jonas Smedegaard
On 12-07-06 at 04:10pm, Julien Cristau wrote:
 On Fri, Jul  6, 2012 at 15:13:41 +0200, Jonas Smedegaard wrote:
 
  How does that sound?  Too complex at this stage?
  
 Very much so, I'm afraid.

Could you elaborate a bit?

Please note that only first part is relevant now (and later parts are 
optional).

 - Jonas

-- 
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] hi

2012-07-06 Thread dolo runa4444

Greetings,
To be brief; my name is ''RUNA'' I'm interested in knowing you, please i will 
like you respond to me so that i will tell you more about my self and also give 
you my picture. and tell you the reason of contacting you, because there's 
something that i want to share with you, thanks for your understanding.i am 
waiting for your responds.
Best Wishes,
With Regards.
RUNA.

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel