On Thu, 11 Dec 2003 17:12:46 +0000
"Angus Leeming" <[EMAIL PROTECTED]> wrote:
> I am running lyx-1.3.xcvs on an Alpha under Debian unstable. I could
> certainly make it available to you but have no idea how to go about
> creating a Debian package...
One way would be
cd /usr/src # or wherever you want
apt-get install devscripts # don't know if nescessary
apt-get build-deb lyx
apt-get source --compile lyx
dpkg -i lyx*.deb
Note that this will provide you with woodys 1.1.6fix2 package, which is
quite old. Here's what I do to get a rescent 1.3.3-qt version on x86.
should work on alpha as well (hopefully):
1. get the sources of 1.3.1 from backports.org and unpack them
install the 'build-dep' packages listed in debian/control
(this will propably mean you have to uninstall the kde dev packages,
but there's no problem installing them again after lyx's compilation)
2. get the sources for 1.3.3 and unpack them somewhere else
3. copy the debian directory from the 1.3.1 dir to the 1.3.3 dir
4. fix the changelog ('dch -d' from within the 1.3.3 dir, entering "new
upstram version" would be very debianish ;-) )
5. issue 'debuild -us -uc' from the 1.3.3 dir
6. install created debs with dpkg
(the source directories should be named lyx-version, i.e. lyx-1.3.3,
otherwise dch can't estimate the new version and the packages will have
the wrong version number.)
voila, that should do the trick.
Open for corrections,
Karsten