--- bibcursed-2.0.0.orig/bibcursed.c +++ bibcursed-2.0.0/bibcursed.c @@ -279,7 +279,7 @@ } else printw("%s","1. Address "); - if (set_author == 1) addch('*'); + if (set_address == 1) addch('*'); print_pos++; } if (use_annote != 0) @@ -345,7 +345,7 @@ if (use_edition != 0) { move(print_pos,5); - if (use_edition != 1) + if (use_edition == 1) { attron(A_BOLD); printw("%s","7. Edition "); @@ -526,7 +526,7 @@ } /* Check to see if we have all the info we need */ - if (ch == 'z') + if (lch == 'z') { not_done =0; if (use_address==1 && set_address == 0) --- bibcursed-2.0.0.orig/debian/rules +++ bibcursed-2.0.0/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +ifndef CC + CC = gcc +endif +ifeq ($(CC),) + CC = gcc +endif + +CFLAGS += -Wall -Wshadow -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +clean: + dh_testdir + dh_testroot + -rm -f build-stamp + -rm -f bibcursed + + # If we're not in a mercurial repository, make sure no hg metadata is + # lying around + if ! [ -d .hg ]; then \ + rm -f .hg*; \ + fi + + dh_clean + + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(CC) $(CFLAGS) -o bibcursed bibcursed.c -lncurses + + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -D -m 0755 $(CURDIR)/bibcursed \ + $(CURDIR)/debian/bibcursed/usr/bin/bibcursed + install -D -m 0644 $(CURDIR)/bibcursed.1 \ + $(CURDIR)/debian/bibcursed/usr/share/man/man1/bibcursed.1 + + +# 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_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- bibcursed-2.0.0.orig/debian/copyright +++ bibcursed-2.0.0/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Bas Zoetekouw on +Fri, 19 Apr 2002 20:09:10 +0200. + +It was downloaded from http://bibcursed.sourceforge.net/ + +Upstream Author: Dominic Tristram + +You are free to distribute and modify this software under the terms of +the GNU General Public License, version 2.0. On Debian systems, the +complete text of the GNU General Public License can be found in +/usr/share/common-licenses/GPL file. --- bibcursed-2.0.0.orig/debian/compat +++ bibcursed-2.0.0/debian/compat @@ -0,0 +1 @@ +4 --- bibcursed-2.0.0.orig/debian/control +++ bibcursed-2.0.0/debian/control @@ -0,0 +1,24 @@ +Source: bibcursed +Section: tex +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: John Wright +Build-Depends: debhelper (>= 4), libncurses5-dev +Standards-Version: 3.7.2 + +Package: bibcursed +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: An interactive program to edit BibTeX bibliographies + Bibcursed is a simple program to make life a little easier when using + BibTeX bibliographies. It currently provides these main functions: + . + - Adding references to your bibliography. This is done with + prompts so templates for the different entries (article, + proceedings, etc) do not have to be remembered. Error checking is + used so that the required fields have to be supplied, and incorrect + fields cannot be entered. New entries are inserted into the + 'correct' place in the BibTeX file + - Clean and easy removal of entries + - Viewing of entries and changing of fields + - Easy searching of entries, including search by field --- bibcursed-2.0.0.orig/debian/changelog +++ bibcursed-2.0.0/debian/changelog @@ -0,0 +1,66 @@ +bibcursed (2.0.0-6ubuntu1) oneiric; urgency=low + + * debian/rules: move -lncurses after object/source to fix FTBFS + with -Wl,--as-needed (LP: #765923) + + -- Andreas Moog Sun, 19 Jun 2011 18:56:16 +0000 + +bibcursed (2.0.0-6) unstable; urgency=low + + * debian/control: + - Update my email address + * debian/rules: + - Add some hg cleanup stuff to the 'clean' target + + -- John Wright Tue, 18 Sep 2007 00:21:05 -0600 + +bibcursed (2.0.0-5) unstable; urgency=low + + * Bump Standards-Version to 3.7.2 + * Stop using deprecated debhelper compatibility level 3 + + -- John Wright Mon, 20 Nov 2006 14:44:22 -0700 + +bibcursed (2.0.0-4) unstable; urgency=low + + * Apply Christopher Nelson's patch to correct behavior for marking the + address field (Closes: #366872) + * Apply Christopher Nelson's patch to correct bolding behavior for the + edition field (Closes: #366877) + * Apply Christopher Nelson's patch to allow using either upper-or-lower-case + 'z' to finish an entry (Closes: #366619) + + -- John Wright Sat, 20 May 2006 15:50:58 -0600 + +bibcursed (2.0.0-3) unstable; urgency=low + + * New maintainer (Closes: #334244) + + -- John Wright Thu, 20 Oct 2005 12:27:49 -0600 + +bibcursed (2.0.0-2) unstable; urgency=low + + * Orphaning this package: I don't use it anymore, it seems abandoned + upstream, and there are much better bibTeX editors available nowadays. + + -- Bas Zoetekouw Sun, 16 Oct 2005 17:01:00 +0200 + +bibcursed (2.0.0-1) unstable; urgency=low + + * New upstream release. + + -- Bas Zoetekouw Thu, 1 May 2003 10:53:32 +0200 + +bibcursed (1.7.1-2) unstable; urgency=low + + * Description improvement (closes: #145307) + * Brought package up to date with policy 3.5.7. + + -- Bas Zoetekouw Mon, 18 Nov 2002 00:21:26 +0100 + +bibcursed (1.7.1-1) unstable; urgency=low + + * Initial Release (closes #137828) + + -- Bas Zoetekouw Fri, 19 Apr 2002 20:09:10 +0200 + --- bibcursed-2.0.0.orig/debian/dirs +++ bibcursed-2.0.0/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/man/man1 +