Add a pkg-readme explaining how to change the default "Print Preview"
command since not everyone wants to install evince just for that.
This commit is contained in:
parent
0e536ee51a
commit
5dceec6f73
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.162 2013/03/26 14:20:52 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.163 2013/04/02 10:06:37 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= multi-platform graphical toolkit
|
||||
COMMENT-guic= gtk+ icon theme caching utility
|
||||
@ -9,7 +9,7 @@ GNOME_PROJECT= gtk+
|
||||
PKGNAME-main= gtk+2-${GNOME_VERSION}
|
||||
PKGNAME-guic= gtk-update-icon-cache-${GNOME_VERSION}
|
||||
|
||||
REVISION-main= 0
|
||||
REVISION-main= 1
|
||||
REVISION-guic= 0
|
||||
|
||||
CATEGORIES= x11 devel
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.29 2012/12/06 08:13:24 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.30 2013/04/02 10:06:37 ajacoutot Exp $
|
||||
@conflict gail-*
|
||||
@conflict gtk+2-cups-*
|
||||
@conflict gtk+2-docs-*
|
||||
@ -353,6 +353,7 @@ lib/pkgconfig/gtk+-2.0.pc
|
||||
lib/pkgconfig/gtk+-unix-print-2.0.pc
|
||||
lib/pkgconfig/gtk+-x11-2.0.pc
|
||||
share/aclocal/gtk-2.0.m4
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
share/examples/gtk+2/
|
||||
share/examples/gtk+2/gtk-2.0/
|
||||
share/examples/gtk+2/gtk-2.0/im-multipress.conf
|
||||
|
16
x11/gtk+2/pkg/README-main
Normal file
16
x11/gtk+2/pkg/README-main
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: README-main,v 1.1 2013/04/02 10:06:37 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
Print Preview
|
||||
=============
|
||||
|
||||
By default, GTK+ uses the "evince" command from the evince package to
|
||||
display a "Print Preview". This can be modified by editing:
|
||||
~/.gtkrc-2.0
|
||||
and appending the following line:
|
||||
gtk-print-preview-command = "epdfview %f"
|
||||
|
||||
(epdfview can be replaced by any other PDF viewer command like xpdf...)
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.69 2013/04/01 11:35:02 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.70 2013/04/02 10:06:37 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -11,6 +11,8 @@ GNOME_PROJECT= gtk+
|
||||
PKGNAME-main= gtk+3-${GNOME_VERSION}
|
||||
PKGNAME-cups= gtk+3-cups-${GNOME_VERSION}
|
||||
|
||||
REVISION-main= 0
|
||||
|
||||
CATEGORIES= x11 devel
|
||||
|
||||
SHARED_LIBS += gdk-3 800.0 # 800.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.19 2013/03/27 17:55:45 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.20 2013/04/02 10:06:37 ajacoutot Exp $
|
||||
@conflict gtk+3-docs-*
|
||||
@pkgpath x11/gtk+3,-docs
|
||||
@unexec-delete rm -f %D/lib/gtk-3.0/3.0.0/immodules.cache
|
||||
@ -388,6 +388,7 @@ lib/pkgconfig/gtk+-x11-3.0.pc
|
||||
@man man/man1/gtk-query-immodules-3.0.1
|
||||
@comment @man man/man1/gtk-update-icon-cache.1
|
||||
share/aclocal/gtk-3.0.m4
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
share/examples/gtk+3/
|
||||
share/examples/gtk+3/gtk-3.0/
|
||||
@sample ${SYSCONFDIR}/gtk-3.0/
|
||||
|
16
x11/gtk+3/pkg/README-main
Normal file
16
x11/gtk+3/pkg/README-main
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: README-main,v 1.1 2013/04/02 10:06:37 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
Print Preview
|
||||
=============
|
||||
|
||||
By default, GTK+ uses the "evince" command from the evince package to
|
||||
display a "Print Preview". This can be modified by editing:
|
||||
~/.config/gtk-3.0/settings.ini
|
||||
and appending the following line:
|
||||
gtk-print-preview-command = epdfview %f
|
||||
|
||||
(epdfview can be replaced by any other PDF viewer command like xpdf...)
|
Loading…
x
Reference in New Issue
Block a user