debian/ 0000755 0000000 0000000 00000000000 11531567171 007175 5 ustar debian/rules 0000755 0000000 0000000 00000006424 11531203677 010261 0 ustar #!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DEB_GCC_NO_O3=1
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
configure: configure-stamp configure32-stamp
configure-stamp:
rm -rf build
mkdir -p build
cd build && ../configure --prefix=/usr --enable-decimal-float=yes --with-cpu=power7
touch $@
configure32-stamp:
rm -rf build32
mkdir -p build32
cd build32 && CC="gcc -m32" ../configure --prefix=/usr --enable-decimal-float=yes
touch $@
build: build-stamp build32-stamp
build-stamp: configure-stamp
$(MAKE) -C build
-$(MAKE) -k -C build check
touch $@
build32-stamp: configure32-stamp
$(MAKE) -C build32
-$(MAKE) -k -C build32 check
touch $@
clean:
dh_testdir
dh_testroot
rm -f *-stamp
rm -rf build build32
dh_clean
install: install-stamp
install-stamp:
dh_testdir
dh_testroot
dh_clean -k
rm -rf $(d)
dh_installdirs -plibdfp-dev \
usr/lib
$(MAKE) -C build install install_root=$(CURDIR)/debian/libdfp1
mv debian/libdfp1/usr/lib/libdfp.so debian/libdfp1/usr/lib/libdfp.a \
debian/libdfp-dev/usr/lib/
mv debian/libdfp1/usr/include debian/libdfp-dev/usr/
dh_installdirs -plib32dfp-dev \
usr/lib32
$(MAKE) -C build32 install install_root=$(CURDIR)/debian/lib32dfp1
mv debian/lib32dfp1/usr/lib debian/lib32dfp1/usr/lib32
rm -rf debian/lib32dfp1/usr/include
mv debian/lib32dfp1/usr/lib32/libdfp.so debian/lib32dfp1/usr/lib32/libdfp.a \
debian/lib32dfp-dev/usr/lib32/
binary-indep: build install
# nothing to do
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs -plibdfp1 -plib32dfp1 \
README.user
dh_installdocs -plib32dfp1
mkdir -p debian/libdfp-dev/usr/share/doc/libdfp1
cp -p README.developer debian/libdfp-dev/usr/share/doc/libdfp1/
ln -sf libdfp1 debian/libdfp-dev/usr/share/doc/libdfp-dev
mkdir -p debian/libdfp1-dbg/usr/share/doc
ln -sf libdfp1 debian/libdfp1-dbg/usr/share/doc/libdfp1-dbg
mkdir -p debian/lib32dfp-dev/usr/share/doc/lib32dfp1
cp -p README.developer debian/lib32dfp-dev/usr/share/doc/lib32dfp1/
ln -sf lib32dfp1 debian/lib32dfp-dev/usr/share/doc/lib32dfp-dev
mkdir -p debian/lib32dfp1-dbg/usr/share/doc
ln -sf lib32dfp1 debian/lib32dfp1-dbg/usr/share/doc/lib32dfp1-dbg
dh_installchangelogs -plibdfp1 -plib32dfp1
dh_installexamples -s
dh_fixperms -s
dh_strip -plibdfp1 -plibdfp-dev --dbg-package=libdfp1-dbg
dh_strip -plib32dfp1 -plib32dfp-dev --dbg-package=lib32dfp1-dbg
dh_compress -s
dh_makeshlibs -s
dh_shlibdeps -s
ifneq ($(build32),)
-ls -l $(d_rld)/usr/share/doc/$(p_rl)
dh_installdocs -p$(p_rl32) \
USAGE debian/inputrc.arrows
dh_installchangelogs -p$(p_rl32) CHANGES
ln -sf $(p_rl32) $(d_rld32)/usr/share/doc/$(p_rld32)
dh_compress -p$(p_rl32) -p$(p_rld32)
dh_fixperms -p$(p_rl32) -p$(p_rld32)
dh_strip --dbg-package=$(p_rlg) -p$(p_rl32) -p$(p_rld32)
dh_makeshlibs -p$(p_rl32)
-dh_shlibdeps -p$(p_rl32) -p$(p_rld32) \
-L $(p_rl32) -l $(d_rl32)/lib
-ls -l $(d_rld)/usr/share/doc/$(p_rl)
endif
dh_installdeb -s
dh_gencontrol -s
dh_md5sums -s
dh_builddeb -s
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean
debian/patches/ 0000755 0000000 0000000 00000000000 11531205546 010617 5 ustar debian/patches/series 0000644 0000000 0000000 00000000043 11531205722 012025 0 ustar check-tools.diff
ld-as-needed.diff
debian/patches/check-tools.diff 0000644 0000000 0000000 00000004542 11531205616 013667 0 ustar --- libdfp-1.0.7.orig/Makefile.gdb
+++ libdfp-1.0.7/Makefile.gdb
@@ -4,8 +4,8 @@
$(top_builddir)/debug-test.conf: Makefile
@echo "Generating common debug configuration file $@."
@echo 'CC="$(CC)"' > $@
- @echo 'DBG=$(dir $(firstword $(CC)))gdb$(cc_msize)' >> $@
- @echo 'OBJDUMP=$(dir $(firstword $(CC)))objdump' >> $@
+ @echo 'DBG=gdb$(cc_msize)' >> $@
+ @echo 'OBJDUMP=objdump' >> $@
@echo 'GLIBC_BUILD=$(glibc_builddir)' >> $@
@echo 'GLIBC_HEADERS=$(glibc_headers)' >> $@
@echo 'LIBDFP_BUILD=$(top_builddir)/' >> $@
@@ -40,14 +40,14 @@ else
endif
@echo '' >> $@
@echo -n 'add-symbol-file $(top_builddir)/$(patsubst %.gdb,%,$@) 0x' >> $@
- @echo `$(dir $(firstword $(CC)))objdump -s --section=".text" $(top_builddir)/$(patsubst %.gdb,%,$@) | grep Contents -A 1 | tail -n 1 | awk -F' ' '{printf $$1}'` >> $@
+ @echo `objdump -s --section=".text" $(top_builddir)/$(patsubst %.gdb,%,$@) | grep Contents -A 1 | tail -n 1 | awk -F' ' '{printf $$1}'` >> $@
@echo '' >> $@
@echo 'set $$libc = 0x' >> $@
@echo -n 'set $$start = 0x' >> $@
ifneq ($(glibc_builddir),)
- @echo `$(dir $(firstword $(CC)))objdump -s --section=".text" $(glibc_builddir)/libc.so | grep Contents -A 1 | tail -n 1 | awk -F' ' '{printf $$1}'` >> $@
+ @echo `objdump -s --section=".text" $(glibc_builddir)/libc.so | grep Contents -A 1 | tail -n 1 | awk -F' ' '{printf $$1}'` >> $@
else
- @$(dir $(firstword $(CC)))objdump -s --section=".text" `LD_LIBRARY_PATH=./:$$LD_LIBRARY_PATH ldd $(patsubst %.gdb,%,$@) | grep libc.so | awk -F' ' '{print $$3}'` | grep Contents -A 1 | tail -n 1 | awk -F' ' '{printf $$1}' >> $@
+ @objdump -s --section=".text" `LD_LIBRARY_PATH=./:$$LD_LIBRARY_PATH ldd $(patsubst %.gdb,%,$@) | grep libc.so | awk -F' ' '{print $$3}'` | grep Contents -A 1 | tail -n 1 | awk -F' ' '{printf $$1}' >> $@
@echo >> $@
endif
@echo 'set $$addr = $$libc + $$start' >> $@
@@ -61,7 +61,7 @@ endif
@echo '' >> $@
@echo 'set $$libdfp = 0x' >> $@
@echo -n 'set $$start = 0x' >> $@
- @echo `$(dir $(firstword $(CC)))objdump -s --section=".text" $(top_builddir)/libdfp.so.1 | grep Contents -A 1 | tail -n 1 | awk -F' ' '{printf $$1}'` >> $@
+ @echo `objdump -s --section=".text" $(top_builddir)/libdfp.so.1 | grep Contents -A 1 | tail -n 1 | awk -F' ' '{printf $$1}'` >> $@
@echo 'set $$addr = $$libdfp + $$start' >> $@
@echo 'add-symbol-file $(top_builddir)/libdfp.so.1 $$addr' >> $@
@echo
debian/patches/ld-as-needed.diff 0000644 0000000 0000000 00000001131 11531205636 013667 0 ustar --- libdfp-1.0.7.orig/Makefile.in
+++ libdfp-1.0.7/Makefile.in
@@ -309,7 +309,7 @@ libdfp_tests = test-printf test-param te
# Explicitly link against the uninstalled GLIBC and the Libdfp.so.1 we just
# built.
$(libdfp_tests): %:%.o $(top_builddir)/$(SHARED_SONAME_LIB)
- $(CC) $(CFLAGS) $(mzarch) $(GLIBC_LIBS) -L$(top_builddir)/ -ldfp $(top_builddir)/$(addsuffix .o,$@) -o $@
+ $(CC) $(CFLAGS) $(mzarch) $(top_builddir)/$(addsuffix .o,$@) -o $@ $(GLIBC_LIBS) -L$(top_builddir)/ -ldfp
@echo
LIBRARY_PATH = $(glibc_builddir)/:$(glibc_builddir)/math:$(glibc_builddir)/elf:$(glibc_builddir)/nptl
debian/libdfp-dev.install 0000644 0000000 0000000 00000000144 11531163620 012567 0 ustar usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/pkgconfig/*
usr/lib/*.la
usr/share/pkgconfig/*
debian/copyright 0000644 0000000 0000000 00000014165 11531567136 011140 0 ustar Format: http://dep.debian.net/deps/dep5
Upstream-Name: libdfp
Source: http://www.eglibc.org/svn/libdfp/trunk@12939
Files: *
Copyright: Copyright (C) 2006 IBM Corporation.
Copyright (C) 2009 Free Software Foundation.
License: LGPL-2.1
The Decimal Floating Point C Library is free software; you can
redistribute it and/or modify it under the terms of the GNU Lesser
General Public License version 2.1.
.
The Decimal Floating Point C Library is distributed in the hope that
it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
the GNU Lesser General Public License version 2.1 for more details.
.
You should have received a copy of the GNU Lesser General Public
License version 2.1 along with the Decimal Floating Point C Library;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA.
.
On Debian systems, the complete text of the GNU Lesser General Public
License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
Files: libdecnumber/*
Copyright: Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
License: GPL-3+
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
.
Under Section 7 of GPL version 3, you are granted additional
permissions described in the GCC Runtime Library Exception, version
3.1, as published by the Free Software Foundation.
.
On Debian systems, the complete text of the GNU General Public
License version 3 can be found in "/usr/share/common-licenses/GPL-3".
.
.
GCC RUNTIME LIBRARY EXCEPTION
.
Version 3.1, 31 March 2009
.
Copyright (C) 2009 Free Software Foundation, Inc.
.
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
.
This GCC Runtime Library Exception ("Exception") is an additional
permission under section 7 of the GNU General Public License, version
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
bears a notice placed by the copyright holder of the file stating that
the file is governed by GPLv3 along with this Exception.
.
When you use GCC to compile a program, GCC may combine portions of
certain GCC header files and runtime libraries with the compiled
program. The purpose of this Exception is to allow compilation of
non-GPL (including proprietary) programs to use, in this way, the
header files and runtime libraries covered by this Exception.
.
0. Definitions.
.
A file is an "Independent Module" if it either requires the Runtime
Library for execution after a Compilation Process, or makes use of an
interface provided by the Runtime Library, but is not otherwise based
on the Runtime Library.
.
"GCC" means a version of the GNU Compiler Collection, with or without
modifications, governed by version 3 (or a specified later version) of
the GNU General Public License (GPL) with the option of using any
subsequent versions published by the FSF.
.
"GPL-compatible Software" is software whose conditions of propagation,
modification and use would permit combination with GCC in accord with
the license of GCC.
.
"Target Code" refers to output from any compiler for a real or virtual
target processor architecture, in executable form or suitable for
input to an assembler, loader, linker and/or execution
phase. Notwithstanding that, Target Code does not include data in any
format that is used as a compiler intermediate representation, or used
for producing a compiler intermediate representation.
.
The "Compilation Process" transforms code entirely represented in
non-intermediate languages designed for human-written code, and/or in
Java Virtual Machine byte code, into Target Code. Thus, for example,
use of source code generators and preprocessors need not be considered
part of the Compilation Process, since the Compilation Process can be
understood as starting with the output of the generators or
preprocessors.
.
A Compilation Process is "Eligible" if it is done using GCC, alone or
with other GPL-compatible software, or if it is done without using any
work based on GCC. For example, using non-GPL-compatible Software to
optimize any GCC intermediate representations would not qualify as an
Eligible Compilation Process.
.
1. Grant of Additional Permission.
.
You have permission to propagate a work of Target Code formed by
combining the Runtime Library with Independent Modules, even if such
propagation would otherwise violate the terms of GPLv3, provided that
all Target Code was generated by Eligible Compilation Processes. You
may then convey such a combination under terms of your choice,
consistent with the licensing of the Independent Modules.
.
2. No Weakening of GCC Copyleft.
.
The availability of this Exception does not imply any general
presumption that third-party software is unaffected by the copyleft
requirements of the license of GCC.
Files: debian/*
Copyright: 2011 Matthias Klose
License: LGPL-2.1
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
debian/libdfp1.dirs 0000644 0000000 0000000 00000000010 11531163620 011357 0 ustar usr/lib
debian/libdfp-dbg/ 0000755 0000000 0000000 00000000000 11531177043 011162 5 ustar debian/libdfp-dbg/usr/ 0000755 0000000 0000000 00000000000 11531177043 011773 5 ustar debian/libdfp-dbg/usr/share/ 0000755 0000000 0000000 00000000000 11531177043 013075 5 ustar debian/libdfp-dbg/usr/share/doc/ 0000755 0000000 0000000 00000000000 11531177043 013642 5 ustar debian/README.Debian 0000644 0000000 0000000 00000000260 11531163620 011223 0 ustar libdfp for Debian
-----------------
-- Matthias Klose Wed, 23 Feb 2011 10:55:06 +0000
debian/compat 0000644 0000000 0000000 00000000002 11531165232 010363 0 ustar 5
debian/libdfp1.install 0000644 0000000 0000000 00000000022 11531163620 012067 0 ustar usr/lib/lib*.so.*
debian/changelog 0000644 0000000 0000000 00000000452 11531567171 011050 0 ustar libdfp (1.0.7-0ubuntu2) natty; urgency=low
* Unmangle copyright file.
-- Matthias Klose Thu, 24 Feb 2011 23:48:49 +0100
libdfp (1.0.7-0ubuntu1) natty; urgency=low
* Initial release, based on r12799.
-- Matthias Klose Wed, 23 Feb 2011 11:55:06 +0100
debian/source/ 0000755 0000000 0000000 00000000000 11531163620 010464 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11531163620 011672 0 ustar 3.0 (quilt)
debian/control 0000644 0000000 0000000 00000006247 11531200152 010570 0 ustar Source: libdfp
Priority: extra
Maintainer: Matthias Klose
Build-Depends: debhelper (>= 7.0.50~)
Standards-Version: 3.9.1
Section: libs
Package: libdfp-dev
Section: libdevel
Architecture: ppc64
Depends: libdfp1 (= ${binary:Version}), ${misc:Depends}
Suggests: libdfp1-dbg
Description: decimal floating point library (runtime)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: libdfp1
Section: libs
Architecture: ppc64
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: decimal floating point library (development files)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: libdfp1-dbg
Section: debug
Architecture: ppc64
Depends: libdfp1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: decimal floating point library (debug information)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: lib32dfp-dev
Section: libdevel
Architecture: ppc64
Depends: lib32dfp1 (= ${binary:Version}), ${misc:Depends}
Suggests: lib32dfp1-dbg
Description: decimal floating point library (32bit runtime)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: lib32dfp1
Section: libs
Architecture: ppc64
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: decimal floating point library (32bit development files)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: lib32dfp1-dbg
Section: debug
Architecture: ppc64
Depends: lib32dfp1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: decimal floating point library (32bit debug information)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
debian/docs 0000644 0000000 0000000 00000000100 11531163620 010026 0 ustar COPYING.txt
README.developer
README.maintainer
README.user
TODO
debian/libdfp-dev.dirs 0000644 0000000 0000000 00000000024 11531163620 012057 0 ustar usr/lib
usr/include