Commit graph

68 commits

Author SHA1 Message Date
dogcow
8883966702 gtkmm wants gtk2+>= 2.12.0. 2007-12-31 11:11:58 +00:00
adam
aeb389c581 Changes 2.12.3:
* Documentation: Improved the devhelp file to
  - show the full method name, including the class name.
  - really jump to the method's anchor on the page.
* Build: Fix the win32 build.

Changes 2.12.2:
* IconView: set_cursor(): Actually implement this.
* LinkButton: Correct the implementation of the
  constructor that takes just the URI. Bug 492200
* Build: Fix the build on MacOS X. Bug 493057.
2007-11-18 08:37:04 +00:00
drochner
536952e6e1 don't try to @dirrm share/devhelp/books 2007-10-29 23:16:47 +00:00
adam
d8abd7ce26 Changes 2.12.1:
* PrintOperation: Corrected a reference-counting problem that caused
  crashes.

Changes 2.12:
* New classes: Builder, RecentAction, Tooltip, VolumeButton.
* Deprecated the Tooltips class.
* More...
2007-10-13 14:18:33 +00:00
wiz
c931d92b95 Add three patches based on files in gtkmm-2.12.0 to fix the build
with gtk2+-2.12.0.  Bump PKGREVISION.

In case this doesn't build with gtk2+<2.12 any longer, please add
an appropriate BUILDLINK_API_DEPENDS.gtk2 line.
2007-09-22 22:56:43 +00:00
wiz
3528e06345 Fix paths for GConf, libglade, libart, libsigc++, lablgtk moves.
Bump PKGREVISION.
2007-09-21 13:03:25 +00:00
adam
e6e2b14d26 Changes 2.10.11:
* TextBuffer: Removed the maemo-specific methods
  get_can_paste_rich_text(), set_can_paste_rich_text(),
  set_rich_text_format(), and set_rich_text_format_all(), because they have
  been removed from the maemo GTK+ 2.10, in favour of the new regular GTK+ 2.10
  methods.
* Build: Fix the tests when properties are disabled.
* Documentation:
  - FileChooser API reference improvements.
  - Improved cflags/libs section.
2007-08-12 12:24:20 +00:00
adam
264e2a40f9 Changes 2.10.10:
* RadioAction: Correct a reference-counting error in the "changed" signal.
* RecentManager: Allow Gtk::RecentManager::Data to be instantiated, for use with
  the full version of add_item().
* Menu: Fix memory problems during destruction by handling attached widgets as
  we already handle child widgets.
* Correctly ifdef-out initialization of deprecated classes.
* Build: Cope with newer m4 versions.
* Documentation:
  FAQ: Emphasize that libglademm is preferred to glademm.
2007-07-05 11:08:08 +00:00
adam
fad9dcd3bc Changes 2.10.8:
* ActionGroup::add(): Avoid a problem on 64-bit systems due to 0/NULL confusion.
* Documentation:
  - Updated the Internationalization chapter.
  - Added appendix about Visual Studio 2005.
2007-03-18 13:19:37 +00:00
rillig
8e29f2fef0 This package needs glibmm>=2.12.3. 2007-02-15 14:58:02 +00:00
adam
a5632b9e2a Changes 2.10.7:
* Main: Cleanup data structures in the destructor, preventing leaks, and allowing
  a second instantiation.
* Build: Fix build with SUN Workshop 11
* Documentation:
  - glade/libglade tutorial section: Clarification.
  - Added SizeGroup documentation.
2007-02-05 19:44:08 +00:00
adam
b2f3ffb486 Changes 2.10.6:
* Gdk::Drawable::create_cairo_context(),
  Gtk::PrintContext::get_cairo_context(),
  Gtk::PrintJob::get_surface(): Fix memory leak caused by doing
  an extra reference.
