From 39c223339c063a6060b64c2e03b10b8578517dd8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 16 Feb 2012 16:11:00 -0600 Subject: Add libcaldav and libcarddav packaging files to Ubuntu and Debian --- .../dependencies/libcarddav/debian/README.Debian | 45 +++++++++ .../dependencies/libcarddav/debian/README.fallback | 23 +++++ .../lenny/dependencies/libcarddav/debian/changelog | 17 ++++ debian/lenny/dependencies/libcarddav/debian/compat | 1 + .../lenny/dependencies/libcarddav/debian/control | 23 +++++ .../lenny/dependencies/libcarddav/debian/copyright | 14 +++ debian/lenny/dependencies/libcarddav/debian/rules | 105 +++++++++++++++++++++ debian/lenny/dependencies/libcarddav/debian/watch | 2 + 8 files changed, 230 insertions(+) create mode 100644 debian/lenny/dependencies/libcarddav/debian/README.Debian create mode 100644 debian/lenny/dependencies/libcarddav/debian/README.fallback create mode 100644 debian/lenny/dependencies/libcarddav/debian/changelog create mode 100644 debian/lenny/dependencies/libcarddav/debian/compat create mode 100644 debian/lenny/dependencies/libcarddav/debian/control create mode 100644 debian/lenny/dependencies/libcarddav/debian/copyright create mode 100755 debian/lenny/dependencies/libcarddav/debian/rules create mode 100644 debian/lenny/dependencies/libcarddav/debian/watch (limited to 'debian/lenny/dependencies/libcarddav') diff --git a/debian/lenny/dependencies/libcarddav/debian/README.Debian b/debian/lenny/dependencies/libcarddav/debian/README.Debian new file mode 100644 index 000000000..9adebeacc --- /dev/null +++ b/debian/lenny/dependencies/libcarddav/debian/README.Debian @@ -0,0 +1,45 @@ + Imlib Version 11 + ---------------- + +Imlib11 is linked with libpng12, which began life as libpng3. This is +in accordance with the practice of Redhat. The GDK version of imlib, +being part of GNOME 1, has remained linked with libpng2. + +No library that links with this version of Imlib may also link with +libpng2. + +No application that links with this version of Imlib may link with +libpng2, neither directly nor through a third library. + +If you accidentally link an application with imlib and libpng2, the +application may behave in unpredictible ways, possibly crashing, +possibly emitting warnings similar to the following: + + libpng warning: Application was compiled with png.h from libpng-1.2.1 + libpng warning: Application is running with png.c from libpng-1.0.12 + libpng error: Incompatible libpng version in application and library + + + + Imlib Version 1 + --------------- + +Imlib1 and gdk-imlib1 are compiled against libpng2. If you need to +build with libpng2, install the package imlib1-dev or gdk-imlib1-dev +as appropriate. + + + The Palette File + ---------------- + +The system Imlib/Gdk-Imlib palette file was moved from the directory +`/etc/im' to `/etc/imlib'. This move may cause problems for users who +have a `.imrc' file in their home directory since that file may +contain a reference to the old location of the palette file. To +correct this problem, the "PaletteFile" entry should look like: + + PaletteFile /etc/imlib/im_palette.pal + +I believe this changed happened in late 1999. + + -- Steve M. Robbins , Sun Oct 19 15:11:42 2003 diff --git a/debian/lenny/dependencies/libcarddav/debian/README.fallback b/debian/lenny/dependencies/libcarddav/debian/README.fallback new file mode 100644 index 000000000..1b41c225f --- /dev/null +++ b/debian/lenny/dependencies/libcarddav/debian/README.fallback @@ -0,0 +1,23 @@ + Imlib Image Conversion + ---------------------- + +The imlib and gdk-imlib libraries have a number of built-in image +conversion routines, and are capable of loading or saving in *at +least* the following formats: GIF, JPEG, PNG, TIFF, PS, BMP, XPM, and +PPM. + +Prior to version 1.9.13, imlib and gdk-imlib could use an external +program, such as Imagemagick's "convert", to load or save images +in formats not handled internally to Imlib. + + + + "All fallbacks failed." + ----------------------- + +This message indicates that the file you wished to load is not handled +by Imlib. + +The remedy is to convert the image file by hand using, for example, +Imagemagick's "convert" command: "convert foo.rgb foo.png". Then +you'll have to fix up the application to use the new filename instead. diff --git a/debian/lenny/dependencies/libcarddav/debian/changelog b/debian/lenny/dependencies/libcarddav/debian/changelog new file mode 100644 index 000000000..4dfba942d --- /dev/null +++ b/debian/lenny/dependencies/libcarddav/debian/changelog @@ -0,0 +1,17 @@ +libcarddav (0.6.2-2debian2) maverick; urgency=low + + * Modified contact list grabber to first execute a WebDAV directory list, then use the results to get only the contact files in that directory. + + -- Timothy Pearson Wed, 21 Jul 2010 02:55:00 -0600 + +libcarddav (0.6.2-0debian1) lenny; urgency=low + + * Added "Connection: close" to the list of headers sent, so that server keep-alive (which causes long delays) is disabled. + + -- Timothy Pearson Sun, 18 Jul 2010 15:29:00 -0600 + +libcarddav (0.6.2-0debian0) lenny; urgency=low + + * Initial Lenny build + + -- Timothy Pearson Mon, 31 May 2010 01:55:00 -0600 diff --git a/debian/lenny/dependencies/libcarddav/debian/compat b/debian/lenny/dependencies/libcarddav/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/debian/lenny/dependencies/libcarddav/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/lenny/dependencies/libcarddav/debian/control b/debian/lenny/dependencies/libcarddav/debian/control new file mode 100644 index 000000000..7bf8ff1dc --- /dev/null +++ b/debian/lenny/dependencies/libcarddav/debian/control @@ -0,0 +1,23 @@ +Source: libcarddav +Build-Depends: debhelper (>= 5), libcurl4-gnutls-dev, libglib2.0-dev, quilt, automake, autoconf, libtool, libltdl-dev +Section: graphics +Priority: optional +Maintainer: Timothy Pearson +Standards-Version: 3.8.4 + +Package: libcarddav +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: + libcarddav provides a C interface for carddav PIM clients + +Package: libcarddav-dev +Architecture: any +Section: libdevel +Depends: libcarddav (= ${binary:Version}) +Description: + libcarddav provides a C interface for carddav PIM clients + . + This is the development package containing header files and link + libraries for libcarddav. diff --git a/debian/lenny/dependencies/libcarddav/debian/copyright b/debian/lenny/dependencies/libcarddav/debian/copyright new file mode 100644 index 000000000..916e3fd34 --- /dev/null +++ b/debian/lenny/dependencies/libcarddav/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Timothy Pearson (kb9vqf@pearsoncomputing.net) + +It was created from unreleased sources derived from libcaldav + +Copyright: + +Copyright 2010 by Timothy Pearson (kb9vqf@pearsoncomputing.net) +Copyright 2008 by Michael Rasmussen (mir@datanom.net) + +License: + +All libraries in this package are released under the GPL +(/usr/share/common-licenses/GPL-3). The programs and examples are +under the GPL (/usr/share/common-licenses/GPL). diff --git a/debian/lenny/dependencies/libcarddav/debian/rules b/debian/lenny/dependencies/libcarddav/debian/rules new file mode 100755 index 000000000..69c8a53d7 --- /dev/null +++ b/debian/lenny/dependencies/libcarddav/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +# 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 CFLAGS = -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O3 +endif + +# Suppress accidental execution of the auto-* tools, c.f. +# http://lists.debian.org/debian-devel/2001/debian-devel-200111/msg01416.html +no_auto_tools = ACLOCAL="`pwd`/missing aclocal" \ + AUTOCONF="`pwd`/missing autoconf" \ + AUTOMAKE="`pwd`/missing automake" \ + AUTOHEADER="`pwd`/missing autoheader" + +make_flags = moduledir=/usr/lib/gdk-imlib2 $(no_auto_tools) + +build: $(QUILT_STAMPFN) build-stamp +build-stamp: + dh_testdir + ./autogen.sh + ./configure --prefix=/usr \ + --mandir=/usr/share/man + $(MAKE) $(make_flags) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f Makefile ] || $(MAKE) clean + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) $(make_flags) DESTDIR=`pwd`/debian/tmp install + + dh_movefiles + + # Library package + dh_install -plibcarddav --autodest debian/tmp/usr/lib/libcarddav.so* + + # Developer package + mv debian/tmp/usr/include/libcarddav* debian/tmp/usr/include/libcarddav + dh_install -plibcarddav-dev --autodest debian/tmp/usr/lib/libcarddav.la + dh_install -plibcarddav-dev --autodest debian/tmp/usr/include/libcarddav/* + dh_install -plibcarddav-dev --autodest debian/tmp/usr/lib/pkgconfig/* + +# 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_installdocs -A debian/README.Debian + dh_installexamples + dh_installmenu + dh_installcron + dh_installinfo + dh_installchangelogs ChangeLog + dh_link + dh_compress + dh_fixperms + dh_strip + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independent packages using the common target. +binary-indep: build install + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependent 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 diff --git a/debian/lenny/dependencies/libcarddav/debian/watch b/debian/lenny/dependencies/libcarddav/debian/watch new file mode 100644 index 000000000..8cea7d35f --- /dev/null +++ b/debian/lenny/dependencies/libcarddav/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/imlib-(.*)\.tar\.gz -- cgit v1.2.1