summaryrefslogtreecommitdiffstats
path: root/itstool
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2011-07-23 00:25:03 +0200
committerpiernov <piernov@piernov.servegame.org>2011-07-23 00:25:03 +0200
commit457ba45f1f7d291d5881f18786b6a876573a8320 (patch)
tree0cb3caa3241b510b8a377f683aaa559342424471 /itstool
downloadgnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.gz
gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.bz2
gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.xz
gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.zip
Création du dépôt
Diffstat (limited to 'itstool')
-rw-r--r--itstool/.footprint.i68614
-rw-r--r--itstool/.footprint.x86_6414
-rw-r--r--itstool/.md5sum.i6861
-rw-r--r--itstool/.md5sum.x86_641
-rw-r--r--itstool/Pkgfile21
-rwxr-xr-xitstool/post-install24
6 files changed, 75 insertions, 0 deletions
diff --git a/itstool/.footprint.i686 b/itstool/.footprint.i686
new file mode 100644
index 0000000..23c4bad
--- /dev/null
+++ b/itstool/.footprint.i686
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/itstool
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/itstool/
+drwxr-xr-x root/root usr/share/itstool/its/
+-rw-r--r-- root/root usr/share/itstool/its/docbook.its
+-rw-r--r-- root/root usr/share/itstool/its/its.its
+-rw-r--r-- root/root usr/share/itstool/its/mallard.its
+-rw-r--r-- root/root usr/share/itstool/its/ttml.its
+-rw-r--r-- root/root usr/share/itstool/its/xhtml.its
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/itstool.1.gz
diff --git a/itstool/.footprint.x86_64 b/itstool/.footprint.x86_64
new file mode 100644
index 0000000..23c4bad
--- /dev/null
+++ b/itstool/.footprint.x86_64
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/itstool
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/itstool/
+drwxr-xr-x root/root usr/share/itstool/its/
+-rw-r--r-- root/root usr/share/itstool/its/docbook.its
+-rw-r--r-- root/root usr/share/itstool/its/its.its
+-rw-r--r-- root/root usr/share/itstool/its/mallard.its
+-rw-r--r-- root/root usr/share/itstool/its/ttml.its
+-rw-r--r-- root/root usr/share/itstool/its/xhtml.its
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/itstool.1.gz
diff --git a/itstool/.md5sum.i686 b/itstool/.md5sum.i686
new file mode 100644
index 0000000..21b134b
--- /dev/null
+++ b/itstool/.md5sum.i686
@@ -0,0 +1 @@
+088290c44c222abe656ae9366bbfa496 itstool-1.1.0.tar.bz2
diff --git a/itstool/.md5sum.x86_64 b/itstool/.md5sum.x86_64
new file mode 100644
index 0000000..21b134b
--- /dev/null
+++ b/itstool/.md5sum.x86_64
@@ -0,0 +1 @@
+088290c44c222abe656ae9366bbfa496 itstool-1.1.0.tar.bz2
diff --git a/itstool/Pkgfile b/itstool/Pkgfile
new file mode 100644
index 0000000..5245dfb
--- /dev/null
+++ b/itstool/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Utilitaire de traduction de fichier XML avec des fichiers PO
+# URL: http://itstool.org/
+# Maintainer: NuTyX GNOME team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: python2, libxml2
+# Run on: python2,libxml2
+
+name=itstool
+version=1.1.0
+release=1
+source=(http://files.$name.org/$name/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib
+ make
+ make DESTDIR=$PKG install
+ sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" $PKG/usr/bin/itstool
+}
diff --git a/itstool/post-install b/itstool/post-install
new file mode 100755
index 0000000..da694bc
--- /dev/null
+++ b/itstool/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=`/usr/bin/gconftool-2 --get-default-source`
+ /usr/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