Explorar o código

* merges from fixes branch

peter %!s(int64=25) %!d(string=hai) anos
pai
achega
6bf27d1c7a

+ 1 - 1
install/debian/changelog

@@ -1,4 +1,4 @@
-fpc (1.00-0) unstable; urgency=low
+fpc (1.0.1-0) unstable; urgency=low
 
 
   * New Upstream Release
   * New Upstream Release
 
 

+ 12 - 12
install/debian/control

@@ -7,8 +7,8 @@ Standards-Version: 3.1.1
 
 
 Package: fp-compiler
 Package: fp-compiler
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0)
-Suggests: fp-utils, fp-docs (>= 0.99.15)
+Depends: fp-units-rtl (= 1.0.1-0)
+Suggests: fp-utils, fp-docs (>= 1.0.1)
 Replaces: fpc
 Replaces: fpc
 Description: Free Pascal Compiler
 Description: Free Pascal Compiler
  The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit
  The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit
@@ -21,7 +21,7 @@ Description: Free Pascal Compiler
 
 
 Package: fp-utils
 Package: fp-utils
 Architecture: i386
 Architecture: i386
-Recommends: fp-compiler (= 0.99.15-0)
+Recommends: fp-compiler (= 1.0.1-0)
 Replaces: fpc
 Replaces: fpc
 Description: Free Pascal Utils
 Description: Free Pascal Utils
  This package contains some handy utils for usage with the Free Pascal
  This package contains some handy utils for usage with the Free Pascal
@@ -45,14 +45,14 @@ Description: Free Pascal Documentation
 
 
 Package: fp-units-rtl
 Package: fp-units-rtl
 Architecture: i386
 Architecture: i386
-Recommends: fp-compiler (= 0.99.15-0)
+Recommends: fp-compiler (= 1.0.1-0)
 Replaces: fpc, fp-rtl
 Replaces: fpc, fp-rtl
 Description: Free Pascal Runtime Library
 Description: Free Pascal Runtime Library
  Runtime Libraries for the Free Pascal Compiler.
  Runtime Libraries for the Free Pascal Compiler.
 
 
 Package: fp-units-base
 Package: fp-units-base
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0)
+Depends: fp-units-rtl (= 1.0.1-0)
 Description: Free Pascal base units
 Description: Free Pascal base units
  Free Pascal units for common libraries, some of these units are also
  Free Pascal units for common libraries, some of these units are also
  required by the Free Component Library :
  required by the Free Component Library :
@@ -62,28 +62,28 @@ Description: Free Pascal base units
 
 
 Package: fp-units-fcl
 Package: fp-units-fcl
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0), fp-units-base (= 0.99.15-0)
+Depends: fp-units-rtl (= 1.0.1-0), fp-units-base (= 1.0.1-0)
 Replaces: fp-fcl
 Replaces: fp-fcl
 Description: Free Pascal Free Component Library
 Description: Free Pascal Free Component Library
  Free Component Library for the Free Pascal Compiler.
  Free Component Library for the Free Pascal Compiler.
 
 
 Package: fp-units-api
 Package: fp-units-api
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0)
+Depends: fp-units-rtl (= 1.0.1-0)
 Replaces: fp-api
 Replaces: fp-api
 Description: Free Pascal API units
 Description: Free Pascal API units
  Free Pascal units for console keyboard,mouse,video and file handling.
  Free Pascal units for console keyboard,mouse,video and file handling.
 
 
 Package: fp-units-gtk
 Package: fp-units-gtk
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0)
+Depends: fp-units-rtl (= 1.0.1-0)
 Replaces: fp-gtk
 Replaces: fp-gtk
 Description: Free Pascal units for GTK 1.2.x
 Description: Free Pascal units for GTK 1.2.x
  Free Pascal units and examples to create programs with GTK 1.2.x
  Free Pascal units and examples to create programs with GTK 1.2.x
 
 
 Package: fp-units-db
 Package: fp-units-db
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0)
+Depends: fp-units-rtl (= 1.0.1-0)
 Description: Free Pascal units for some database libraries
 Description: Free Pascal units for some database libraries
  Free Pascal units with bindings for:
  Free Pascal units with bindings for:
   - Mysql
   - Mysql
