Commit df4466aa authored by J.H.M. Dassen (Ray)'s avatar J.H.M. Dassen (Ray)

Updated debianisation

parent b99589ce
gnumeric (1.2.8-2) unstable; urgency=medium
* [debian/control] Traded in gnumeric-doc Conflicts: gnumeric (<<
${Upstream-Version}) for gnumeric-doc Suggests: gnumeric (>=
${Upstream-Version}) to break a dependency loop that forced the removal
when upgrading. (Closes: #238637).
-- J.H.M. Dassen (Ray) <jdassen@debian.org> Thu, 18 Mar 2004 18:10:03 +0100
gnumeric (1.2.8-1) unstable; urgency=low
* New upstream bugfix release.
-- J.H.M. Dassen (Ray) <jdassen@debian.org> Wed, 17 Mar 2004 07:55:22 +0100
gnumeric (1.2.6-3) unstable; urgency=low
* [src/parse-util.c] Updated from CVS to fix a pretty-print (and thus
saving) problem with ranges like $B$1:$B1. (Closes: #235120)
* [src/commands.c] Fixed incorrect string. (Closes: #233089)
* [po/ChangeLog, po/cs.po, po/en_CA.po, po/es.po, po/ga.po, po/nl.po,
po/pt_BR.po, po/sv.po] Updates from CVS.
* [debian/gnumeric.menu] Quoted needs and section values.
-- J.H.M. Dassen (Ray) <jdassen@debian.org> Thu, 4 Mar 2004 18:47:56 +0100
gnumeric (1.2.6-2) unstable; urgency=low
* [debian/control] Bumped yelp build dependency to ensure the HTML
documentation links to the DocBook stylesheet images in their current
location under /usr/share/xml rather than /usr/share/sgml .
* [debian/control, debian/rules, debian/gnumeric.files,
debian/gnumeric-common.files] Introduced a gnumeric-common package for
architecture independent data. (Closes: #233367)
* [po/ChangeLog, po/el.po, po/hr.po, po/pt_BR.po] Updates from CVS.
-- J.H.M. Dassen (Ray) <jdassen@debian.org> Wed, 18 Feb 2004 20:42:59 +0100
gnumeric (1.2.6-1) unstable; urgency=medium
* New upstream bugfix release, bringing roundtrip saving of macros in xls.
* [debian/rules] Don't configure --enable-iso-c; with gcc 2.95 it breaks the
build. (Closes: #218710)
* [debian/rules] No longer change the DTD reference to a local file as
scrollkeeper 0.3.13 and newer default to not using the network to retrieve
required DTDs.
* [debian/rules] Update the link for the docbook images .
-- J.H.M. Dassen (Ray) <jdassen@debian.org> Fri, 6 Feb 2004 15:33:49 +0100
gnumeric (1.2.5-2) unstable; urgency=high
* [debian/rules] Touch up the generated HTML documentation so references and
images work. (Closes: #227524)
-- J.H.M. Dassen (Ray) <jdassen@debian.org> Tue, 20 Jan 2004 15:16:48 +0100
gnumeric (1.2.5-1) unstable; urgency=medium
* New upstream release.
Includes some images that were previously missing from the documentation
and fixes some file references in the documentation. (Closes: #227524)
* Put documentation under /usr/share/gnome/help so images work; symlink
to it from /usr/share/gnumeric/*/... so that help buttons in dialogs work.
(Closes: #227630)
* No longer build with bonobo, after consulting upstream. (Closes: #115828)
* [debian/control] Dropped bonobo build dependencies.
* [debian/rules, debian/gnumeric.postinst, debian/gnumeric.prerm] Use
dh_gconf for schema (de)registration.
* [debian/control] Bumped debhelper build dependency so we have a working
dh_gconf; use ${misc:Depends}. Replaced intltool build dependency by
libxml-parser-perl one.
-- J.H.M. Dassen (Ray) <jdassen@debian.org> Mon, 19 Jan 2004 08:24:53 +0100
gnumeric (1.2.4-4) unstable; urgency=medium
* [src/dialogs/dialog-printer-setup.c, src/dialogs/dialog-stf-format-page.c]
#include <gtk/gtkmenuitem.h> to get a proper declaration of
gtk_menu_item_new_with_label and thereby fix crashes on 64-bit platforms.
(Closes: #226382)
* [debian/control] Versioned the intltool build dependency. (Closes: #226194)
-- J.H.M. Dassen (Ray) <jdassen@debian.org> Tue, 6 Jan 2004 19:03:39 +0100
gnumeric (1.2.4-3) unstable; urgency=medium
* [debian/rules] Fixed gnome-logo-icon.png link.
......
......@@ -2,15 +2,14 @@ Source: gnumeric
Section: math
Priority: optional
Maintainer: J.H.M. Dassen (Ray) <jdassen@debian.org>
Build-Depends: debhelper (>= 3.0), dh-buildinfo, gettext, bison, flex,
scrollkeeper, intltool, yelp,
Build-Depends: debhelper (>= 4.1.87), dh-buildinfo, gettext, bison, flex,
scrollkeeper, yelp (>= 2.4.2-4), libxml-parser-perl,
libglib2.0-dev (>= 2.0.6-1), libgsf-1-dev (>= 1.8.2-3),
libgtk2.0-dev (>= 2.2.2-1), libxml2-dev (>= 2.4.23-2),
libglade2-dev (>= 2.0.0-2), libgnomecanvas2-dev (>= 2.0.2-1),
libgtk2.0-dev (>= 2.2.0-1),
libgnome2-dev (>= 2.4.0-2), libgnomeui-dev (>= 2.4.0-2),
libgnomeprint2.2-dev (>= 2.4.2), libgnomeprintui2.2-dev (>= 2.4.2),
libbonobo2-dev (>= 2.4.0), libbonoboui2-dev (>= 2.4.0),
libgsf-gnome-1-dev (>= 1.8.2-3),
libart-2.0-dev (>= 2.3.11-1),
python2.3-dev, python-gtk2-dev,
......@@ -19,7 +18,7 @@ Standards-Version: 3.6.1
Package: gnumeric
Architecture: any
Depends: ${shlibs:Depends}, gsfonts, gconf2
Depends: ${shlibs:Depends}, gsfonts, gnumeric-common (= ${Source-Version}), ${misc:Depends}
Suggests: gnumeric-doc (>= ${Upstream-Version}), gnumeric-plugins-extra
Conflicts: gnumeric1.0, gnumeric1.0-doc, gnumeric-doc (<< ${Upstream-Version})
Replaces: zh-trans (<< 0.8-1), gnumeric1.0
......@@ -54,11 +53,20 @@ Description: A GNOME spreadsheet application
is a user-friendly set of applications and desktop tools to be used in
conjunction with a window manager for the X Window System.
Package: gnumeric-common
Architecture: all
Replaces: gnumeric (<= 1.2.6-1)
Depends: gnumeric
Description: Common files for Gnumeric, the GNOME spreadsheet application
This package contains architecture-independent data files needed by the
"gnumeric" package.
Package: gnumeric-doc
Architecture: all
Section: doc
Recommends: yelp, gnome-desktop-data
Conflicts: gnumeric1.0-doc, gnumeric (<< ${Upstream-Version})
Suggests: gnumeric (>= ${Upstream-Version})
Conflicts: gnumeric1.0-doc
Replaces: gnumeric (<< 1.1.17-2), gnumeric1.0-doc
Description: Documentation for Gnumeric, the GNOME spreadsheet application
The `Gnumeric's User Manual' in Gnome Help (DocBook XML) format.
......
/usr/share/applications/gnumeric.desktop
/usr/share/gnumeric/*/autoformat-templates/*/*.xml
/usr/share/gnumeric/*/autoformat-templates/*/.category
/usr/share/gnumeric/*/glade/*.glade
/usr/share/gnumeric/*/glade/*.png
/usr/share/gnumeric/*/gnome*/ui/*.xml
/usr/share/gnumeric/*/idl/*.idl
/usr/share/gnumeric/*/templates/*.gnumeric
/usr/share/locale/*/LC_MESSAGES/gnumeric.mo
/usr/share/mc/templates/gnumeric.desktop
/usr/share/mime-info/gnumeric.*
/usr/share/pixmaps/*
/usr/share/gnumeric/*/share/gnome/help
/usr/share/gnome/help/
/usr/share/omf/*/*.omf
/usr/lib/gnumeric/*-bonobo/plugins/python/*
/usr/lib/gnumeric/*-bonobo/plugins/python-loader/*
/usr/lib/gnumeric/*-bonobo/plugins/py-func/*
/usr/lib/gnumeric/*-bonobo/plugins/gnome-glossary/*
/usr/share/gnumeric/*-bonobo/python
/usr/lib/gnumeric/*-bonobo/plugins/gdaif/*
/usr/lib/gnumeric/*-bonobo/plugins/gnome-db/*
/usr/lib/gnumeric/*/plugins/python/*
/usr/lib/gnumeric/*/plugins/python-loader/*
/usr/lib/gnumeric/*/plugins/py-func/*
/usr/lib/gnumeric/*/plugins/gnome-glossary/*
/usr/share/gnumeric/*/python
/usr/lib/gnumeric/*/plugins/gdaif/*
/usr/lib/gnumeric/*/plugins/gnome-db/*
/etc/gconf/schemas/*
/usr/bin/gnumeric*
/usr/bin/ssconvert
/usr/lib/bonobo/servers/GNOME_Gnumeric.server
/usr/lib/gnumeric/*/plugins/*/*.glade
/usr/lib/gnumeric/*/plugins/*/*.la
/usr/lib/gnumeric/*/plugins/*/*.so
/usr/lib/gnumeric/*/plugins/*/*.xml
/usr/lib/gnumeric/*/plugins/*/*.glade
/usr/share/applications/gnumeric.desktop
/usr/share/gnumeric/*/autoformat-templates/*/*.xml
/usr/share/gnumeric/*/autoformat-templates/*/.category
/usr/share/gnumeric/*/glade/*.glade
/usr/share/gnumeric/*/glade/*.png
/usr/share/gnumeric/*/gnome*/ui/*.xml
/usr/share/gnumeric/*/idl/*.idl
/usr/share/gnumeric/*/templates/*.gnumeric
/usr/share/locale/*/LC_MESSAGES/gnumeric.mo
/usr/share/mc/templates/gnumeric.desktop
/usr/share/mime-info/gnumeric.*
/usr/share/pixmaps/*
?package(gnumeric):needs=X11 section=Apps/Math hints="Gnome,Spreadsheets" \
?package(gnumeric):needs="X11" section="Apps/Math" hints="Gnome,Spreadsheets" \
title="gnumeric" command="/usr/bin/gnumeric" \
icon="/usr/share/pixmaps/gnome-gnumeric.xpm"
#! /bin/sh
set -e
case "$1" in
configure)
for schema in /etc/gconf/schemas/gnumeric-*.schemas ; do
echo -n "Registering schema `basename $schema`... " ; \
HOME=/root \
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
gconftool-2 --makefile-install-rule $schema > /dev/null;
echo "done"
done
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
#! /bin/sh
set -e
#DEBHELPER#
exit 0
......@@ -16,7 +16,7 @@ endif
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=3
export DH_COMPAT=4
# Try to preserve timestamps as much as possible
export INSTALL=/usr/bin/install -p
......@@ -39,12 +39,12 @@ features:=
features+= --with-python=python2.3
# Bonobo allows us to use parts of other applications as components via
# CORBA, and allows us to work as a component for other applications.
#
# Once we get Gtk+ 2.4, be aware of
# http://bugzilla.gnome.org/show_bug.cgi?id=117579
# CORBA, and was supposed to allow us to work as a component for other
# applications. However, that promise hasn't really been realised and
# according to Morten Welinder "drop bonobo from your build. it's
# pointless."
features+= --with-bonobo
features+= --without-bonobo
# Plugin to access databases through the GDA framework.
......@@ -67,7 +67,6 @@ confflags := --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var/lib \
--libexecdir=/usr/bin \
--enable-compile-warnings=minimum \
--enable-iso-c \
$(features)
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
......@@ -99,6 +98,10 @@ build-stamp:
cd build && $(MAKE)
cd doc/C && yelp-pregenerate gnumeric.xml
# Touch up the pregenerated HTML so that yelp will know how to
# follow references and how to find images.
cd doc/C && perl -spi -e 's|"ghelp:gnumeric.xml|"ghelp:gnumeric|g;' \
-e 's|<img src="file://./|<img src="|g' gnumeric.html
touch build-stamp
......@@ -126,7 +129,8 @@ clean:
-rm -f po/*.gmo
# Clean out files generated as part of the documentation generation
-rm -f doc/C/index.html doc/C/gnumeric.html omf-install/gnumeric-C.omf
-rm -f doc/C/index.html doc/C/gnumeric.html doc/C/ld-id*.html \
omf-install/gnumeric-C.omf
-rm -rf doc/C/gnumeric doc/C/DBTOHTML_OUTPUT_DIR*
-rm -rf aclocal.m4 config.h.in stamp-h.in autom4te.cache \
......@@ -152,22 +156,21 @@ install: build
libexecdir=`pwd`/../debian/tmp/usr/bin
# Copy the prerendered manual
cp doc/C/gnumeric.html `pwd`/debian/tmp/usr/share/gnumeric/*-bonobo/share/gnome/help/gnumeric/C
cp doc/C/gnumeric.html `pwd`/debian/tmp/usr/share/gnome/help/gnumeric/C/
# Ensure that the prerendered manual won't be considered out of date
sleep 1 && touch `pwd`/debian/tmp/usr/share/gnome/help/gnumeric/C/gnumeric.html
# Plugins are not intended as stand-alone executables
find `pwd`/debian/tmp/usr/lib/gnumeric/*/plugins -type f -print0 | xargs -0 chmod a-x
# Change DTD reference from a URL to a local path for document
# registration
find `pwd`/debian/tmp -type f -name '*.xml' -exec \
perl -i -pe 's,http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd,/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd,' {} \;
# Remove unwanted files: static libraries and documentation sources
find `pwd`/debian/tmp/usr/ -name '*.a' -print0 | xargs -0 rm -f
find `pwd`/debian/tmp/ -name '*.sgml' -print0 | xargs -0 rm -f
# Bonobo-only files
rm -rf debian/tmp/usr/lib/bonobo
# We no longer remove the libtool files for plugins as we did for
# 1.0.x: 1.1.x actually needs them for the plugins to work.
# 1.0.x: 1.2.x actually needs them for the plugins to work.
#find `pwd`/debian/gnumeric/usr/lib/gnumeric/*/plugins -name '*.la' -print0 | xargs -0 rm -f
# Remove scrollkeeper stuff as well, as it should be done at package
......@@ -179,13 +182,22 @@ install: build
dh_install --sourcedir=debian/tmp --list-missing
dh_link usr/share/gnumeric/$(upstreamversion)-bonobo/idl/GNOME_Gnumeric.idl usr/share/idl/GNOME_Gnumeric.idl
# gnumeric and gnumeric-common are always installed together; they
# can share a doc dir.
# (Note that's not the case with gnumeric-doc as it can be installed
# without having gnumeric installed)
dh_link -pgnumeric-common usr/share/doc/gnumeric/ usr/share/doc/gnumeric-common
dh_link usr/share/gnumeric/$(upstreamversion)/idl/GNOME_Gnumeric.idl usr/share/idl/GNOME_Gnumeric.idl
dh_link -pgnumeric-doc usr/share/pixmaps/gnome-logo-icon.png usr/share/gnome/help/gnumeric/C/stylesheet/gnome-logo-icon.png
# For the callout pngs
dh_link -pgnumeric-doc usr/share/xml/docbook/stylesheet/nwalsh/images/ usr/share/gnome/help/gnumeric/C/images
dh_link -pgnumeric-doc usr/share/pixmaps/gnome-logo-icon.png usr/share/gnumeric/$(upstreamversion)-bonobo/share/gnome/help/gnumeric/C/stylesheet/gnome-logo-icon.png
dh_link -pgnumeric-doc usr/share/gnumeric/$(upstreamversion)-bonobo/share/gnome/help/gnumeric/C/gnumeric.html usr/share/doc/gnumeric-doc/gnumeric.html
# Link to fix the Help buttons in dialogs
dh_link -pgnumeric-doc usr/share/gnome/help/gnumeric usr/share/gnumeric/$(upstreamversion)/gnome/help/gnumeric
# Remove a broken/superfluous link
rm -f debian/tmp/usr/share/gnumeric/*/gnome
dh_link -pgnumeric-doc usr/share/gnome/help/gnumeric/C/gnumeric.html usr/share/doc/gnumeric-doc/gnumeric.html
# Remove files from the main package that belong to a more
# specialist package
......@@ -218,12 +230,13 @@ binary-indep: build install
dh_installinfo -i
# dh_undocumented -i
dh_installchangelogs ChangeLog -i
dh_gconf -i
dh_link -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
# dh_perl -i
dh_gencontrol -i -- -VUpstream-Version=$(upstreamversion)
dh_gencontrol -v -i -- -VUpstream-Version=$(upstreamversion)
dh_md5sums -i
dh_builddeb -i
......@@ -245,6 +258,7 @@ binary-arch: build install
dh_installinfo -a
# dh_undocumented -a
dh_installchangelogs ChangeLog -a
dh_gconf -a
dh_strip -a
dh_link -a
dh_compress -a
......@@ -256,9 +270,9 @@ binary-arch: build install
dh_installdeb -a
# dh_perl -a
dh_shlibdeps -a
dh_shlibdeps -v -a
dh_gencontrol -a -- -VUpstream-Version=$(upstreamversion)
dh_gencontrol -v -a -- -VUpstream-Version=$(upstreamversion)
dh_md5sums -a
dh_builddeb -a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment