1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00

Update libgnomeprint to 1.111.0 after a repo-copy from gnomeprint and connect

it to the build.

PR:		36031
Submitted by:	Joe Marcus Clarke <marcus@marcuscom.com>
This commit is contained in:
Maxim Sobolev 2002-03-19 16:57:19 +00:00
parent 374106e59a
commit 273855ca01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56344
9 changed files with 172 additions and 167 deletions

View File

@ -75,6 +75,7 @@
SUBDIR += ktexshell
SUBDIR += latex
SUBDIR += latex2rtf
SUBDIR += libgnomeprint
SUBDIR += lilypond
SUBDIR += lout
SUBDIR += lprps-a4

View File

@ -1,42 +1,41 @@
# New ports collection makefile for: gnomeprint
# New ports collection makefile for: libgnomeprint
# Date created: 15 Jan 1999
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnomeprint
PORTVERSION= 0.35
PORTNAME= libgnomeprint
PORTVERSION= 1.111.0
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-print
DISTNAME= gnome-print-${PORTVERSION}
MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-beta2
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
PLIST_SUB= VERSION=${PORTVERSION}
LIB_DEPENDS= bonobo-2.0:${PORTSDIR}/devel/libbonobo \
art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \
gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_PERL5= yes
USE_GNOMECTRL= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/usr/X11R6/share/gnome2 \
--datadir=/usr/X11R6/share/gnome2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
's|<malloc\.h>|<stdlib.h>|'
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
post-install:
@${TOUCH} ${PREFIX}/etc/gnome/fonts/gnome-print-x11.fontmap
's|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \
s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (gnome-print-0.35.tar.gz) = 65e0e91bfa43f01debfa12d25c5dc70b
MD5 (gnome2/libgnomeprint-1.111.0.tar.bz2) = 054583de93ba9713d8cc247f56e5268c

View File

@ -1,32 +1,14 @@
$FreeBSD$
--- Makefile.in.orig Fri Oct 5 11:37:00 2001
+++ Makefile.in Fri Oct 5 11:40:45 2001
@@ -157,7 +157,7 @@
@LIBGPA_TRUE@LIBGPA_DIR = libgpa data
@LIBGPA_FALSE@LIBGPA_DIR =
--- Makefile.in.orig Mon Feb 11 12:42:17 2002
+++ Makefile.in Tue Mar 19 18:17:21 2002
@@ -116,7 +116,7 @@
WARN_CFLAGS = @WARN_CFLAGS@
cxxflags_set = @cxxflags_set@
-SUBDIRS = intl po $(LIBGPA_DIR) libgnomeprint afms profiles fonts tests $(INSTALLER_DIR)
+SUBDIRS = intl po $(LIBGPA_DIR) libgnomeprint afms profiles fonts $(INSTALLER_DIR)
-SUBDIRS = libgnomeprint fonts installer tests data po
+SUBDIRS = libgnomeprint fonts installer data po
INCLUDES = $(GTK_CFLAGS) -I$(top_srcdir)/intl -I$(top_builddir)/intl $(GNOME_INCLUDEDIR) @PRINT_INCLUDEDIR@ -DPROFILEDIR=\""$(profilesdir)"\"
@@ -171,7 +171,7 @@
EXTRA_DIST = printConf.sh.in gnome-print.spec.in gnome-print.spec run-gnome-font-install
-confexecdir = $(libdir)
+confexecdir = $(sysconfdir)
confexec_DATA = printConf.sh
CLEANFILES = printConf.sh
@@ -192,7 +192,7 @@
TAR = gtar
GZIP_ENV = --best
DIST_SUBDIRS = intl po libgpa data libgnomeprint afms profiles fonts \
-tests installer
+installer
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
EXTRA_DIST = message-of-doom ChangeLog ChangeLog.old ChangeLog.old.2
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4

View File

@ -0,0 +1,16 @@
$FreeBSD$
--- configure 2002/03/19 16:34:21 1.1
+++ configure 2002/03/19 16:35:22
@@ -9926,8 +9926,8 @@
INSTALL_FONTS_TRUE='#'
INSTALL_FONTS_FALSE=
fi
-FONTMAPDIR_STATIC=$datadir/gnome/libgnomeprint-2.0/fonts
-FONTMAPDIR_DYNAMIC=$sysconfdir/gnome/libgnomeprint-2.0/fonts
+FONTMAPDIR_STATIC=$datadir/libgnomeprint-2.0/fonts
+FONTMAPDIR_DYNAMIC=$sysconfdir/gnome2/libgnomeprint-2.0/fonts
LIBGNOMEPRINT_CFLAGS="$FREETYPE_CFLAGS $CFLAGS $GLIB_CFLAGS $LIBART_CFLAGS $PANGO_CFLAGS $LIBXML_CFLAGS $LIBBONOBO_CFLAGS"
LIBGNOMEPRINT_LIBS="$GLIB_LIBS $LIBART_LIBS $PANGO_LIBS $LIBXML_LIBS $FREETYPE_LIBS $LIBBONOBO_LIBS"

