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/libcaldav/debian/README.Debian | 45 +++++++++ .../dependencies/libcaldav/debian/README.fallback | 23 +++++ .../dependencies/libcaldav/debian/changelog | 29 ++++++ .../maverick/dependencies/libcaldav/debian/compat | 1 + .../maverick/dependencies/libcaldav/debian/control | 23 +++++ .../dependencies/libcaldav/debian/copyright | 13 +++ .../maverick/dependencies/libcaldav/debian/rules | 105 +++++++++++++++++++++ .../maverick/dependencies/libcaldav/debian/watch | 2 + 8 files changed, 241 insertions(+) create mode 100644 ubuntu/maverick/dependencies/libcaldav/debian/README.Debian create mode 100644 ubuntu/maverick/dependencies/libcaldav/debian/README.fallback create mode 100644 ubuntu/maverick/dependencies/libcaldav/debian/changelog create mode 100644 ubuntu/maverick/dependencies/libcaldav/debian/compat create mode 100644 ubuntu/maverick/dependencies/libcaldav/debian/control create mode 100644 ubuntu/maverick/dependencies/libcaldav/debian/copyright create mode 100755 ubuntu/maverick/dependencies/libcaldav/debian/rules create mode 100644 ubuntu/maverick/dependencies/libcaldav/debian/watch (limited to 'ubuntu/maverick/dependencies/libcaldav') diff --git a/ubuntu/maverick/dependencies/libcaldav/debian/README.Debian b/ubuntu/maverick/dependencies/libcaldav/debian/README.Debian new file mode 100644 index 000000000..9adebeacc --- /dev/null +++ b/ubuntu/maverick/dependencies/libcaldav/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/ubuntu/maverick/dependencies/libcaldav/debian/README.fallback b/ubuntu/maverick/dependencies/libcaldav/debian/README.fallback new file mode 100644 index 000000000..1b41c225f --- /dev/null +++ b/ubuntu/maverick/dependencies/libcaldav/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/ubuntu/maverick/dependencies/libcaldav/debian/changelog b/ubuntu/maverick/dependencies/libcaldav/debian/changelog new file mode 100644 index 000000000..13d81ef1d --- /dev/null +++ b/ubuntu/maverick/dependencies/libcaldav/debian/changelog @@ -0,0 +1,29 @@ +libcaldav (0.6.5-2debian2) maverick; urgency=low + + * Fixed RECURRENCE-ID modification with Zimbra CalDAV resources + + -- Timothy Pearson Sat, 28 Aug 2010 16:34:00 -0600 + +libcaldav (0.6.4-0debian0) lenny; urgency=low + + * Added VTODO support + + -- Timothy Pearson Fri, 27 Aug 2010 18:53:00 -0600 + +libcaldav (0.6.3-0debian1) lenny; urgency=low + + * Multiple VEVENT blocks in a single CardDAV response are now returned correctly + + -- Timothy Pearson Thu, 26 Aug 2010 15:40:00 -0600 + +libcaldav (0.6.2-0debian0) 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 + +libcaldav (0.6.1-1debian0) lenny; urgency=low + + * Initial Lenny build + + -- Timothy Pearson Mon, 31 May 2010 01:55:00 -0600 diff --git a/ubuntu/maverick/dependencies/libcaldav/debian/compat b/ubuntu/maverick/dependencies/libcaldav/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/ubuntu/maverick/dependencies/libcaldav/debian/compat @@ -0,0 +1 @@ +5 diff --git a/ubuntu/maverick/dependencies/libcaldav/debian/control b/ubuntu/maverick/dependencies/libcaldav/debian/control new file mode 100644 index 000000000..6051e6de1 --- /dev/null +++ b/ubuntu/maverick/dependencies/libcaldav/debian/control @@ -0,0 +1,23 @@ +Source: libcaldav +Build-Depends: debhelper (>= 5), quilt, libcurl4-gnutls-dev (>= 7.19), libglib2.0-dev, automake, autoconf, libtool, libltdl-dev +Section: graphics +Priority: optional +Maintainer: Timothy Pearson +Standards-Version: 3.8.3 + +Package: libcaldav +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: + libcaldav provides a C interface for caldav PIM clients + +Package: libcaldav-dev +Architecture: any +Section: libdevel +Depends: libcaldav (= ${binary:Version}) +Description: + libcaldav provides a C interface for caldav PIM clients + . + This is the development package containing header files and link + libraries for libcaldav. diff --git a/ubuntu/maverick/dependencies/libcaldav/debian/copyright b/ubuntu/maverick/dependencies/libcaldav/debian/copyright new file mode 100644 index 000000000..a0ce37b8b --- /dev/null +++ b/ubuntu/maverick/dependencies/libcaldav/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Timothy Pearson (kb9vqf@pearsoncomputing.net) + +It was downloaded from http://sourceforge.net/projects/libcaldav/ + +Copyright: + +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/ubuntu/maverick/dependencies/libcaldav/debian/rules b/ubuntu/maverick/dependencies/libcaldav/debian/rules new file mode 100755 index 000000000..e9afd40a5 --- /dev/null +++ b/ubuntu/maverick/dependencies/libcaldav/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 -plibcaldav --autodest debian/tmp/usr/lib/libcaldav.so* + + # Developer package + mv debian/tmp/usr/include/libcaldav* debian/tmp/usr/include/libcaldav + dh_install -plibcaldav-dev --autodest debian/tmp/usr/lib/libcaldav.la + dh_install -plibcaldav-dev --autodest debian/tmp/usr/include/libcaldav/* + dh_install -plibcaldav-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/ubuntu/maverick/dependencies/libcaldav/debian/watch b/ubuntu/maverick/dependencies/libcaldav/debian/watch new file mode 100644 index 000000000..8cea7d35f --- /dev/null +++ b/ubuntu/maverick/dependencies/libcaldav/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