View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#3
New upstream version: fpc-2.6.0 on extras-devel.

Install package fpc-2.6.0 and you will get everything you need.

---------
Just for notes: Repackaged from Debian Sid.

Code:
wget http://ftp.de.debian.org/debian/pool/main/f/fpc/fpc_2.6.0.orig.tar.gz
wget http://ftp.de.debian.org/debian/pool/main/f/fpc/fpc_2.6.0-3.debian.tar.gz
tar xvf fpc_2.6.0.orig.tar.gz
tar xvf fpc_2.6.0-3.debian.tar.gz
rm fpc_2.6.0-3.debian.tar.gz  fpc_2.6.0.orig.tar.gz
mv fpcbuild-2.6.0/* .
rmdir fpcbuild-2.6.0/
echo "1.0" > debian/source/format

sed -i 's/Build-Depends: debhelper (>= 7), fp-compiler, fp-units-base, fp-units-fcl, fp-utils,/Build-Depends: debhelper (>= 5), fp-compiler-2.4.4, fp-units-2.4.4, fp-utils-2.4.4,/g' debian/control
sed -i 's/Build-Depends: debhelper (>= 7), fp-compiler, fp-units-base, fp-units-fcl, fp-utils,/Build-Depends: debhelper (>= 5), fp-compiler-2.4.4, fp-units-2.4.4, fp-utils-2.4.4,/g' debian/control.in

sed -i 's/Build-Depends-Indep: hevea/Build-Depends-Indep:/g' debian/control
sed -i 's/Build-Depends-Indep: hevea/Build-Depends-Indep:/g' debian/control.in
(I just got bored with script-like instructions)
Add to debian/rules
+FPCMAKE=/opt/fpc/bin/fpcmake
(because last version (2.4) was optified).


debian/rules
Foreach:
-mv -t foo bar
+mv bar foo
-cp -t foo bar
+cp bar foo
(as builders cp and mv are out dated)

debian/rules
Skip making of documentation, just empty package. Because it is using 'hevea', which is difficult to package (because it needs ocaml).

debian/control
remove 'Breaks' (as dpkg in sb1 doesn't understand it (and it is not funny to use dpkg --force-depends, when apt-get would be easier)).

debian/control
For fp-units-gfx-2.6.0: no depends on libsvgalib.
For fp-units-multimedia-2.6.0: depends on liba52-0.7.4-dev, no a52dec-dev
For fp-units-multimedia-2.6.0: no depends on libdts-dev
 

The Following 7 Users Say Thank You to AapoRantalainen For This Useful Post: