On 07.10.05 15:14:51, Barry Hawkins wrote: > Andreas Pakulat wrote: > [...] > > just build the jdk1.5.0 update5 package with > > > > java-package --changes --full-name "Andreas Pakulat" --email [EMAIL > > PROTECTED] <jdk> > > > > and all I get is a .deb, not .changes file. > [...] > Thanks for your use of Debian and java-package. I believe the copying > of the .changes file to the same directory as the .deb may have been > removed without the corresponding command-line option having been > removed.
No, I found that I need to use fakeroot for this to work. I did the
first run as normal user without fakeroot (don't know what drove me
there ;-) and the .changes wasn't there. Then I realized that this would
mess up permissions on the package contents and with fakeroot I got a
.changes-file.
See the output if make-jpkg:
[EMAIL PROTECTED]:~/compiling/java/temp>make-jpkg --changes
jdk-1_5_0_05-linux-i586.bin
...
Create debian package:
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: baue Paket »sun-j2sdk1.5« in
»/tmp/make-jpkg.XXXX4wD9g8/sun-j2sdk1.5_1.5.0+update05_i386.deb«.
copy sun-j2sdk1.5_1.5.0+update05_i386.deb into directory
/home/andreas/compiling/java/temp/
[EMAIL PROTECTED]:~/compiling/java/temp>fakeroot make-jpkg --changes
jdk-1_5_0_05-linux-i586.bin
...
Create debian package:
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: baue Paket »sun-j2sdk1.5« in
»/tmp/make-jpkg.XXXXpvm81d/sun-j2sdk1.5_1.5.0+update05_i386.deb«.
copy sun-j2sdk1.5_1.5.0+update05_i386.deb into directory
/home/andreas/compiling/java/temp/
dpkg-genchanges
dpkg-genchanges: binary-only upload - not including any source code
copy sun-j2sdk1.5_1.5.0+update05_i386.changes into directory
/home/andreas/compiling/java/temp/
> Could you provide some information on how the .changes file
> for these types of packages would be of use to you? This way we have
> some sort of documented justification for keeping the feature.
Sure, even though this is just kind of playground, I like to put
self-built packages into a proper repository and I use debpool to create
the Packages file (and others). Now as this basically works like the
"real" debian scripts/software on incoming, I need a .changes for each
package I'd like to include. If I had more than 1 sid-box I probably
would use that repository in my small LAN, but the other Debian box is
just a plain router...
I think there are more people out there having such a repository for
their firm/organization/whatever and maybe some of them also built their
jdk-package with make-jpkg so this option is really a benefit. I even
filed a bugreport with kernel-package which doesn't have such an
option...
Andreas
--
You look tired.
pgpxg2cNR1nXM.pgp
Description: PGP signature
_______________________________________________ pkg-java-maintainers mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