2007-01-04 22:41:56 +00:00
adam
52bcbc1002 Changes 2.10.5:
* UIManager: Fix crash when built without exceptions support.
* Style: lookup_icon_set(): Memory-management correction.
* Build:
  - Windows:  Do not check for gtk+-unix-print-2.0 on as it is not
  always included in GTK installers and/or binary archives (like in Tor's binaries).
2006-11-29 19:05:17 +00:00
adam
69de93bbd1 Changes 2.10.3:
* Adjustment: Preventing the value from being ignored.
* Build:
  - ListViewText:
  Fix an odd build problem with gcc 3.3.6.
* Documentation:
  - Explain the optional (at build-time) API for
  reduced resources environments.
  - Correct the links to the Memory Management and libglademm chapters.
  - Drawable::get_image(), Container::remove(), Widget::add_mnemonic_label:
  avoid mentioning a functions that do not exist in gtkmm.
2006-11-09 16:37:36 +00:00
joerg
e0c8bbddba DESTDIR support. 2006-11-06 10:36:42 +00:00
adam
aa8707546f Fix building with gcc-3; PR#34601 2006-09-25 15:49:07 +00:00
adam
d94e56cc93 Changes 2.10.2:
*  Added --enable-atk=no option, to disable the build and use
  of the atkmm API, for use in embedded environments.
* Documentation:
  - Book: Added Plug and Socket chapter to book, with example.

Changes 2.10.1:
* Button: fix typo in get_image_position()
* Added MSVC support for 2.10
2006-09-24 16:44:19 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
adam
d4d685d1a9 Changes 2.8.8:
* Fixed regressions from 2.9.1 and 2.8.6:
  - Regenerated with latest glibmm to fix several empty methods.
  - ActionGroup:add(): Fix crash in alternate property get.
  - Gdk::PixbufLoader: Correct the vfunc sequence to avoid the ABI break.
* Table: Fix crash in Table_Helpers::TableList.erase().
2006-05-22 11:04:26 +00:00
adam
07b2f1165e Fix buildlink3.mk 2006-05-13 20:32:15 +00:00
adam
ad7ddf0868 Changes 2.8.7:
* Fixed a typo to fix the build when not disabling exceptions.

Changes 2.8.6:
* Fix the build when using --enable-api-properties, --enable-api-vfuncs, or
  --enable-api-exceptions when configuring glibmm.
  When using these, the API, and any API generated by gmmproc, will be
  changed. This allows users of embedded platforms to reduce the code size of *mm
  libraries and *mm-using applications, at the small cost of losing some rarely-used
  API. Alternatives exist for that API, as show in the examples.
2006-05-13 19:15:38 +00:00
adam
fae5887188 Changes 2.8.5:
* Removed an unnecessary file from gmmproc.
2006-05-06 08:49:22 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
adam
05f52e61db Changes 2.8.4:
* IconTheme: Avoid crash in get_search_path().
* Some code size reduction by using more static functions instead of
  anonymous namespaces, and by avoiding some code duplication.
* Windows Build:
  - MSVC++ build: Use the new /vd2 compiler option to get the new unbroken
  dynamic_cast<> with MSVC++. There are now no known problems with
  the MSVC++ build.
  - mingw32 and cygwin builds: Correct some API export/import problems.
2006-04-14 11:01:52 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
adam
ae6559f0c8 Changes 2.8.3:
* gtkmm.h: Include menutoolbutton.h and tearoffmenuitem.h.
* Container: Avoid crash when connecting to the remove signal.
* TreeView: Commented-out uses of g_assert() in header to avoid
  warning that the statement has no effect
* Win32: Enable Plug and Socket classes
2006-02-14 22:05:44 +00:00
drochner
daec5a2a80 also require glibmm>=2.8.0 2006-02-08 18:53:44 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
adam
4eb258e754 Changes 2.8.2:
* Gdk::Window::set_cursor():
  Avoid leaking an extra Cursor instance.
* Build:
  - Correctly find gmmproc on 64-bit systems.
  - Optionally don't build the documentation, for
  people in a hurry.
  - Windows: Check for mkifofs().
  - For reduced-resources devices, optionally allow deprecated
    API to be left out of the library.
* Documentation:
  - Generated Since and Deprecated lists of API.
  - Improved Expander documentation.
  - Corrections to DrawArea chapter in book.
2006-01-16 14:24:21 +00:00
adam
3bdc6518c3 Changes 2.8.0:
API additions since 2.6:

Gtk:
* AboutDialog: Added set/get_wrap_license() and property.
* CellRenderer: Added "sensitive" property.
* ComboBoxText, ComboBoxEntryText:
  - Deprecated clear() in favour of new clear_items() method,
  because clear() exists in the base CellLayout class and is
  very different.
  - Added remove_text() to remove items one at a time.
* Dialog: Added get_response_for_widget().
* EntryCompletion: Added properties, get/set_popup_set_width(),
  get/set_popup_single_width().
* FileChooser: Added get/set_do_overwrite_confirmation(
* Iconview: Added get_item_at_pos(), get_visible_range(), get/set_cursor(),
  scroll_to_path().
* TreeRowReference: Added get_model().
* TreeView:
  - Added unset_model().
  - Added const versions of get_path_at_pos(),
  get_cell_area(), get_background_area(), get_visible_rect(),
  widget_to_tree_coords(), tree_to_widget_coords().
  - Added get_visible_range().
* TreeView::Column: Added queue_resize().
* Sizegroup: Added ignore_hidden property.
* Stock: Added FULLSCREEN, LEAVE_FULLSCREEN, and INFO stock items.
* Widget: Added drag_source_set_icon(const Glib::ustring& icon_name).
* Window:
  - Added urgency_hint property, and get/set_urgency_hint().
  Added present(timestamp) overload.

Gdk:
* Colormap: Deprecated alloc_colors() and  free_colors().
  Add free_color() for use with alloc_color().
* Cursor: Added get_image() and a Cursor(name) constructor.
* DragContext:Added set_icon(const Glib::ustring& name).
* Pixbuf: Added a save_to_buffer() overload without the options
  parameters.
* Window: Added move_region().
2005-10-03 13:11:49 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
adam
5f45d0321e Changes 2.6.4:
Gdk:
* PixbufLoader:create_with_type(): Really return the
  created GdkPixbufLoader.
Win32 build:
* Provide an extra hint to work around a DLL export/import bug
  with MSVC++ and TreeViewColumn
2005-07-28 12:29:43 +00:00
adam
4fc7a8a451 Changes 2.6.3:
* Gtk::Action::get_proxies()
  Use the correct ownership semantics.
* Gdk::Display::list_devices()
  Use the correct ownership semantics.
* examples/book/menus_and_toolbars/
  Distribute the .png file.

Changes 2.6.2:
* TreeView: When using the append_column() convenience API,
  prevent a crash when the window closes while the cell is
  editing.
* Allow derived CellRenderers to be edited, by removing
  some debug code that sneaked into 2.6.1.
* Documented many signals, based on the GTK+ documentation.

Changes 2.6.1:
* CellRenderer: Prevent an infinite loop.
* MSVC++ .Net 2003 build fixes.
* Documentation:
  - Hide deprecated widgets from the list of widgets.
  - Correct the description of the IO input example.

Chamges 2.6.0:
gtkmm 2.6 wraps new API in GTK+ 2.6, and is API/ABI-compatibile with gtkmm 2.4.
2005-07-22 21:21:46 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
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.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
drochner
4157424609 update to 2.2.12,
fix MASTER_SITES
changes:
* gtkmm 2.2.10 had an incorrect configure-time test, that mistakenly
  disabled some template code for gcc, used to convert from
    intermediate C++ containers to STL containers. For instance, this
      broke the gnome-vfsmm build.
* TreeView::get_path_at_pos(): Correct memory management. ("David").
* ConstructParams::ConstructParams(): improvement. (Daniel Elstner).
* TreePath::append(): Maybe fixed compilation for gcc 3.4. (Daniel Elstner)
2004-07-05 11:04:33 +00:00
wiz
c32fc02e2e Unused. 2004-05-03 13:08:58 +00:00
wiz
3017caecb9 The buildlink2 framework does nothing with .pc files -- remove them
from the buildlink2.mk files.
2004-04-15 00:49:29 +00:00
adam
b24e317d9d Changes 2.2.10:
* Build:
  - SUN Forte C++ (see README.SUN):
    Now builds. This is probably the first time since
    gtkmm 2.0.x. There are still some "anachronism"
    warnings, which someone might like to fix with a
    patch.
  - gcc++ 3.4 (cvs): Lots of issues fixed, though you
    might see an internal compiler error.
* Documentation:
  - Book: Mention CellRenderer's "editable" property.


Changes 2.2.9:

* Build:
  - Removed DISABLE_DEPRECATED macros so that gtkmm 2.2
  can build with GTK+ 2.3.x. I didn't release this previously
  because previous versions of GTK+ 2.3.x were broken with
  gtkmm, but it's OK now.
  - Removed unnecessary namespace qualification to fix build
  with the Intel compiler.
* Glib::ObjectBase: The default constructor, never before used,
  now generates a custom GType, for use when creating new
  implementations of Glib::Interfaces - for instance, see the
  new custom tree model example in gtkmm.
* examples: Added treecustommodel example, though it's much
  better in gtkmm 2.4.
* documentation:
  - Corrected name and install location of devhelp file.
  - Fixed some documentation that mentinod freeing C objects.
  - Added docs/internals/gtk_patches.txt with URLs of some
    patches/bugs that were needed to underlying libraries,
    as a clue for future developers.
* spec file: Added devhelp file.
2004-04-02 12:33:22 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
minskim
ab235c8f5f bl3ify gconfmm and define USE_LANGUAGES=c c++. Also add required
gtkmm/buildlink3.mk.
2004-03-09 20:56:35 +00:00
minskim
4bddde0c60 bl3ify and USE_LANGUAGES=c c++. 2004-03-09 20:44:44 +00:00