diff options
Diffstat (limited to 'x11-toolkits/gtkmm12')
-rw-r--r-- | x11-toolkits/gtkmm12/Makefile | 38 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-ah | 11 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-gtkmm-config.in | 11 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-src::build_sources::proxy.h.m4 | 26 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-src::curve.gen_h | 13 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-src::editable.gen_h | 11 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-src::gtk--::base.h | 40 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4 | 11 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/pkg-descr | 1 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/pkg-message | 10 | ||||
-rw-r--r-- | x11-toolkits/gtkmm12/pkg-plist | 201 |
12 files changed, 376 insertions, 0 deletions
diff --git a/x11-toolkits/gtkmm12/Makefile b/x11-toolkits/gtkmm12/Makefile new file mode 100644 index 000000000..6eaf2ceff --- /dev/null +++ b/x11-toolkits/gtkmm12/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: gtk-- +# Date created: 11 May 1998 +# Whom: Yukihiro Nakai <Nakai@technologist.com> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= gtkmm +PORTVERSION= 1.2.8 +PORTREVISION= 6 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gtkmm/1.2 +#DIST_SUBDIR= gnome + +MAINTAINER= gnome@FreeBSD.org +COMMENT= C++ wrapper for gtk, a x11 graphics library + +LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++ +BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gtk12 +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --enable-static=yes \ + --without-gnome \ + --with-sigc-prefix=${LOCALBASE} + +post-install: +.for lib in gdkmm gtkmm + @${RM} ${PREFIX}/lib/lib${lib}.so ${PREFIX}/lib/lib${lib}.la + @${MV} ${PREFIX}/lib/lib${lib}.a ${PREFIX}/lib/lib${lib}-1.2.a +.endfor + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/x11-toolkits/gtkmm12/distinfo b/x11-toolkits/gtkmm12/distinfo new file mode 100644 index 000000000..9b817aa1c --- /dev/null +++ b/x11-toolkits/gtkmm12/distinfo @@ -0,0 +1,3 @@ +MD5 (gtkmm-1.2.8.tar.bz2) = 0dfcf7df4825379cb42cf6ef93c0387c +SHA256 (gtkmm-1.2.8.tar.bz2) = 173ad7759bc4b328bd0d295ed237d12b851db9ea319faab486274510ea3e5271 +SIZE (gtkmm-1.2.8.tar.bz2) = 554664 diff --git a/x11-toolkits/gtkmm12/files/patch-ah b/x11-toolkits/gtkmm12/files/patch-ah new file mode 100644 index 000000000..26daf873f --- /dev/null +++ b/x11-toolkits/gtkmm12/files/patch-ah @@ -0,0 +1,11 @@ +--- gdk--/gdk--/window.cc.orig Tue Sep 28 15:05:27 1999 ++++ gdk--/gdk--/window.cc Mon Oct 4 18:56:14 1999 +@@ -57,7 +57,7 @@ + Gdk_Window::Gdk_Window(const Gdk_WindowAttr &attributes, + gint attributes_mask):Gdk_Drawable(0) + { +- create(0,attributes,attributes_mask); ++ create((Gdk_Window &)gdk_root_parent,attributes,attributes_mask); + } + + Gdk_Window::~Gdk_Window() diff --git a/x11-toolkits/gtkmm12/files/patch-gtkmm-config.in b/x11-toolkits/gtkmm12/files/patch-gtkmm-config.in new file mode 100644 index 000000000..66ca1b94a --- /dev/null +++ b/x11-toolkits/gtkmm12/files/patch-gtkmm-config.in @@ -0,0 +1,11 @@ +--- gtkmm-config.in.orig Tue Jul 17 20:08:35 2001 ++++ gtkmm-config.in Tue Jan 24 17:35:29 2006 +@@ -18,6 +18,6 @@ + +-gtkmm_libs="$LIBDIRS -lgtkmm -lgdkmm @GTK_LIBS@ @SIGC_LIBS@" ++gtkmm_libs="$LIBDIRS -lgtkmm-1.2 -lgdkmm-1.2 @GTK_LIBS@ @SIGC_LIBS@" + gtkmm_cflags="$CFLAGS @GTK_CFLAGS@ @SIGC_CFLAGS@" + +-gthread_libs="-lgthread" ++gthread_libs="-lgthread-1.2" + diff --git a/x11-toolkits/gtkmm12/files/patch-src::build_sources::proxy.h.m4 b/x11-toolkits/gtkmm12/files/patch-src::build_sources::proxy.h.m4 new file mode 100644 index 000000000..5e48974b1 --- /dev/null +++ b/x11-toolkits/gtkmm12/files/patch-src::build_sources::proxy.h.m4 @@ -0,0 +1,26 @@ +--- src/build_sources/proxy.h.m4.orig Sun Sep 5 05:45:02 2004 ++++ src/build_sources/proxy.h.m4 Sun Sep 5 05:50:18 2004 +@@ -174,20 +174,20 @@ + data.callback=&callback; + data.obj=this; + SigC::ScopeNode* node=tmp->receiver(); +- obj->register_data(node); ++ this->obj->register_data(node); + return tmp; + } + + RType emit(ARG_BOTH($1)) + { + return reinterpret_cast<RType (*)(LIST(gObj*,1,ARG_TYPE($1),[$1]))> +- (emit_func) (LIST(obj->gtkobj(),1,ARG_NAME($1),[$1])); ++ (emit_func) (LIST(this->obj->gtkobj(),1,ARG_NAME($1),[$1])); + } + + RType operator()(ARG_BOTH($1)) + { + return reinterpret_cast<RType (*)(LIST(gObj*,1,ARG_TYPE($1),[$1]))> +- (emit_func) (LIST(obj->gtkobj(),1,ARG_NAME($1),[$1])); ++ (emit_func) (LIST(this->obj->gtkobj(),1,ARG_NAME($1),[$1])); + } + + }; diff --git a/x11-toolkits/gtkmm12/files/patch-src::curve.gen_h b/x11-toolkits/gtkmm12/files/patch-src::curve.gen_h new file mode 100644 index 000000000..a13e6e23a --- /dev/null +++ b/x11-toolkits/gtkmm12/files/patch-src::curve.gen_h @@ -0,0 +1,13 @@ +--- src/curve.gen_h.orig Sun Sep 5 05:44:36 2004 ++++ src/curve.gen_h Sun Sep 5 05:51:36 2004 +@@ -143,8 +143,8 @@ + int i; + Iterator iter; + for (iter=b,i=0;iter!=e;++iter,i++); +- gfloat data[]=new gfloat[i]; +- get_vector(n,data); ++ gfloat* data=new gfloat[i]; ++ get_vector(i,data); + for (iter=b,i=0;iter!=e;++iter,i++) + (*iter)=data[i]; + delete [] data; diff --git a/x11-toolkits/gtkmm12/files/patch-src::editable.gen_h b/x11-toolkits/gtkmm12/files/patch-src::editable.gen_h new file mode 100644 index 000000000..234dc91f8 --- /dev/null +++ b/x11-toolkits/gtkmm12/files/patch-src::editable.gen_h @@ -0,0 +1,11 @@ +--- src/editable.gen_h.orig Mon Jun 10 21:40:43 2002 ++++ src/editable.gen_h Mon Jun 10 21:40:56 2002 +@@ -147,7 +147,7 @@ + namespace Gtk + { + +- string Editable::get_chars (int start_pos = 0, int end_pos = - 1) const ++ string Editable::get_chars (int start_pos, int end_pos) const + { + gchar *chars = gtk_editable_get_chars (GTK_EDITABLE (gtkobj ()), start_pos, end_pos); + string ret_val = chars; diff --git a/x11-toolkits/gtkmm12/files/patch-src::gtk--::base.h b/x11-toolkits/gtkmm12/files/patch-src::gtk--::base.h new file mode 100644 index 000000000..5da3b98d9 --- /dev/null +++ b/x11-toolkits/gtkmm12/files/patch-src::gtk--::base.h @@ -0,0 +1,40 @@ +--- src/gtk--/base.h.orig Tue Nov 14 21:23:11 2000 ++++ src/gtk--/base.h Wed Oct 13 05:01:59 2004 +@@ -99,12 +99,10 @@ + + /* Translating API */ + +-/* + // used to give error on unwrapped types; connect Gtk-- crew +-template <class C> struct NotWrapped; ++template <class C> struct NotWrapped {typedef void Type;}; + // hook for C => C++ translation + template <class C> struct Wrap {typedef typename NotWrapped<C>::Type CppType;}; +-*/ + + class Object; + class ObjectClass; +@@ -118,19 +116,19 @@ + + // Request a specific wrapper for an object. + template <class Cpp> +-Cpp* wrap_new(typename Cpp::BaseObjectType* o) ++inline Cpp* wrap_new(typename Cpp::BaseObjectType* o) + { + return (typename Cpp::CppClassType::wrap_new(o)); + } + + // interface to gtk-- +-/* ++ + template <class C> +-typename Wrap<C>::CppType* wrap(C* o) ++inline typename Wrap<C>::CppType* wrap(C* o) + { + return dynamic_cast<typename Wrap<C>::CppType*>(wrap_auto((GtkObject*)(o))); + } +-*/ ++ + + /********************************************************************/ + diff --git a/x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4 b/x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4 new file mode 100644 index 000000000..a735e9378 --- /dev/null +++ b/x11-toolkits/gtkmm12/files/patch-src::gtkmmproc::stage1.m4 @@ -0,0 +1,11 @@ +--- src/gtkmmproc/stage1.m4.orig Thu Feb 15 04:42:47 2001 ++++ src/gtkmmproc/stage1.m4 Wed Oct 13 02:35:02 2004 +@@ -198,7 +198,7 @@ + class __CPPNAME__; + class __CPPNAME__`'_Class; + } +-namespace Gtk { __NAMESPACE__::__CPPNAME__ *wrap (__CNAME__ *o); } ++namespace Gtk { template<> struct Wrap<__CNAME__> { typedef __NAMESPACE__::__CPPNAME__ CppType; }; } + dnl + dnl + GTKMM_SECTION(PRIVATE) diff --git a/x11-toolkits/gtkmm12/pkg-descr b/x11-toolkits/gtkmm12/pkg-descr new file mode 100644 index 000000000..656cd1154 --- /dev/null +++ b/x11-toolkits/gtkmm12/pkg-descr @@ -0,0 +1 @@ +C++ wrapper for gtk, a x11 graphics library diff --git a/x11-toolkits/gtkmm12/pkg-message b/x11-toolkits/gtkmm12/pkg-message new file mode 100644 index 000000000..3adc5d42b --- /dev/null +++ b/x11-toolkits/gtkmm12/pkg-message @@ -0,0 +1,10 @@ +**************************************************************** +* * +* - To compile gtkmm12 based applications, type * +* eg++ `gtkmm-config --cflags` foo.cc `gtkmm-config --libs` * +* * +* - If you want to use autoconf with gtkmm12, * +* Please copy gtk--.m4 to /usr/local/share/aclocal * +* by yourself, thanks. * +* * +**************************************************************** diff --git a/x11-toolkits/gtkmm12/pkg-plist b/x11-toolkits/gtkmm12/pkg-plist new file mode 100644 index 000000000..a14d5069c --- /dev/null +++ b/x11-toolkits/gtkmm12/pkg-plist @@ -0,0 +1,201 @@ +bin/gtkmm-config +bin/gtkmmconvert +include/gdk--.h +include/gdk--/bitmap.h +include/gdk--/color.h +include/gdk--/colormap.h +include/gdk--/cursor.h +include/gdk--/drawable.h +include/gdk--/font.h +include/gdk--/gc.h +include/gdk--/image.h +include/gdk--/list.h +include/gdk--/main.h +include/gdk--/pixmap.h +include/gdk--/types.h +include/gdk--/visual.h +include/gdk--/window.h +include/glib--.h +include/gtk--.h +include/gtk--/accelgroup.h +include/gtk--/accellabel.h +include/gtk--/adjustment.h +include/gtk--/alignment.h +include/gtk--/arrow.h +include/gtk--/aspectframe.h +include/gtk--/base.h +include/gtk--/bin.h +include/gtk--/box.h +include/gtk--/button.h +include/gtk--/buttonbox.h +include/gtk--/calendar.h +include/gtk--/checkbutton.h +include/gtk--/checkmenuitem.h +include/gtk--/clist.h +include/gtk--/colorselection.h +include/gtk--/combo.h +include/gtk--/container.h +include/gtk--/ctree.h +include/gtk--/curve.h +include/gtk--/data.h +include/gtk--/dialog.h +include/gtk--/drawingarea.h +include/gtk--/editable.h +include/gtk--/entry.h +include/gtk--/eventbox.h +include/gtk--/fileselection.h +include/gtk--/fixed.h +include/gtk--/fontselection.h +include/gtk--/frame.h +include/gtk--/handlebox.h +include/gtk--/image.h +include/gtk--/imageloader.h +include/gtk--/inputdialog.h +include/gtk--/invisible.h +include/gtk--/item.h +include/gtk--/label.h +include/gtk--/layout.h +include/gtk--/list.h +include/gtk--/listitem.h +include/gtk--/main.h +include/gtk--/marshal.h +include/gtk--/menu.h +include/gtk--/menubar.h +include/gtk--/menuitem.h +include/gtk--/menushell.h +include/gtk--/misc.h +include/gtk--/notebook.h +include/gtk--/object.h +include/gtk--/optionmenu.h +include/gtk--/packer.h +include/gtk--/paned.h +include/gtk--/pixmap.h +include/gtk--/plug.h +include/gtk--/preview.h +include/gtk--/private/accelgroup_p.h +include/gtk--/private/accellabel_p.h +include/gtk--/private/adjustment_p.h +include/gtk--/private/alignment_p.h +include/gtk--/private/arrow_p.h +include/gtk--/private/aspectframe_p.h +include/gtk--/private/base_p.h +include/gtk--/private/bin_p.h +include/gtk--/private/box_p.h +include/gtk--/private/button_p.h +include/gtk--/private/buttonbox_p.h +include/gtk--/private/calendar_p.h +include/gtk--/private/checkbutton_p.h +include/gtk--/private/checkmenuitem_p.h +include/gtk--/private/clist_p.h +include/gtk--/private/colorselection_p.h +include/gtk--/private/combo_p.h +include/gtk--/private/container_p.h +include/gtk--/private/ctree_p.h +include/gtk--/private/curve_p.h +include/gtk--/private/data_p.h +include/gtk--/private/dialog_p.h +include/gtk--/private/drawingarea_p.h +include/gtk--/private/editable_p.h +include/gtk--/private/entry_p.h +include/gtk--/private/eventbox_p.h +include/gtk--/private/fileselection_p.h +include/gtk--/private/fixed_p.h +include/gtk--/private/fontselection_p.h +include/gtk--/private/frame_p.h +include/gtk--/private/handlebox_p.h +include/gtk--/private/image_p.h +include/gtk--/private/inputdialog_p.h +include/gtk--/private/invisible_p.h +include/gtk--/private/item_p.h +include/gtk--/private/label_p.h +include/gtk--/private/layout_p.h +include/gtk--/private/list_p.h +include/gtk--/private/listitem_p.h +include/gtk--/private/main_p.h +include/gtk--/private/menu_p.h +include/gtk--/private/menubar_p.h +include/gtk--/private/menuitem_p.h +include/gtk--/private/menushell_p.h +include/gtk--/private/misc_p.h +include/gtk--/private/notebook_p.h +include/gtk--/private/object_p.h +include/gtk--/private/optionmenu_p.h +include/gtk--/private/packer_p.h +include/gtk--/private/paned_p.h +include/gtk--/private/pixmap_p.h +include/gtk--/private/plug_p.h +include/gtk--/private/preview_p.h +include/gtk--/private/progress_p.h +include/gtk--/private/progressbar_p.h +include/gtk--/private/radiobutton_p.h +include/gtk--/private/radiomenuitem_p.h +include/gtk--/private/range_p.h +include/gtk--/private/ruler_p.h +include/gtk--/private/scale_p.h +include/gtk--/private/scrollbar_p.h +include/gtk--/private/scrolledwindow_p.h +include/gtk--/private/separator_p.h +include/gtk--/private/socket_p.h +include/gtk--/private/spinbutton_p.h +include/gtk--/private/statusbar_p.h +include/gtk--/private/style_p.h +include/gtk--/private/table_p.h +include/gtk--/private/tearoffmenuitem_p.h +include/gtk--/private/text_p.h +include/gtk--/private/tipsquery_p.h +include/gtk--/private/togglebutton_p.h +include/gtk--/private/toolbar_p.h +include/gtk--/private/tooltips_p.h +include/gtk--/private/tree_p.h +include/gtk--/private/treeitem_p.h +include/gtk--/private/viewport_p.h +include/gtk--/private/widget_p.h +include/gtk--/private/window_p.h +include/gtk--/progress.h +include/gtk--/progressbar.h +include/gtk--/proxy.h +include/gtk--/radiobutton.h +include/gtk--/radiomenuitem.h +include/gtk--/range.h +include/gtk--/ruler.h +include/gtk--/scale.h +include/gtk--/scrollbar.h +include/gtk--/scrolledwindow.h +include/gtk--/separator.h +include/gtk--/socket.h +include/gtk--/spinbutton.h +include/gtk--/statusbar.h +include/gtk--/style.h +include/gtk--/table.h +include/gtk--/tearoffmenuitem.h +include/gtk--/text.h +include/gtk--/tipsquery.h +include/gtk--/togglebutton.h +include/gtk--/toolbar.h +include/gtk--/tooltips.h +include/gtk--/tree.h +include/gtk--/treeitem.h +include/gtk--/viewport.h +include/gtk--/widget.h +include/gtk--/window.h +lib/gtkmm/include/gdk--config.h +lib/gtkmm/include/gtk--config.h +lib/gtkmm/proc/convert.m4 +lib/gtkmm/proc/doc1.m4 +lib/gtkmm/proc/gtkconvert.m4 +lib/gtkmm/proc/gtkmmproc +lib/gtkmm/proc/list.m4 +lib/gtkmm/proc/stage1.m4 +lib/libgdkmm-1.2.a +lib/libgdkmm-1.2.so +lib/libgdkmm-1.2.so.2 +lib/libgtkmm-1.2.a +lib/libgtkmm-1.2.so +lib/libgtkmm-1.2.so.2 +share/aclocal/gtk--.m4 +@dirrm include/gdk-- +@dirrm include/gtk--/private +@dirrm include/gtk-- +@dirrm lib/gtkmm/include +@dirrm lib/gtkmm/proc +@dirrm lib/gtkmm |