Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
* made -Wall clean.
* updated recent-files from libegg (only a small sanity check).
* applied Mark McLoughlin's patch for mime-type checks of remote URIs
in recent-files module.
- The program should now not insist on having a peek at each remote URI in
your recently used document list. (Looks like faster startup times.)
- Many warnings fixed.
- Many updated translations.
What's new? Well, most importantly, the document watch feature has been
ported to gnome-vfs file monitoring capabilities, fixing annoying
misbehaviour of GGV while watching over remote documents. Apart from
that a few minor bugs were fixed and ghostscript was caught occasionally
running without the "-dSAFER" switch: this rather dangerous habit was
prohibited immediately!
GGV is now also a bit less of a narcist: it does not include "GGV" in
the desktop entry name - it's only "PostScript Viewer" now, following
the fine examples of eog and gpdf.
The recent-files module has been updated to the one in latest libegg.
Multiple updated translations.
2004-12-05 Jaka Mocnik <jaka@gnu.org>
* configure.in: added proper --enable-* arguments for adding extra
debugging output, logging bonobo component output to a file and for
enabling PDF options in the prefs dialog.
* src/ggv-prefs-ui.c: do not show the PDF-related options in the
dialog unless explicitly configured to do so. Since I no longer
actively support the PDF viewing capabilities in GGV, this seems
like a proper thing to do.
* help/C/ggv.xml: commented out the description of the PDF related
options.
2004-12-04 Jaka Mocnik <jaka@gnu.org>
* src/ggv-window.c (ggv_window_load): fix the title updating;
fixes#150332, patch by Subrahmanyam Madduri.
* configure.in: bumped version to 2.8.1.
2004-11-30 Jaka Mocnik <jaka@gnu.org>
* src/gtkgs.c (gtk_gs_load): pass the path to uncompressed file to
psscan, not the original path.
* updated copyright notices, licensing terms, etc. in all source files.
* re-indented the sources because of migration emacs->eclipse.
2004-10-17 Jaka Mocnik <jaka@gnu.org>
* src/Makefile.am (INCLUDES): removed -I$(includedir): apparently
it breaks builds for some people.
2004-09-28 Pawan Chitrakar <pawan@nplinux.org>
* configure.in: Added ne "Nepali" in ALL_LINGUAS
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-09-12 Jaka Mocnik <jaka@gnu.org>
* configure.in: version 2.8.0; tag GGV_2_8_0; tarball for the upcoming 2.8.0 release.
2004-09-06 Jaka Mocnik <jaka@gnu.org>
* configure.in: version 2.7.99; tag GGV_2_7_99; released a tarball.
* ggv.desktop.in (MimeType): removed application/pdf as the pdf
viewing functionality of ggv is, although still available, not
actively supported - use gpdf for PDF previewing.
2004-08-27 Akagic Amila <bono@linux.org.ba>
* configure.in: Added 'bs' to ALL_LINGUAS.
2004-08-17 Mark McLoughlin <mark@skynet.ie>
* src/recent-files/egg-recent-item.[ch],
src/recent-files/egg-recent-model.c,
src/recent-files/egg-recent-util.[ch],
src/recent-files/egg-recent-view-bonobo.c,
src/recent-files/egg-recent-view-gtk.c,
src/recent-files/egg-recent-view.[ch]: sync with
latest libegg.
* src/recent-files/update-from-egg.sh: add
* src/recent-files/Makefile.am: add update-from-egg.sh to
EXTRA_DIST.
2004-08-16 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Added nb to ALL_LINGUAS.
2004-07-21 Ray Strode <rstrode@redhat.com>
* ggv/ggv.desktop.in: Add MimeType line to desktop file
new mime sytem.
2004-07-18 Jaka Mocnik <jaka@gnu.org>
* configure.in: version 2.7.0; released a tarball.
* src/ggv-prefs.c (ggv_prefs_load): test for "/usr/usb/lpr" on Solaris.
* src/ggv-ui.xml: changed "Fullscreen mode" to "Full Screen"; fixes#144876.
* src/gtkgs.c (gtk_gs_goto_page): do a gtk_gs_set_page_size() in order to properly
display documents with pages of multiple sizes. now how could this one have crept in
and how come no one noticed it until now? fixes#147591.
* bonobo/ggv-postscript-view.c (ggv_postscript_view_print): do not attempt to execute
a print command from an argv array whose first element is NULL; fixes#147705.
2004-07-16 Muktha <muktha.narayan@wipro.com>
* bonobo/main.c (main): disable session manager connection for
ggv-postscript-viewer. Fixes bug #147710.
Fri Jun 18 08:33:07 2004 Jonathan Blandford <jrb@gnome.org>
* AUTHORS: Changed the authors file to make it more obvious who's
really in charge.
2004-06-16 Jaka Mocnik <jaka@gnu.org>
* src/ggv-window.c (ggv_window_load): applied patch from Subrahmanyam
Madduri: added code for getting the filename which is to be opened,
from the path of the file. Also changed the order of display in title
to "<filename> - GGV". Fixes bug #60092
* bonobo/ggv-postscript-view-ui.xml: applied a patch from Udayan Kumar,
that adds a print icon to the toolbar, fixing #140907.
2004-04-18 Jaka Mocnik <jaka@gnu.org>
* ggv-prefs-ui.c: (ggv_prefs_dialog_new): Changed accelarators
for Document tab - Default Zoom and Coordination Units to resolve
conflicts in accelarators. patch by Archana Shah. Fixes bug#
134976.
* src/ggv-window.c (ggv_add_open_button): added tooltip for recent
files button. patch by chenthill.
* backport of bugfixes from gnome-2-6 branch.
* src/ggv-window.c (verb_FileOpen): don't set the file chooser size.
fixes#139518. patch by Darren Adams.
* src/gsdefaults.c (gtk_gs_defaults_set_*): only set the new value
if it differs from the old: should fix#139362.
* src/ggv-window.c (open_button_pressed_cb): applied a patch by
Kouichirou Hiratsuka, fixing a crash when event parameter is NULL.
fixes#139408.
2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
2004-04-07 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
Fix for bug #139363
* bonobo/ggv-postscript-view.c (verb_FileSaveMarked): Added
chooser filter for PS docs and all files.
* src/ggv-window.c (verb_FileOpen): Added chooser filters for
PS docs and all files.
2004-04-07 Jaka Mocnik <jaka@gnu.org>
* src/recent-files/egg-recent-model.c (egg_recent_model_filter): do not
test for existence of files since this is done before setting the mime
filter, so we can (and usually will) end up with testing a bunch of URIs,
many of which can be remote, which causes unacceptable delays when
starting GGV!
* configure.in: bump version to 2.7.0.
2004-03-31 Christian Rose <menthos@menthos.com>
* configure.in: Added "af" to ALL_LINGUAS.
2004-03-30 Adam Weinberger <adamw@gnome.org>
* configure.in: Added en_CA (Canadian English) to ALL_LINGUAS.
2004-03-29 Samúel Jón Gunnarsson <sammi@techattack.nu>
* is.po: Added "is" to ALL_LINGUAS.
2004-03-24 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
- fix double instantiation of ggv during session restoration; fixes#147710
(patch by Muktha Narayan).
- check print command before executing it; fixes#147705 & friends.
- properly display documents with pages with different bounding boxes.
- test for /usr/ucb/lpr on Solaris at runtime.
2004-04-18 Jaka Mocnik <jaka@gnu.org>
* configure.in: version 2.6.1; tagged as GGV_2_6_1.
* src/ggv-window.c (verb_FileOpen): don't set the file chooser size.
fixes#139518. patch by Darren Adams.
* src/gsdefaults.c (gtk_gs_defaults_set_*): only set the new value
if it differs from the old: should fix#139362.
* src/ggv-window.c (open_button_pressed_cb): applied a patch by
Kouichirou Hiratsuka, fixing a crash when event parameter is NULL.
fixes#139408.
2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
"Bringing you the fastest startup time among PostScript previewers. As
some of you might have noticed, 2.6.0 sometimes used an indecent amount
of time to start, due to do a number of dumb existance checks on recent
files when starting up; if those files were not local, this lasted and
lasted and lasted and then it lasted some more. therefore the checks
were eliminated. James was right all along...
Besides this, Icelandic, Punjabi, Canadian English and Afrikaans
translations were added. Croatian, Basque, Hungarian, Catalan and
Norwegian Nynorsk translations were updated."
2004-03-21 Jaka Mocnik <jaka@gnu.org>
* configure.in: version 2.6.0; tagged as GGV_2_6_0.
2004-03-20 Gareth Owen <gowen72@yahoo.com>
* configure.in: Added en_GB to ALL_LINGUAS
2004-03-14 Jaka Mocnik <jaka@gnu.org>
* configure.in: version 2.5.99.1; tagged as GGV_2_5_99_1.
* src/gtkgs.c (gtk_gs_load): only hide window if it is visible.
* src/main.c (create_window): don't close window if the document is
not loaded: this is not very nice, but doing otherwise causes
mayhem in both control and shell processes, the cause of which I
am currently unable to track down.
* src/ggv-window.c: applied a patch from chenthill that makes the
ESC key turn off fullscreen mode.
2004-03-08 Breda McColgan <breda.mccolgan@sun.com>
* help/C/ggv.xml: Updated based on technical review comments
* help/C/ggv-C.omf: Updated date and version number
2004-03-05 Jaka Mocnik <jaka@gnu.org>
* applied patch by chenthill that improves keyboard accelerators for
zooming in the control.
2004-03-05 Jaka Mocnik <jaka@gnu.org>
* src/recent-files/egg-recent-model.c (egg_recent_model_filter): test
for the existence of URI _after_ the URIs are filtered, reducing
overhead! fixes#136238.
* applied a patch from The Written Word that fixes AIX 5.1 build.
* bonobo/ggv-postscript-view-ui.xml, src/ggv-ui.xml: removed delimit
attribute from Viewer Items placeholder.
* src/Makefile.am (libgtkgs_la_SOURCES): removed ggv-recent.[ch].
* bonobo/main.c (main): Initialized the gnome libraries to provide
support for Edit->Preferences Help to work. Fixes bug#135273. Patch
by Shakti Sen.
* configure.in: version 2.5.99; tagged as GGV_2_5_99.
2004-03-02 Breda McColgan <breda.mccolgan@sun.com>
* help/C/ggv.xml: Updated for GNOME 2.6, technical review draft
* help/C/ggv-C.omf: Updated for GNOME 2.6
* help/C/l10n.txt: Updated for GNOME 2.6
* help/C/figures/ggv_window.png: Updated for GNOME 2.6
2004-02-13 Jaka Mocnik <jaka@gnu.org>
* configure.in: version 2.5.4; tagged as GGV_2_5_4.
2004-02-12 Jaka Mocnik <jaka@gnu.org>
* src/recent-files/egg-recent-model.c (end_element_handler): only add
an uri to the list if it exists!
2004-02-10 Jaka Mocnik <jaka@gnu.org>
* src/ggv-window.c (ggv_window_reload): show a dialog if the file
can't be reloaded.
* src/ggv-prefs-ui.c: remember strings when focus leaves the
entry.
* src/ggv-window.c (verb_FileOpen): allow opening multiple files
at once!
* bonobo/GNOME_GGV.server.in.in: Postscript -> PostScript!
2004-02-10 Jaka Mocnik <jaka@gnu.org>
* src/recent-files/egg-recent-view-bonobo.c
(egg_recent_view_bonobo_clear): added sanity checks for UI container.
* src/ps.c (psscan): pass the filename as a parameter and use it to
invoke the test command on strange files that might be PS but do not
seem to be.
* bonobo/ggv-sidebar.c (page_list_selection_changed): sanity check if
(checklist != NULL).
* bonobo/ggv-postscript-view.c (load_ps): return a boolean indicating
success.
(load_ps_from_stream): set exception when loading fails.
(load_ps_from_file): set exception when loading fails.
fix for #133601.
* src/ggv-window.c (verb_FileOpen): keep the dialog open until user
either enter a non-empty filename and opens it or cancel the
operation. fixes#130603
(verb_FileOpen): load PS file before showing a new window. destroy
new window if the file is not valid PS. show dialog in that case.
fixes#133601.
* bonobo/ggv-postscript-view.c (add_dialog_to_view): add a dialog to
the list of dialogs maintained by this PS view component.
(ggv_postscript_view_destroy_dialogs): destroy all our dialogs.
(ggv_postscript_view_destroy): destroy all dialogs via above func.
* src/recent-files/*: synced with latest libegg, since James reverted
the changes he made in November. here's what I get for tracking
changes once...
* src/ggv-window.c (verb_FileOpen):
* src/ggv-recent.c (ggv_recent_init): use new recent-files API.
2004-02-05 Tomasz K³oczko <kloczek@pld.org.pl>
* acinclude.m4: removed
This file contain private copy of few aclocal macros provided by
gettext. It breaks regenerata aclocal.m4 under automake diffrent
version than used by mantainer. All neccessary macros are copied
to aclocal.m4 during run autogen.sh.
* configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are substed
by default.
2004-02-04 Jaka Mocnik <jaka@gnu.org>
* bonobo/ggv-postscript-view.c (verb_FileSaveMarked): if Save is
clicked in the file chooser and the url is empty, rerun the dialog.
fixes#131656.
* bonobo/ggv-control.c, bonobo/ggv-postscript-view.c: added
sanity check (uicontainer != CORBA_OBJECT_NIL) before set prop
calls that were not guarded yet.
* src/ggv-ui.xml: removed ellipsis from "About" menu item label.
* acinclude.m4: applied a patch from Alexander Winston that fixes
the underquoted m4 definitions. fixes#133179.
* configure.in: require intltool >= 0.30; version 2.5.3;
tagged as GGV_2_5_3.
2004-01-12 Jaka Mocnik <jaka@gnu.org>
* src/recent-files/*: merge with current libegg HEAD.
* src/ggv-recent.c: fix in order to work with new recent-files code.
* src/cursors.c, bonobo/ggv-postscript-view.c: cache cursors per
ps_view instead of per process.
* src/ggv-window.c (ggv_window_new): set command sensitivity.
added page_count member to keep track of the document's properites.
* bonobo/ggv-postscript-view.c (view_realized_cb): removed one
unref too many. did this behaviour change with GTK 2.5? hth did
anything work at all in GGV 2.4.x otherwise?
* src/ggv-window.c (ggv_window_close): deactivate the control frame
before destroying the window contents.
* src/ggv-ui.xml: moved visibility settings in top level popup menu
to a submenu.
* Makefile.am (EXTRA_DIST): Removed OrigTree.pm from EXTRA_DIST.
* src/ggv-window.c (timer_callback): reload always when the window
has a specified file name, regardless of the previous state of the
document. use ggv_window_load(). fixes#127214.
* src/ggv-window.c (verb_FileClose): close window unconditionally. if
it was the last window, quit app. inspired by patch from Mikael
Brockman.
* src/ggv-ui.xml: removed Exit and New commands. patch from Mikael
Brockman. with the entry above, this fixes#130310.
* src/gtkgs.c (gtk_gs_munge_adjustments): step_increment now equals
the arrow keys' increment. fixes#126639.
* bonobo/ggv_postscript-view.c: call
bonobo_control_set_transient_for() and
gtk_window_set_destroy_with_parent() on all dialog windows. I suppose
this should help with #103729, but - wtf! - it doesn't...
2004-01-10 Jaka Mocnik <jaka@gnu.org>
* src/ggv-ui.xml: add a mnemonic for fullscreen mode. fixes#119848.
* ggv.desktop.in: added X-GNOME-DocPath entry - I suppose it can't
hurt.
* ggv.spec.in: fixed (hopefully) the RPM spec file. fixes#122003.
2004-01-02 Taneem Ahmed <taneem@bengalinux.org>
* configure.in: Added "bn" to ALL_LINGUAS.
2003-12-30 Jaka Mocnik <jaka@gnu.org>
* Makefile.am: include intltool-modules dir in distribution tarball.
2003-12-29 Jaka Mocnik <jaka@gnu.org>
* src/gtkgs.c (check_filecompressed): added sanity check
(NULL != file).
* src/recent-files/*: replace GnomeIconTheme with GtkIconTheme, since
the former is deprecated in upcoming GTK+.
* src/gtkchecklist.c: replace deprecated gtk_tree_model_get_iter_root()
with gtk_tree_model_get_iter_first().
* configure.in: added an --enable-deprecations flag in order to allow
configurable use of *_DISABLE_DEPRECATED flags.
bumped version to 2.5.1; tagged as GGV_2_5_1; release a tarball.
* */Makefile.am: respect the above.
2003-12-20 Arafat Medini <lumina@silverpen.de>
* configure.in: Added Arabic locale "ar" to ALL_LINGUAS
2003-12-14 Jaka Mocnik <jaka@gnu.org>
* src/ggv-window.c (ggv_window_set_fullscreen): applied a patch
from janecek at ucw.cz that uses gtk_window_fullscreen() instead
of my home-brewn stuff used in 2.4.
removed functions and includes made redundant by the above patch.
* src/Makefile.am: there was no need to link libgtkgs with librecent.a,
so we do not do that anymore.
2003-12-05 Jan Arne Petersen <jpetersen@uni-bonn.de>
* bonobo/ggv-postscript-view.c: (verb_FileSaveMarked):
* src/ggv-window.c: (verb_FileOpen): Replace GgvFileSel
(GtkFileSelection) with GtkFileChooser.
* src/Makefile.am:
* src/ggv-file-sel.[ch]: removed unused files.
configuration database from beeing modified by packages that do not honour
the --disable-schemas-install option. There is no need to patch these broken
packages any more.
Okay'ed by wiz.
rebuild the documentation database at install/deinstall time. This means
that:
- PLIST's do not need to call scrollkeeper-{update,rebuilddb} directly;
this is done by a bsd.pkg.install.mk template.
- The share/omf directory is only removed by scrollkeeper, which is the
last package in the dependancy tree.
- PKGREVISION is bumped.
Reviewed by wiz.