diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/yelp/Makefile | 53 | ||||
-rw-r--r-- | x11/yelp/distinfo | 2 | ||||
-rw-r--r-- | x11/yelp/files/patch-src_yelp-gecko-utils.cpp | 13 | ||||
-rw-r--r-- | x11/yelp/files/patch-src_yelp-window.c | 37 | ||||
-rw-r--r-- | x11/yelp/pkg-descr | 4 | ||||
-rw-r--r-- | x11/yelp/pkg-plist | 201 |
6 files changed, 310 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile new file mode 100644 index 000000000..1d2119a47 --- /dev/null +++ b/x11/yelp/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: yelp +# Date created: 18 May 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/x11/yelp/Makefile,v 1.75 2010/11/20 15:37:02 kwm Exp $ +# $MCom: ports/x11/yelp/Makefile,v 1.164 2010/10/18 13:37:34 kwm Exp $ +# + +PORTNAME= yelp +PORTVERSION= 2.30.2 +PORTREVISION= 1 +CATEGORIES= x11 gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A help browser for the GNOME 2 desktop + +LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ + startup-notification-1.0:${PORTSDIR}/x11/startup-notification \ + rarian.0:${PORTSDIR}/textproc/rarian + +CONFLICTS= yelp-3.[0-9]* + +USE_GECKO= libxul +USE_GETTEXT= yes +USE_BZIP2= yes +USE_XORG= ice +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gnomedocutils +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-gecko=${GECKO} \ + --with-gecko-home=${LOCALBASE}/lib/${GECKO} +MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias" + +GCONF_SCHEMAS= yelp.schemas + +.include <bsd.port.pre.mk> + +# Around the time GCC stack protection (aka Propolice) for userland +# was enabled on src/share/mk/bsd.sys.mk +# SVN rev 180012 on 2008-06-25 21:33:28Z by ru +.if ${OSVERSION} >= 800040 +LDFLAGS+= -fstack-protector +.endif + +post-extract: + ${RM} -f ${WRKSRC}/data/yelp.schemas + +.include <bsd.port.post.mk> diff --git a/x11/yelp/distinfo b/x11/yelp/distinfo new file mode 100644 index 000000000..deb63e7cd --- /dev/null +++ b/x11/yelp/distinfo @@ -0,0 +1,2 @@ +SHA256 (gnome2/yelp-2.30.2.tar.bz2) = 5f8c35847bdae654e21cbba66865d6b582d9fc80a059ad29081bb87e146bb165 +SIZE (gnome2/yelp-2.30.2.tar.bz2) = 1159521 diff --git a/x11/yelp/files/patch-src_yelp-gecko-utils.cpp b/x11/yelp/files/patch-src_yelp-gecko-utils.cpp new file mode 100644 index 000000000..2c4d781ee --- /dev/null +++ b/x11/yelp/files/patch-src_yelp-gecko-utils.cpp @@ -0,0 +1,13 @@ +--- src/yelp-gecko-utils.cpp.orig 2009-03-29 23:21:59.000000000 -0400 ++++ src/yelp-gecko-utils.cpp 2009-03-29 23:25:48.000000000 -0400 +@@ -28,8 +28,10 @@ + #include <nsStringAPI.h> + + #ifdef HAVE_GECKO_1_9 ++#ifdef XPCOM_GLUE + #include <gtkmozembed_glue.cpp> + #endif ++#endif + + #include <gtkmozembed.h> + #include <gtkmozembed_internal.h> diff --git a/x11/yelp/files/patch-src_yelp-window.c b/x11/yelp/files/patch-src_yelp-window.c new file mode 100644 index 000000000..37acdfcc5 --- /dev/null +++ b/x11/yelp/files/patch-src_yelp-window.c @@ -0,0 +1,37 @@ +--- src/yelp-window.c.orig 2010-10-16 23:06:05.000000000 +0400 ++++ src/yelp-window.c 2010-10-17 03:58:57.000000000 +0400 +@@ -1555,28 +1555,26 @@ + + gtk_label_set_mnemonic_widget (GTK_LABEL (label), priv->find_entry); + +- box = gtk_hbox_new (FALSE, 0); + arrow = gtk_arrow_new (GTK_ARROW_LEFT, GTK_SHADOW_NONE); + label = gtk_label_new_with_mnemonic (_("Find _Previous")); +- gtk_box_pack_start (GTK_BOX (box), arrow, FALSE, FALSE, 0); +- gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 0); +- priv->find_prev = gtk_tool_button_new (box, NULL); ++ priv->find_prev = gtk_tool_button_new (arrow, NULL); ++ gtk_tool_button_set_label_widget (GTK_TOOL_BUTTON (priv->find_prev), label); + g_signal_connect (priv->find_prev, + "clicked", + G_CALLBACK (window_find_clicked_cb), + window); ++ gtk_tool_item_set_is_important (priv->find_prev, TRUE); + gtk_toolbar_insert (GTK_TOOLBAR (find_bar), priv->find_prev, -1); + +- box = gtk_hbox_new (FALSE, 0); + arrow = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE); + label = gtk_label_new_with_mnemonic (_("Find _Next")); +- gtk_box_pack_start (GTK_BOX (box), arrow, FALSE, FALSE, 0); +- gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 0); +- priv->find_next = gtk_tool_button_new (box, NULL); ++ priv->find_next = gtk_tool_button_new (arrow, NULL); ++ gtk_tool_button_set_label_widget (GTK_TOOL_BUTTON (priv->find_next), label); + g_signal_connect (priv->find_next, + "clicked", + G_CALLBACK (window_find_clicked_cb), + window); ++ gtk_tool_item_set_is_important (priv->find_next, TRUE); + gtk_toolbar_insert (GTK_TOOLBAR (find_bar), priv->find_next, -1); + + priv->find_sep = gtk_separator_tool_item_new (); diff --git a/x11/yelp/pkg-descr b/x11/yelp/pkg-descr new file mode 100644 index 000000000..d38af5629 --- /dev/null +++ b/x11/yelp/pkg-descr @@ -0,0 +1,4 @@ +Yelp is a help browser for GNOME 2.0 that displays GNOME +help documents, info pages, manpages, and more. + +WWW: http://www.gnome.org/ diff --git a/x11/yelp/pkg-plist b/x11/yelp/pkg-plist new file mode 100644 index 000000000..4321292b2 --- /dev/null +++ b/x11/yelp/pkg-plist @@ -0,0 +1,201 @@ +bin/gnome-help +bin/yelp +share/applications/yelp.desktop +share/icons/hicolor/192x192/apps/yelp-icon-big.png +share/locale/af/LC_MESSAGES/yelp.mo +share/locale/am/LC_MESSAGES/yelp.mo +share/locale/ar/LC_MESSAGES/yelp.mo +share/locale/as/LC_MESSAGES/yelp.mo +share/locale/ast/LC_MESSAGES/yelp.mo +share/locale/az/LC_MESSAGES/yelp.mo +share/locale/be/LC_MESSAGES/yelp.mo +share/locale/be@latin/LC_MESSAGES/yelp.mo +share/locale/bg/LC_MESSAGES/yelp.mo +share/locale/bn/LC_MESSAGES/yelp.mo +share/locale/bn_IN/LC_MESSAGES/yelp.mo +share/locale/br/LC_MESSAGES/yelp.mo +share/locale/bs/LC_MESSAGES/yelp.mo +share/locale/ca/LC_MESSAGES/yelp.mo +share/locale/ca@valencia/LC_MESSAGES/yelp.mo +share/locale/crh/LC_MESSAGES/yelp.mo +share/locale/cs/LC_MESSAGES/yelp.mo +share/locale/cy/LC_MESSAGES/yelp.mo +share/locale/da/LC_MESSAGES/yelp.mo +share/locale/de/LC_MESSAGES/yelp.mo +share/locale/dz/LC_MESSAGES/yelp.mo +share/locale/el/LC_MESSAGES/yelp.mo +share/locale/en@shaw/LC_MESSAGES/yelp.mo +share/locale/en_CA/LC_MESSAGES/yelp.mo +share/locale/en_GB/LC_MESSAGES/yelp.mo +share/locale/eo/LC_MESSAGES/yelp.mo +share/locale/es/LC_MESSAGES/yelp.mo +share/locale/et/LC_MESSAGES/yelp.mo +share/locale/eu/LC_MESSAGES/yelp.mo +share/locale/fa/LC_MESSAGES/yelp.mo +share/locale/fi/LC_MESSAGES/yelp.mo +share/locale/fr/LC_MESSAGES/yelp.mo +share/locale/fur/LC_MESSAGES/yelp.mo +share/locale/ga/LC_MESSAGES/yelp.mo +share/locale/gl/LC_MESSAGES/yelp.mo +share/locale/gu/LC_MESSAGES/yelp.mo +share/locale/he/LC_MESSAGES/yelp.mo +share/locale/hi/LC_MESSAGES/yelp.mo +share/locale/hr/LC_MESSAGES/yelp.mo +share/locale/hu/LC_MESSAGES/yelp.mo +share/locale/id/LC_MESSAGES/yelp.mo +share/locale/is/LC_MESSAGES/yelp.mo +share/locale/it/LC_MESSAGES/yelp.mo +share/locale/ja/LC_MESSAGES/yelp.mo +share/locale/ka/LC_MESSAGES/yelp.mo +share/locale/kk/LC_MESSAGES/yelp.mo +share/locale/kn/LC_MESSAGES/yelp.mo +share/locale/ko/LC_MESSAGES/yelp.mo +share/locale/ks/LC_MESSAGES/yelp.mo +share/locale/ku/LC_MESSAGES/yelp.mo +share/locale/ky/LC_MESSAGES/yelp.mo +share/locale/la/LC_MESSAGES/yelp.mo +share/locale/li/LC_MESSAGES/yelp.mo +share/locale/lt/LC_MESSAGES/yelp.mo +share/locale/lv/LC_MESSAGES/yelp.mo +share/locale/mai/LC_MESSAGES/yelp.mo +share/locale/mg/LC_MESSAGES/yelp.mo +share/locale/mk/LC_MESSAGES/yelp.mo +share/locale/ml/LC_MESSAGES/yelp.mo +share/locale/mn/LC_MESSAGES/yelp.mo +share/locale/mr/LC_MESSAGES/yelp.mo +share/locale/ms/LC_MESSAGES/yelp.mo +share/locale/nb/LC_MESSAGES/yelp.mo +share/locale/nds/LC_MESSAGES/yelp.mo +share/locale/ne/LC_MESSAGES/yelp.mo +share/locale/nl/LC_MESSAGES/yelp.mo +share/locale/nn/LC_MESSAGES/yelp.mo +share/locale/nso/LC_MESSAGES/yelp.mo +share/locale/oc/LC_MESSAGES/yelp.mo +share/locale/or/LC_MESSAGES/yelp.mo +share/locale/pa/LC_MESSAGES/yelp.mo +share/locale/pl/LC_MESSAGES/yelp.mo +share/locale/ps/LC_MESSAGES/yelp.mo +share/locale/pt/LC_MESSAGES/yelp.mo +share/locale/pt_BR/LC_MESSAGES/yelp.mo +share/locale/ro/LC_MESSAGES/yelp.mo +share/locale/ru/LC_MESSAGES/yelp.mo +share/locale/rw/LC_MESSAGES/yelp.mo +share/locale/si/LC_MESSAGES/yelp.mo +share/locale/sk/LC_MESSAGES/yelp.mo +share/locale/sl/LC_MESSAGES/yelp.mo +share/locale/sq/LC_MESSAGES/yelp.mo +share/locale/sr/LC_MESSAGES/yelp.mo +share/locale/sr@latin/LC_MESSAGES/yelp.mo +share/locale/sv/LC_MESSAGES/yelp.mo +share/locale/ta/LC_MESSAGES/yelp.mo +share/locale/te/LC_MESSAGES/yelp.mo +share/locale/tg/LC_MESSAGES/yelp.mo +share/locale/th/LC_MESSAGES/yelp.mo +share/locale/tr/LC_MESSAGES/yelp.mo +share/locale/ug/LC_MESSAGES/yelp.mo +share/locale/uk/LC_MESSAGES/yelp.mo +share/locale/uz/LC_MESSAGES/yelp.mo +share/locale/uz@cyrillic/LC_MESSAGES/yelp.mo +share/locale/vi/LC_MESSAGES/yelp.mo +share/locale/wa/LC_MESSAGES/yelp.mo +share/locale/xh/LC_MESSAGES/yelp.mo +share/locale/zh_CN/LC_MESSAGES/yelp.mo +share/locale/zh_HK/LC_MESSAGES/yelp.mo +share/locale/zh_TW/LC_MESSAGES/yelp.mo +share/locale/zu/LC_MESSAGES/yelp.mo +%%DATADIR%%/default.css +%%DATADIR%%/icons/yelp-icon-caution.png +%%DATADIR%%/icons/yelp-icon-important.png +%%DATADIR%%/icons/yelp-icon-note.png +%%DATADIR%%/icons/yelp-icon-tip.png +%%DATADIR%%/icons/yelp-icon-warning.png +%%DATADIR%%/icons/yelp-watermark-blockquote-00AB.png +%%DATADIR%%/icons/yelp-watermark-blockquote-00BB.png +%%DATADIR%%/icons/yelp-watermark-blockquote-201C.png +%%DATADIR%%/icons/yelp-watermark-blockquote-201D.png +%%DATADIR%%/icons/yelp-watermark-blockquote-201E.png +%%DATADIR%%/important_docs.xml +%%DATADIR%%/info.xml +%%DATADIR%%/man.xml +%%DATADIR%%/scrollkeeper.xml +%%DATADIR%%/toc.xml +%%DATADIR%%/ui/yelp-bookmarks-add.ui +%%DATADIR%%/ui/yelp-bookmarks.ui +%%DATADIR%%/ui/yelp-open-location.ui +%%DATADIR%%/ui/yelp-preferences.ui +%%DATADIR%%/ui/yelp-search-ui.xml +%%DATADIR%%/ui/yelp-ui.xml +%%DATADIR%%/xslt/db-title.xsl +%%DATADIR%%/xslt/db2html.xsl +%%DATADIR%%/xslt/info2html.xsl +%%DATADIR%%/xslt/mal2html.xsl +%%DATADIR%%/xslt/man2html.xsl +%%DATADIR%%/xslt/search2html.xsl +%%DATADIR%%/xslt/toc2html.xsl +%%DATADIR%%/xslt/yelp-common.xsl +%%DATADIR%%/yelp.js +@dirrm %%DATADIR%%/xslt +@dirrm %%DATADIR%%/ui +@dirrm %%DATADIR%%/icons +@dirrm %%DATADIR%% +@dirrmtry share/applications +@dirrmtry share/locale/zu/LC_MESSAGES +@dirrmtry share/locale/zu +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/uz@cyrillic/LC_MESSAGES +@dirrmtry share/locale/uz@cyrillic +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ps/LC_MESSAGES +@dirrmtry share/locale/ps +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/nso/LC_MESSAGES +@dirrmtry share/locale/nso +@dirrmtry share/locale/nds/LC_MESSAGES +@dirrmtry share/locale/nds +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/mai/LC_MESSAGES +@dirrmtry share/locale/mai +@dirrmtry share/locale/la/LC_MESSAGES +@dirrmtry share/locale/la +@dirrmtry share/locale/ky/LC_MESSAGES +@dirrmtry share/locale/ky +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/ks/LC_MESSAGES +@dirrmtry share/locale/ks +@dirrmtry share/locale/kk/LC_MESSAGES +@dirrmtry share/locale/kk +@dirrmtry share/locale/fur/LC_MESSAGES +@dirrmtry share/locale/fur +@dirrmtry share/locale/en@shaw/LC_MESSAGES +@dirrmtry share/locale/en@shaw +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/crh/LC_MESSAGES +@dirrmtry share/locale/crh +@dirrmtry share/locale/ca@valencia/LC_MESSAGES +@dirrmtry share/locale/ca@valencia +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin +@dirrmtry share/locale/ast/LC_MESSAGES +@dirrmtry share/locale/ast +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as |