View File

@ -0,0 +1,21 @@
$FreeBSD$
--- libgnomeprint/drivers/Makefile.in 2002/03/19 16:44:23 1.1
+++ libgnomeprint/drivers/Makefile.in 2002/03/19 16:48:12
@@ -118,13 +118,13 @@
OMNI2_SRC = gnome-print-omni2.cpp gnome-print-omni2.hpp
OMNI2_LAD = -L$(OMNI_LIBDIR) -lomni
libgnomeprint_omni2_la_SOURCES = $(OMNI2_SRC)
-libgnomeprint_omni2_la_LDFLAGS = -version-info 0:0:0 -module
+libgnomeprint_omni2_la_LDFLAGS = -avoid-version -module
libgnomeprint_omni2_la_LIBADD = $(OMNI2_LAD)
FAX_LIB = libgnomeprint-fax.la
FAX_SRC = gnome-print-fax.c gnome-print-fax.h gnome-print-fax-g3.h
libgnomeprint_fax_la_SOURCES = $(FAX_SRC)
-libgnomeprint_fax_la_LDFLAGS = -version-info 0:0:0 -module
+libgnomeprint_fax_la_LDFLAGS = -avoid-version -module
libgnomeprint_fax_la_LIBADD =
libexecdir = $(libdir)/gnome-print-2.0/drivers

View File

@ -0,0 +1,15 @@
$FreeBSD$
--- libgnomeprint/gnome-print-meta.c 2002/03/19 16:19:47 1.1
+++ libgnomeprint/gnome-print-meta.c 2002/03/19 16:20:00
@@ -28,8 +28,8 @@
#include <math.h>
#include <string.h>
-#include <sys/mman.h>
#include <sys/types.h>
+#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>

View File

@ -0,0 +1,23 @@
$FreeBSD$
--- libgnomeprint/transports/Makefile.in 2002/03/19 16:46:00 1.1
+++ libgnomeprint/transports/Makefile.in 2002/03/19 16:48:02
@@ -131,7 +131,7 @@
libgnomeprint_file_la_SOURCES = $(FILE_SRC)
-libgnomeprint_file_la_LDFLAGS = -version-info 0:0:0 -module
+libgnomeprint_file_la_LDFLAGS = -avoid-version -module
libgnomeprint_file_la_LIBADD =
@@ -142,7 +142,7 @@
libgnomeprint_lpr_la_SOURCES = $(LPR_SRC)
-libgnomeprint_lpr_la_LDFLAGS = -version-info 0:0:0 -module
+libgnomeprint_lpr_la_LDFLAGS = -avoid-version -module
libgnomeprint_lpr_la_LIBADD =
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs

View File

