From f200c48d2c6580557b42735a34c196f5f615e1dd Mon Sep 17 00:00:00 2001 From: jasper Date: Sat, 16 Jun 2007 17:41:24 +0000 Subject: [PATCH] import devhelp 0.14 Devhelp is an API documentation browser for GNOME 2. It works natively with gtk-doc (the API reference framework developed for GTK+ and used throughout GNOME for API documentation). ok ajacoutot@ --- x11/gnome/devhelp/Makefile | 56 ++++++++++ x11/gnome/devhelp/distinfo | 5 + x11/gnome/devhelp/pkg/DESCR | 3 + x11/gnome/devhelp/pkg/PFRAG.shared | 2 + x11/gnome/devhelp/pkg/PLIST | 167 +++++++++++++++++++++++++++++ 5 files changed, 233 insertions(+) create mode 100644 x11/gnome/devhelp/Makefile create mode 100644 x11/gnome/devhelp/distinfo create mode 100644 x11/gnome/devhelp/pkg/DESCR create mode 100644 x11/gnome/devhelp/pkg/PFRAG.shared create mode 100644 x11/gnome/devhelp/pkg/PLIST diff --git a/x11/gnome/devhelp/Makefile b/x11/gnome/devhelp/Makefile new file mode 100644 index 00000000000..50d8088d2e6 --- /dev/null +++ b/x11/gnome/devhelp/Makefile @@ -0,0 +1,56 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/06/16 17:41:24 jasper Exp $ + +COMMENT= API documentation browser for GNOME + +DISTNAME= devhelp-0.14 +SHARED_LIBS += devhelp-1 0.0 # .0.0 +CATEGORIES= x11/gnome textproc + +HOMEPAGE= http://developer.imendio.com/projects/devhelp + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +WANTLIB= ICE ORBit-2 SM X11 XRes Xau Xcursor Xdmcp Xext Xfixes Xi \ + Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \ + freetype gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz gmodule-2.0 \ + gobject-2.0 gthread-2.0 gtk-x11-2.0 m nspr4 pango-1.0 \ + pangocairo-1.0 pangoft2-1.0 plc4 plds4 png pthread \ + xml2 z + + +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/devhelp/0.14/} +EXTRACT_SUFX= .tar.bz2 + +MODULES= devel/gettext \ + lang/python + +BUILD_DEPENDS= ::devel/xulrunner,-devel \ + :p5-XML-Parser-*:textproc/p5-XML-Parser \ + :gnome-doc-utils-*:x11/gnome/doc-utils +LIB_DEPENDS= gconf-2::devel/gconf2 \ + glade-2.0::devel/libglade2 \ + wnck-1::devel/libwnck \ + startup-notification-1::devel/startup-notification \ + xulrunner/gtkembedmoz,xulrunner/xpcom::devel/xulrunner,-main +RUN_DEPENDS= ::devel/desktop-file-utils + +USE_X11= Yes +USE_GMAKE= Yes +USE_LIBTOOL= Yes + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/devhelp/ \ + --disable-schemas-install \ + --with-gecko=xulrunner +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update + +.include + +CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome" diff --git a/x11/gnome/devhelp/distinfo b/x11/gnome/devhelp/distinfo new file mode 100644 index 00000000000..c11ec5cc4f3 --- /dev/null +++ b/x11/gnome/devhelp/distinfo @@ -0,0 +1,5 @@ +MD5 (gnome/devhelp-0.14.tar.bz2) = Vt2ZQSrj3xSg2vKTqc05jA== +RMD160 (gnome/devhelp-0.14.tar.bz2) = S6jwTvGvdFs1TlJLWuR7G2L4z3I= +SHA1 (gnome/devhelp-0.14.tar.bz2) = rSIzDV4RJbUTYjCNVw9v67otb84= +SHA256 (gnome/devhelp-0.14.tar.bz2) = 0lDbpuULI/MDf/Jh/EqL5GKPESCXG1aanfCM65fQHRo= +SIZE (gnome/devhelp-0.14.tar.bz2) = 456438 diff --git a/x11/gnome/devhelp/pkg/DESCR b/x11/gnome/devhelp/pkg/DESCR new file mode 100644 index 00000000000..a7af758e555 --- /dev/null +++ b/x11/gnome/devhelp/pkg/DESCR @@ -0,0 +1,3 @@ +Devhelp is an API documentation browser for GNOME 2. It works natively +with gtk-doc (the API reference framework developed for GTK+ and used +throughout GNOME for API documentation). diff --git a/x11/gnome/devhelp/pkg/PFRAG.shared b/x11/gnome/devhelp/pkg/PFRAG.shared new file mode 100644 index 00000000000..947c1a00a2c --- /dev/null +++ b/x11/gnome/devhelp/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/06/16 17:41:24 jasper Exp $ +@lib lib/libdevhelp-1.so.${LIBdevhelp-1_VERSION} diff --git a/x11/gnome/devhelp/pkg/PLIST b/x11/gnome/devhelp/pkg/PLIST new file mode 100644 index 00000000000..0370814d118 --- /dev/null +++ b/x11/gnome/devhelp/pkg/PLIST @@ -0,0 +1,167 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/16 17:41:24 jasper Exp $ +%%SHARED%% +bin/devhelp +include/devhelp-1.0/ +include/devhelp-1.0/devhelp/ +include/devhelp-1.0/devhelp/dh-base.h +include/devhelp-1.0/devhelp/dh-book-tree.h +include/devhelp-1.0/devhelp/dh-error.h +include/devhelp-1.0/devhelp/dh-html.h +include/devhelp-1.0/devhelp/dh-keyword-model.h +include/devhelp-1.0/devhelp/dh-link.h +include/devhelp-1.0/devhelp/dh-parser.h +include/devhelp-1.0/devhelp/dh-preferences.h +include/devhelp-1.0/devhelp/dh-search.h +include/devhelp-1.0/devhelp/dh-util.h +include/devhelp-1.0/devhelp/dh-window.h +include/devhelp-1.0/devhelp/eggfindbar.h +lib/gedit-2/ +lib/gedit-2/plugins/ +lib/gedit-2/plugins/devhelp/ +lib/gedit-2/plugins/devhelp.gedit-plugin +lib/gedit-2/plugins/devhelp/__init__.py +lib/gedit-2/plugins/devhelp/__init__.pyc +lib/gedit-2/plugins/devhelp/__init__.pyo +lib/gedit-2/plugins/devhelp/devhelp.py +lib/gedit-2/plugins/devhelp/devhelp.pyc +lib/gedit-2/plugins/devhelp/devhelp.pyo +lib/libdevhelp-1.a +lib/libdevhelp-1.la +lib/pkgconfig/ +lib/pkgconfig/libdevhelp-1.0.pc +share/applications/ +share/applications/devhelp.desktop +share/devhelp/ +share/devhelp/default-prefs.js +share/devhelp/devhelp.glade +share/devhelp/dtd/ +share/devhelp/dtd/devhelp-1.dtd +share/devhelp/images/ +share/devhelp/images/book_closed.png +share/devhelp/images/book_open.png +share/devhelp/images/helpdoc.png +share/devhelp/ui/ +share/devhelp/ui/window.ui +share/icons/ +share/icons/hicolor/ +share/icons/hicolor/48x48/ +share/icons/hicolor/48x48/apps/ +share/icons/hicolor/48x48/apps/devhelp.png +share/icons/hicolor/scalable/ +share/icons/hicolor/scalable/apps/ +share/icons/hicolor/scalable/apps/devhelp.svg +share/locale/am/ +share/locale/am/LC_MESSAGES/ +share/locale/am/LC_MESSAGES/devhelp.mo +share/locale/ar/ +share/locale/ar/LC_MESSAGES/ +share/locale/ar/LC_MESSAGES/devhelp.mo +share/locale/az/ +share/locale/az/LC_MESSAGES/ +share/locale/az/LC_MESSAGES/devhelp.mo +share/locale/be/LC_MESSAGES/devhelp.mo +share/locale/be@latin/ +share/locale/be@latin/LC_MESSAGES/ +share/locale/be@latin/LC_MESSAGES/devhelp.mo +share/locale/bg/LC_MESSAGES/devhelp.mo +share/locale/bn_IN/ +share/locale/bn_IN/LC_MESSAGES/ +share/locale/bn_IN/LC_MESSAGES/devhelp.mo +share/locale/ca/LC_MESSAGES/devhelp.mo +share/locale/cs/LC_MESSAGES/devhelp.mo +share/locale/da/LC_MESSAGES/devhelp.mo +share/locale/de/LC_MESSAGES/devhelp.mo +share/locale/dz/ +share/locale/dz/LC_MESSAGES/ +share/locale/dz/LC_MESSAGES/devhelp.mo +share/locale/el/LC_MESSAGES/devhelp.mo +share/locale/en_CA/ +share/locale/en_CA/LC_MESSAGES/ +share/locale/en_CA/LC_MESSAGES/devhelp.mo +share/locale/en_GB/ +share/locale/en_GB/LC_MESSAGES/ +share/locale/en_GB/LC_MESSAGES/devhelp.mo +share/locale/es/LC_MESSAGES/devhelp.mo +share/locale/et/LC_MESSAGES/devhelp.mo +share/locale/fi/LC_MESSAGES/devhelp.mo +share/locale/fr/LC_MESSAGES/devhelp.mo +share/locale/gl/LC_MESSAGES/devhelp.mo +share/locale/gu/ +share/locale/gu/LC_MESSAGES/ +share/locale/gu/LC_MESSAGES/devhelp.mo +share/locale/he/LC_MESSAGES/devhelp.mo +share/locale/hi/ +share/locale/hi/LC_MESSAGES/ +share/locale/hi/LC_MESSAGES/devhelp.mo +share/locale/hr/LC_MESSAGES/devhelp.mo +share/locale/hu/LC_MESSAGES/devhelp.mo +share/locale/is/ +share/locale/is/LC_MESSAGES/ +share/locale/is/LC_MESSAGES/devhelp.mo +share/locale/it/LC_MESSAGES/devhelp.mo +share/locale/ja/LC_MESSAGES/devhelp.mo +share/locale/kn/ +share/locale/kn/LC_MESSAGES/ +share/locale/kn/LC_MESSAGES/devhelp.mo +share/locale/ko/LC_MESSAGES/devhelp.mo +share/locale/lt/ +share/locale/lt/LC_MESSAGES/ +share/locale/lt/LC_MESSAGES/devhelp.mo +share/locale/lv/LC_MESSAGES/devhelp.mo +share/locale/mk/ +share/locale/mk/LC_MESSAGES/ +share/locale/mk/LC_MESSAGES/devhelp.mo +share/locale/ml/ +share/locale/ml/LC_MESSAGES/ +share/locale/ml/LC_MESSAGES/devhelp.mo +share/locale/ms/ +share/locale/ms/LC_MESSAGES/ +share/locale/ms/LC_MESSAGES/devhelp.mo +share/locale/nb/LC_MESSAGES/devhelp.mo +share/locale/ne/ +share/locale/ne/LC_MESSAGES/ +share/locale/ne/LC_MESSAGES/devhelp.mo +share/locale/nl/LC_MESSAGES/devhelp.mo +share/locale/or/ +share/locale/or/LC_MESSAGES/ +share/locale/or/LC_MESSAGES/devhelp.mo +share/locale/pa/ +share/locale/pa/LC_MESSAGES/ +share/locale/pa/LC_MESSAGES/devhelp.mo +share/locale/pl/LC_MESSAGES/devhelp.mo +share/locale/pt/LC_MESSAGES/devhelp.mo +share/locale/pt_BR/LC_MESSAGES/devhelp.mo +share/locale/ru/LC_MESSAGES/devhelp.mo +share/locale/rw/ +share/locale/rw/LC_MESSAGES/ +share/locale/rw/LC_MESSAGES/devhelp.mo +share/locale/sk/LC_MESSAGES/devhelp.mo +share/locale/sl/LC_MESSAGES/devhelp.mo +share/locale/sq/ +share/locale/sq/LC_MESSAGES/ +share/locale/sq/LC_MESSAGES/devhelp.mo +share/locale/sr/LC_MESSAGES/devhelp.mo +share/locale/sr@Latn/ +share/locale/sr@Latn/LC_MESSAGES/ +share/locale/sr@Latn/LC_MESSAGES/devhelp.mo +share/locale/sv/LC_MESSAGES/devhelp.mo +share/locale/th/ +share/locale/th/LC_MESSAGES/ +share/locale/th/LC_MESSAGES/devhelp.mo +share/locale/tr/LC_MESSAGES/devhelp.mo +share/locale/uk/LC_MESSAGES/devhelp.mo +share/locale/vi/LC_MESSAGES/devhelp.mo +share/locale/zh_CN/LC_MESSAGES/devhelp.mo +share/locale/zh_HK/ +share/locale/zh_HK/LC_MESSAGES/ +share/locale/zh_HK/LC_MESSAGES/devhelp.mo +share/locale/zh_TW/LC_MESSAGES/devhelp.mo +@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/devhelp/*.schemas > /dev/null +share/schemas/ +share/schemas/devhelp/ +share/schemas/devhelp/devhelp.schemas +@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/devhelp/*.schemas > /dev/null +@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor +@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor +@exec %D/bin/update-desktop-database +@unexec %D/bin/update-desktop-database