Gnome 2.4 printing framework.

This commit is contained in:
marcm 2003-10-07 17:05:42 +00:00
parent 26c6fb6274
commit 4a4e01de88
7 changed files with 398 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/10/07 17:05:42 marcm Exp $
COMMENT= "printing framework for GNOME"
VERSION= 2.4.0
DISTNAME= libgnomeprint-${VERSION}
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/projects/gnome-print/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.4/}
EXTRACT_SUFX= .tar.bz2
MODULES= gettext
BUILD_DEPENDS= :pkgconfig->=0.14.0:devel/pkgconfig
LIB_DEPENDS= art_lgpl_2.5::graphics/libart \
glib-2.0.0.0,gmodule-2.0.0.0,gobject-2.0.0.0::devel/glib2 \
pango-1.0.0.0::devel/pango \
xml2.6::textproc/libxml
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --without-cups
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
SUBST_VARS= VERSION
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (libgnomeprint-2.4.0.tar.bz2) = 05e1b57696507b9d69375f4de262e24e
RMD160 (libgnomeprint-2.4.0.tar.bz2) = b48d8a5ced74bed0f9d6d936532e18305cf766f9
SHA1 (libgnomeprint-2.4.0.tar.bz2) = 397698448ccd377307b7e5620cd59912aafbe980

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/10/07 17:05:42 marcm Exp $
--- configure.orig 2003-09-26 07:14:50.000000000 -0700
+++ configure 2003-09-26 13:45:45.000000000 -0700
@@ -21764,7 +21764,7 @@ GNOME_PRINT_DATA_DIR='${datadir}/libgnom
GNOME_PRINT_DATA_DIR=$GNOME_PRINT_DATA_DIR
-LIBGNOMEPRINT_CFLAGS="$GP_CFLAGS $FREETYPE_CFLAGS"
+LIBGNOMEPRINT_CFLAGS="$FREETYPE_CFLAGS $GP_CFLAGS"
LIBGNOMEPRINT_LIBS="$GP_LIBS $FREETYPE_LIBS"

View File

@ -0,0 +1,83 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/10/07 17:05:42 marcm Exp $
--- ltmain.sh.orig 2003-09-10 15:55:56.000000000 -0700
+++ ltmain.sh 2003-09-26 13:45:45.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
@@ -2213,10 +2227,6 @@ EOF
link_static=no # Whether the deplib will be linked statically
if test -n "$library_names" &&
{ test "$prefer_static_libs" = no || test -z "$old_library"; }; then
- if test "$installed" = no; then
- notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
- fi
# This is a shared library
# Warn about portability, can't link against -module's on some systems (darwin)
@@ -5728,40 +5738,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,4 @@
This is an implementation of the Gnome Printing Architecture, as
described in:
http://www.levien.com/gnome/print-arch.html

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/10/07 17:05:42 marcm Exp $
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-custom.so
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-file.so
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-lpr.so
lib/libgnomeprint-2-2.so.1.0
DYNLIBDIR(%D/lib)

View File