@ -1,122 +1,70 @@
bin/gnome-font-install
etc/gnome/fonts/gnome-print-ghostscript.fontmap
etc/gnome/fonts/gnome-print-x11.fontmap
etc/gnome/fonts/gnome-print.fontmap
etc/printConf.sh
include/gnome-1.0/libgnomeprint/gnome-font-dialog.h
include/gnome-1.0/libgnomeprint/gnome-font-face-private.h
include/gnome-1.0/libgnomeprint/gnome-font-face.h
include/gnome-1.0/libgnomeprint/gnome-font.h
include/gnome-1.0/libgnomeprint/gnome-glyphlist.h
include/gnome-1.0/libgnomeprint/gnome-pgl.h
include/gnome-1.0/libgnomeprint/gnome-print-copies.h
include/gnome-1.0/libgnomeprint/gnome-print-dialog.h
include/gnome-1.0/libgnomeprint/gnome-print-encode.h
include/gnome-1.0/libgnomeprint/gnome-print-frgba.h
include/gnome-1.0/libgnomeprint/gnome-print-master-preview.h
include/gnome-1.0/libgnomeprint/gnome-print-master.h
include/gnome-1.0/libgnomeprint/gnome-print-meta.h
include/gnome-1.0/libgnomeprint/gnome-print-multipage.h
include/gnome-1.0/libgnomeprint/gnome-print-pdf.h
include/gnome-1.0/libgnomeprint/gnome-print-pixbuf.h
include/gnome-1.0/libgnomeprint/gnome-print-preview.h
include/gnome-1.0/libgnomeprint/gnome-print-rbuf.h
include/gnome-1.0/libgnomeprint/gnome-print.h
include/gnome-1.0/libgnomeprint/gnome-printer-dialog.h
include/gnome-1.0/libgnomeprint/gnome-printer.h
include/gnome-1.0/libgnomeprint/gnome-rfont.h
include/gnome-1.0/libgnomeprint/gnome-text.h
lib/libgnomeprint.a
lib/libgnomeprint.so
lib/libgnomeprint.so.16
share/gnome/fonts/README.binaries
share/gnome/fonts/README.installer
share/gnome/fonts/adobe-urw.font
share/gnome/fonts/afms/adobe/pagd8a.afm
share/gnome/fonts/afms/adobe/pagdo8a.afm
share/gnome/fonts/afms/adobe/pagk8a.afm
share/gnome/fonts/afms/adobe/pagko8a.afm
share/gnome/fonts/afms/adobe/pbkd8a.afm
share/gnome/fonts/afms/adobe/pbkdi8a.afm
share/gnome/fonts/afms/adobe/pbkl8a.afm
share/gnome/fonts/afms/adobe/pbkli8a.afm
share/gnome/fonts/afms/adobe/pcrb8a.afm
share/gnome/fonts/afms/adobe/pcrbo8a.afm
share/gnome/fonts/afms/adobe/pcrr8a.afm
share/gnome/fonts/afms/adobe/pcrro8a.afm
share/gnome/fonts/afms/adobe/phvb8a.afm
share/gnome/fonts/afms/adobe/phvb8an.afm
share/gnome/fonts/afms/adobe/phvbo8a.afm
share/gnome/fonts/afms/adobe/phvbo8an.afm
share/gnome/fonts/afms/adobe/phvl8a.afm
share/gnome/fonts/afms/adobe/phvlo8a.afm
share/gnome/fonts/afms/adobe/phvr8a.afm
share/gnome/fonts/afms/adobe/phvr8an.afm
share/gnome/fonts/afms/adobe/phvro8a.afm
share/gnome/fonts/afms/adobe/phvro8an.afm
share/gnome/fonts/afms/adobe/pncb8a.afm
share/gnome/fonts/afms/adobe/pncbi8a.afm
share/gnome/fonts/afms/adobe/pncr8a.afm
share/gnome/fonts/afms/adobe/pncri8a.afm
share/gnome/fonts/afms/adobe/pplb8a.afm
share/gnome/fonts/afms/adobe/pplbi8a.afm
share/gnome/fonts/afms/adobe/pplr8a.afm
share/gnome/fonts/afms/adobe/pplri8a.afm
share/gnome/fonts/afms/adobe/psyr.afm
share/gnome/fonts/afms/adobe/ptmb8a.afm
share/gnome/fonts/afms/adobe/ptmbi8a.afm
share/gnome/fonts/afms/adobe/ptmr8a.afm
share/gnome/fonts/afms/adobe/ptmri8a.afm
share/gnome/fonts/afms/adobe/putb8a.afm
share/gnome/fonts/afms/adobe/putbi8a.afm
share/gnome/fonts/afms/adobe/putr8a.afm
share/gnome/fonts/afms/adobe/putri8a.afm
share/gnome/fonts/afms/adobe/pzcmi8a.afm
share/gnome/fonts/afms/adobe/pzdr.afm
share/gnome/fonts/defaults.fontmap
share/gnome/gnome-print/profiles/PostscriptOptimized.profile
share/gnome/gnome-print/profiles/fax-g3.profile
share/gnome/gnome-print/profiles/pdf.profile
share/locale/az/LC_MESSAGES/gnome-print.mo
share/locale/bg/LC_MESSAGES/gnome-print.mo
share/locale/ca/LC_MESSAGES/gnome-print.mo
share/locale/da/LC_MESSAGES/gnome-print.mo
share/locale/de/LC_MESSAGES/gnome-print.mo
share/locale/el/LC_MESSAGES/gnome-print.mo
share/locale/es/LC_MESSAGES/gnome-print.mo
share/locale/et/LC_MESSAGES/gnome-print.mo
share/locale/eu/LC_MESSAGES/gnome-print.mo
share/locale/fi/LC_MESSAGES/gnome-print.mo
share/locale/fr/LC_MESSAGES/gnome-print.mo
share/locale/gl/LC_MESSAGES/gnome-print.mo
share/locale/hr/LC_MESSAGES/gnome-print.mo
share/locale/hu/LC_MESSAGES/gnome-print.mo
share/locale/it/LC_MESSAGES/gnome-print.mo
share/locale/ja/LC_MESSAGES/gnome-print.mo
share/locale/ko/LC_MESSAGES/gnome-print.mo
share/locale/lt/LC_MESSAGES/gnome-print.mo
share/locale/lv/LC_MESSAGES/gnome-print.mo
share/locale/nl/LC_MESSAGES/gnome-print.mo
share/locale/nn/LC_MESSAGES/gnome-print.mo
share/locale/no/LC_MESSAGES/gnome-print.mo
share/locale/pl/LC_MESSAGES/gnome-print.mo
share/locale/pt/LC_MESSAGES/gnome-print.mo
share/locale/pt_BR/LC_MESSAGES/gnome-print.mo
share/locale/ro/LC_MESSAGES/gnome-print.mo
share/locale/ru/LC_MESSAGES/gnome-print.mo
share/locale/sk/LC_MESSAGES/gnome-print.mo
share/locale/sl/LC_MESSAGES/gnome-print.mo
share/locale/sv/LC_MESSAGES/gnome-print.mo
share/locale/tr/LC_MESSAGES/gnome-print.mo
share/locale/uk/LC_MESSAGES/gnome-print.mo
share/locale/wa/LC_MESSAGES/gnome-print.mo
share/locale/zh_CN.GB2312/LC_MESSAGES/gnome-print.mo
share/locale/zh_TW/LC_MESSAGES/gnome-print.mo
@dirrm share/gnome/gnome-print/profiles
@dirrm share/gnome/gnome-print
@dirrm share/gnome/fonts/afms/adobe
@dirrm share/gnome/fonts/afms
@dirrm share/gnome/fonts
@dirrm include/gnome-1.0/libgnomeprint
@dirrm etc/gnome/fonts
@dirrm etc/gnome
bin/libgnomeprint-2.0-font-install
include/libgnomeprint-2.0/libgnomeprint/gnome-font-face.h
include/libgnomeprint-2.0/libgnomeprint/gnome-font.h
include/libgnomeprint-2.0/libgnomeprint/gnome-glyphlist.h
include/libgnomeprint-2.0/libgnomeprint/gnome-pgl.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-bonobo-client.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-bonobo.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-config.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-master.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-meta.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-multipage.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-paper.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-private.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print-unit.h
include/libgnomeprint-2.0/libgnomeprint/gnome-print.h
include/libgnomeprint-2.0/libgnomeprint/gnome-rfont.h
include/libgnomeprint-2.0/libgnomeprint/gp-gc.h
include/libgnomeprint-2.0/libgnomeprint/gpa-private.h
lib/gnome-print-2.0/drivers/libgnomeprint-fax.so
lib/gnome-print-2.0/transports/libgnomeprint-file.so
lib/gnome-print-2.0/transports/libgnomeprint-lpr.so
lib/libgnomeprint-2.a
lib/libgnomeprint-2.so
lib/libgnomeprint-2.so.0
libdata/pkgconfig/libgnomeprint-2.0.pc
share/gnome2/fonts/README.installer
share/gnome2/gnome-print-2.0/media/media.xml
share/gnome2/gnome-print-2.0/models/GNOME-GENERIC-PS.model
share/gnome2/gnome-print-2.0/models/HP-LASERJET-4ML.model
share/gnome2/gnome-print-2.0/models/STYLUS-COLOR-740.model
share/gnome2/gnome-print-2.0/printers/GENERIC.printer
share/gnome2/gnome-print-2.0/vendors/EPSON.vendor
share/gnome2/gnome-print-2.0/vendors/GNOME.vendor
share/gnome2/gnome-print-2.0/vendors/HP.vendor
share/gnome2/libgnomeprint-2.0/fonts/adobe-urw.font
share/gnome2/libgnomeprint-2.0/fonts/defaults.fontmap
share/gnome2/libgnomeprint-2.0/fonts/gnome-print.fontmap
share/locale/az/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/ca/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/es/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/hu/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/ms/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/nl/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/nn/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/no/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/pl/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/pt/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/ru/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/sk/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/sv/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/ta/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/tr/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/uk/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/wa/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/zh_CN/LC_MESSAGES/libgnomeprint-2.0.mo
share/locale/zh_TW/LC_MESSAGES/libgnomeprint-2.0.mo
@dirrm share/gnome2/libgnomeprint-2.0/fonts
@dirrm share/gnome2/libgnomeprint-2.0
@dirrm share/gnome2/gnome-print-2.0/vendors
@dirrm share/gnome2/gnome-print-2.0/printers
@dirrm share/gnome2/gnome-print-2.0/models
@dirrm share/gnome2/gnome-print-2.0/media
@dirrm share/gnome2/gnome-print-2.0
@dirrm share/gnome2/fonts
@dirrm share/gnome2
@dirrm lib/gnome-print-2.0/transports
@dirrm lib/gnome-print-2.0/drivers
@dirrm lib/gnome-print-2.0
@dirrm include/libgnomeprint-2.0/libgnomeprint
@dirrm include/libgnomeprint-2.0