@@ -92,7 +92,7 @@ Description: Free Pascal units for some database libraries
 
 
 Package: fp-units-gfx
 Package: fp-units-gfx
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0), fp-units-base (= 0.99.15-0)
+Depends: fp-units-rtl (= 1.0.1-0), fp-units-base (= 1.0.1-0)
 Description: Free Pascal units for some graphics libraries
 Description: Free Pascal units for some graphics libraries
  Free Pascal units with bindings for:
  Free Pascal units with bindings for:
   - Forms 0.88
   - Forms 0.88
@@ -102,7 +102,7 @@ Description: Free Pascal units for some graphics libraries
 
 
 Package: fp-units-net
 Package: fp-units-net
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0)
+Depends: fp-units-rtl (= 1.0.1-0)
 Description: Free Pascal units for networking
 Description: Free Pascal units for networking
  Free Pascal units for creating network tools:
  Free Pascal units for creating network tools:
   - Inet unit for easier tcp/ip handling
   - Inet unit for easier tcp/ip handling
@@ -110,7 +110,7 @@ Description: Free Pascal units for networking
 
 
 Package: fp-units-misc
 Package: fp-units-misc
 Architecture: i386
 Architecture: i386
-Depends: fp-units-rtl (= 0.99.15-0)
+Depends: fp-units-rtl (= 1.0.1-0)
 Description: Free Pascal miscellaneous units
 Description: Free Pascal miscellaneous units
  Free Pascal miscellaneous units for:
  Free Pascal miscellaneous units for:
   - Utmp
   - Utmp

+ 1 - 1
install/debian/fixdeb

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 #
 #
-# Create debian files from *.in files.
+# Create debian files from *.in files
 #
 #
 # $1 = path to debian files
 # $1 = path to debian files
 #
 #

+ 1 - 0
install/debian/fp-compiler.conffiles

@@ -0,0 +1 @@
+/etc/ppc386.cfg

+ 1 - 0
install/debian/fp-compiler.files.in

@@ -1,3 +1,4 @@
+/etc/ppc386.cfg
 /usr/lib/fpc/%{fpcversion}/ppc386
 /usr/lib/fpc/%{fpcversion}/ppc386
 /usr/lib/fpc/%{fpcversion}/samplecfg
 /usr/lib/fpc/%{fpcversion}/samplecfg
 /usr/lib/fpc/%{fpcversion}/msg
 /usr/lib/fpc/%{fpcversion}/msg

+ 0 - 3
install/debian/fp-compiler.postinst.in

@@ -5,8 +5,5 @@ FPCDIR=/usr/lib/fpc/%{fpcversion}
 # create link
 # create link
 ln -sf $FPCDIR/ppc386 /usr/bin/ppc386
 ln -sf $FPCDIR/ppc386 /usr/bin/ppc386
 
 
-# create /etc/ppc386.cfg
-$FPCDIR/samplecfg $FPCDIR
-
 # Debhelper code
 # Debhelper code
 #DEBHELPER#
 #DEBHELPER#

+ 9 - 0
install/debian/fp-compiler.postrm.in

@@ -0,0 +1,9 @@
+#! /bin/sh
+
+FPCDIR=/usr/lib/fpc/%{fpcversion}
+
+# remove link
+rm -f /usr/bin/ppc386
+
+# Debhelper code
+#DEBHELPER#

+ 0 - 1
install/debian/fp-units-misc.files.in

@@ -20,7 +20,6 @@
 
 
 /usr/lib/fpc/%{fpcversion}/units/linux/libgdbcon.a 
 /usr/lib/fpc/%{fpcversion}/units/linux/libgdbcon.a 
 /usr/lib/fpc/%{fpcversion}/units/linux/gdbcon.o 
 /usr/lib/fpc/%{fpcversion}/units/linux/gdbcon.o 
-/usr/lib/fpc/%{fpcversion}/units/linux/libgdbint.a 
 /usr/lib/fpc/%{fpcversion}/units/linux/gdbint.o
 /usr/lib/fpc/%{fpcversion}/units/linux/gdbint.o
 
 
 /usr/lib/fpc/%{fpcversion}/units/linux/paszlib/paszlib.ppu 
 /usr/lib/fpc/%{fpcversion}/units/linux/paszlib/paszlib.ppu 

+ 4 - 1
install/debian/rules

@@ -36,7 +36,7 @@ clean:
 	rm -f build-indep-stamp install-indep-stamp
 	rm -f build-indep-stamp install-indep-stamp
 
 
 	rm -f debian-files-stamp
 	rm -f debian-files-stamp
