summaryrefslogtreecommitdiff
path: root/misc/yelp3
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-02-13 12:40:00 +0000
committerdrochner <drochner@pkgsrc.org>2012-02-13 12:40:00 +0000
commitb344b42a51e5962b6ef9c8116d6be8b9cd6f19bb (patch)
tree235978d6edae2953ec1ea6de68995c82834e9a89 /misc/yelp3
parenta21dbb754fb11bd5a4ce77ba5343af3b035220b3 (diff)
downloadpkgsrc-b344b42a51e5962b6ef9c8116d6be8b9cd6f19bb.tar.gz
add yelp-3.2.1, the gnome3 version of the gnome help browser, from
Patrick Welche per PR pkg/45951
Diffstat (limited to 'misc/yelp3')
-rw-r--r--misc/yelp3/DESCR4
-rw-r--r--misc/yelp3/Makefile34
-rw-r--r--misc/yelp3/PLIST183
-rw-r--r--misc/yelp3/distinfo6
-rw-r--r--misc/yelp3/patches/patch-configure66
5 files changed, 293 insertions, 0 deletions
diff --git a/misc/yelp3/DESCR b/misc/yelp3/DESCR
new file mode 100644
index 00000000000..bba2501b1a4
--- /dev/null
+++ b/misc/yelp3/DESCR
@@ -0,0 +1,4 @@
+Yelp is the default help browser for the GNOME desktop. Yelp provides
+a simple graphical interface for viewing DocBook, HTML, man, and info
+formatted documentation. The name Yelp was suggested by Daniel Lundin.
+Yelp is pronounced the same as the swedish word for 'help'.
diff --git a/misc/yelp3/Makefile b/misc/yelp3/Makefile
new file mode 100644
index 00000000000..6dea26d972a
--- /dev/null
+++ b/misc/yelp3/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/02/13 12:40:00 drochner Exp $
+#
+
+DISTNAME= yelp-3.2.1
+CATEGORIES= misc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/yelp/3.2/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= prlw1@cam.ac.uk
+HOMEPAGE= http://www.gnome.org/
+COMMENT= Mallard capable help browser
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= gmake intltool msgfmt pkg-config
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.4
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/glib2/schemas.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../www/webkit-gtk3/buildlink3.mk"
+.include "../../textproc/yelp-xsl/buildlink3.mk"
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/yelp3/PLIST b/misc/yelp3/PLIST
new file mode 100644
index 00000000000..059453dbe3b
--- /dev/null
+++ b/misc/yelp3/PLIST
@@ -0,0 +1,183 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/13 12:40:00 drochner Exp $
+bin/gnome-help
+bin/yelp
+include/libyelp/yelp-bookmarks.h
+include/libyelp/yelp-docbook-document.h
+include/libyelp/yelp-document.h
+include/libyelp/yelp-help-list.h
+include/libyelp/yelp-info-document.h
+include/libyelp/yelp-location-entry.h
+include/libyelp/yelp-mallard-document.h
+include/libyelp/yelp-man-document.h
+include/libyelp/yelp-settings.h
+include/libyelp/yelp-simple-document.h
+include/libyelp/yelp-sqlite-storage.h
+include/libyelp/yelp-storage.h
+include/libyelp/yelp-transform.h
+include/libyelp/yelp-types.h
+include/libyelp/yelp-uri.h
+include/libyelp/yelp-view.h
+lib/libyelp.la
+share/applications/yelp.desktop
+share/glib-2.0/schemas/org.gnome.yelp.gschema.xml
+share/gtk-doc/html/libyelp/YelpDocument.html
+share/gtk-doc/html/libyelp/YelpLocationEntry.html
+share/gtk-doc/html/libyelp/YelpSettings.html
+share/gtk-doc/html/libyelp/YelpSimpleDocument.html
+share/gtk-doc/html/libyelp/YelpUri.html
+share/gtk-doc/html/libyelp/YelpView.html
+share/gtk-doc/html/libyelp/api-index-full.html
+share/gtk-doc/html/libyelp/ch01.html
+share/gtk-doc/html/libyelp/ch01s02.html
+share/gtk-doc/html/libyelp/home.png
+share/gtk-doc/html/libyelp/index.html
+share/gtk-doc/html/libyelp/index.sgml
+share/gtk-doc/html/libyelp/left.png
+share/gtk-doc/html/libyelp/libyelp-yelp-error.html
+share/gtk-doc/html/libyelp/libyelp.devhelp
+share/gtk-doc/html/libyelp/libyelp.devhelp2
+share/gtk-doc/html/libyelp/object-tree.html
+share/gtk-doc/html/libyelp/right.png
+share/gtk-doc/html/libyelp/style.css
+share/gtk-doc/html/libyelp/up.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_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
+share/yelp/dtd/catalog
+share/yelp/dtd/docbookx.dtd
+share/yelp/dtd/isoamsa.ent
+share/yelp/dtd/isoamsb.ent
+share/yelp/dtd/isoamsc.ent
+share/yelp/dtd/isoamsn.ent
+share/yelp/dtd/isoamso.ent
+share/yelp/dtd/isoamsr.ent
+share/yelp/dtd/isobox.ent
+share/yelp/dtd/isocyr1.ent
+share/yelp/dtd/isocyr2.ent
+share/yelp/dtd/isodia.ent
+share/yelp/dtd/isogrk1.ent
+share/yelp/dtd/isogrk2.ent
+share/yelp/dtd/isogrk3.ent
+share/yelp/dtd/isogrk4.ent
+share/yelp/dtd/isolat1.ent
+share/yelp/dtd/isolat2.ent
+share/yelp/dtd/isonum.ent
+share/yelp/dtd/isopub.ent
+share/yelp/dtd/isotech.ent
+share/yelp/icons/hicolor/16x16/status/bookmark.png
+share/yelp/icons/hicolor/16x16/status/yelp-page-task.png
+share/yelp/icons/hicolor/16x16/status/yelp-page-tip.png
+share/yelp/icons/hicolor/16x16/status/yelp-page-ui.png
+share/yelp/icons/hicolor/16x16/status/yelp-page-video.png
+share/yelp/icons/hicolor/scalable/actions/yelp-bookmark-add-symbolic.svg
+share/yelp/icons/hicolor/scalable/actions/yelp-bookmark-remove-symbolic.svg
+share/yelp/icons/hicolor/scalable/status/yelp-page-problem-symbolic.svg
+share/yelp/icons/hicolor/scalable/status/yelp-page-search-symbolic.svg
+share/yelp/icons/hicolor/scalable/status/yelp-page-symbolic.svg
+share/yelp/icons/hicolor/scalable/status/yelp-page-task-symbolic.svg
+share/yelp/icons/hicolor/scalable/status/yelp-page-tip-symbolic.svg
+share/yelp/icons/hicolor/scalable/status/yelp-page-ui-symbolic.svg
+share/yelp/icons/hicolor/scalable/status/yelp-page-video-symbolic.svg
+share/yelp/js/jquery-ui-1.8.custom.min.js
+share/yelp/xslt/db2html.xsl
+share/yelp/xslt/info2html.xsl
+share/yelp/xslt/mal2html.xsl
+share/yelp/xslt/man2html.xsl
+share/yelp/xslt/yelp-common.xsl
diff --git a/misc/yelp3/distinfo b/misc/yelp3/distinfo
new file mode 100644
index 00000000000..2ccbefacbb8
--- /dev/null
+++ b/misc/yelp3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/02/13 12:40:00 drochner Exp $
+
+SHA1 (yelp-3.2.1.tar.xz) = 2cd1d68b36f7944ab8f840e8beccb8ba0d42d5d5
+RMD160 (yelp-3.2.1.tar.xz) = 69a17688daf6303cc2a20d5f144a44dd04d4043c
+Size (yelp-3.2.1.tar.xz) = 855804 bytes
+SHA1 (patch-configure) = b7c5aaf3b120a8d8a60ee94860af419a3691205b
diff --git a/misc/yelp3/patches/patch-configure b/misc/yelp3/patches/patch-configure
new file mode 100644
index 00000000000..d87268d66db
--- /dev/null
+++ b/misc/yelp3/patches/patch-configure
@@ -0,0 +1,66 @@
+$NetBSD: patch-configure,v 1.1.1.1 2012/02/13 12:40:00 drochner Exp $
+
+Use newer GSETTINGS_RULES as otherwise org.gnome.yelp.gschema.xml isn't
+installed.
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=669692
+ https://bugzilla.gnome.org/show_bug.cgi?id=627126
+
+--- configure.orig 2012-02-08 16:58:00.000000000 +0000
++++ configure
+@@ -11361,7 +11361,7 @@ mostlyclean-am: clean-gsettings-schemas
+ gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
+
+ %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
+- $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
++ $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@
+
+ all-am: $(gsettings_SCHEMAS:.xml=.valid)
+ uninstall-am: uninstall-gsettings-schemas
+@@ -11369,23 +11369,13 @@ install-data-am: install-gsettings-schem
+
+ .SECONDARY: $(gsettings_SCHEMAS)
+
+-gsettings__base_list = \
+- sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \
+- sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g"
+-
+-install-gsettings-schemas: $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
++install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
+ @$(NORMAL_INSTALL)
+- test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"
+- @list='\''$(gsettings__enum_file) $(gsettings_SCHEMAS)'\''; test -n "$(gsettingsschemadir)" || list=; \
+- for p in $$list; do \
+- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+- echo "$$d$$p"; \
+- done | $(gsettings__base_list) | \
+- while read files; do \
+- echo " $(INSTALL_DATA) $$files '\''$(DESTDIR)$(gsettingsschemadir)'\''"; \
+- $(INSTALL_DATA) $$files "$(DESTDIR)$(gsettingsschemadir)" || exit $$?; \
+- done
+- test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
++ if test -n "$^"; then \
++ test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
++ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
++ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
++ fi
+
+ uninstall-gsettings-schemas:
+ @$(NORMAL_UNINSTALL)
+@@ -11401,7 +11391,7 @@ clean-gsettings-schemas:
+
+ ifdef gsettings_ENUM_NAMESPACE
+ $(gsettings__enum_file): $(gsettings_ENUM_FILES)
+- $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $(gsettings_ENUM_FILES) > $@.tmp && mv $@.tmp $@
++ $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@
+ endif
+ '
+
+@@ -11410,7 +11400,6 @@ endif
+
+
+
+-
+ # Library dependecies
+
+ pkg_failed=no