pkgsrc/print/libgnomeprint/Makefile

61 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.80 2012/03/03 00:11:53 wiz Exp $
#
DISTNAME= libgnomeprint-2.18.8
PKGREVISION= 6
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.18/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.levien.com/gnome/print-arch.html
COMMENT= Library for the GNOME2 Printing Architecture
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= bison flex gmake intltool msgfmt pkg-config
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-gtk-doc
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.4
Update to 2.2.1.1. Changes since 1.116.0: * libgnomeprint/gnome-fontmap.c (fcpattern_to_gp_font_entry_alias): disable the patch for #105006 which was causing problems * Makefile.am (mydistcheck): use $(AMTAR) rather than $(TAR) which I guess is needed because I am using a newer automake. * libgnomeprint/gnome-fontmap.c (fcpattern_to_gp_font_entry_alias): Fix #105006 * libgnomeprint/gpa/gpa-settings.c (gpa_settings_finalize): only gpa_node_unref settings->printer when it is not NULL. Settings can be unatached to a printer in some cases * libgnomeprint/gnome-print-ps2.c: allow us to embed two fonts who happen to have the same Postscript name. See #105063. (gnome_print_ps2_init): create fonts_hash (gnome_print_ps2_finalize): destroy fonts_hash (gnome_print_ps2_set_font_real): when creating PSOs, specify which instance of the psname the font is for. * libgnomeprint/gnome-font-face.c (gnome_font_face_pso_new): add a "instance" argument that allows us to embed to fonts who happen to have the same postscript name. Set ->encodedname accordingly to the instance * libgnomeprint/gnome-print-pdf.c (gnome_print_pdf_set_font_real): when creating a pso, pass 0 as the instance. * libgnomeprint/gnome-font-private.h: update _pso_new's prototype, update the description of GnomeFontPsObject->encodedname. * tests/simple.c: add file used for simple code to test or replicate a bug. * tests/Makefile.am: add simple to Makefile * libgnomeprint/gnome-font-family.c (gnome_font_family_style_list): Don't return duplicated styles, the font-dialog no longer displays duplicated styles. Changes in the package: * Move documentation to share/doc/html. Update based on a patch provided by Juan RP in private mail.
2003-02-14 21:19:46 +01:00
PKGCONFIG_OVERRIDE= libgnomeprint/libgnomeprint-2.2.pc.in
Update to 2.8.0. This version corresponds to GNOME 2.8.0. While here, convert to the bsd.options.mk framework to handle the cups functionality. libgnomeprint 2.8.0 Jody * Bump automake req to 1.7 * clean up some improperly namespaced private symbols * Recognize .ttc files as truetype J.H.M. Dassen * Explicitly require gmodule ------------------------------------------------------------------------------ libgnomeprint 2.7.90 Jody http://bugzilla.gnome.org/show_bug.cgi?id=147349 * Improve test for zlib http://bugzilla.gnome.org/show_bug.cgi?id=133924 * Fix transformations of text in pdf backend Kmaraas * Patch some warnings from sparse Owen http://bugzilla.gnome.org/show_bug.cgi?id=143878 * Fix gnome_font_find_closest to call gnome_font_face_find_closest Morten * Keep more private symbols from polluting the global namespace. Suresh Chandrasekharan http://bugzilla.gnome.org/show_bug.cgi?id=149858 * Don't modify the global font table ------------------------------------------------------------------------------ libgnomeprint 2.7.2 Andreas * Fix 1#49160 * Fix #149161 Jody * #Fix 149452 * more portability Suresh Chandrasekharan * Fix #148674 * Fix #149858 ------------------------------------------------------------------------------ libgnomeprint 2.7.1 Andreas * Add module to scan /etc/printcap Colin Walters : * Support for new gnomeprintui printer list (state polling) Jody * Some win32 build fixes * Build fixes for sft code from glib J.H.M. Dassen (Ray) : * link fixes Matthias Clasen: * fix handling of no cups printers ------------------------------------------------------------------------------ libgnomeprint 2.7.0 Andreas * Improve handling of multiple instances of a cups printer. * Add all paper sizes to PDF writer Grzegorz Golawski * Use G_MODULE_SUFFIX Owen Taylor : * Improved pango integration (Requires Pango 1.5.0) Suresh Chandrasekharan : * Improved font subsetting for PS and PDF backends Dom Lachowicz : * Fix win32 compilation Jody Goldberg : * Fix pdf generation J.H.M. Dassen (Ray): * Fixed unresolved symbols in the CUPS module.
2004-09-21 18:49:04 +02:00
PKG_OPTIONS_VAR= PKG_OPTIONS.libgnomeprint
PKG_SUPPORTED_OPTIONS= cups
Update to 2.8.0. This version corresponds to GNOME 2.8.0. While here, convert to the bsd.options.mk framework to handle the cups functionality. libgnomeprint 2.8.0 Jody * Bump automake req to 1.7 * clean up some improperly namespaced private symbols * Recognize .ttc files as truetype J.H.M. Dassen * Explicitly require gmodule ------------------------------------------------------------------------------ libgnomeprint 2.7.90 Jody http://bugzilla.gnome.org/show_bug.cgi?id=147349 * Improve test for zlib http://bugzilla.gnome.org/show_bug.cgi?id=133924 * Fix transformations of text in pdf backend Kmaraas * Patch some warnings from sparse Owen http://bugzilla.gnome.org/show_bug.cgi?id=143878 * Fix gnome_font_find_closest to call gnome_font_face_find_closest Morten * Keep more private symbols from polluting the global namespace. Suresh Chandrasekharan http://bugzilla.gnome.org/show_bug.cgi?id=149858 * Don't modify the global font table ------------------------------------------------------------------------------ libgnomeprint 2.7.2 Andreas * Fix 1#49160 * Fix #149161 Jody * #Fix 149452 * more portability Suresh Chandrasekharan * Fix #148674 * Fix #149858 ------------------------------------------------------------------------------ libgnomeprint 2.7.1 Andreas * Add module to scan /etc/printcap Colin Walters : * Support for new gnomeprintui printer list (state polling) Jody * Some win32 build fixes * Build fixes for sft code from glib J.H.M. Dassen (Ray) : * link fixes Matthias Clasen: * fix handling of no cups printers ------------------------------------------------------------------------------ libgnomeprint 2.7.0 Andreas * Improve handling of multiple instances of a cups printer. * Add all paper sizes to PDF writer Grzegorz Golawski * Use G_MODULE_SUFFIX Owen Taylor : * Improved pango integration (Requires Pango 1.5.0) Suresh Chandrasekharan : * Improved font subsetting for PS and PDF backends Dom Lachowicz : * Fix win32 compilation Jody Goldberg : * Fix pdf generation J.H.M. Dassen (Ray): * Fixed unresolved symbols in the CUPS module.
2004-09-21 18:49:04 +02:00
.include "../../mk/bsd.options.mk"
2004-02-11 03:30:49 +01:00
PLIST_VARS+= cups
Update to 2.8.0. This version corresponds to GNOME 2.8.0. While here, convert to the bsd.options.mk framework to handle the cups functionality. libgnomeprint 2.8.0 Jody * Bump automake req to 1.7 * clean up some improperly namespaced private symbols * Recognize .ttc files as truetype J.H.M. Dassen * Explicitly require gmodule ------------------------------------------------------------------------------ libgnomeprint 2.7.90 Jody http://bugzilla.gnome.org/show_bug.cgi?id=147349 * Improve test for zlib http://bugzilla.gnome.org/show_bug.cgi?id=133924 * Fix transformations of text in pdf backend Kmaraas * Patch some warnings from sparse Owen http://bugzilla.gnome.org/show_bug.cgi?id=143878 * Fix gnome_font_find_closest to call gnome_font_face_find_closest Morten * Keep more private symbols from polluting the global namespace. Suresh Chandrasekharan http://bugzilla.gnome.org/show_bug.cgi?id=149858 * Don't modify the global font table ------------------------------------------------------------------------------ libgnomeprint 2.7.2 Andreas * Fix 1#49160 * Fix #149161 Jody * #Fix 149452 * more portability Suresh Chandrasekharan * Fix #148674 * Fix #149858 ------------------------------------------------------------------------------ libgnomeprint 2.7.1 Andreas * Add module to scan /etc/printcap Colin Walters : * Support for new gnomeprintui printer list (state polling) Jody * Some win32 build fixes * Build fixes for sft code from glib J.H.M. Dassen (Ray) : * link fixes Matthias Clasen: * fix handling of no cups printers ------------------------------------------------------------------------------ libgnomeprint 2.7.0 Andreas * Improve handling of multiple instances of a cups printer. * Add all paper sizes to PDF writer Grzegorz Golawski * Use G_MODULE_SUFFIX Owen Taylor : * Improved pango integration (Requires Pango 1.5.0) Suresh Chandrasekharan : * Improved font subsetting for PS and PDF backends Dom Lachowicz : * Fix win32 compilation Jody Goldberg : * Fix pdf generation J.H.M. Dassen (Ray): * Fixed unresolved symbols in the CUPS module.
2004-09-21 18:49:04 +02:00
.if !empty(PKG_OPTIONS:Mcups)
.include "../../print/libgnomecups/buildlink3.mk"
CONFIGURE_ARGS+= --with-cups
PLIST.cups= yes
.else
CONFIGURE_ARGS+= --without-cups
.endif
CONFIGURE_ARGS+= --without-papi
Update to 2.8.0. This version corresponds to GNOME 2.8.0. While here, convert to the bsd.options.mk framework to handle the cups functionality. libgnomeprint 2.8.0 Jody * Bump automake req to 1.7 * clean up some improperly namespaced private symbols * Recognize .ttc files as truetype J.H.M. Dassen * Explicitly require gmodule ------------------------------------------------------------------------------ libgnomeprint 2.7.90 Jody http://bugzilla.gnome.org/show_bug.cgi?id=147349 * Improve test for zlib http://bugzilla.gnome.org/show_bug.cgi?id=133924 * Fix transformations of text in pdf backend Kmaraas * Patch some warnings from sparse Owen http://bugzilla.gnome.org/show_bug.cgi?id=143878 * Fix gnome_font_find_closest to call gnome_font_face_find_closest Morten * Keep more private symbols from polluting the global namespace. Suresh Chandrasekharan http://bugzilla.gnome.org/show_bug.cgi?id=149858 * Don't modify the global font table ------------------------------------------------------------------------------ libgnomeprint 2.7.2 Andreas * Fix 1#49160 * Fix #149161 Jody * #Fix 149452 * more portability Suresh Chandrasekharan * Fix #148674 * Fix #149858 ------------------------------------------------------------------------------ libgnomeprint 2.7.1 Andreas * Add module to scan /etc/printcap Colin Walters : * Support for new gnomeprintui printer list (state polling) Jody * Some win32 build fixes * Build fixes for sft code from glib J.H.M. Dassen (Ray) : * link fixes Matthias Clasen: * fix handling of no cups printers ------------------------------------------------------------------------------ libgnomeprint 2.7.0 Andreas * Improve handling of multiple instances of a cups printer. * Add all paper sizes to PDF writer Grzegorz Golawski * Use G_MODULE_SUFFIX Owen Taylor : * Improved pango integration (Requires Pango 1.5.0) Suresh Chandrasekharan : * Improved font subsetting for PS and PDF backends Dom Lachowicz : * Fix win32 compilation Jody Goldberg : * Fix pdf generation J.H.M. Dassen (Ray): * Fixed unresolved symbols in the CUPS module.
2004-09-21 18:49:04 +02:00
.include "../../mk/bsd.prefs.mk"
2003-09-27 23:05:22 +02:00
.if ${OPSYS} == "Darwin"
# AC_LTDL_SHLIBEXT doesn't work on Darwin (and would give the wrong
# answer here even if it did).
CONFIGURE_ENV+= libltdl_cv_shlibext=so
.endif
PRINT_PLIST_AWK+= /cups/ { print "$${USE_CUPS}" $$0; next; }
2004-02-11 03:30:49 +01:00
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
2004-02-11 03:30:49 +01:00
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libart/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"