A PDF viewer for GNOME. Based on xpdf.

This commit is contained in:
marcm 2003-10-08 01:28:19 +00:00
parent d29438a036
commit 0c57dfe97c
6 changed files with 289 additions and 0 deletions

32
textproc/gpdf/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/10/08 01:28:19 marcm Exp $
COMMENT= "a PDF viewer for GNOME"
DISTNAME= gpdf-0.110
CATEGORIES= textproc x11/gnome
HOMEPAGE= http://www.inf.tu-dresden.de/~mk793652/gpdf/
MAINTAINER= Marc Balmer <marc@msys.ch>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gpdf/0.110/}
EXTRACT_SUFX= .tar.bz2
MODULES= gettext
BUILD_DEPENDS= :pkgconfig->=0.14.0:devel/pkgconfig
LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \
gnomeprintui-2-2::x11/gnome/libgnomeprintui
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

3
textproc/gpdf/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (gpdf-0.110.tar.bz2) = ae3682bcd13f5ab2095fa5409462fb6f
RMD160 (gpdf-0.110.tar.bz2) = 4131163d60ca2f2774a7c743c4204f2e1a2c57e5
SHA1 (gpdf-0.110.tar.bz2) = f0e2cbf252b46b0ae875430fc17dee9d1b512e9f

View File

@ -0,0 +1,72 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/10/08 01:28:19 marcm Exp $
--- ltmain.sh.orig 2003-08-01 18:57:12.000000000 -0700
+++ ltmain.sh 2003-08-26 14:49:18.000000000 -0700
@@ -1288,6 +1288,17 @@ EOF
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -1965,6 +1976,9 @@ EOF
fi
continue
;;
+ -pthread)
+ continue
+ ;;
%DEPLIBS%)
alldeplibs=yes
continue
@@ -5728,40 +5742,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = : && exit 0
- $echo "----------------------------------------------------------------------"
- $echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- $echo " $libdir"
- done
- $echo
- $echo "If you ever happen to want to link against installed libraries"
- $echo "in a given directory, LIBDIR, you must either use libtool, and"
- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- $echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- $echo " during execution"
- fi
- if test -n "$runpath_var"; then
- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
- $echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- $echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- $echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- $echo
- $echo "See any operating system documentation about shared libraries for"
- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
- $echo "----------------------------------------------------------------------"
exit 0
;;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-po_Makefile_in_in,v 1.1.1.1 2003/10/08 01:28:19 marcm Exp $
--- po/Makefile.in.in.orig Mon Jun 30 19:07:42 2003
+++ po/Makefile.in.in Mon Jun 30 19:07:54 2003
@@ -28,7 +28,7 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = @datadir@
libdir = @libdir@
-localedir = $(libdir)/locale
+localedir = $(datadir)/locale
gnulocaledir = $(datadir)/locale
gettextsrcdir = $(datadir)/glib-2.0/gettext/po
subdir = po

2
textproc/gpdf/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Gpdf is an open source Portable Document Format (PDF) viewer for GNOME
based on Xpdf.

168
textproc/gpdf/pkg/PLIST Normal file
View File

