debian/0000755000000000000000000000000011530055703007165 5ustar debian/libcdk5-dev.install0000644000000000000000000000011511430667253012653 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so usr/share/man/* usr/share/doc/* debian/rules0000755000000000000000000000611211430663475010257 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # 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) SHELL=/bin/bash CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif # shared library versions, option 1 version=2.0.5 major=2 # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so #version=`ls src/.libs/lib*.so.* | \ # awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` #major=`ls src/.libs/lib*.so.* | \ # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` config.status: configure dh_testdir # Add here commands to configure the package. cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess CFLAGS="$(CFLAGS)" $(SHELL) ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) $(MAKE) cdkshlib touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp rm -rf debian/tmp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean rm -f config.sub config.guess dh_clean install: build dh_testdir dh_testroot dh_prep -mkdir -p debian/tmp/usr{/doc/cdk,/share/man/man3,/include/cdk,/share/doc,/lib} dh_installdirs # Add here commands to install the package into debian/tmp $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr $(MAKE) installCDKSHLibrary prefix=$(CURDIR)/debian/tmp/usr mv debian/tmp/usr/doc/cdk debian/tmp/usr/share/doc/libcdk5-dev ln -s libcdk.so.5.0 debian/tmp/usr/lib/libcdk.so.5 rm debian/tmp/usr/share/doc/libcdk5-dev/{COPYING,INSTALL} # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs CHANGES dh_installdocs dh_installexamples dh_install --sourcedir=debian/tmp # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_python dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/.pc/0000755000000000000000000000000011430664412007647 5ustar debian/.pc/.quilt_patches0000644000000000000000000000001011430664411012503 0ustar patches debian/.pc/.quilt_series0000644000000000000000000000000711430664411012354 0ustar series debian/.pc/.version0000644000000000000000000000000211430664411011324 0ustar 2 debian/source/0000755000000000000000000000000011430654112010463 5ustar debian/source/format0000644000000000000000000000001411430654112011671 0ustar 3.0 (quilt) debian/libcdk5-dev.manpages0000644000000000000000000000002711430652502012771 0ustar man/*.3 debian/man/*.3 debian/copyright0000644000000000000000000000476211430652502011130 0ustar This Debian package of libcdk was initially put together by Raphael Bossek ; later maintainers are listed in the changelog file. The sources were downloaded from http://invisible-island.net/cdk/ Modifications copyright Thomas Dickey 1999, 2000, 2001, 2002, 2003, 2004, 2005 The software and documentation are still under the same licensing are the original Cdk, but noting that substantial work and enhancements have been made, I've added my name as needed -TD The original COPYING file follows (with corrections as noted in CHANGES). ------------------------------------------------------------------------------- Cdk Copying Guide Copyright Mike Glover, 1995, 1996, 1997, 1998, 1999 ------------------------------------------------------------------------------- /* * Copyright (c) 1999, Mike Glover * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgment: * This product includes software developed by Mike Glover * and contributors. * 4. Neither the name of Mike Glover, nor the names of contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY MIKE GLOVER AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL MIKE GLOVER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ debian/changelog0000644000000000000000000001161711530055632011046 0ustar libcdk5 (5.0.20060507-4) unstable; urgency=low * QA Upload. * explicitly_link_with_ncurses.patch: fix missing libncurses5 dependency. -- Sam Hocevar Sat, 19 Feb 2011 23:59:54 +0000 libcdk5 (5.0.20060507-3) unstable; urgency=low * QA Upload. * Policy 3.9.1 (see Lintian cleaning below) and debian/compat 8 * Lintian cleaning - ${misc:Depends} added to libcdk5 and libcdk5-dev - fixed make clean call: [ ! -f Makefile ] || $(MAKE) distclean - debian/compat 7 - replaced ${Source-Version} with ${binary:Version} in debian/control - dh_prep used in rules instead of dh_clean -k * Removed static patching of config.guess config.sub, removed those files, they will be copied from autotools-dev package in debian/rules * removed the following lines from debian/libcdk5-dev.install (dh_install throws error if you try to install files from an empty dir, and these files were not present in the previous Debian build) - usr/lib/pkgconfig/* - usr/lib/*.la - usr/share/pkgconfig/* * Added missing headers and example files (Closes: #500161, LP: #565526) - debian/patches/missing_header_examples.patch - debian/libcdk5-dev.examples added: include/cdk_test.h, examples/., demos/ * Fixed segfault in calendar.c (Closes: #452401, LP: #290624) - debian/patches/cal_segfault.patch * debian/patches/libcdk5_man_cdk_display_examples_fix.diff - The examples in the cdk_display(3) man page are incorrect (wrong colors, segfault) (Closes: #593283) -- Scott Howard Thu, 10 Feb 2011 19:50:32 -0500 libcdk5 (5.0.20060507-2) unstable; urgency=low * Orphaning this package. -- John Goerzen Wed, 17 Feb 2010 13:06:45 -0600 libcdk5 (5.0.20060507-1) unstable; urgency=low * New upstream release. * Fixed header patching. Patch from Robert Schiele. Closes: #402978, #416336. * Update widget count in description. Closes: #294709. -- John Goerzen Wed, 06 Jun 2007 03:54:31 -0500 libcdk5 (5.0.20050424-2) unstable; urgency=low * Call ./configure properly even if not executable. Closes: #322977. -- John Goerzen Sat, 13 Aug 2005 18:01:16 -0500 libcdk5 (5.0.20050424-1) unstable; urgency=low * Packaged CDK 5 from invisible-island.net. Closes: #319891, #211728. * New source, library, dev package names; this is from a different branch and is not API-compatible with libcdk version 4. -- John Goerzen Mon, 25 Jul 2005 06:55:38 -0500 libcdk (4.9.9-4) unstable; urgency=low * New maintainer (closes: #279779) * Previous two NMUs acknowledged (closes: #236485, #259606) * Respect DEB_BUILD_OPTIONS * Revised description (from upstream web site) * Updated standards version * Changed section of libcdk-devel to match overrides * Updated debian/rules to debhelper 4 conventions * Use dpatch * Change all man page sections 3X to 3 to match file names * Corrected debian/copyright -- Peter Eisentraut Wed, 9 Feb 2005 23:22:05 +0100 libcdk (4.9.9-3.2) unstable; urgency=low * Non-maintainer upload during BSP * Update libtool stuff to let the package compile on ARM (Closes: #259606) -- Frank Lichtenheld Sat, 17 Jul 2004 21:46:01 +0200 libcdk (4.9.9-3.1) unstable; urgency=low * Non-maintainer upload during BSP * Don't overwrite COPYING with GPL text. It is not! * Don't overwrite INSTALL with generic autotools text. * Fix debian/copyright to include the actual license and a correct copyright statement (Closes: #236485, #238957) -- Frank Lichtenheld Sun, 11 Jul 2004 20:23:30 +0200 libcdk (4.9.9-3) unstable; urgency=high * New maintainer, Closes: #123485 * NMU changes merged in CVS repository, Closes: #74237, #94813 * Fix Y2K-ism in examples/bind_ex.c, Closes: #97189 * Package now Build-Depends & Depends on libncurses5-dev, Closes: #100800, #104310 * Include links for functions listed in manpages per policy, Closes: #103917 * Correctly include latest config.sub & config.guess at build time, Closes: #104437 -- Stephen Zander Sat, 29 Dec 2001 22:27:06 -0800 libcdk (4.9.9-2.2) unstable; urgency=low * NMU * libcdk-dev should Depend: libncurses5-dev. Closes: #104886 * Should suggest libcdk-examples. Closes: #74237 -- LaMont Jones Mon, 22 Oct 2001 22:56:45 -0600 libcdk (4.9.9-2.1) unstable; urgency=low * Run libtoolize to get support for new architectures. Closes: #94813 -- LaMont Jones Mon, 9 Jul 2001 21:39:34 -0600 libcdk (4.9.9-2) unstable; urgency=low * Missing manual pages added. (closes: #60903) -- Raphael Bossek Wed, 22 Mar 2000 19:55:16 +0100 libcdk (4.9.9-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Fri, 14 Jan 2000 00:41:09 +0100 debian/patches/0000755000000000000000000000000011530055043010611 5ustar debian/patches/libcdk5_man_cdk_display_examples_fix.diff0000644000000000000000000000667011525103702020736 0ustar Description: The examples in the cdk_display(3) man page are incorrect and don't work as expected (wrong colors, segfault, ...). Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593283 Author: Loic Pefferkorn Index: libcdk5-5.0.20060507/man/cdk_display.3 =================================================================== --- libcdk5-5.0.20060507.orig/man/cdk_display.3 2006-04-17 06:45:02.000000000 -0400 +++ libcdk5-5.0.20060507/man/cdk_display.3 2011-02-10 19:48:26.059539574 -0500 @@ -67,10 +67,13 @@ screen = initscr(); cdkscreen = initCDKScreen (screen); + /* Start CDK Colors */ + initCDKColor(); + /* Set the labels up. */ - mesg[0] = "This line should have a yellow foreground and a blue background."; - mesg[1] = "This line should have a white foreground and a blue background."; - mesg[2] = "This line should have a yellow foreground and a red background."; + mesg[0] = "This line should have a yellow foreground and a blue background."; + mesg[1] = "This line should have a white foreground and a blue background."; + mesg[2] = "This line should have a yellow foreground and a red background."; mesg[3] = "This line should be set to whatever the screen default is."; /* Declare the labels. */ @@ -134,10 +137,13 @@ screen = initscr(); cdkscreen = initCDKScreen (screen); + /* Start CDK Colors */ + initCDKColor(); + /* Set the labels up. */ - mesg[0] = "Bold text yellow foreground / blue background."; - mesg[1] = "Underlined text white foreground / blue background."; - mesg[2] = "Blinking text yellow foreground / red background."; + mesg[0] = "Bold text yellow foreground / blue background."; + mesg[1] = "Underlined text white foreground / blue background."; + mesg[2] = "Blinking text yellow foreground / red background."; mesg[3] = "This line uses the screen default colors."; /* Declare the labels. */ @@ -197,15 +203,18 @@ CDKSCREEN *cdkscreen; CDKLABEL *demo; WINDOW *screen; - char *mesg[4]; + char *mesg[5]; /* Initialize the Cdk screen. */ screen = initscr(); cdkscreen = initCDKScreen (screen); + /* Start CDK Colors */ + initCDKColor(); + /* Set the labels up. */ - mesg[0] = "This line should have a yellow foreground and a blue background."; - mesg[1] = "This line should have a white foreground and a blue background."; + mesg[0] = "This line should have a yellow foreground and a blue background."; + mesg[1] = "This line should have a white foreground and a blue background."; mesg[2] = "This is a bullet."; mesg[3] = "This is indented 10 characters."; mesg[4] = "This line should be set to whatever the screen default is."; @@ -295,7 +304,7 @@ .ce \fI----------------------------------------\fR .nf -#include "cdk.h" +#include void main() { @@ -313,9 +322,9 @@ initCDKColor(); /* Set the labels up. */ - mesg[0] = "<#UL><#HL(25)><#UR>"; + mesg[0] = "<#UL><#HL(26)><#UR>"; mesg[1] = "<#VL>This text should be boxed.<#VL>"; - mesg[2] = "<#LL><#HL(25)><#LR>"; + mesg[2] = "<#LL><#HL(26)><#LR>"; mesg[3] = "While this is not."; /* Declare the labels. */ debian/patches/missing_header_examples.patch0000644000000000000000000000242411430666244016525 0ustar Description: fixed missing headers for tests and missing examples Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500161 Origin: https://bugs.launchpad.net/ubuntu/+source/libcdk5/+bug/565526 Index: libcdk5-5.0.20060507/demos/Makefile.in =================================================================== --- libcdk5-5.0.20060507.orig/demos/Makefile.in 2003-11-27 07:03:51.000000000 -0500 +++ libcdk5-5.0.20060507/demos/Makefile.in 2010-08-11 23:28:14.000000000 -0400 @@ -24,7 +24,7 @@ o = .@OBJEXT@ CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ -CPPFLAGS = @DEFS@ -I../include -I$(srcdir)/../include -I. @CPPFLAGS@ +CPPFLAGS = @DEFS@ -I../include -I$(srcdir)/../include -I/usr/include/cdk -I. @CPPFLAGS@ LDFLAGS = -L.. @LDFLAGS@ BINS = \ Index: libcdk5-5.0.20060507/examples/Makefile.in =================================================================== --- libcdk5-5.0.20060507.orig/examples/Makefile.in 2005-12-27 19:03:39.000000000 -0500 +++ libcdk5-5.0.20060507/examples/Makefile.in 2010-08-11 23:28:14.000000000 -0400 @@ -24,7 +24,7 @@ o = .@OBJEXT@ CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ -CPPFLAGS = @DEFS@ -I../include -I$(srcdir)/../include -I. @CPPFLAGS@ +CPPFLAGS = @DEFS@ -I../include -I$(srcdir)/../include -I/usr/include/cdk -I. @CPPFLAGS@ LDFLAGS = -L.. @LDFLAGS@ BINS = \ debian/patches/series0000644000000000000000000000023011530054525012025 0ustar orig_debian_changes.patch missing_header_examples.patch cal_segfault.patch libcdk5_man_cdk_display_examples_fix.diff explicitly_link_with_ncurses.patch debian/patches/orig_debian_changes.patch0000644000000000000000000000246111430664542015600 0ustar Description: These were changes to the source code that existed when converting to source format 3.0 (quilt) Author: Scott Howard Index: libcdk5-5.0.20060507/headers.sh =================================================================== --- libcdk5-5.0.20060507.orig/headers.sh 2010-08-11 23:23:59.000000000 -0400 +++ libcdk5-5.0.20060507/headers.sh 2010-08-11 23:24:14.000000000 -0400 @@ -50,7 +50,7 @@ fi OPT_I=y - if ( test -n "$OPT_D" && test -d "$OPT_D" ) + if ( test -n "$OPT_D" && test -d "$OPT_D" || test "$OPT_D" = /usr/include/cdk ) then if ( test -n "$OPT_S" && test -d "$OPT_S" ) then Index: libcdk5-5.0.20060507/Makefile.in =================================================================== --- libcdk5-5.0.20060507.orig/Makefile.in 2010-08-11 23:23:59.000000000 -0400 +++ libcdk5-5.0.20060507/Makefile.in 2010-08-11 23:24:14.000000000 -0400 @@ -61,7 +61,7 @@ libdir = $(DESTDIR)@libdir@ mandir = $(DESTDIR)@mandir@ -DOCUMENT_DIR = @prefix@/doc/cdk +DOCUMENT_DIR = $(prefix)/doc/cdk INCLUDE_DIR = $(includedir)/cdk LIB_DIR = $(libdir) MAN_DIR = $(mandir)/man@MAN_DIR@ @@ -472,7 +472,7 @@ $(DOCUMENT_DIR) \ $(INCLUDE_DIR) \ $(LIB_DIR) \ -$(MAN_DIR) : ; $(srcdir)/mkdirs.sh $@ +$(MAN_DIR) : ; #$(srcdir)/mkdirs.sh $@ # # Files generated from templates: debian/patches/cal_segfault.patch0000644000000000000000000000112211430666002014261 0ustar Description: The calendar widget segfaults when you call activateCDKCalendar(). Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452401 Author: Ron Murray Index: libcdk5-5.0.20060507/calendar.c =================================================================== --- libcdk5-5.0.20060507.orig/calendar.c 2006-05-04 20:27:45.000000000 -0400 +++ libcdk5-5.0.20060507/calendar.c 2010-08-11 23:35:22.000000000 -0400 @@ -459,7 +459,7 @@ int day = 1; int x, y; int save_y = -1, save_x = -1; - char temp[10]; + char temp[20]; for (x = 1; x <= 6; x++) { debian/patches/explicitly_link_with_ncurses.patch0000644000000000000000000000102211530055033017624 0ustar Index: libcdk5-5.0.20060507/Makefile.in =================================================================== --- libcdk5-5.0.20060507.orig/Makefile.in 2011-02-19 23:59:24.665541599 +0000 +++ libcdk5-5.0.20060507/Makefile.in 2011-02-19 23:59:36.785541598 +0000 @@ -269,7 +269,7 @@ @$(RANLIB) $@ cdkshlib $(CDKSHLIB) :: $(CDKSHOBJS) - gcc -shared -Wl,-soname=$(SONAME) $(LDFLAGS) -o $(CDKSHLIB) $(CDKSHOBJS) + gcc -shared -Wl,-soname=$(SONAME) $(LDFLAGS) -o $(CDKSHLIB) $(CDKSHOBJS) $(LIBS) # # Make the examples directory. debian/libcdk5-dev.dirs0000644000000000000000000000002411430652502012134 0ustar usr/lib usr/include debian/compat0000644000000000000000000000000211525102270010357 0ustar 8 debian/control0000644000000000000000000000261211525102310010560 0ustar Source: libcdk5 Section: libs Priority: optional Maintainer: Debian QA Group Standards-Version: 3.9.1 Build-Depends: debhelper (>= 8), libncurses5-dev, autotools-dev Package: libcdk5 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: C-based curses widget library CDK stands for "Curses Development Kit". CDK sits on top of the curses library and provides 22 ready to use widgets for rapid application development of text-based interfaces. CDK delivers many of the common widget types required for a robust interface. Widgets can be combined to create complex widgets if needed. . Home page: http://invisible-island.net/cdk/ Package: libcdk5-dev Architecture: any Section: libdevel Depends: ${misc:Depends}, libcdk5 (= ${binary:Version}), libncurses5-dev Replaces: libcdk-examples, libcdk-dev Conflicts: libcdk-examples, libcdk-dev Description: C-based curses widget library (development files) CDK stands for "Curses Development Kit". CDK sits on top of the curses library and provides 22 ready to use widgets for rapid application development of text-based interfaces. CDK delivers many of the common widget types required for a robust interface. Widgets can be combined to create complex widgets if needed. . This package contains the header files and development libraries for the CDK library. . Home page: http://invisible-island.net/cdk/ debian/libcdk5.dirs0000644000000000000000000000001011430652502011353 0ustar usr/lib debian/libcdk5-dev.examples0000644000000000000000000000004411430667272013025 0ustar include/cdk_test.h examples/. demos debian/libcdk5.install0000644000000000000000000000002211430652502012063 0ustar usr/lib/lib*.so.*