From owner-svn-ports-head@freebsd.org Fri Apr 6 05:14:55 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53094F800E8; Fri, 6 Apr 2018 05:14:55 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F37C284D12; Fri, 6 Apr 2018 05:14:54 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EDC1C5541; Fri, 6 Apr 2018 05:14:54 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w365EsMY094065; Fri, 6 Apr 2018 05:14:54 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w365Es0j094063; Fri, 6 Apr 2018 05:14:54 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201804060514.w365Es0j094063@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Fri, 6 Apr 2018 05:14:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466616 - head/www/seahub X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: head/www/seahub X-SVN-Commit-Revision: 466616 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2018 05:14:55 -0000 Author: ultima Date: Fri Apr 6 05:14:54 2018 New Revision: 466616 URL: https://svnweb.freebsd.org/changeset/ports/466616 Log: Add compilation of i18n for multi-language support during build phase. This will allow one to change the language when using seahub. Reported by: martin@wasch^ Modified: head/www/seahub/Makefile head/www/seahub/pkg-plist Modified: head/www/seahub/Makefile ============================================================================== --- head/www/seahub/Makefile Fri Apr 6 05:14:11 2018 (r466615) +++ head/www/seahub/Makefile Fri Apr 6 05:14:54 2018 (r466616) @@ -4,7 +4,7 @@ PORTNAME= seahub DISTVERSIONPREFIX= v DISTVERSION= ${SEAHUB_VER} DISTVERSIONSUFFIX= -pro -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MAINTAINER= ultima@FreeBSD.org @@ -13,6 +13,8 @@ COMMENT= Web frontend for Seafile LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18@${PY_FLAVOR} + RUN_DEPENDS= bash:shells/bash \ ${LOCALBASE}/www/haiwen/seafile-server/seafile/bin/seaf-server:net-mgmt/seafile-server \ ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18@${PY_FLAVOR} \ @@ -35,17 +37,18 @@ RUN_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}qrcode>0:textproc/py-qrcode@${PY_FLAVOR} \ ${PY_FUTURES} -USES= python:-2.7 shebangfix +USES= gettext-tools:build python:-2.7 shebangfix USE_GITHUB= yes GH_ACCOUNT= haiwen SHEBANG_FILES= *.sh tests/*.sh *.template *.py tools/*.py seahub/*.py NO_ARCH= yes -NO_BUILD= yes OPTIONS_DEFINE= SEAFOBJ SEAFDAV NLS OPTIONS_DEFAULT= SEAFOBJ SEAFDAV OPTIONS_SUB= yes + +ALL_TARGET= locale SEAFOBJ_DESC= Enable Seafile file object modeling support SEAFDAV_DESC= Enable Seafile WsgiDav-based support Modified: head/www/seahub/pkg-plist ============================================================================== --- head/www/seahub/pkg-plist Fri Apr 6 05:14:11 2018 (r466615) +++ head/www/seahub/pkg-plist Fri Apr 6 05:14:54 2018 (r466616) @@ -10,85 +10,165 @@ %%SEAHUBDIR%%/fabfile/copyright.py %%SEAHUBDIR%%/fabfile/locale.py %%SEAHUBDIR%%/i18n.sh +%%SEAHUBDIR%%/locale/ar/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/ar/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/ar/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/ar/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/bg/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/bg/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/bg/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/bg/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/bg_BG/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/bg_BG/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/ca/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/ca/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/ca/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/ca/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/cs/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/cs/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/cs/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/cs/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/cs_CZ/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/cs_CZ/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/da_DK/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/da_DK/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/de/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/de/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/de/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/de/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/el/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/el/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/el/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/el/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/el_GR/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/el_GR/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/en/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/en/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/en/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/en/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/en_US/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/en_US/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/es/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/es/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/es/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/es/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/es_AR/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/es_AR/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/es_AR/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/es_AR/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/es_MX/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/es_MX/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/es_MX/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/es_MX/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/fi/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/fi/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/fi/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/fi/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/fr/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/fr/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/fr/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/fr/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/he/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/he/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/he/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/he/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/hr/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/hr/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/hr_HR/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/hr_HR/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/hu/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/hu/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/hu/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/hu/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/is/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/is/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/is/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/is/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/it/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/it/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/it/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/it/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/ja/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/ja/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/ja/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/ja/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/ko/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/ko/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/ko/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/ko/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/lt/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/lt/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/lt/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/lt/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/lv/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/lv/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/lv/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/lv/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/lv_LV/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/lv_LV/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/mk/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/mk/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/mk/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/mk/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/nb/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/nb/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/nb_NO/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/nb_NO/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/nl/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/nl/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/nl/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/nl/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/nl_NL/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/nl_NL/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/pl/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/pl/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/pl/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/pl/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/pt_BR/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/pt_BR/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/pt_BR/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/pt_BR/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/pt_PT/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/pt_PT/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/ru/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/ru/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/ru/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/ru/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/sk/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/sk/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/sk_SK/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/sk_SK/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/sl/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/sl/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/sl_SI/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/sl_SI/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/sv/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/sv/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/sv/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/sv/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/th/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/th/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/th_TH/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/th_TH/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/tr/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/tr/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/tr/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/tr/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/uk/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/uk/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/uk/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/uk/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/vi/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/vi/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/vi/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/vi/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/zh_CN/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/zh_CN/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/zh_CN/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/zh_CN/LC_MESSAGES/djangojs.po +%%SEAHUBDIR%%/locale/zh_TW/LC_MESSAGES/django.mo %%SEAHUBDIR%%/locale/zh_TW/LC_MESSAGES/django.po +%%SEAHUBDIR%%/locale/zh_TW/LC_MESSAGES/djangojs.mo %%SEAHUBDIR%%/locale/zh_TW/LC_MESSAGES/djangojs.po %%SEAHUBDIR%%/manage.py %%SEAHUBDIR%%/media/assets/css/bootstrap.min.b00faad199b5.css