summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-05-08 22:05:36 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-05-08 22:05:36 +0000
commit0144dd60541a358dfebc4542ab6814f6446477e7 (patch)
tree703e5d8134b989b5d24233a6c5042d66fb3f2b9c /app-text/libpaper
parentVersion bump 1.2.0, still masked due to my printing still being buggy+configu... (diff)
downloadgentoo-2-0144dd60541a358dfebc4542ab6814f6446477e7.tar.gz
gentoo-2-0144dd60541a358dfebc4542ab6814f6446477e7.tar.bz2
gentoo-2-0144dd60541a358dfebc4542ab6814f6446477e7.zip
Add default /etc/papersize + minimal doc, no use-flag since it is easy to change
(Portage version: 2.1_pre10-r4)
Diffstat (limited to 'app-text/libpaper')
-rw-r--r--app-text/libpaper/ChangeLog7
-rw-r--r--app-text/libpaper/libpaper-1.1.14.8.ebuild9
2 files changed, 14 insertions, 2 deletions
diff --git a/app-text/libpaper/ChangeLog b/app-text/libpaper/ChangeLog
index 8cb4fcc89b09..a25a678e5bab 100644
--- a/app-text/libpaper/ChangeLog
+++ b/app-text/libpaper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/libpaper
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/ChangeLog,v 1.2 2006/05/08 19:21:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/ChangeLog,v 1.3 2006/05/08 22:05:36 genstef Exp $
+
+ 08 May 2006; Stefan Schweizer <genstef@gentoo.org>
+ libpaper-1.1.14.8.ebuild:
+ Add default /etc/papersize + minimal doc, no use-flag since it is easy to
+ change
08 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+files/libpaper-1.1.14.8-malloc.patch, libpaper-1.1.14.8.ebuild:
diff --git a/app-text/libpaper/libpaper-1.1.14.8.ebuild b/app-text/libpaper/libpaper-1.1.14.8.ebuild
index b2164bd385d1..ed1c704683ea 100644
--- a/app-text/libpaper/libpaper-1.1.14.8.ebuild
+++ b/app-text/libpaper/libpaper-1.1.14.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.14.8.ebuild,v 1.2 2006/05/08 19:21:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.14.8.ebuild,v 1.3 2006/05/08 22:05:36 genstef Exp $
inherit versionator libtool eutils
@@ -31,4 +31,11 @@ src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc README ChangeLog
+
+ dodir /etc
+ (paperconf 2>/dev/null || echo a4) > ${D}/etc/papersize
+}
+
+pkg_postinst() {
+ einfo "run \"paperconfig -p letter\" to use letter-pagesizes"
}