Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=39e35d1f344123b0a5eb03363eee313a8f082e74

commit 39e35d1f344123b0a5eb03363eee313a8f082e74
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Feb 6 00:59:00 2010 +0100

pootle-2.0.2-1-i686

- version bump
- deleted rc script, now the standalone server is for development-only,
the recommended way is to use mod_wsgi and apache

diff --git a/source/network-extra/pootle/FrugalBuild 
b/source/network-extra/pootle/FrugalBuild
index 026cab9..3ee8cce 100644
--- a/source/network-extra/pootle/FrugalBuild
+++ b/source/network-extra/pootle/FrugalBuild
@@ -2,31 +2,24 @@
# Maintainer: Miklos Vajna <vmik...@frugalware.org>

pkgname=pootle
-pkgver=1.2.1
-pkgrel=2
+pkgver=2.0.2
+pkgrel=1
pkgdesc="Web tool for software translation and translation management."
_F_sourceforge_dirname="translate"
_F_sourceforge_name="Pootle"
_F_sourceforge_ext=".tar.bz2"
Finclude sourceforge python
-depends=("translate-toolkit>=1.2.1" 'jtoolkit>=0.7.8' 'python>=2.6' 'zip' 
'lxml' 'pysqlite2')
+depends=("translate-toolkit>=1.2.1" 'python>=2.6' 'zip' 'lxml' "django")
backup=($_F_python_libdir/Pootle/{pootle,users}.prefs)
groups=('network-extra')
archs=('i686' 'x86_64')
-source=($source rc.pootle README.Frugalware)
-sha1sums=('3bd3511453615a60642b2330f60c0b92e469d034' \
-          'fa53b0b5ef34da67467a45730c0aed829e426212' \
-          '225c32aa6555b1939e5fd6866d041ba745ea1f3a')
-options=('nodocs')
+source=($source README.Frugalware)
+sha1sums=('641d0dda4dbdb45230523d87e22d07eb08edc89d' \
+          'dd4c2e235954614c3646427c5d5e165fabdb7496')

build()
{
Fcd Pootle-$pkgver
mv pootlesetup.py setup.py
Fbuild
-       # documentation
-       for i in COPYING ChangeLog LICENSE README
-       do
-               Fln /$_F_python_libdir/Pootle/$i 
/usr/share/doc/$pkgname-$pkgver/
-       done
}
diff --git a/source/network-extra/pootle/README.Frugalware 
b/source/network-extra/pootle/README.Frugalware
index ba23158..9c2367b 100644
--- a/source/network-extra/pootle/README.Frugalware
+++ b/source/network-extra/pootle/README.Frugalware
@@ -1,12 +1,10 @@
-=== Introduction
+In most cases you want to use pootle with mysql and apache. See here on
+how to configure them:

-Pootle provides a separate webserver, after starting it, you should be able to
-reach it at http://127.0.0.1:8080/.
+- http://translate.sourceforge.net/wiki/pootle/using_mysql
+- http://translate.sourceforge.net/wiki/pootle/apache

-=== Creating users
+Also read these pages if you're upgrading from Pootle 1.x:

-No-one can login to Pootle by default. You should edit
-`/usr/lib/python2.5/site-packages/Pootle/users.prefs`, and uncomment the
-'startup' user. Its password is 'startup', too. Then login via the web
-interface, create an account. Finally edit the configuration file again and
-comment the 'startup' user.
+- http://translate.sourceforge.net/wiki/pootle/important_changes
+- http://translate.sourceforge.net/wiki/pootle/migration
diff --git a/source/network-extra/pootle/rc.pootle 
b/source/network-extra/pootle/rc.pootle
deleted file mode 100644
index 696ba4a..0000000
--- a/source/network-extra/pootle/rc.pootle
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-# (c) 2007 Miklos Vajna <vmik...@frugalware.org>
-# rc.pootle for Frugalware
-# distributed under GPL License
-
-# chkconfig: 2345 99 01
-# description: Pootle Server
-
-source /lib/initscripts/functions
-TEXTDOMAIN=pootle
-TEXTDOMAINDIR=/lib/initscripts/messages
-
-actions=(restart status start stop)
-daemon="Pootle"
-
-pid="cat /var/run/pootle.pid 2> /dev/null"
-
-rc_start()
-{
-       pydir="/`python -c 'from distutils import sysconfig; print 
sysconfig.get_python_lib()[1:]'`"
-       start_msg
-       if [[ "$(eval $pid)" == "" ]] ; then
-               PootleServer -B --prefsfile=$pydir/Pootle/pootle.prefs 
--pidfile=/var/run/pootle.pid &>/dev/null
-               ok $?
-       else
-               ok 999
-       fi
-}
-
-rc_stop()
-{
-       stop_msg
-       if [[ "$(eval $pid)" != "" ]] ; then
-               kill `cat /var/run/pootle.pid`
-               ok $?
-               rm -f /var/run/pootle.pid
-       else
-               ok 999
-       fi
-}
-
-rc_exec $1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to