mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 21:10:27 +02:00
* debian/*: inital Debian package files. Not ready for prime time, but close.
This commit is contained in:
parent
9cd8fc5c05
commit
de64c9b02d
15 changed files with 346 additions and 0 deletions
12
debian/.cvsignore
vendored
Normal file
12
debian/.cvsignore
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
*.debhelper
|
||||||
|
*.substvars
|
||||||
|
files
|
||||||
|
libqthreads12
|
||||||
|
libguile-ltdl-1
|
||||||
|
guile-1.6
|
||||||
|
guile-1.6-dev
|
||||||
|
guile-1.6-dev.install.alpha
|
||||||
|
guile-1.6-dev.install.i386
|
||||||
|
guile-1.6-doc
|
||||||
|
guile-1.6-libs
|
||||||
|
tmp
|
21
debian/changelog
vendored
Normal file
21
debian/changelog
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
guile-1.6 (1.6.1-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* handle non-qthreads architectures properly.
|
||||||
|
|
||||||
|
-- Rob Browning <rlb@defaultvalue.org> Mon, 16 Dec 2002 23:48:51 -0600
|
||||||
|
|
||||||
|
guile-1.6 (1.6.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* include libguilereadline-v-12.so.* too.
|
||||||
|
* add conflicts/replaces goops-doc to guile-1.6-doc.
|
||||||
|
|
||||||
|
-- Rob Browning <rlb@defaultvalue.org> Sat, 23 Nov 2002 17:12:33 -0600
|
||||||
|
|
||||||
|
guile-1.6 (1.6.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* trial pkg.
|
||||||
|
|
||||||
|
-- Rob Browning <rlb@defaultvalue.org> Mon, 11 Nov 2002 10:52:58 -0600
|
||||||
|
|
||||||
|
|
||||||
|
|
92
debian/control
vendored
Normal file
92
debian/control
vendored
Normal file
|
@ -0,0 +1,92 @@
|
||||||
|
Source: guile-1.6
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Rob Browning <rlb@defaultvalue.org>
|
||||||
|
Build-Depends: libtool, debhelper (>= 4), libncurses5-dev, libreadline4-dev
|
||||||
|
Build-Conflicts: ash (<= 0.3.8-31)
|
||||||
|
Standards-Version: 3.2.1.0
|
||||||
|
|
||||||
|
Package: guile-1.6
|
||||||
|
Section: interpreters
|
||||||
|
Architecture: any
|
||||||
|
Provides: guile
|
||||||
|
Conflicts: guile
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
Suggests: guile-1.6-doc
|
||||||
|
Description: The GNU extension language and Scheme interpreter
|
||||||
|
Guile is a Scheme implementation designed for real world programming,
|
||||||
|
providing a rich Unix interface, a module system, an interpreter, and
|
||||||
|
many extension languages. Guile can be used as a standard #! style
|
||||||
|
interpreter, via #!/usr/bin/guile, or as an extension language for
|
||||||
|
other applications via libguile.
|
||||||
|
|
||||||
|
Package: guile-1.6-dev
|
||||||
|
Section: devel
|
||||||
|
Architecture: any
|
||||||
|
Provides: libguile-dev
|
||||||
|
Conflicts: libguile-dev
|
||||||
|
Depends: ${shlibs:Depends}, guile-1.6, libc6-dev, libncurses5-dev, libreadline4-dev
|
||||||
|
Description: Development files for Guile 1.6
|
||||||
|
This package contains files needed for development using Guile 1.6.
|
||||||
|
.
|
||||||
|
Guile is a Scheme implementation designed for real world programming,
|
||||||
|
providing a rich Unix interface, a module system, an interpreter, and
|
||||||
|
many extension languages. Guile can be used as a standard #! style
|
||||||
|
interpreter, via #!/usr/bin/guile, or as an extension language for
|
||||||
|
other applications via libguile.
|
||||||
|
|
||||||
|
Package: guile-1.6-doc
|
||||||
|
Architecture: all
|
||||||
|
Section: doc
|
||||||
|
Conflicts: guile-doc, guile1.4-doc, goops-doc
|
||||||
|
Replaces: guile-doc, goops-doc
|
||||||
|
Provides: guile-doc
|
||||||
|
Description: Reference and tutorial documentation for Guile 1.6
|
||||||
|
This package contains the documentation for guile 1.6, including both
|
||||||
|
a reference manual (via "info guile") and a tutorial (via "info
|
||||||
|
guile-tut").
|
||||||
|
.
|
||||||
|
Guile is a Scheme implementation designed for real world programming,
|
||||||
|
providing a rich Unix interface, a module system, an interpreter, and
|
||||||
|
many extension languages. Guile can be used as a standard #! style
|
||||||
|
interpreter, via #!/usr/bin/guile, or as an extension language for
|
||||||
|
other applications via libguile.
|
||||||
|
|
||||||
|
Package: guile-1.6-libs
|
||||||
|
Section: libs
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
Description: Main Guile libraries
|
||||||
|
Guile is a Scheme implementation designed for real world programming,
|
||||||
|
providing a rich Unix interface, a module system, an interpreter, and
|
||||||
|
many extension languages. Guile can be used as a standard #! style
|
||||||
|
interpreter, via #!/usr/bin/guile, or as an extension language for
|
||||||
|
other applications via libguile.
|
||||||
|
|
||||||
|
Package: libqthreads-12
|
||||||
|
Section: libs
|
||||||
|
Architecture: i386 alpha
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
Description: QuickThreads library for Guile
|
||||||
|
Guile is a Scheme implementation designed for real world programming,
|
||||||
|
providing a rich Unix interface, a module system, an interpreter, and
|
||||||
|
many extension languages. Guile can be used as a standard #! style
|
||||||
|
interpreter, via #!/usr/bin/guile, or as an extension language for
|
||||||
|
other applications via libguile.
|
||||||
|
|
||||||
|
Package: libguile-ltdl-1
|
||||||
|
Section: libs
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
Description: Guile's patched version of libtool's libltdl
|
||||||
|
Guile is a Scheme implementation designed for real world programming,
|
||||||
|
providing a rich Unix interface, a module system, an interpreter, and
|
||||||
|
many extension languages. Guile can be used as a standard #! style
|
||||||
|
interpreter, via #!/usr/bin/guile, or as an extension language for
|
||||||
|
other applications via libguile.
|
||||||
|
|
||||||
|
Package: guile-1.6-slib
|
||||||
|
Section: devel
|
||||||
|
Architecture: all
|
||||||
|
Depends: guile-1.6, slib
|
||||||
|
Description: Guile SLIB support
|
||||||
|
Arranges for Guile to be able to use slib via (use-modules (ice-9 slib)).
|
31
debian/copyright
vendored
Normal file
31
debian/copyright
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
This is the Debian package of GNU Guile, downloaded from
|
||||||
|
ftp.gnu.org/pub/guile.
|
||||||
|
|
||||||
|
Guile is protected by the terms of the GNU General Public License
|
||||||
|
which you can find in /usr/share/common-licenses/GPL. Guile is also
|
||||||
|
covered by the following exception clause:
|
||||||
|
|
||||||
|
As a special exception, the Free Software Foundation gives
|
||||||
|
permission for additional uses of the text contained in its release
|
||||||
|
of GUILE.
|
||||||
|
|
||||||
|
The exception is that, if you link the GUILE library with other
|
||||||
|
files to produce an executable, this does not by itself cause the
|
||||||
|
resulting executable to be covered by the GNU General Public
|
||||||
|
License. Your use of that executable is in no way restricted on
|
||||||
|
account of linking the GUILE library code into it.
|
||||||
|
|
||||||
|
This exception does not however invalidate any other reasons why the
|
||||||
|
executable file might be covered by the GNU General Public License.
|
||||||
|
|
||||||
|
This exception applies only to the code released by the Free
|
||||||
|
Software Foundation under the name GUILE. If you copy code from
|
||||||
|
other Free Software Foundation releases into a copy of GUILE, as the
|
||||||
|
General Public License permits, the exception does not apply to the
|
||||||
|
code that you add in this way. To avoid misleading anyone as to the
|
||||||
|
status of such modified files, you must delete this exception notice
|
||||||
|
from them.
|
||||||
|
|
||||||
|
If you write modifications of your own for GUILE, it is your choice
|
||||||
|
whether to permit this exception to apply to your modifications. If
|
||||||
|
you do not wish that, delete this exception notice.
|
6
debian/guile-1.6-dev.install
vendored
Normal file
6
debian/guile-1.6-dev.install
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
debian/tmp/usr/include/*
|
||||||
|
debian/tmp/usr/lib/*.a
|
||||||
|
debian/tmp/usr/lib/*.so
|
||||||
|
debian/tmp/usr/lib/libguile-ltdl.la
|
||||||
|
debian/tmp/usr/lib/libguile.la
|
||||||
|
debian/tmp/usr/share/aclocal/guile.m4
|
3
debian/guile-1.6-doc.info
vendored
Normal file
3
debian/guile-1.6-doc.info
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
debian/tmp/usr/info/goops.*
|
||||||
|
debian/tmp/usr/info/guile-tut.*
|
||||||
|
debian/tmp/usr/info/guile.*
|
10
debian/guile-1.6-libs.install
vendored
Normal file
10
debian/guile-1.6-libs.install
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
debian/tmp/usr/lib/libguile.so.*
|
||||||
|
debian/tmp/usr/lib/libguile-srfi*.so.*
|
||||||
|
debian/tmp/usr/lib/libguile-srfi-srfi-13-14-v-1.la
|
||||||
|
debian/tmp/usr/lib/libguile-srfi-srfi-4-v-1.la
|
||||||
|
debian/tmp/usr/lib/libguilereadline-v-12.la
|
||||||
|
debian/tmp/usr/lib/libguilereadline-v-12.so.*
|
||||||
|
debian/tmp/usr/share/guile/1.6/guile-procedures.txt
|
||||||
|
debian/tmp/usr/share/guile/1.6/ice-9/*
|
||||||
|
debian/tmp/usr/share/guile/1.6/oop/*
|
||||||
|
debian/tmp/usr/share/guile/1.6/srfi/*
|
7
debian/guile-1.6-slib.postinst
vendored
Normal file
7
debian/guile-1.6-slib.postinst
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
/usr/bin/guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
|
||||||
|
|
||||||
|
#DEBHELPER#
|
8
debian/guile-1.6-slib.prerm
vendored
Normal file
8
debian/guile-1.6-slib.prerm
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -f /usr/share/guile/1.6/slib
|
||||||
|
rm -f /usr/share/guile/1.6/slibcat
|
||||||
|
|
||||||
|
#DEBHELPER#
|
5
debian/guile-1.6.install
vendored
Normal file
5
debian/guile-1.6.install
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
debian/tmp/usr/bin/guile
|
||||||
|
debian/tmp/usr/bin/guile-config
|
||||||
|
debian/tmp/usr/bin/guile-snarf
|
||||||
|
debian/tmp/usr/bin/guile-tools
|
||||||
|
debian/tmp/usr/share/guile/*/scripts/*
|
5
debian/guile-1.6.menu
vendored
Normal file
5
debian/guile-1.6.menu
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
?package(guile-1.6): \
|
||||||
|
needs="text" \
|
||||||
|
section="Apps/Programming" \
|
||||||
|
title="Guile 1.6"\
|
||||||
|
command="/usr/bin/guile"
|
4
debian/guile-1.6.undocumented
vendored
Normal file
4
debian/guile-1.6.undocumented
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
guile.1
|
||||||
|
guile-config.1
|
||||||
|
guile-snarf.1
|
||||||
|
guile-tools.1
|
1
debian/libguile-ltdl-1.install
vendored
Normal file
1
debian/libguile-ltdl-1.install
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
debian/tmp/usr/lib/libguile-ltdl.so.*
|
1
debian/libqthreads-12.install
vendored
Normal file
1
debian/libqthreads-12.install
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
debian/tmp/usr/lib/libqthreads.so.*
|
140
debian/rules
vendored
Executable file
140
debian/rules
vendored
Executable file
|
@ -0,0 +1,140 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
# debian/rules file for Guile.
|
||||||
|
#
|
||||||
|
# This file was derived from a public domain file, originally written
|
||||||
|
# by Joey Hess (from file included in examples in debhelper package).
|
||||||
|
#
|
||||||
|
# You can build any of the binary packages independantly, via
|
||||||
|
# binary-<package> targets.
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
# This has to be exported to make some magic below work.
|
||||||
|
export DH_OPTIONS
|
||||||
|
|
||||||
|
export DH_COMPAT := 4
|
||||||
|
|
||||||
|
# These are used for cross-compiling and for saving the configure script
|
||||||
|
# from having to guess our platform (since we know it already)
|
||||||
|
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||||
|
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||||
|
|
||||||
|
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
||||||
|
CFLAGS += -g
|
||||||
|
endif
|
||||||
|
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||||
|
INSTALL_PROGRAM += -s
|
||||||
|
endif
|
||||||
|
|
||||||
|
# If you change this please change the debian/control qthreads entry and the
|
||||||
|
# arch-specific .install targets below too.
|
||||||
|
WORKING_QTHREADS_ARCHS := i386 alpha
|
||||||
|
|
||||||
|
ifeq ($(findstring ${DEB_HOST_ARCH},${WORKING_QTHREADS_ARCHS}),${DEB_HOST_ARCH})
|
||||||
|
ENABLE_THREADS := --with-threads=yes
|
||||||
|
endif
|
||||||
|
|
||||||
|
QTHREADS_DOT_INSTALLS := \
|
||||||
|
$(foreach arch,${WORKING_QTHREADS_ARCHS},debian/guile-1.6-dev.install.${arch})
|
||||||
|
|
||||||
|
${QTHREADS_DOT_INSTALLS}: debian/guile-1.6-dev.install
|
||||||
|
echo ${DEBIAN_ARCHFILES}
|
||||||
|
cat $< > $@ && echo debian/tmp/usr/lib/libqthreads.la >> $@
|
||||||
|
|
||||||
|
configure_args = \
|
||||||
|
--host=$(DEB_HOST_GNU_TYPE) \
|
||||||
|
--build=$(DEB_BUILD_GNU_TYPE) \
|
||||||
|
--prefix=/usr \
|
||||||
|
--with-gnu-ld \
|
||||||
|
--enable-dynamic-linking \
|
||||||
|
--enable-maintainer-mode \
|
||||||
|
${ENABLE_THREADS}
|
||||||
|
|
||||||
|
config-stamp: configure ${QTHREADS_DOT_INSTALLS}
|
||||||
|
@if test -d CVS || test -d .svn; \
|
||||||
|
then \
|
||||||
|
echo ./configure --enable-maintainer-mode ${configure_args}; \
|
||||||
|
./configure --enable-maintainer-mode ${configure_args}; \
|
||||||
|
else \
|
||||||
|
echo ./configure ${configure_args}; \
|
||||||
|
./configure ${configure_args}; \
|
||||||
|
fi
|
||||||
|
touch config-stamp
|
||||||
|
|
||||||
|
build: build-stamp
|
||||||
|
build-stamp: config-stamp
|
||||||
|
dh_testdir
|
||||||
|
$(MAKE)
|
||||||
|
$(MAKE) check
|
||||||
|
touch build-stamp
|
||||||
|
|
||||||
|
clean:
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
rm -f config-stamp build-stamp ${QTHREADS_DOT_INSTALLS}
|
||||||
|
|
||||||
|
-$(MAKE) clean
|
||||||
|
-$(MAKE) distclean
|
||||||
|
|
||||||
|
dh_clean
|
||||||
|
|
||||||
|
install: DH_OPTIONS=
|
||||||
|
install: build
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
dh_clean -k
|
||||||
|
dh_installdirs
|
||||||
|
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
dh_install --list-missing
|
||||||
|
|
||||||
|
mkdir -p debian/guile-1.6-slib/usr/share/guile/1.6
|
||||||
|
cd debian/guile-1.6-slib/usr/share/guile/1.6 && ln -s ../../slib .
|
||||||
|
|
||||||
|
# This single target is used to build all the packages, all at once, or
|
||||||
|
# one at a time. So keep in mind: any options passed to commands here will
|
||||||
|
# affect _all_ packages. Anything you want to only affect one package
|
||||||
|
# should be put in another target, such as the install target.
|
||||||
|
binary-common:
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
dh_installchangelogs
|
||||||
|
dh_installdocs
|
||||||
|
dh_installexamples
|
||||||
|
dh_installmenu
|
||||||
|
# dh_installdebconf
|
||||||
|
# dh_installlogrotate
|
||||||
|
# dh_installemacsen
|
||||||
|
# dh_installpam
|
||||||
|
# dh_installmime
|
||||||
|
# dh_installinit
|
||||||
|
dh_installman
|
||||||
|
# dh_installcron
|
||||||
|
dh_installinfo
|
||||||
|
dh_undocumented
|
||||||
|
dh_strip
|
||||||
|
dh_link
|
||||||
|
dh_compress
|
||||||
|
dh_fixperms
|
||||||
|
dh_makeshlibs
|
||||||
|
dh_installdeb
|
||||||
|
# dh_perl
|
||||||
|
dh_shlibdeps
|
||||||
|
dh_gencontrol
|
||||||
|
dh_md5sums
|
||||||
|
dh_builddeb
|
||||||
|
|
||||||
|
# Build architecture independant packages using the common target.
|
||||||
|
binary-indep: build install
|
||||||
|
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
|
||||||
|
|
||||||
|
# Build architecture dependant packages using the common target.
|
||||||
|
binary-arch: build install
|
||||||
|
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
|
||||||
|
|
||||||
|
# Any other binary targets build just one binary package at a time.
|
||||||
|
binary-%: build install
|
||||||
|
make -f debian/rules binary-common DH_OPTIONS=-p$*
|
||||||
|
|
||||||
|
binary: binary-indep binary-arch
|
||||||
|
.PHONY: build clean binary-indep binary-arch binary install
|
Loading…
Add table
Add a link
Reference in a new issue