Commit f753a4e6 authored by Jari Aalto's avatar Jari Aalto

Imported Debian patch 0.8.16-2

parent 6ed942fb
This diff is collapsed.
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if GtkFileChooser is enabled. */
#define ENABLE_CHOOSER 1
/* Define if Emacs key theme is enabled. */
/* #undef ENABLE_EMACS */
/* always defined to indicate that i18n is enabled */
#define ENABLE_NLS 1
/* Define if print feature is enabled. */
#define ENABLE_PRINT 1
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
/* Define to 1 if you have the `dcgettext' function. */
#define HAVE_DCGETTEXT 1
/* Define if the GNU gettext() function is already present or preinstalled. */
#define HAVE_GETTEXT 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define if your <locale.h> file defines LC_MESSAGES. */
#define HAVE_LC_MESSAGES 1
/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define the location where the catalogs will be installed */
#define LOCALEDIR "/usr/share/locale"
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
/* #undef NO_MINUS_C_MINUS_O */
/* Name of package */
#define PACKAGE "leafpad"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "tarot@sdf.lonestar.org"
/* Define to the full name of this package. */
#define PACKAGE_NAME "Leafpad"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "Leafpad 0.8.16"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "leafpad"
/* Define to the version of this package. */
#define PACKAGE_VERSION "0.8.16"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Version number of package */
#define VERSION "0.8.16"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This package uses cdbs to manage all modifications to the upstream
source. Changes are stored in the source package as diffs in
debian/patches and applied during the build.
To get the fully patched source after unpacking the source package, cd to
the root level of the source package and run:
debian/rules patch
The patch with the highest number will become the current patch.
To add a new set of changes, run:
cdbs-edit-patch new-patch-name
where <patch> is a descriptive name for the patch, used as the filename in
debian/patches. It should start with a number which is the number of the
current patch + 1.
You will now be dropped in a special shell, where you can make the
modifications. After editing the files, run exit to exit the shell and
save the new patch file, or "exit 230" to cancel the patch creation.
To remove all patches that are already applied, run:
debian/rules reverse-patches
leafpad (0.8.16-2) unstable; urgency=low
* New maintainer (Closes: #550141).
* debian/control:
- (Build-Depends): Add dpatch, upgrade debhelper.
- (Uploaders): New maintainer.
- (Vcs-*): add Git repository URLs.
* debian/rules
- Convert CDDBS to debhelper
-- Jari Aalto <jari.aalto@cante.net> Sat, 28 Nov 2009 14:29:36 +0000
leafpad (0.8.16-1) unstable; urgency=low
[ Julien Lavergne ]
* New upstream release.
* Bump Standards-Version to 3.8.0.
* debian/README.source : Add (3.8.0 requirement).
* debian/patches/01-encoding-desktop.patch : Remove Encoding field in
desktop file.
* debian/copyright: Link to the GPL-2 licence instead of only GPL.
[ Loic Minier ]
* Include CDBS' debhelper rules before the gnome class.
* Set Maintainer to Debian GNOME Maintainers; closes: #512459.
[ Emilio Pozuelo Monfort ]
* debian/copyright: Update for the new version.
* Standards-Version is 3.8.3, no changes needed.
-- Emilio Pozuelo Monfort <pochu@debian.org> Thu, 27 Aug 2009 23:26:11 +0200
leafpad (0.8.13-1) unstable; urgency=low
[ Loic Minier ]
* Add a get-orig-source target to retrieve the upstream tarball.
[ Sven Arvidsson ]
* Register as gnome-text-editor in the alternatives system;
thanks roktas. (Closes: #418296)
[ Julien Lavergne ]
* New upstream version (Closes: #445702)
- Printing support with GTK+2.10 (Closes: #376015)
* debian/control.in
- Move Homepage to offcial field
- Bump libgtk-dev to >= 2.10
- Suggest evince-gtk for Print Preview
- Bump debhelper version to 5
- Bump Standards-Version to 3.7.3 (No changes needed)
- Wrap build-deps and deps.
* debian/rule
- Delete --disable-print flag
- Delete autotools cdbs rules, include in gnome rules
* debian/patches/70_relibtoolize_noguessub.patch : drop, take upstream.
* debian/menu : Fix lintian warning in section.
[ Loic Minier ]
* Merge changes bu Julien Lavergne; closes: #456787.
* Cleanups.
-- Julien Lavergne <julien.lavergne@gmail.com> Tue, 20 Nov 2007 00:19:29 +0100
leafpad (0.8.9-2) unstable; urgency=low
* debian/patches/70_relibtoolize_noguesssub.patch :
- updated with autoconf 2.59a-9 (Closes: #376078)
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Tue, 4 Jul 2006 21:40:33 +1200
leafpad (0.8.9-1) unstable; urgency=low
* New upstream version 0.8.9 (Closes: #374402)
* debian/patches :
- 70_relibtoolize_noguesssub.patch updated
* debian/rules :
- drop --enable-chooser, it's default now
- temporarily add --disable-print to avoid gnome dependencies
* debian/control[.in] :
- bump Standards-Version to 3.7.2, no change needed
- remove Recommends on "cupsys-bsd | lpr", printing is disabled
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Thu, 22 Jun 2006 06:16:17 +1200
leafpad (0.8.7-1) unstable; urgency=low
* New upstream release (Closes: #349215)
* deprecate old leafpad.xpm file, use upstream's icon.
* debian/patches: 00_relibtoolize_noguesssub.patch rename to
70_relibtoolize_noguesssub.patch, and updated
* debian/watch : updated
* update manpage (add a new command line option)
* debian/copyright : update FSF address
* debian/control.in :
- remove intltool and lpr from build-dep
- add gnome-pkg-tools to build-dep
- add ${misc:Depends} to Depend
* debian/rules :
- add uploaders.mk
- add utils.mk for list-missing feature
- remove dh_desktop and switch back to gnome.mk
- use += instead of := for DEB_CONFIGURE_EXTRA_FLAGS and
DEB_INSTALL_MANPAGES_leafpad
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Fri, 10 Feb 2006 22:51:06 +1300
leafpad (0.8.3-1) unstable; urgency=low
[ Carlos Z.F. Liu ]
* New upstream release
[ Ondřej Surý ]
* Gnome Team Upload.
-- Ondřej Surý <ondrej@sury.org> Mon, 5 Sep 2005 09:49:27 +0200
leafpad (0.8.2-1) unstable; urgency=low
* New upstream release
* Bump to Standards-Version 3.6.2
* debian/patches/00_relibtoolize_noguesssub.patch : updated
* debian/menu : add longtitle
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Sun, 3 Jul 2005 17:12:31 +1200
leafpad (0.8.1-1) unstable; urgency=low
* New upstream release
- Fixed space-separated filename bug (Closes: #307590)
* debian/control
- add lpr to Build-Depends field to enable the "print" menu item
- add "cupsys-bsd | lpr" to Recommends field
* debian/patches/00_relibtoolize_noguesssub.patch
- updated
* debian/leafpad.1
- updated
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Thu, 19 May 2005 22:23:47 +1200
leafpad (0.8.0-1) unstable; urgency=low
* New upstream release
- stop replacing string when user press Esc (Closes: #303502)
* debian/control
- extend Build-Depends a bit
* debian/rules
- use dh_desktop instead of cdbs's gnome.mk
- add --enable-chooser configure option
* move 00_relibtoolize.patch to 00_relibtoolize_noguesssub.patch
- regenerated, remove config.guess and config.sub from the patch,
let cdbs to handle them
* 01_leafpad-0.7.9-file_chooser.patch
- removed, merged in upstream
* 02_fix_mkinstalldirs_in_po.patch
- removed
* debian/leafpad.lintian-overrides, debian/source.lintian-overrides
- removed, lintian changed his mind
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Sat, 30 Apr 2005 15:00:51 +1200
leafpad (0.7.9-4) unstable; urgency=low
* debian/leafpad.lintian-overrides, debian/source.lintian-overrides
- use override to prevent lintian warning, thanks Lucas Wall
* upload to official debian repository (Closes: #274512)
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Thu, 20 Jan 2005 16:59:48 +1300
leafpad (0.7.9-3) unstable; urgency=low
* debian/rules
- swith to cdbs
* debian/copyright
- add a timestamp to the Copyright line, thanks Samuel Mimram
* debian/patches/00_relibtoolize.patch
* debian/patches/01_leafpad-0.7.9-file_chooser.patch
- use new filechooser, came from the upstream web page
* debian/patches/02_fix_mkinstalldirs_in_po.patch
- fix the mkinstalldirs error after relibtoolizing
* debian/leafpad.1
- replace "notepad clone" by "simple text editor"
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Wed, 19 Jan 2005 02:22:35 +1300
leafpad (0.7.9-2) unstable; urgency=low
* debian/rules: Clean some unused codes
* debian/watch: Switch to savannah.nongnu.org
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Wed, 29 Dec 2004 01:41:14 +1300
leafpad (0.7.9-1) unstable; urgency=low
* New upstream release
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Wed, 29 Dec 2004 00:58:34 +1300
leafpad (0.7.8-1) unstable; urgency=low
* New upstream release
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Sun, 5 Dec 2004 22:32:07 +1300
leafpad (0.7.7.1-1) unstable; urgency=low
* New upstream release
* Regenerate xpm icon from new leafpad.png
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Wed, 24 Nov 2004 03:16:10 +1300
leafpad (0.7.7-1) unstable; urgency=low
* New upstream release
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Sat, 20 Nov 2004 13:46:54 +1300
leafpad (0.7.6-1) unstable; urgency=low
* New upstream release
* Remove my additional .desktop file, upstream included it
* Change maintainer's email address
-- Carlos Z.F. Liu <carlosliu@users.sourceforge.net> Tue, 16 Nov 2004 01:39:29 +1300
leafpad (0.7.5-1) unstable; urgency=low
* New upstream release
* add pkg-config to Build-Depends
-- Carlos Z.F. Liu <carlos_liu@yahoo.com> Sat, 30 Oct 2004 19:29:44 +1300
leafpad (0.7.4-1) unstable; urgency=low
* New upstream release
-- Carlos Z.F. Liu <carlos_liu@yahoo.com> Sat, 23 Oct 2004 15:22:19 +1300
leafpad (0.7.3.1-1) unstable; urgency=low
* New upstream release
* Bump debhelper version to 4.2.21 for dh_desktop function.
-- Carlos Z.F. Liu <carlos_liu@yahoo.com> Sun, 17 Oct 2004 23:59:09 +1300
leafpad (0.7.3-1) unstable; urgency=low
* New upstream release
-- Carlos Z.F. Liu <carlos_liu@yahoo.com> Sun, 17 Oct 2004 21:59:15 +1300
leafpad (0.7.2-1) unstable; urgency=low
* Acknowledge NMU. Thanks for Ming Hua's work.
* Change upstream author's email address.
* Slightly change in the description, according to upstream source.
* Use pbuilder to avoid unexpected experimental dependencies.
-- Carlos Z.F. Liu <carlos_liu@yahoo.com> Sat, 2 Oct 2004 22:17:51 +1200
leafpad (0.7.2-0.1) unstable; urgency=low
* Non-maintainer upload with permission from maintainer.
* New upstream release.
* debian/control: Remove useless ${misc:Depends}. Also did a cosmetic
change in the description.
* Build in a pure unstable environment to get the dependencies correct.
-- Ming Hua <minghua@rice.edu> Fri, 1 Oct 2004 12:53:10 -0500
leafpad (0.7.1-2) unstable; urgency=low
* Add a leafpad.desktop file (partly stolen from gedit).
-- Carlos Z.F. Liu <carlos_liu@yahoo.com> Wed, 29 Sep 2004 01:06:24 +1200
leafpad (0.7.1-1) unstable; urgency=low
* Initial Release.
-- Carlos Z.F. Liu <carlos_liu@yahoo.com> Mon, 27 Sep 2004 17:12:26 +1200
Source: leafpad
Section: editors
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: Jari Aalto <jari.aalto@cante.net>
Build-Depends: debhelper (>= 7),
dpatch,
pkg-config,
libgtk2.0-dev (>= 2.10),
gnome-pkg-tools
Standards-Version: 3.8.3
Vcs-Browser: http://git.debian.org/?p=collab-maint/leafpad.git
Vcs-Git: git://git.debian.org/git/collab-maint/leafpad.git
Homepage: http://tarot.freeshell.org/leafpad/
Package: leafpad
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Suggests: evince-gtk
Description: GTK+ based simple text editor
Leafpad is a simple GTK+ based text editor, the user interface is
similar to Notepad. It aims to be lighter than GEdit & KWrite,
and to be as useful as them.
Source: leafpad
Section: editors
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: cdbs,
debhelper (>= 5),
pkg-config,
libgtk2.0-dev (>= 2.10),
gnome-pkg-tools
Standards-Version: 3.8.3
Homepage: http://tarot.freeshell.org/leafpad/
Package: leafpad
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Suggests: evince-gtk
Description: GTK+ based simple text editor
Leafpad is a simple GTK+ based text editor, the user interface is
similar to Notepad. It aims to be lighter than GEdit & KWrite,
and to be as useful as them.
This package was debianized by Carlos Z.F. Liu <carlosliu@users.sourceforge.net> on
2004-09-27 17:12:26+12 Mon.
It was downloaded from:
http://tarot.freeshell.org/leafpad/
Upstream Author:
Tarot Osuji <tarot@sdf.lonestar.org>
Copyright:
Copyright (C) 2003-2008 Tarot Osuji
Copyright (C) 2000, 2002 Paolo Maggi
Copyright (C) 2002, 2003 Jeroen Zwartepoorte
License:
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
The Debian packaging is licensed under the GPL, see below, and is:
Copyright (C) 2009 Jari Aalto <jari.aalto@cante.net>
Copyright (C) 2009 Emilio Pozuelo Monfort <pochu@debian.org>
Copyright (C) 2007 Julien Lavergne <julien.lavergne@gmail.com>
Copyright (C) 2004-2006 Carlos Z.F. Liu <carlosliu@users.sourceforge.net>
Copyright (C) 2004 Ming Hua <minghua@rice.edu>
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
# debian-vars.mk -- Common variables
#
# Copyright
#
# Copyright (C) 2005-2009 Jari Aalto <jari.aalto@cante.net>
#
# License
#
# This program is free software; you can redistribute it and or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details at
# <http://www.gnu.org/copyleft/gpl.html>.
#
# Description
#
# This is GNU makefile part, that defines common variables and
# macros to be used from debian/rules. To install, add this:
#
# PACKAGE = foo
# include debian/debian-vars.mk
ifneq (,)
This makefile requires GNU Make.
endif
PACKAGE ?= foo
TOPDIR := $(shell pwd)
PKGDIR = $(CURDIR)/debian/$(PACKAGE)
SHAREROOTDIR = $(PKGDIR)/usr/share
SHAREDIR = $(SHAREROOTDIR)/$(PACKAGE)
DOCROOTDIR = $(SHAREROOTDIR)/doc
PKGDOCDIR = $(SHAREROOTDIR)/doc/$(PACKAGE)
SITELISPDIR = $(SHAREROOTDIR)/emacs/site-lisp
PKGLISPDIR = $(SITELISPDIR)/$(PACKAGE)
DESKTOPDIR = $(SHAREROOTDIR)/applications
LOCALEDIR = $(SHAREROOTDIR)/locale
INFODIR = $(SHAREROOTDIR)/info
PIXDIR = $(SHAREROOTDIR)/pixmaps
MANROOTDIR = $(SHAREROOTDIR)/man
MAN1DIR = $(MANROOTDIR)/man1
MAN5DIR = $(MANROOTDIR)/man5
MAN8DIR = $(MANROOTDIR)/man8
LIBROOTDIR = $(PKGDIR)/usr/lib
LIBDIR = $(LIBROOTDIR)/$(PACKAGE)
LIBPERLDIR = $(LIBROOTDIR)/perl
BINDIR = $(PKGDIR)/usr/bin
SBINDIR = $(PKGDIR)/usr/sbin
INSTALL ?= /usr/bin/install
INSTALL_DATA = $(INSTALL) -p -m 644
INSTALL_SCRIPT = $(INSTALL) -p -m 755
INSTALL_BIN = $(INSTALL) -p -m 755
INSTALL_DIR = $(INSTALL) -m 755 -d
#######################################################################
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
#
# [Add this]
# config.status: configure
# ...
# ./configure --host=$(DEB_HOST_GNU_TYPE) \
# --build=$(DEB_BUILD_GNU_TYPE) \
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
#######################################################################
# [Add this to use multiple CPU cores]
# build-stamp:
# $(MAKE) $(MAKE_FLAGS)
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_BIN += -s
endif
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
MAKE_FLAGS =
CPU_COUNT := $(shell fgrep -c processor /proc/cpuinfo 2> /dev/null | \
egrep "^[2-9]$$|^[0-9][0-9]$$")
ifneq ($(CPU_COUNT),)
MAKE_FLAGS += -j$(CPU_COUNT)
endif
# End of Makefile part
# debian-vars.mk -- Common variables
#
# Copyright
#
# Copyright (C) 2005-2009 Jari Aalto <jari.aalto@cante.net>
#
# License
#
# This program is free software; you can redistribute it and or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details at
# <http://www.gnu.org/copyleft/gpl.html>.
#
# Description
#
# This is GNU makefile part, that defines common variables and
# macros to be used from debian/rules. To install, add this:
#
# PACKAGE = foo
# include debian/debian-vars.mk
ifneq (,)
This makefile requires GNU Make.
endif
PACKAGE ?= foo
TOPDIR := $(shell pwd)
PKGDIR = $(CURDIR)/debian/$(PACKAGE)
SHAREROOTDIR = $(PKGDIR)/usr/share
SHAREDIR = $(SHAREROOTDIR)/$(PACKAGE)
DOCROOTDIR = $(SHAREROOTDIR)/doc
PKGDOCDIR = $(SHAREROOTDIR)/doc/$(PACKAGE)
SITELISPDIR = $(SHAREROOTDIR)/emacs/site-lisp
PKGLISPDIR = $(SITELISPDIR)/$(PACKAGE)
DESKTOPDIR = $(SHAREROOTDIR)/applications
LOCALEDIR = $(SHAREROOTDIR)/locale
INFODIR = $(SHAREROOTDIR)/info
PIXDIR = $(SHAREROOTDIR)/pixmaps
MANROOTDIR = $(SHAREROOTDIR)/man
MAN1DIR = $(MANROOTDIR)/man1
MAN5DIR = $(MANROOTDIR)/man5
MAN8DIR = $(MANROOTDIR)/man8
LIBROOTDIR = $(PKGDIR)/usr/lib
LIBDIR = $(LIBROOTDIR)/$(PACKAGE)
LIBPERLDIR = $(LIBROOTDIR)/perl
BINDIR = $(PKGDIR)/usr/bin
SBINDIR = $(PKGDIR)/usr/sbin
INSTALL ?= /usr/bin/install
INSTALL_DATA = $(INSTALL) -p -m 644
INSTALL_SCRIPT = $(INSTALL) -p -m 755
INSTALL_BIN = $(INSTALL) -p -m 755
INSTALL_DIR = $(INSTALL) -m 755 -d
#######################################################################
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
#
# [Add this]
# config.status: configure
# ...
# ./configure --host=$(DEB_HOST_GNU_TYPE) \
# --build=$(DEB_BUILD_GNU_TYPE) \
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
#######################################################################
# [Add this to use multiple CPU cores]
# build-stamp:
# $(MAKE) $(MAKE_FLAGS)
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_BIN += -s
endif
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
MAKE_FLAGS =
CPU_COUNT := $(shell fgrep -c processor /proc/cpuinfo 2> /dev/null | \
egrep "^[2-9]$$|^[0-9][0-9]$$")
ifneq ($(CPU_COUNT),)
MAKE_FLAGS += -j$(CPU_COUNT)
endif
# End of Makefile part
NEWS
README
AUTHORS
# Copyright and License
#
# Copyright (C) 2009 Jari Aalto
# Released under GNU GPL v2 or (at your option) later.
#
# To learn what TOP LEVEL section to use in manual pages,
# see POSIX/Susv standard and "tility Description Defaults" at
# http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11
#
# This is manual page in Perl POD format. Read more at
# http://perldoc.perl.org/perlpod.html or run command:
#
# perldoc perlpod | less
#
# To check the syntax:
#
# podchecker *.pod
#
# Create manual page with command:
#
# pod2man PAGE.N.pod > PAGE.N
#
# A better command to make proper headings:
#
# NAME="Foo Bar" PROGRAM="myprogram" ; \
# LC_ALL= LANG=C \
# pod2man \
# --utf8 \
# --center="$NAME" \
# --name="$PROGRAM" \
# --section="1" \
# $PROGRAM.pod |
# sed "s,[Pp]erl v[0-9.]\+,$PROGRAM,"
=pod
=head1 NAME
leafpad - GTK+ based simple text editor
=head1 DESCRIPTION
leafpad is a simple GTK+ based text editor. The user interface is
similar to Windows(tm) I<notepad>. It aims to be lighter than GEdit
and KWrite and to be as useful as them.
=head1 SYNOPSIS
leafpad [options] [filename]
=head1 OPTIONS
=over 4
=item B<--codeset=CODESET>
Set codeset to open file.
=item B<--display=DISPLAY>
X display to use.
=item B<--help>
Dispaly the command line options.
=item B<--screen=SCREEN>
X screen to use.
=item B<--sync>