pkgsrc/print/libgnomeprint/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

2003-05-05 18:40:38 +02:00
# $NetBSD: Makefile,v 1.14 2003/05/05 16:46:03 jmmv Exp $
#
DISTNAME= libgnomeprint-2.2.1.2
2003-05-05 18:40:38 +02:00
PKGREVISION= 1
CATEGORIES= print gnome
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
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.2/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jmmv@netbsd.org
HOMEPAGE= http://www.levien.com/gnome/print-arch.html
COMMENT= Library for the GNOME2 Printing Architecture
BUILD_USES_MSGFMT= YES
GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
2003-01-10 08:39:46 +01:00
USE_PKGLOCALEDIR= YES
USE_GMAKE= YES
USE_X11= YES
USE_LIBTOOL= YES
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
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
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= ${WRKSRC}/libgnomeprint/libgnomeprint-2.2.pc.in
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
CONFIGURE_ARGS+= --enable-gtk-doc=no
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_CUPS
.if defined(USE_CUPS) && !empty(USE_CUPS:M[Yy][Ee][Ss])
.include "../../print/cups/buildlink2.mk"
CONFIGURE_ARGS+= --with-cups
.else
CONFIGURE_ARGS+= --without-cups
.endif
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/libbonobo/buildlink2.mk"
.include "../../devel/pango/buildlink2.mk"
.include "../../devel/glib2/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/libart2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"