@ -0,0 +1,168 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/10/08 01:28:19 marcm Exp $
bin/gpdf
lib/bonobo/servers/GNOME_PDF.server
libexec/gnome-pdf-viewer
share/application-registry/gpdf.applications
share/applications/gpdf.desktop
share/gnome-2.0/ui/gpdf-control-ui.xml
share/gnome-2.0/ui/gpdf-window-ui.xml
share/gpdf/glade/gpdf-properties-dialog.glade
share/locale/am/LC_MESSAGES/gpdf.mo
share/locale/az/LC_MESSAGES/gpdf.mo
share/locale/be/LC_MESSAGES/gpdf.mo
share/locale/ca/LC_MESSAGES/gpdf.mo
share/locale/cs/LC_MESSAGES/gpdf.mo
share/locale/cy/LC_MESSAGES/gpdf.mo
share/locale/da/LC_MESSAGES/gpdf.mo
share/locale/de/LC_MESSAGES/gpdf.mo
share/locale/el/LC_MESSAGES/gpdf.mo
share/locale/eo/LC_MESSAGES/gpdf.mo
share/locale/es/LC_MESSAGES/gpdf.mo
share/locale/fi/LC_MESSAGES/gpdf.mo
share/locale/fr/LC_MESSAGES/gpdf.mo
share/locale/ga/LC_MESSAGES/gpdf.mo
share/locale/gl/LC_MESSAGES/gpdf.mo
share/locale/he/LC_MESSAGES/gpdf.mo
share/locale/hi/LC_MESSAGES/gpdf.mo
share/locale/hu/LC_MESSAGES/gpdf.mo
share/locale/is/LC_MESSAGES/gpdf.mo
share/locale/it/LC_MESSAGES/gpdf.mo
share/locale/ja/LC_MESSAGES/gpdf.mo
share/locale/kn/LC_MESSAGES/gpdf.mo
share/locale/ko/LC_MESSAGES/gpdf.mo
share/locale/lt/LC_MESSAGES/gpdf.mo
share/locale/lv/LC_MESSAGES/gpdf.mo
share/locale/mk/LC_MESSAGES/gpdf.mo
share/locale/ml/LC_MESSAGES/gpdf.mo
share/locale/ms/LC_MESSAGES/gpdf.mo
share/locale/nl/LC_MESSAGES/gpdf.mo
share/locale/nn/LC_MESSAGES/gpdf.mo
share/locale/no/LC_MESSAGES/gpdf.mo
share/locale/pl/LC_MESSAGES/gpdf.mo
share/locale/pt/LC_MESSAGES/gpdf.mo
share/locale/pt_BR/LC_MESSAGES/gpdf.mo
share/locale/ro/LC_MESSAGES/gpdf.mo
share/locale/ru/LC_MESSAGES/gpdf.mo
share/locale/sk/LC_MESSAGES/gpdf.mo
share/locale/sq/LC_MESSAGES/gpdf.mo
share/locale/sr/LC_MESSAGES/gpdf.mo
share/locale/sr@Latn/LC_MESSAGES/gpdf.mo
share/locale/sv/LC_MESSAGES/gpdf.mo
share/locale/ta/LC_MESSAGES/gpdf.mo
share/locale/th/LC_MESSAGES/gpdf.mo
share/locale/tr/LC_MESSAGES/gpdf.mo
share/locale/uk/LC_MESSAGES/gpdf.mo
share/locale/vi/LC_MESSAGES/gpdf.mo
share/locale/wa/LC_MESSAGES/gpdf.mo
share/locale/zh_CN/LC_MESSAGES/gpdf.mo
share/locale/zh_TW/LC_MESSAGES/gpdf.mo
share/mime-info/gpdf.keys
share/pixmaps/gnome-pdf.png
share/pixmaps/gpdf/fitwidth.png
@dirrm share/pixmaps/gpdf
@comment @dirrm share/pixmaps
@comment @dirrm share/mime-info
@comment @dirrm share/locale/zh_TW/LC_MESSAGES
@comment @dirrm share/locale/zh_TW
@comment @dirrm share/locale/zh_CN/LC_MESSAGES
@comment @dirrm share/locale/zh_CN
@comment @dirrm share/locale/wa/LC_MESSAGES
@comment @dirrm share/locale/wa
@comment @dirrm share/locale/vi/LC_MESSAGES
@comment @dirrm share/locale/vi
@comment @dirrm share/locale/uk/LC_MESSAGES
@comment @dirrm share/locale/uk
@comment @dirrm share/locale/tr/LC_MESSAGES
@comment @dirrm share/locale/tr
@comment @dirrm share/locale/th/LC_MESSAGES
@comment @dirrm share/locale/th
@comment @dirrm share/locale/ta/LC_MESSAGES
@comment @dirrm share/locale/ta
@comment @dirrm share/locale/sv/LC_MESSAGES
@comment @dirrm share/locale/sv
@comment @dirrm share/locale/sr@Latn/LC_MESSAGES
@comment @dirrm share/locale/sr@Latn
@comment @dirrm share/locale/sr/LC_MESSAGES
@comment @dirrm share/locale/sr
@comment @dirrm share/locale/sq/LC_MESSAGES
@comment @dirrm share/locale/sq
@comment @dirrm share/locale/sk/LC_MESSAGES
@comment @dirrm share/locale/sk
@comment @dirrm share/locale/ru/LC_MESSAGES
@comment @dirrm share/locale/ru
@comment @dirrm share/locale/ro/LC_MESSAGES
@comment @dirrm share/locale/ro
@comment @dirrm share/locale/pt_BR/LC_MESSAGES
@comment @dirrm share/locale/pt_BR
@comment @dirrm share/locale/pt/LC_MESSAGES
@comment @dirrm share/locale/pt
@comment @dirrm share/locale/pl/LC_MESSAGES
@comment @dirrm share/locale/pl
@comment @dirrm share/locale/no/LC_MESSAGES
@comment @dirrm share/locale/no
@comment @dirrm share/locale/nn/LC_MESSAGES
@comment @dirrm share/locale/nn
@comment @dirrm share/locale/nl/LC_MESSAGES
@comment @dirrm share/locale/nl
@comment @dirrm share/locale/ms/LC_MESSAGES
@comment @dirrm share/locale/ms
@comment @dirrm share/locale/ml/LC_MESSAGES
@comment @dirrm share/locale/ml
@comment @dirrm share/locale/mk/LC_MESSAGES
@comment @dirrm share/locale/mk
@comment @dirrm share/locale/lv/LC_MESSAGES
@comment @dirrm share/locale/lv
@comment @dirrm share/locale/lt/LC_MESSAGES
@comment @dirrm share/locale/lt
@comment @dirrm share/locale/ko/LC_MESSAGES
@comment @dirrm share/locale/ko
@comment @dirrm share/locale/kn/LC_MESSAGES
@comment @dirrm share/locale/kn
@comment @dirrm share/locale/ja/LC_MESSAGES
@comment @dirrm share/locale/ja
@comment @dirrm share/locale/it/LC_MESSAGES
@comment @dirrm share/locale/it
@comment @dirrm share/locale/is/LC_MESSAGES
@comment @dirrm share/locale/is
@comment @dirrm share/locale/hu/LC_MESSAGES
@comment @dirrm share/locale/hu
@comment @dirrm share/locale/hi/LC_MESSAGES
@comment @dirrm share/locale/hi
@comment @dirrm share/locale/he/LC_MESSAGES
@comment @dirrm share/locale/he
@comment @dirrm share/locale/gl/LC_MESSAGES
@comment @dirrm share/locale/gl
@comment @dirrm share/locale/ga/LC_MESSAGES
@comment @dirrm share/locale/ga
@comment @dirrm share/locale/fr/LC_MESSAGES
@comment @dirrm share/locale/fr
@comment @dirrm share/locale/fi/LC_MESSAGES
@comment @dirrm share/locale/fi
@comment @dirrm share/locale/es/LC_MESSAGES
@comment @dirrm share/locale/es
@comment @dirrm share/locale/eo/LC_MESSAGES
@comment @dirrm share/locale/eo
@comment @dirrm share/locale/el/LC_MESSAGES
@comment @dirrm share/locale/el
@comment @dirrm share/locale/de/LC_MESSAGES
@comment @dirrm share/locale/de
@comment @dirrm share/locale/da/LC_MESSAGES
@comment @dirrm share/locale/da
@comment @dirrm share/locale/cy/LC_MESSAGES
@comment @dirrm share/locale/cy
@comment @dirrm share/locale/cs/LC_MESSAGES
@comment @dirrm share/locale/cs
@comment @dirrm share/locale/ca/LC_MESSAGES
@comment @dirrm share/locale/ca
@comment @dirrm share/locale/be/LC_MESSAGES
@comment @dirrm share/locale/be
@comment @dirrm share/locale/az/LC_MESSAGES
@comment @dirrm share/locale/az
@comment @dirrm share/locale/am/LC_MESSAGES
@comment @dirrm share/locale/am
@comment @dirrm share/locale
@dirrm share/gpdf/glade
@dirrm share/gpdf
@comment @dirrm share/applications
@comment @dirrm share/application-registry
@comment @dirrm lib/bonobo