From 72b8f94a0ba850de39d947fab49c5ba6352a7f52 Mon Sep 17 00:00:00 2001
From: Thierry N <thierryn1 at hispeed dot ch>
Date: Sat, 24 Oct 2009 19:02:16 +0200
Subject: ajout yelp#2.26.0-1

---
 gnome/yelp/.footprint   | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
 gnome/yelp/.md5sum      |  1 +
 gnome/yelp/Pkgfile      | 18 +++++++++++++++++
 gnome/yelp/post-install | 24 +++++++++++++++++++++++
 4 files changed, 94 insertions(+)
 create mode 100644 gnome/yelp/.footprint
 create mode 100644 gnome/yelp/.md5sum
 create mode 100644 gnome/yelp/Pkgfile
 create mode 100755 gnome/yelp/post-install

diff --git a/gnome/yelp/.footprint b/gnome/yelp/.footprint
new file mode 100644
index 000000000..9e7bd3ed9
--- /dev/null
+++ b/gnome/yelp/.footprint
@@ -0,0 +1,51 @@
+drwxr-xr-x	root/root	etc/
+drwxr-xr-x	root/root	etc/gconf/
+drwxr-xr-x	root/root	etc/gconf/schemas/
+-rw-r--r--	root/root	etc/gconf/schemas/yelp.schemas
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+lrwxrwxrwx	root/root	usr/bin/gnome-help -> yelp
+-rwxr-xr-x	root/root	usr/bin/yelp
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/applications/
+-rw-r--r--	root/root	usr/share/applications/yelp.desktop
+drwxr-xr-x	root/root	usr/share/icons/
+drwxr-xr-x	root/root	usr/share/icons/hicolor/
+drwxr-xr-x	root/root	usr/share/icons/hicolor/192x192/
+drwxr-xr-x	root/root	usr/share/icons/hicolor/192x192/apps/
+-rw-r--r--	root/root	usr/share/icons/hicolor/192x192/apps/yelp-icon-big.png
+drwxr-xr-x	root/root	usr/share/locale/
+drwxr-xr-x	root/root	usr/share/locale/fr/
+drwxr-xr-x	root/root	usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r--	root/root	usr/share/locale/fr/LC_MESSAGES/yelp.mo
+drwxr-xr-x	root/root	usr/share/yelp/
+-rw-r--r--	root/root	usr/share/yelp/default.css
+drwxr-xr-x	root/root	usr/share/yelp/icons/
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-icon-caution.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-icon-important.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-icon-note.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-icon-tip.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-icon-warning.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-watermark-blockquote-00AB.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-watermark-blockquote-00BB.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-watermark-blockquote-201C.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-watermark-blockquote-201D.png
+-rw-r--r--	root/root	usr/share/yelp/icons/yelp-watermark-blockquote-201E.png
+-rw-r--r--	root/root	usr/share/yelp/important_docs.xml
+-rw-r--r--	root/root	usr/share/yelp/info.xml
+-rw-r--r--	root/root	usr/share/yelp/man.xml
+-rw-r--r--	root/root	usr/share/yelp/scrollkeeper.xml
+-rw-r--r--	root/root	usr/share/yelp/toc.xml
+drwxr-xr-x	root/root	usr/share/yelp/ui/
+-rw-r--r--	root/root	usr/share/yelp/ui/yelp-search-ui.xml
+-rw-r--r--	root/root	usr/share/yelp/ui/yelp-ui.xml
+-rw-r--r--	root/root	usr/share/yelp/ui/yelp.glade
+drwxr-xr-x	root/root	usr/share/yelp/xslt/
+-rw-r--r--	root/root	usr/share/yelp/xslt/db-title.xsl
+-rw-r--r--	root/root	usr/share/yelp/xslt/db2html.xsl
+-rw-r--r--	root/root	usr/share/yelp/xslt/info2html.xsl
+-rw-r--r--	root/root	usr/share/yelp/xslt/man2html.xsl
+-rw-r--r--	root/root	usr/share/yelp/xslt/search2html.xsl
+-rw-r--r--	root/root	usr/share/yelp/xslt/toc2html.xsl
+-rw-r--r--	root/root	usr/share/yelp/xslt/yelp-common.xsl
+-rw-r--r--	root/root	usr/share/yelp/yelp.js
diff --git a/gnome/yelp/.md5sum b/gnome/yelp/.md5sum
new file mode 100644
index 000000000..5cacdc6ef
--- /dev/null
+++ b/gnome/yelp/.md5sum
@@ -0,0 +1 @@
+3413fd051c5ecbfe98819a8fb4ac83dd  yelp-2.26.0.tar.bz2
diff --git a/gnome/yelp/Pkgfile b/gnome/yelp/Pkgfile
new file mode 100644
index 000000000..155e1e894
--- /dev/null
+++ b/gnome/yelp/Pkgfile
@@ -0,0 +1,18 @@
+# Description: Programme de base pour la documentation de gnome
+# URL: http://www.gnome.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libgnomeui, startup-notification, gnome-doc-utils, xulrunner
+
+name=yelp
+version=2.26.0
+release=1
+source=(http://ftp.gnome.org/pub/gnome/sources/$name/2.26/$name-$version.tar.bz2)
+
+build() {
+	cd $name-$version
+	./configure --prefix=$GNOME_PREFIX \
+		--sysconfdir=/etc
+	make
+	make DESTDIR=$PKG install
+}
diff --git a/gnome/yelp/post-install b/gnome/yelp/post-install
new file mode 100755
index 000000000..68d66d728
--- /dev/null
+++ b/gnome/yelp/post-install
@@ -0,0 +1,24 @@
+#!/bin/sh
+GNOME_VERSION=
+
+port=yelp
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+	export GCONF_CONFIG_SOURCE=`$GNOME_PREFIX/bin/gconftool-2 --get-default-source`
+	$GNOME_PREFIX/bin/gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null
+done
+
+# reload gconf caches
+if [ ! -z "`pidof gconfd-2`" ]
+then
+	killall -HUP gconfd-2 > /dev/null
+fi
+
+# desktop database
+update-desktop-database > /dev/null
+
+# End of file
-- 
cgit v1.2.3-70-g09d2