[icedtea-web] RFC: support configure's --program-suffix option

Omair Majid omajid at redhat.com
Thu Apr 28 08:04:20 PDT 2011


Hi,

The attached patch makes icedtea-web support configure's 
--program-suffix option.

A number of distributions use alternatives to manage /usr/bin/javaws. 
Using a prefix of /usr makes IcedTea-Web's javaws conflict with the 
alternatives-managed /usr/bin/javaws. Using a --program-suffix is one 
way to work around this problem and the patch makes this option work.

This patch does not modify the names of desktop files, but does fix the 
binary names they point to.

I would like to add this to HEAD and 1.1. Does anyone have any thoughts 
or comments?

ChangeLog
2011-04-28  Omair Majid  <omajid at redhat.com>

   * Makefile.am (javaws, itweb_settings): New variables.
   (edit_launcher_script, all-local, install-exe-local)
   (uninstall-local, clean-launchers, javaws.desktop)
   (itweb-settings.desktop): Replace all uses of javaws and
   itweb-settings with the new varaibles.
   (launcher.build/javaws): Replace with ...
   (launcher.build/$(javaws)): New target.
   (launcher.build/itweb-settings): Replace with...
   (launcher.build/$(itweb-settings)): New target.

Thanks,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-web-program-suffix-01.patch
Type: text/x-patch
Size: 3705 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110428/bcb971d9/icedtea-web-program-suffix-01.patch 


More information about the distro-pkg-dev mailing list