/srv/irclogs.ubuntu.com/2011/06/10/#ubuntu-java.txt

kaushalHi05:50
kaushalHi persia05:50
persiaHey kaushal.  What's up?06:23
kaushalpersia: sorry was away06:42
persiaNo worries :)06:43
kaushalAs per https://wiki.kubuntu.org/PackagingGuide/Recipes/PackageUpdate it says Get the new source.06:43
persiaRight.06:43
kaushalwhere do i get the new source for sun-java6-jdk u2606:43
persiaSo, if you look at the bug, there are some places to download it.06:43
kaushalok06:43
persiaWe don't have the source code, but you can get the material from which the package was generated.06:43
persiaJust try to get something that is similar to the results of unpacking the current source package, except updated.,06:44
persiaMost of the time, debian/copyright explains where to get the source.06:44
persiaIf you get stuck, let me know, and I'll take a look.06:44
kaushalyou can get the material from which the package was generated.06:45
kaushalnot sure i understand that06:45
kaushalI have source of java6 u2406:45
persiaSo, we have two kinds of packages.  "Source" packages and "Binary" packages.06:45
kaushalso i should get source of java6 u26 ?06:45
persia"Source" packages are used to generate "Binary" packages.06:45
persiaWhen 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:46
persiaSo, I assume you got the "source" of java6 u24 by apt-get source or similar?06:48
kaushalyes06:48
persiaIf you look at the files, you'll notice that some of them are already compiled.06:49
persiaYou 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
persiaSometimes there are instructions in the get-orig-source: rule in debian/rules, but often there aren't.06:49
kaushalok07:08
kaushalpersia: i dont see java6 u26 here http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html07:15
kaushalI mean souce package07:15
persiaRight.  Oracle doesn't make the source code available.07:17
persiaThey only distribute binaries.07:17
persiaThe binaries are put into the "source" package in Ubuntu.07:17
persiaOh.  Seems that starting from lucid, the package moved from Ubuntu into the Canonical partner archive.07:20
persiaMy apologies: I should have checked this before.07:20
persiaWe can't fix it :(  We need to wait for Canonical to fix it.07:20
persiaSo, let's change the goal: let's make it work *for you* :)07:20
persiaSo, I grabbed the source package of version "6.24-1build0.9.10.1"07:21
persiaUnpacking 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:22
persiaYou just want to replace those with files downloaded from Sun, and rebuild.07:23
persiaI've also just downloaded the Debian package (well, not really Debian, because it's non-free, but designed for Debian)07:24
persiaIt seems to already have the u26 files from Sun.07:24
persiaSo, to solve the problem *FOR YOU*, grab the source package from Debian.07:24
persiaThen build it on your machine.07:25
persiaThen install the resulting .deb files.07:25
persiaTo solve the problem for other folk, it needs to wait for Canonical.07:25
=== hannesw_ is now known as hannesw

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!