diff --git a/devel/bakery/Makefile b/devel/bakery/Makefile new file mode 100644 index 00000000000..8721b7485e2 --- /dev/null +++ b/devel/bakery/Makefile @@ -0,0 +1,43 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/06/05 22:13:25 jasper Exp $ + +COMMENT= C++ Application Framework for use with Gtkmm + +GNOME_PROJECT= bakery +GNOME_VERSION= 2.6.3 +SHARED_LIBS += bakery-2.6 0.0 # .1.0 +CATEGORIES= devel x11/gnome + +API_VERSION= 2.6 + +HOMEPAGE= http://bakery.sf.net/ + +# LPGLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MODULES= devel/gettext \ + x11/gnome + +WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext +WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 atkmm-1.6 +WANTLIB += cairo cairomm-1.0 dbus-1 dbus-glib-1 expat fontconfig +WANTLIB += freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gdkmm-2.4 +WANTLIB += gio-2.0 giomm-2.4 glade-2.0 glib-2.0 glibmm-2.4 glitz +WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 gtkmm-2.4 +WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pangomm-1.4 +WANTLIB += pcre pixman-1 png sigc-2.0 xml2 z + +LIB_DEPENDS= gconfmm-2.6::devel/gconfmm \ + glademm-2.4::devel/libglademm \ + xml++-2.6::textproc/libxml++ + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= ${CONFIGURE_SHARED} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +SUBST_VARS+= API_VERSION + +.include diff --git a/devel/bakery/distinfo b/devel/bakery/distinfo new file mode 100644 index 00000000000..4a989e3f757 --- /dev/null +++ b/devel/bakery/distinfo @@ -0,0 +1,5 @@ +MD5 (bakery-2.6.3.tar.bz2) = SdKP7PEyUvTyiZRhUF5W5Q== +RMD160 (bakery-2.6.3.tar.bz2) = QQiaDJZkkzqdZ/l88dBdcNQDiWE= +SHA1 (bakery-2.6.3.tar.bz2) = o3nzaYOyA8N1mgXUklP74sTSvWA= +SHA256 (bakery-2.6.3.tar.bz2) = fpz7OmtE/QlZHtHaHKoQFZGVmEG7PygCsZhU29eiBDM= +SIZE (bakery-2.6.3.tar.bz2) = 1502637 diff --git a/devel/bakery/patches/patch-Makefile_in b/devel/bakery/patches/patch-Makefile_in new file mode 100644 index 00000000000..8238a60cd1f --- /dev/null +++ b/devel/bakery/patches/patch-Makefile_in @@ -0,0 +1,20 @@ +$OpenBSD: patch-Makefile_in,v 1.1.1.1 2009/06/05 22:13:25 jasper Exp $ +--- Makefile.in.orig Fri Jun 5 16:04:32 2009 ++++ Makefile.in Fri Jun 5 16:04:42 2009 +@@ -249,14 +249,14 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + + #Build in these directories: +-SUBDIRS = $(GENERIC_LIBRARY_NAME) po docs examples ++SUBDIRS = $(GENERIC_LIBRARY_NAME) po docs + EXTRA_DIST = bakery-2.6.pc.in autogen.sh \ + intltool-extract.in intltool-merge.in intltool-update.in + + # (See http://cvs.gnome.org/lxr/source/intltool/README about these intltool files) + + #Distribute these directories: +-DIST_SUBDIRS = $(GENERIC_LIBRARY_NAME) po docs examples ++DIST_SUBDIRS = $(GENERIC_LIBRARY_NAME) po docs + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = bakery-2.6.pc + all: config.h diff --git a/devel/bakery/patches/patch-bakery-2_6_pc_in b/devel/bakery/patches/patch-bakery-2_6_pc_in new file mode 100644 index 00000000000..02ac0bb9f22 --- /dev/null +++ b/devel/bakery/patches/patch-bakery-2_6_pc_in @@ -0,0 +1,10 @@ +$OpenBSD: patch-bakery-2_6_pc_in,v 1.1.1.1 2009/06/05 22:13:25 jasper Exp $ +--- bakery-2.6.pc.in.orig Fri Jun 5 15:57:51 2009 ++++ bakery-2.6.pc.in Fri Jun 5 15:58:00 2009 +@@ -8,5 +8,5 @@ Description: C++ Application Framework for gnomemm + Requires: gtkmm-2.4 >= 2.4.0 gconfmm-2.6 >= 2.6.0 libglademm-2.4 >= 2.4.0 libxml++-2.6 >= 2.6.0 giomm-2.4 >= 2.16.0 + Version: @VERSION@ + Libs: -L${libdir} -lbakery-2.6 +-Cflags: -I${includedir}/bakery-2.6 -I${libdir}/bakery-2.6/include ++Cflags: -I${includedir}/bakery-2.6 + diff --git a/devel/bakery/patches/patch-bakery_Makefile_in b/devel/bakery/patches/patch-bakery_Makefile_in new file mode 100644 index 00000000000..2b82d26881b --- /dev/null +++ b/devel/bakery/patches/patch-bakery_Makefile_in @@ -0,0 +1,16 @@ +$OpenBSD: patch-bakery_Makefile_in,v 1.1.1.1 2009/06/05 22:13:25 jasper Exp $ +--- bakery/Makefile.in.orig Fri Jun 5 15:57:16 2009 ++++ bakery/Makefile.in Fri Jun 5 15:57:39 2009 +@@ -291,10 +291,10 @@ libbakery_2_6_la_LIBADD = App/libbakery_app.la \ + View/libbakery_view.la \ + $(BAKERY_LIBS) + +-libbakery_2_6_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION) -release $(GENERIC_RELEASE) -no-undefined ++libbakery_2_6_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION) + + # Install the headers: +-library_configdir = $(libdir)/bakery-2.6/include ++library_configdir = $(includedir)/bakery-2.6 + library_config_DATA = bakeryconfig.h + all: bakeryconfig.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/devel/bakery/pkg/DESCR b/devel/bakery/pkg/DESCR new file mode 100644 index 00000000000..578520c8387 --- /dev/null +++ b/devel/bakery/pkg/DESCR @@ -0,0 +1,11 @@ +Bakery is a C++ Framework for creating GNOME applications using gtkmm. + + * Bakery provides a Document/View architecture, + but it doesn't force you to use the whole architecture. + * Bakery can use XML as a Document storage format, if you like. + * Bakery provides default functionality, + which can be easily customized. + * Bakery makes it easy to start developing GNOME applications. + * Bakery gives your application structure. + * Bakery contains a few utility classes. + diff --git a/devel/bakery/pkg/PFRAG.shared b/devel/bakery/pkg/PFRAG.shared new file mode 100644 index 00000000000..f3ac82426c0 --- /dev/null +++ b/devel/bakery/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/06/05 22:13:25 jasper Exp $ +@lib lib/libbakery-${API_VERSION}.so.${LIBbakery-2.6_VERSION} diff --git a/devel/bakery/pkg/PLIST b/devel/bakery/pkg/PLIST new file mode 100644 index 00000000000..4eaf8d6600b --- /dev/null +++ b/devel/bakery/pkg/PLIST @@ -0,0 +1,88 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/05 22:13:25 jasper Exp $ +%%SHARED%% +include/bakery-${API_VERSION}/ +include/bakery-${API_VERSION}/bakery/ +include/bakery-${API_VERSION}/bakery/App/ +include/bakery-${API_VERSION}/bakery/App/App.h +include/bakery-${API_VERSION}/bakery/App/AppInstanceManager.h +include/bakery-${API_VERSION}/bakery/App/App_Gtk.h +include/bakery-${API_VERSION}/bakery/App/App_WithDoc.h +include/bakery-${API_VERSION}/bakery/App/App_WithDoc_Gtk.h +include/bakery-${API_VERSION}/bakery/App/Dialog_OfferSave.h +include/bakery-${API_VERSION}/bakery/App/GtkDialogs.h +include/bakery-${API_VERSION}/bakery/Configuration/ +include/bakery-${API_VERSION}/bakery/Configuration/Association.h +include/bakery-${API_VERSION}/bakery/Configuration/AssociationBase.h +include/bakery-${API_VERSION}/bakery/Configuration/Client.h +include/bakery-${API_VERSION}/bakery/Configuration/Dialog_Preferences.h +include/bakery-${API_VERSION}/bakery/Document/ +include/bakery-${API_VERSION}/bakery/Document/Document.h +include/bakery-${API_VERSION}/bakery/Document/Document_XML.h +include/bakery-${API_VERSION}/bakery/Utilities/ +include/bakery-${API_VERSION}/bakery/Utilities/BusyCursor.h +include/bakery-${API_VERSION}/bakery/Utilities/sharedptr.h +include/bakery-${API_VERSION}/bakery/View/ +include/bakery-${API_VERSION}/bakery/View/View.h +include/bakery-${API_VERSION}/bakery/View/ViewBase.h +include/bakery-${API_VERSION}/bakery/View/View_Composite.h +include/bakery-${API_VERSION}/bakery/bakery.h +include/bakery-${API_VERSION}/bakery/init.h +include/bakery-${API_VERSION}/bakeryconfig.h +lib/libbakery-${API_VERSION}.a +lib/libbakery-${API_VERSION}.la +lib/pkgconfig/ +lib/pkgconfig/bakery-${API_VERSION}.pc +share/locale/ar/ +share/locale/ar/LC_MESSAGES/ +share/locale/ar/LC_MESSAGES/bakery.mo +share/locale/bg/LC_MESSAGES/bakery.mo +share/locale/ca/LC_MESSAGES/bakery.mo +share/locale/da/LC_MESSAGES/bakery.mo +share/locale/de/LC_MESSAGES/bakery.mo +share/locale/dz/ +share/locale/dz/LC_MESSAGES/ +share/locale/dz/LC_MESSAGES/bakery.mo +share/locale/el/LC_MESSAGES/bakery.mo +share/locale/en_CA/ +share/locale/en_CA/LC_MESSAGES/ +share/locale/en_CA/LC_MESSAGES/bakery.mo +share/locale/en_GB/ +share/locale/en_GB/LC_MESSAGES/ +share/locale/en_GB/LC_MESSAGES/bakery.mo +share/locale/es/LC_MESSAGES/bakery.mo +share/locale/eu/LC_MESSAGES/bakery.mo +share/locale/fi/LC_MESSAGES/bakery.mo +share/locale/fr/LC_MESSAGES/bakery.mo +share/locale/gl/LC_MESSAGES/bakery.mo +share/locale/hu/LC_MESSAGES/bakery.mo +share/locale/ja/LC_MESSAGES/bakery.mo +share/locale/lt/ +share/locale/lt/LC_MESSAGES/ +share/locale/lt/LC_MESSAGES/bakery.mo +share/locale/mk/ +share/locale/mk/LC_MESSAGES/ +share/locale/mk/LC_MESSAGES/bakery.mo +share/locale/nb/LC_MESSAGES/bakery.mo +share/locale/ne/ +share/locale/ne/LC_MESSAGES/ +share/locale/ne/LC_MESSAGES/bakery.mo +share/locale/nl/LC_MESSAGES/bakery.mo +share/locale/oc/ +share/locale/oc/LC_MESSAGES/ +share/locale/oc/LC_MESSAGES/bakery.mo +share/locale/pl/LC_MESSAGES/bakery.mo +share/locale/pt_BR/LC_MESSAGES/bakery.mo +share/locale/ru/LC_MESSAGES/bakery.mo +share/locale/rw/ +share/locale/rw/LC_MESSAGES/ +share/locale/rw/LC_MESSAGES/bakery.mo +share/locale/sk/LC_MESSAGES/bakery.mo +share/locale/sl/LC_MESSAGES/bakery.mo +share/locale/sq/ +share/locale/sq/LC_MESSAGES/ +share/locale/sq/LC_MESSAGES/bakery.mo +share/locale/sv/LC_MESSAGES/bakery.mo +share/locale/uk/LC_MESSAGES/bakery.mo +share/locale/vi/LC_MESSAGES/bakery.mo +share/locale/zh_CN/LC_MESSAGES/bakery.mo +share/locale/zh_TW/LC_MESSAGES/bakery.mo