Subject: CVS commit: pkgsrc/print/libgnomeprint
To: None <pkgsrc-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: pkgsrc-changes
Date: 12/14/2003 19:51:04
Module Name:	pkgsrc
Committed By:	jmmv
Date:		Sun Dec 14 19:51:04 UTC 2003

Modified Files:
	pkgsrc/print/libgnomeprint: Makefile PLIST buildlink2.mk distinfo
Removed Files:
	pkgsrc/print/libgnomeprint/patches: patch-ab

Log Message:
Update to 2.4.0, based on work done by xtraeme@:

2003-09-26  Jody Goldberg <jody@gnome.org>

	* Release 2.4.0

2003-09-26  Jody Goldberg <jody@gnome.org>

	* configure.in : bump to 2.4.0 to sync with desktop, and prepare to
	  branch.

2003-09-23  Balamurali Viswanathan <balamurali.viswanathan@wipro.com>

	* libgnomeprint/transports/gp-transport-file.c (gp_transport_file_open)
	When a file is printed to another file (*.ps), set the permission of the
	new file in accordance with the umask set. (bug #115836)

2003-09-04  Laurent Dhima  <laurenti@alblinux.net>

	* configure.in: Added "sq" to ALL_LINGUAS.

2003-09-02  Gediminas Paulauskas  <menesis@delfi.lt>

	* configure.in: Added lt to ALL_LINGUAS.

2003-08-12  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump

2003-08-11  Jody Goldberg <jody@gnome.org>

	* Release 2.3.1

2003-08-11  Jody Goldberg <jody@gnome.org>

	* gtk-doc.make : add
	* doc/reference/Makefile.am : tweak uninstall to placate automake-1.7

2003-08-11  Paisa Seeluangsawat <paisa@users.sf.net>

	* th.po: Added Thai translation.
	* configure.in: (ALL_LINGUAS) Added Thai (th).

2003-08-06  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.in:
          set ACLOCAL_AMFLAGS to make maintainer builds work
	* libgnomeprint/Makefile.am:
	* libgnomeprint/transports/Makefile.am:
	* tests/Makefile.am:
          Use AM_* instead of * to not override user flags

2003-06-21  Dafydd Harries  <daf@parnassus.ath.cx>

	* configure.in: Added "cy" (Welsh) to ALL_LINGUAS.

2003-06-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>

	* libgnomeprint/libgnomeprint-2.2.pc.in (privateincludedir): fix
	path (add a missing libgnomeprint/).

2003-06-20  Abel Cheung  <maddog@linux.org.hk>

	* configure.in: Added "mk" to ALL_LINGUAS.

2003-06-19  Martin Kretzschmar  <m_kretzschmar@gmx.net>

	Bug #115320

	* libgnomeprint/libgnomeprint-2.2.pc.in (privateincludedir): new
	variable pointing to the private headers directory.

	* libgnomeprint/gnome-font-private.h: include "gnome-font.h" from
	<libgnomeprint/gnome-font.h>, likewise for gnome-rfont.h.

	* libgnomeprint/Makefile.am (font_sources, font_private_headers):
	install gnome-fontmap.h to libgnomeprint/private.

2003-06-12  Frederic Crozat  <fcrozat@mandrakesoft.com>

	* libgnomeprint/modules/cups/Makefile.am:
	* libgnomeprint/transports/Makefile.am:
	use -avoid-version for dynamically loaded modules (bug #114561)

2003-05-06  Danilo Šegan  <dsegan@gmx.net>

	* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.

2003-04-25  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>

	* configure.in: call AC_LIBTOOL_WIN32_DLL.

	* libgnomeprint/Makefile.am:
	* libgnomeprint/modules/cups/Makefile.am:
	* libgnomeprint/transports/Makefile.am: add -no-undefined
	to _la_LDFLAGS.

	* libgnomeprint/transports/Makefile.am: add $(LIBGNOMEPRINT_LIBS)
	to _la_LIBADD.

2003-03-28  Chema Celorio  <chema@celorio.com>

	* autogen.sh (REQUIRED_AUTOMAKE_VERSION): require automake 1.6
	(filed as bug #109366)

	* data/models/Makefile.am: fix automake warning "automake does not
	support conditional definition of modelsprivate_DATA".
	* data/printers/Makefile.am: for printers too.
	(filed as bug #109438)

	* libgnomeprint/gnome-print-config.c (gnome_print_config_get_boolean): "yes"
	was duplicated in the if.

2003-03-27  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print-pdf.c (gnome_print_pdf_clip): Fix bug #107160

2003-03-13  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "ml" to ALL_LINGUAS.

2003-03-12  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gpa/gpa-node-private.h: the signature of the "modified" signal
	was missing a "gint flags" argument, add

	* libgnomeprint/gpa/gpa-root.h: remove globals printers_list & models_dict
	add _GPARoot

	* libgnomeprint/gpa/gpa-root.c: make gpa_root a class in itself so that
	we can browse the whole tree.
	(gpa_init): attach globals and printers_list to gpa_root.

	* libgnomeprint/gpa/gpa-printer.c (gpa_printer_list_load)
	(gpa_printer_get_default, gpa_printer_get_by_id): change printers_list
	from a global to gpa_root->printers_list.

	* libgnomeprint/gpa/gpa-node.c (gpa_node_lookup): cast the gpa_root
	to a GPA_NODE

	* libgnomeprint/gpa/gpa-model.c: move models_dict here, is no longer
	on an .h file. s/models_dict/gpa_models_dict/g to prevent a symbol clash

	* tests/gpa-test.c: you can now pass a path to dump the tree in the console for
	added --dump-root and renamed --dump to --dump-config

2003-03-12  Chema Celorio  <chema@celorio.com>

	* configure.in: post release version bump to 2.3.1

2003-03-12  Chema Celorio  <chema@celorio.com>

	* 2.3.0 he we go. No other reason to make a release other than having
	a point of reference

2003-03-12  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print-job.c (gnome_print_job_metadata_printer):
	implement. Prints the metadata to a file
	(gnome_print_job_print): use here

	* libgnomeprint/gnome-print.c: typo in function documentation
	(gnome_print_context_new): g_warn if the context could not be created

	* configure.in (metadata_printer): add --with-metadata-printer
	* data/printers/Makefile.am (privateprinters_DATA): install META.xml
	* data/models/Makefile.am: install GNOME-META.xml

2003-03-11  Chema Celorio  <chema@celorio.com>

	* tests/run-test.pl (my_check_output): bump max to accomodate for new
          test.

	* tests/generate.c (my_clip_region): implement. Triggers bug #107160.

2003-03-05  Samúel Jón Gunnarsson <sammi@techattack.nu>

	* configure.in: Added "is" in ALL_LINGUAS

2003-03-05  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print-unit.c (gnome_print_unit_get_identity): don't
	return FALSE on error, return NULL since the retval is a GnomePrintUnit*

	* tests/fonts.c (check_options): don't use == TRUE, fixes bug #107644

2003-02-28  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print-job.c (job_parse_config_data): fetch page
	layout transforms in order. Fixes bug #105904

2003-02-28  Chema Celorio  <chema@celorio.com>

	* configure.in (GNOME_PRINT_MODULES/DATA_DIR): don't mess with the paths
	use datadir & libdir directly. Fixes bug #105096
	(DISPLAY_DATA_DIR): resolve the actual installation datadir to display it
	at the end of configure.

2003-02-28  Chema Celorio  <chema@celorio.com>

	* configure.in: don't use DATADIR to compose GNOME_PRINT_DATA_DIR as it is
	defined by the glib-gettext aclocal macro and thus breaks if gettext is
	not installed. Fixes bug #105089

2003-02-28  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gpa/gpa-root.c (gpa_initialized): if we are initializing
	return TRUE
	(gpa_init): set the initializing flag on and off while we are initializing

2003-02-27  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gpa/gpa-root.c (gpa_initialized): having a models_dict
	does not mean that we are initialized, having a valid printers_list does

	* libgnomeprint/gpa/gpa-printer.c (gpa_printer_new): check for
	the return value of gpa_initialized not for the function pointer
	(was missing the parenthesis)

	* libgnomeprint/gpa/gpa-key.c (gpa_key_merge_from_key): allow merging
	from syntetic keys (Settings.Application)

2003-02-27  Chema Celorio  <chema@celorio.com>

	libgnomeprint part of bug #106162

	* libgnomeprint/gnome-print-unit.c (gnome_print_unit_get_name): implement
	* libgnomeprint/gnome-print-unit.h: add get_name guarded by _UNSTABLE_API
	as we don't want apps to use it since this entry point was added after 2.2.0
	we _need_ this function if we want to get translated unit names.

	* libgnomeprint/gpa/gpa-option.c (gpa_option_get_name): implement
	* libgnomeprint/gpa/gpa-option.h: add _get_name

	* libgnomeprint/gpa/gpa-utils.c (gpa_utils_dump_tree_with_level): print
	option->value for GPA_OPTION_TYPE_ITEM

2003-02-26  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/modules/cups/gnome-print-cups.c:
	(option_list_new_with_default): implement
	(load_paper_sources, load_paper_sizes): use here
	fixes #106984, reported and patch by Owen Taylor <otaylor@redhat.com>

2003-02-26  Taneem Ahmed  <taneem@eyetap.org>

	* configure.in: Added "bn" to ALL_LINGUAS.

2003-02-18  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "ga" to ALL_LINGUAS.

2003-02-18  Roozbeh Pournader  <roozbeh@sharif.edu>

	* configure.in: Added "fa" to ALL_LINGUAS.

2003-02-14  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print-job.c (gnome_print_job_get_pages):
	g_return_val_if_fail if the job has not been closed.

2003-02-13  Chema Celorio  <chema@celorio.com>

	* configure.in: add check for zlib, fixes #105819

	* libgnomeprint/gnome-fontmap.h: add ->is_alias to GPFamilyEntry

	* libgnomeprint/gnome-fontmap.c (gp_fontmap_sort): make Families
	as alias/non-alias entries.
	(gnome_font_family_list): don't append entries

2003-02-11  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print-config.c (gnome_print_config_get_option):
	implement

2003-02-11  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print-config.c (gnome_print_config_insert_options):
	Implement

2003-02-11  Christopher James Lahey <clahey@ximian.com>

	* libgnomeprint/modules/cups/gnome-print-cups-transport.c (gp_transport_cups_print_file):
	implement

	* libgnomeprint/gnome-print-transport.h: add a print_file method to
	TransportClass

	* libgnomeprint/gnome-print-transport.c (gnome_print_transport_print_file):
	implement.
	(gnome_print_transport_real_print_file): implement.

	* libgnomeprint/gnome-print-job.h: add set file, guarded by
	GNOME_PRINT_UNSTABLE_API

	* libgnomeprint/gnome-print-job.c (gnome_print_job_set_file):
	implement.
	* add g_return_val_if_fails to make sure apps do not mix usage
	of gnome_print_job_set_file and gnome-print postscript like commands.

	* libgnomeprint/gnome-print-job-private.h: add ->input_file

2003-02-11  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print.c (gnome_print_context_close): we know
	the error type if something failed. Return ret rather than _ERR_UNKNOWN

2003-02-11  Chema Celorio  <chema@celorio.com>

	* configure.in: add libtool versioning

	* libgnomeprint/Makefile.am (LDFLAGS): add -version-info

	* libgnomeprint/modules/cups/Makefile.am (libgnomeprintcups_la_LDFLAGS):
	remove PLUGIN_LIBTOOL_CFLAGS from _la_LDFLAGS

2003-02-10  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gpa/gpa-settings.c (gpa_settings_append_stock_nodes):
	implement.
	(gpa_settings_new): and use here

	* libgnomeprint/gpa/gpa-option.c (gpa_option_duplicate): copy
	the LOCKED_FLAG when duplicating an option
	(gpa_option_create_key): handle _LOCKED_FLAG
	(gpa_option_new_from_tree): read "Locked" from xml tree

	* libgnomeprint/gpa/gpa-node-private.h: fix LOCKED_FLAG

	* libgnomeprint/gpa/gpa-key.c (gpa_key_duplicate): if the option
	had FLAG_LOCKED, the key should have it too
	(gpa_key_set_value): add support for synthetic keys needed
	for gnome_print_config_add_{type}
	(gpa_key_insert): implement

	* libgnomeprint/gpa/gpa-config.c (gpa_config_new): don't duplicate
	settings as multiple settings are not supported. We are not using
	gpa_list (of settings) correctly. We need not only _default for lists
	but _active or _selected. We are using _default to tag both defaults
	and selected settings.

	* libgnomeprint/gnome-print-config.h: add g-p-c-insert-boolean,
	remove duplicated GnomePrintConfig key. Update G_P_C_K_OUTPUT_FILENAME

	* libgnomeprint/gnome-print-config.c (gnome_print_config_keys_compat):
	implement to keep backward compatibility with keys.
	(gnome_print_config_get): use compat
	(gnome_print_config_insert_boolean): implement. Experimental at this
	point and guarded with GNOME_PRINT_UNSTABLE_API in .h file. Allows
	applications to insert nodes into a GnomePrintConfig

2003-02-10  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-print-transport.c (gnome_print_transport_new): if PrintToFile
	is true, set module to libgnomeprint-file.so.

	* libgnomeprint/transports/gp-transport-file.c (gp_transport_file_construct):
	get filename from Settings.Output.Job.FileName

	* libgnomeprint/modules/cups/gnome-print-cups.c: add Output.Job.FileName
	& Output.Job.PrintToFile
	* data/models/GNOME-GENERIC-PS.xml.in: ditto
	* data/models/GNOME-PDF-WRITER.xml.in: ditto

2003-02-07  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/modules/cups/gnome-print-cups.c: Don't append the
	Document subtree as gpa_settings_new does it for all settings.

2003-02-06  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "id" to ALL_LINGUAS.

2003-02-02  Chema Celorio  <chema@celorio.com>

	* 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

2003-02-02  Chema Celorio  <chema@celorio.com>

	* 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

2003-02-02  Chema Celorio  <chema@celorio.com>

	* 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

2003-02-01  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gnome-font-family.c (gnome_font_family_style_list):
	Don't return duplicated styles, the font-dialog no longer displays
	duplicated styles.

2003-01-31  Chema Celorio  <chema@celorio.com>

	* libgnomeprint/gp-gc.c (gp_gc_get_linecap): Fix the first
	part of #104932. Spotted by jean.brefort@ac-dijon.fr

	* libgnomeprint/gnome-font-face.c (gff_load_outline):
	Fix #104754

	* libgnomeprint/gnome-fontmap.c (fcpattern_to_gp_font_entry):
	Fix #104710, patch from Akira TAGOH

	* configure.in (gtk_doc_min_version): don't need to check
	for "gtk-doc > 0.10". 0.9 is good enough

	* libgnomeprint/modules/cups/gnome-print-cups.c: add
	Output.Job.Copies & Output.Job.Collate
	* data/models/GNOME-PDF-WRITER.xml: same here

	* libgnomeprint/gpa/gpa-list.[ch]: fix a typo s/defalt/default/
	* libgnomeprint/gpa/gpa-printer.c: here too

2003-01-31  Chema Celorio  <chema@celorio.com>

	* configure.in (cups_msg): make the "cups not installed" message a little
	bit more explicit

2003-01-28  Chema Celorio  <chema@celorio.com>

	* doc/reference/Makefile.am: install API docs in
	$(HTML_DIR)/libgnomeprint-2.2 so that it parallel installs with
	libgnomeprint-devel (1.116.x)

2003-01-27  Chema Celorio  <chema@celorio.com>

	* configure.in: bump version to 2.3.0.

	* libgnomeprint/gnome-print-pdf-t1.c (gnome_print_pdf_t1_determine_lengths_pfa):
	remove a compile time warning that might break non gcc compilations. Spotted
	by Chris Lahey <clahey@ximian.com>


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 pkgsrc/print/libgnomeprint/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/print/libgnomeprint/PLIST \
    pkgsrc/print/libgnomeprint/distinfo
cvs rdiff -r1.10 -r1.11 pkgsrc/print/libgnomeprint/buildlink2.mk
cvs rdiff -r1.3 -r0 pkgsrc/print/libgnomeprint/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.