@ -0,0 +1,249 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/10/07 17:05:42 marcm Exp $
include/libgnomeprint-2.2/libgnomeprint/gnome-font-face.h
include/libgnomeprint-2.2/libgnomeprint/gnome-font.h
include/libgnomeprint-2.2/libgnomeprint/gnome-glyphlist.h
include/libgnomeprint-2.2/libgnomeprint/gnome-pgl.h
include/libgnomeprint-2.2/libgnomeprint/gnome-print-config.h
include/libgnomeprint-2.2/libgnomeprint/gnome-print-job.h
include/libgnomeprint-2.2/libgnomeprint/gnome-print-paper.h
include/libgnomeprint-2.2/libgnomeprint/gnome-print-unit.h
include/libgnomeprint-2.2/libgnomeprint/gnome-print.h
include/libgnomeprint-2.2/libgnomeprint/gnome-rfont.h
include/libgnomeprint-2.2/libgnomeprint/gp-gc.h
include/libgnomeprint-2.2/libgnomeprint/libgnomeprint-enum-types.h
include/libgnomeprint-2.2/libgnomeprint/private/gnome-font-private.h
include/libgnomeprint-2.2/libgnomeprint/private/gnome-fontmap.h
include/libgnomeprint-2.2/libgnomeprint/private/gnome-glyphlist-private.h
include/libgnomeprint-2.2/libgnomeprint/private/gnome-print-config-private.h
include/libgnomeprint-2.2/libgnomeprint/private/gnome-print-private.h
include/libgnomeprint-2.2/libgnomeprint/private/gp-gc-private.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-config.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-key.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-list.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-model.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-node-private.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-node.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-option.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-printer.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-reference.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-root.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-settings.h
include/libgnomeprint-2.2/libgnomeprint/private/gpa-utils.h
lib/libgnomeprint-2-2.a
lib/libgnomeprint-2-2.la
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-custom.a
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-custom.la
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-file.a
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-file.la
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-lpr.a
lib/libgnomeprint/${VERSION}/modules/transports/libgnomeprint-lpr.la
lib/pkgconfig/libgnomeprint-2.2.pc
share/gtk-doc/html/libgnomeprint/home.png
share/gtk-doc/html/libgnomeprint/index.html
share/gtk-doc/html/libgnomeprint/index.sgml
share/gtk-doc/html/libgnomeprint/left.png
share/gtk-doc/html/libgnomeprint/libgnomeprint-building.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-compiling.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-font-face.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-font.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-glyphlist.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-pgl.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-print-config.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-print-job.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-print-paper.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-print-unit.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-print.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-rfont.html
share/gtk-doc/html/libgnomeprint/libgnomeprint-resources.html
share/gtk-doc/html/libgnomeprint/libgnomeprint.html
share/gtk-doc/html/libgnomeprint/libgnomeprintunsorted.html
share/gtk-doc/html/libgnomeprint/right.png
share/gtk-doc/html/libgnomeprint/up.png
share/libgnomeprint/${VERSION}/globals.xml
share/libgnomeprint/${VERSION}/models/GNOME-GENERIC-PS.xml
share/libgnomeprint/${VERSION}/models/GNOME-PDF-WRITER.xml
share/libgnomeprint/${VERSION}/models/uninstalled/GNOME-META.xml
share/libgnomeprint/${VERSION}/printers/GENERIC.xml
share/libgnomeprint/${VERSION}/printers/PDF-WRITER.xml
share/libgnomeprint/${VERSION}/printers/uninstalled/META.xml
share/locale/am/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ar/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/az/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/be/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/bg/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/bn/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ca/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/cs/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/cy/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/da/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/de/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/el/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/es/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/et/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/fa/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/fi/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/fr/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ga/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/he/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/hi/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/hu/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/id/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/is/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/it/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ja/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ko/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/lt/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/lv/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/mk/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ml/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/mn/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ms/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/nl/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/nn/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/no/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/pl/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/pt/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/pt_BR/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ro/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ru/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/sk/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/sl/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/sq/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/sr/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/sr@Latn/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/sv/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/ta/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/th/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/tr/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/uk/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/vi/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/wa/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/zh_CN/LC_MESSAGES/libgnomeprint-2.2.mo
share/locale/zh_TW/LC_MESSAGES/libgnomeprint-2.2.mo
%%SHARED%%
@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/sl/LC_MESSAGES
@comment @dirrm share/locale/sl
@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/mn/LC_MESSAGES
@comment @dirrm share/locale/mn
@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/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/id/LC_MESSAGES
@comment @dirrm share/locale/id
@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/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/fa/LC_MESSAGES
@comment @dirrm share/locale/fa
@comment @dirrm share/locale/et/LC_MESSAGES
@comment @dirrm share/locale/et
@comment @dirrm share/locale/es/LC_MESSAGES
@comment @dirrm share/locale/es
@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/bn/LC_MESSAGES
@comment @dirrm share/locale/bn
@comment @dirrm share/locale/bg/LC_MESSAGES
@comment @dirrm share/locale/bg
@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/ar/LC_MESSAGES
@comment @dirrm share/locale/ar
@comment @dirrm share/locale/am/LC_MESSAGES
@comment @dirrm share/locale/am
@comment @dirrm share/locale
@dirrm share/libgnomeprint/${VERSION}/printers/uninstalled
@dirrm share/libgnomeprint/${VERSION}/printers
@dirrm share/libgnomeprint/${VERSION}/models/uninstalled
@dirrm share/libgnomeprint/${VERSION}/models
@dirrm share/libgnomeprint/${VERSION}
@dirrm share/libgnomeprint
@dirrm share/gtk-doc/html/libgnomeprint
@comment @dirrm share/gtk-doc/html
@comment @dirrm share/gtk-doc
@comment @dirrm lib/pkgconfig
@dirrm lib/libgnomeprint/${VERSION}/modules/transports
@dirrm lib/libgnomeprint/${VERSION}/modules
@dirrm lib/libgnomeprint/${VERSION}
@dirrm lib/libgnomeprint
@dirrm include/libgnomeprint-2.2/libgnomeprint/private
@dirrm include/libgnomeprint-2.2/libgnomeprint
@dirrm include/libgnomeprint-2.2