[05:50] <kaushal> Hi
[05:50] <kaushal> Hi persia
[06:23] <persia> Hey kaushal.  What's up?
[06:42] <kaushal> persia: sorry was away
[06:43] <persia> No worries :)
[06:43] <kaushal> As per https://wiki.kubuntu.org/PackagingGuide/Recipes/PackageUpdate it says Get the new source.
[06:43] <persia> Right.
[06:43] <kaushal> where do i get the new source for sun-java6-jdk u26
[06:43] <persia> So, if you look at the bug, there are some places to download it.
[06:43] <kaushal> ok
[06:43] <persia> We don't have the source code, but you can get the material from which the package was generated.
[06:44] <persia> Just try to get something that is similar to the results of unpacking the current source package, except updated.,
[06:44] <persia> Most of the time, debian/copyright explains where to get the source.
[06:44] <persia> If you get stuck, let me know, and I'll take a look.
[06:45] <kaushal> you can get the material from which the package was generated.
[06:45] <kaushal> not sure i understand that
[06:45] <kaushal> I have source of java6 u24
[06:45] <persia> So, we have two kinds of packages.  "Source" packages and "Binary" packages.
[06:45] <kaushal> so i should get source of java6 u26 ?
[06:45] <persia> "Source" packages are used to generate "Binary" packages.
[06:46] <persia> When working with packages for which we don't have the real source code (like sun-java6), we put binary files in the "Source" package.
[06:48] <persia> So, I assume you got the "source" of java6 u24 by apt-get source or similar?
[06:48] <kaushal> yes
[06:49] <persia> If you look at the files, you'll notice that some of them are already compiled.
[06:49] <persia> You want to download the corresponding files from u26, which probably means getting the entire package of u26 from Oracle, and then moving stuff about.
[06:49] <persia> Sometimes there are instructions in the get-orig-source: rule in debian/rules, but often there aren't.
[07:08] <kaushal> ok
[07:15] <kaushal> persia: i dont see java6 u26 here http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html
[07:15] <kaushal> I mean souce package
[07:17] <persia> Right.  Oracle doesn't make the source code available.
[07:17] <persia> They only distribute binaries.
[07:17] <persia> The binaries are put into the "source" package in Ubuntu.
[07:20] <persia> Oh.  Seems that starting from lucid, the package moved from Ubuntu into the Canonical partner archive.
[07:20] <persia> My apologies: I should have checked this before.
[07:20] <persia> We can't fix it :(  We need to wait for Canonical to fix it.
[07:20] <persia> So, let's change the goal: let's make it work *for you* :)
[07:21] <persia> So, I grabbed the source package of version "6.24-1build0.9.10.1"
[07:22] <persia> Unpacking that, and looking in there, I see a directory "debian" and two files "jdk-6u24-dlj-linux-amd64.bin" and "jdk-6u24-dlj-linux-i586.bin"
[07:23] <persia> You just want to replace those with files downloaded from Sun, and rebuild.
[07:24] <persia> I've also just downloaded the Debian package (well, not really Debian, because it's non-free, but designed for Debian)
[07:24] <persia> It seems to already have the u26 files from Sun.
[07:24] <persia> So, to solve the problem *FOR YOU*, grab the source package from Debian.
[07:25] <persia> Then build it on your machine.
[07:25] <persia> Then install the resulting .deb files.
[07:25] <persia> To solve the problem for other folk, it needs to wait for Canonical.