Date: Fri, 16 Dec 2005 19:03:17 +0200 From: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/90507: [NEW PORT] www/kdedict: Web based DB app. to administer standard translations of a translation team Message-ID: <1134752597.0@it.buh.tecnik93.com> Resent-Message-ID: <200512161710.jBGHA4ve074362@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90507 >Category: ports >Synopsis: [NEW PORT] www/kdedict: Web based DB app. to administer standard translations of a translation team >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 16 17:10:04 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ion-Mihai "IOnut" Tetcu >Release: FreeBSD 6.0-STABLE i386 >Organization: Tecnik'93 >Environment: System: FreeBSD 6.0-STABLE #5: Thu Dec 1 02:08:55 EET 2005 >Description: KDE Dictionary is used by a few KDE i18n teams; kdedict is written by Matthias Kiefer from German team and i18n.kde.org's instalaltion is currently administered by Claudiu Costin from Romaninan Team. kdedict is a web based database to administer the standard translations of a translation team. You can search the database for different criterias and the found entries are shown in a table. kdedict does not use a full blown database but stores the information in a plain text file. This way, everybody can easily run kdedict offline (using a local web server) without having to install and admin a big database. To enable users to update their locale database easily, kdedict offers a download option. But if you have basic knowledge of Perl, it should be no problem to adapt kdedict for using a real database. The database consists of the fields: original text, description, translation, description, category of the word (i.e. GUI, Network), date of last update and flag, if the translation is accepted by the team. This flag allows you to include translations, that your team is not in agreement about, into the database. kdedict is able to manage user logins, so you can easily maintain your database over the web. When logged in, it is easy to edit, insert or delete entries. kdedict can also manage multiple languages, by creating one table for each user. WWW: http://i18n.kde.org/tools/kdedict/ >How-To-Repeat: >Fix: --- kdedict.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # kdedict # kdedict/Makefile # kdedict/distinfo # kdedict/pkg-descr # kdedict/pkg-plist # kdedict/files # kdedict/files/pkg-message.in # echo c - kdedict mkdir -p kdedict > /dev/null 2>&1 echo x - kdedict/Makefile sed 's/^X//' >kdedict/Makefile << 'END-of-kdedict/Makefile' X# New ports collection makefile for: www/kdedict X# Date created: 2005-12-16 X# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> X# X# $FreeBSD$ X# $Tecnik: ports/www/kdedict/Makefile,v 1.1 2005/12/16 16:44:16 itetcu Exp $ X# X XPORTNAME= kdedict XPORTVERSION= 20030925 XCATEGORIES= www XMASTER_SITES= ftp://ftp.i18n.kde.org/tools/${PORTNAME}/ \ X http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/ X XMAINTAINER= itetcu@people.tecnik93.com XCOMMENT= Web based db to administer standard translations of a translation team X XWRKSRC= ${WRKDIR}/${PORTNAME} X XNO_BUILD= yes XUSE_PERL_RUN= yes XUSE_APACE= yes XRUNDEPENDS+= p5-Date-Manip>0:${PORTSDIR}/devel/p5-Date-Manip \ X p5-DBD-File>0:${PORTSDIR}/databases/p5-DBD-File \ X p5-SQL-Statement>0:${PORTSDIR}/databases/p5-SQL-Statement \ X p5-Text-CSV_XS>0:${PORTSDIR}/textproc/p5-Text-CSV_XS X XCGI_DIR?= ${PREFIX}/www/cgi-bin XSUB_FILES= pkg-message XSUB_LIST+= PORTNAME=${PORTNAME} CGI_DIR=${CGI_DIR} X Xpre-everything:: X @${ECHO_CMD} "Define to suit your needs:" X @${ECHO_CMD} "CGI_DIR (default: ${PREFIX}/www/cgi-bin)" X Xpost-patch: X @${PERL} -pi -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/${PORTNAME}.cgi X Xdo-install: X @${MKDIR} ${CGI_DIR}/kdedictionary X @${CHOWN} ${WWWOWN}:${WWWGRP} ${CGI_DIR}/kdedictionary X cd ${WRKSRC} && \ X ${INSTALL_SCRIPT} -o ${WWWOWN} -g ${WWWGRP} ${PORTNAME}.cgi ${CGI_DIR} && \ X ${INSTALL} -o ${WWWOWN} -g ${WWWGRP} -m 0644 kdedictionary/* ${CGI_DIR}/kdedictionary X X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-kdedict/Makefile echo x - kdedict/distinfo sed 's/^X//' >kdedict/distinfo << 'END-of-kdedict/distinfo' XMD5 (kdedict-20030925.tar.gz) = 6a41747aa7add3f33533bd6861d70981 XSHA256 (kdedict-20030925.tar.gz) = 0c7778ae97571e1b1b355008211fc914924f7fcdb8cf5edc23655905d544efff XSIZE (kdedict-20030925.tar.gz) = 248362 END-of-kdedict/distinfo echo x - kdedict/pkg-descr sed 's/^X//' >kdedict/pkg-descr << 'END-of-kdedict/pkg-descr' XKDE Dictionary is used by a few KDE i18n teams. XKdedict is written by Matthias Kiefer from German team Xand i18n.kde.org's instalaltion is currently administered by Claudiu Costin Xfrom Romaninan Team. XKdedict is a web based database to administer the standard translations of a Xtranslation team. You can search the database for different criterias and the Xfound entries are shown in a table. XKdedict does not use a full blown database but stores the information in a Xplain text file. This way, everybody can easily run kdedict offline (using a Xlocal web server) without having to install and admin a big database. To enable Xusers to update their locale database easily, kdedict offers a download option. XBut if you have basic knowledge of Perl, it should be no problem to adapt Xdedict for using a real database. XThe database consists of the fields: original text, description, translation, Xdescription, category of the word (i.e. GUI, Network), date of last update and Xflag, if the translation is accepted by the team. This flag allows you to Xinclude translations, that your team is not in agreement about, into the Xdatabase. XKdedict is able to manage user logins, so you can easily maintain your database Xover the web. When logged in, it is easy to edit, insert or delete entries. XKdedict can also manage multiple languages, by creating one table for each Xuser. X XWWW: http://i18n.kde.org/tools/kdedict/ END-of-kdedict/pkg-descr echo x - kdedict/pkg-plist sed 's/^X//' >kdedict/pkg-plist << 'END-of-kdedict/pkg-plist' Xwww/cgi-bin/kdedict.cgi Xwww/cgi-bin/kdedictionary/accounts Xwww/cgi-bin/kdedictionary/errorlogs Xwww/cgi-bin/kdedictionary/kdedictionary_de Xwww/cgi-bin/kdedictionary/kdedictionary_es Xwww/cgi-bin/kdedictionary/kdedictionary_fr Xwww/cgi-bin/kdedictionary/kdedictionary_hu Xwww/cgi-bin/kdedictionary/kdedictionary_pl Xwww/cgi-bin/kdedictionary/kdedictionary_pt_BR Xwww/cgi-bin/kdedictionary/kdedictionary_ro Xwww/cgi-bin/kdedictionary/kdedictionary_sl Xwww/cgi-bin/kdedictionary/kdedictionary_tr Xwww/cgi-bin/kdedictionary/languages Xwww/cgi-bin/kdedictionary/messages Xwww/cgi-bin/kdedictionary/messages_de Xwww/cgi-bin/kdedictionary/sessiondb Xwww/cgi-bin/kdedictionary/userdb Xwww/cgi-bin/kdedictionary/users X@dirrm www/cgi-bin/kdedictionary X@unexec rmdir %D/www/cgi-bin 2>/dev/null || true END-of-kdedict/pkg-plist echo c - kdedict/files mkdir -p kdedict/files > /dev/null 2>&1 echo x - kdedict/files/pkg-message.in sed 's/^X//' >kdedict/files/pkg-message.in << 'END-of-kdedict/files/pkg-message.in' X******************************************************************* X Edit %%CGI_DIR%%/%%PORTNAME%%.cgi to configure your instalation. X******************************************************************* END-of-kdedict/files/pkg-message.in exit --- kdedict.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1134752597.0>