-	rm -f debian/*.files debian/*.docs debian/*.examples debian/*.postinst
+	rm -f debian/*.files debian/*.docs debian/*.examples debian/*.postinst debian/*.postrm
 
 
 	$(MAKE) compiler_distclean
 	$(MAKE) compiler_distclean
 	$(MAKE) rtl_distclean
 	$(MAKE) rtl_distclean
@@ -113,6 +113,9 @@ install-arch-stamp: build-arch-stamp debian-files-stamp
 	$(MAKE) demo_install $(INSTALLOPTS) DOCINSTALLDIR=$(INSTALL_DIR)/usr/share/doc/fp-compiler
 	$(MAKE) demo_install $(INSTALLOPTS) DOCINSTALLDIR=$(INSTALL_DIR)/usr/share/doc/fp-compiler
 	$(MAKE) doc_install $(INSTALLOPTS) DOCINSTALLDIR=$(INSTALL_DIR)/usr/share/doc/fp-compiler
 	$(MAKE) doc_install $(INSTALLOPTS) DOCINSTALLDIR=$(INSTALL_DIR)/usr/share/doc/fp-compiler
 
 
+# Create ppc386.cfg which is included as conffile
+	chmod 755 compiler/utils/samplecfg 
+	compiler/utils/samplecfg /usr/lib/fpc/$(FPCVERSION) $(INSTALL_DIR)/etc
 	touch install-arch-stamp
 	touch install-arch-stamp
 
 
 
 

+ 3 - 3
install/fpc-1.00.spec → install/fpc-1.0.1.spec

@@ -1,15 +1,15 @@
 Name: fpc
 Name: fpc
-Version: 1.00
+Version: 1.0.1
 Release: 1
 Release: 1
 ExclusiveArch: i386
 ExclusiveArch: i386
 Copyright: GPL
 Copyright: GPL
 Group: Development/Languages
 Group: Development/Languages
-Source: fpc-1.00-src.tar.gz
+Source: fpc-1.0.1-src.tar.gz
 Summary: Free Pascal Compiler
 Summary: Free Pascal Compiler
 Packager: Peter Vreman ([email protected])
 Packager: Peter Vreman ([email protected])
 URL: http://www.freepascal.org/
 URL: http://www.freepascal.org/
 
 
-%define fpcversion 1.00
+%define fpcversion 1.0.1
 %define fpcdir /usr/lib/fpc/%{fpcversion}
 %define fpcdir /usr/lib/fpc/%{fpcversion}
 %define docdir /usr/doc/fpc-%{fpcversion}
 %define docdir /usr/doc/fpc-%{fpcversion}
 
 

+ 3 - 3
install/fpc-docs-1.00.spec → install/fpc-docs-1.0.1.spec

@@ -1,15 +1,15 @@
 Name: fpc-docs
 Name: fpc-docs
-Version: 1.00
+Version: 1.0.1
 Release: 1
 Release: 1
 ExclusiveArch: i386
 ExclusiveArch: i386
 Copyright: GPL
 Copyright: GPL
 Group: Development/Languages
 Group: Development/Languages
-Source: fpc-docs-1.00-src.tar.gz
+Source: fpc-docs-1.0.1-src.tar.gz
 Summary: Free Pascal Compiler Documentation
 Summary: Free Pascal Compiler Documentation
 Packager: Peter Vreman ([email protected])
 Packager: Peter Vreman ([email protected])
 URL: http://www.freepascal.org/
 URL: http://www.freepascal.org/
 
 
-%define fpcversion 1.00
+%define fpcversion 1.0.1
 %define fpcdir /usr/lib/fpc/%{fpcversion}
 %define fpcdir /usr/lib/fpc/%{fpcversion}
 %define docdir /usr/doc/fpc-%{fpcversion}
 %define docdir /usr/doc/fpc-%{fpcversion}
 
 

+ 3 - 2
install/makepack

@@ -13,8 +13,9 @@ unset FPCDIR
 # Goto the toplevel if necessary
 # Goto the toplevel if necessary
 [ -d install ] || cd ..
 [ -d install ] || cd ..
 
 
-make linux
-make source
+make linuxzip
+make sourcezip
+make docsrc
 make docs
 make docs
 make demo
 make demo