Date: Sat, 11 Oct 2008 08:30:03 GMT From: Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org> To: freebsd-python@FreeBSD.org Subject: Re: ports/123675: New port: deskutils/py-labyrinth Mind mapping tool for Gnome written in Python Message-ID: <200810110830.m9B8U3Pk093381@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/123675; it has been noted by GNATS. From: Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org> To: bug-followup@FreeBSD.org Cc: Martin Sugioarto <nakal@web.de>, Li-Wen Hsu <lwhsu@FreeBSD.org> Subject: Re: ports/123675: New port: deskutils/py-labyrinth Mind mapping tool for Gnome written in Python Date: Sat, 11 Oct 2008 10:21:49 +0200 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Martin, Li-Wen, I am also addicted to plotting stuff with Labyrinth and discovered this PR when creating a port for this tool. Since this PR seems stale, I am okay to take maintainership for Labyrinth. Here is my version of the port (more simple), with minor tweaks got from the version by Martin. --- labyrinth.sh 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: # # labyrinth # labyrinth/files # labyrinth/files/patch-src_labyrinth.py # labyrinth/files/patch-data_Makefile.in # labyrinth/pkg-descr # labyrinth/distinfo # labyrinth/pkg-plist # labyrinth/Makefile # echo c - labyrinth mkdir -p labyrinth > /dev/null 2>&1 echo c - labyrinth/files mkdir -p labyrinth/files > /dev/null 2>&1 echo x - labyrinth/files/patch-src_labyrinth.py sed 's/^X//' >labyrinth/files/patch-src_labyrinth.py << '2833ddc0bd49aa6e0b= b034ee279cfdca' X X$FreeBSD$ X X--- src/labyrinth.py.orig X+++ src/labyrinth.py X@@ -56,11 +56,12 @@ X if hasattr(gettext, 'bind_textdomain_codeset'): X gettext.bind_textdomain_codeset('labyrinth','UTF-8') X gettext.textdomain('labyrinth') X-if not os.name =3D=3D 'nt': X- locale.bindtextdomain('labyrinth', localedir) X- if hasattr(locale, 'bind_textdomain_codeset'): X- locale.bind_textdomain_codeset('labyrinth','UTF-8') X- locale.textdomain('labyrinth') X+if hasattr(locale, 'bindtextdomain'): X+ if not os.name =3D=3D 'nt': X+ locale.bindtextdomain('labyrinth', localedir) X+ if hasattr(locale, 'bind_textdomain_codeset'): X+ locale.bind_textdomain_codeset('labyrinth','UTF-8') X+ locale.textdomain('labyrinth') X=20 X gtk.glade.bindtextdomain('labyrinth') X gtk.glade.textdomain('labyrinth') 2833ddc0bd49aa6e0bb034ee279cfdca echo x - labyrinth/files/patch-data_Makefile.in sed 's/^X//' >labyrinth/files/patch-data_Makefile.in << 'd0450586d2c9b3a763= 856e99c47e264d' X X$FreeBSD$ X X--- data/Makefile.in.orig X+++ data/Makefile.in X@@ -437,8 +437,7 @@ X @INTLTOOL_DESKTOP_RULE@ X=20 X install-icons: X-# This sucks X- for size in 16x16 22x22 24x24 scalable; do mkdir --parents $(DESTDIR)/$(= datadir)/icons/hicolor/$$size/apps; done X+ for size in 16x16 22x22 24x24 scalable; do install -d $(DESTDIR)/$(datad= ir)/icons/hicolor/$$size/apps; done X install -m 644 $(srcdir)/labyrinth-16.png $(DESTDIR)/$(datadir)/icons/hi= color/16x16/apps/labyrinth.png X install -m 644 $(srcdir)/labyrinth-22.png $(DESTDIR)/$(datadir)/icons/hi= color/22x22/apps/labyrinth.png X install -m 644 $(srcdir)/labyrinth-24.png $(DESTDIR)/$(datadir)/icons/hi= color/24x24/apps/labyrinth.png d0450586d2c9b3a763856e99c47e264d echo x - labyrinth/pkg-descr sed 's/^X//' >labyrinth/pkg-descr << '4a030ee05712d0daf59ca7b2494bf735' XLabyrinth is a lightweight mind-mapping tool for the GNOME desktop. It is Xwritten in Python and uses cairo for its rendering. It is intended to be as Xlight and intuitive as possible, but still provide a wide range of powerful Xfeatures. X XWWW: http://code.google.com/p/labyrinth/ 4a030ee05712d0daf59ca7b2494bf735 echo x - labyrinth/distinfo sed 's/^X//' >labyrinth/distinfo << '7f76c4a02750d85a4ed1abdf8961b065' XMD5 (labyrinth_0.4.1.tar.gz) =3D 74a9f9ae7710ef99ab2597c9d4eb24b1 XSHA256 (labyrinth_0.4.1.tar.gz) =3D 3fafcbd622074eaa80710d7eb76849d5e9b1e3= 6742f48110e2425eb760e2d53c XSIZE (labyrinth_0.4.1.tar.gz) =3D 553527 7f76c4a02750d85a4ed1abdf8961b065 echo x - labyrinth/pkg-plist sed 's/^X//' >labyrinth/pkg-plist << '27c0bd7cd75bb17145b7f7b725298ab8' X@comment $FreeBSD$ Xbin/labyrinth X%%PYTHON_SITELIBDIR%%/labyrinth/BaseThought.py X%%PYTHON_SITELIBDIR%%/labyrinth/BaseThought.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/BaseThought.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/Browser.py X%%PYTHON_SITELIBDIR%%/labyrinth/Browser.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/Browser.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/DrawingThought.py X%%PYTHON_SITELIBDIR%%/labyrinth/DrawingThought.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/DrawingThought.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/ImageThought.py X%%PYTHON_SITELIBDIR%%/labyrinth/ImageThought.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/ImageThought.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/Links.py X%%PYTHON_SITELIBDIR%%/labyrinth/Links.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/Links.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/MMapArea.py X%%PYTHON_SITELIBDIR%%/labyrinth/MMapArea.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/MMapArea.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/MainWindow.py X%%PYTHON_SITELIBDIR%%/labyrinth/MainWindow.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/MainWindow.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/MapList.py X%%PYTHON_SITELIBDIR%%/labyrinth/MapList.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/MapList.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/PeriodicSaveThread.py X%%PYTHON_SITELIBDIR%%/labyrinth/PeriodicSaveThread.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/PeriodicSaveThread.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/TextBufferMarkup.py X%%PYTHON_SITELIBDIR%%/labyrinth/TextBufferMarkup.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/TextBufferMarkup.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/TextThought.py X%%PYTHON_SITELIBDIR%%/labyrinth/TextThought.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/TextThought.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/TrayIcon.py X%%PYTHON_SITELIBDIR%%/labyrinth/TrayIcon.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/TrayIcon.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/UndoManager.py X%%PYTHON_SITELIBDIR%%/labyrinth/UndoManager.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/UndoManager.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/__init__.py X%%PYTHON_SITELIBDIR%%/labyrinth/__init__.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/__init__.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/defs.py X%%PYTHON_SITELIBDIR%%/labyrinth/defs.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/defs.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/prefs.py X%%PYTHON_SITELIBDIR%%/labyrinth/prefs.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/prefs.pyo X%%PYTHON_SITELIBDIR%%/labyrinth/utils.py X%%PYTHON_SITELIBDIR%%/labyrinth/utils.pyc X%%PYTHON_SITELIBDIR%%/labyrinth/utils.pyo Xshare/applications/labyrinth.desktop Xshare/icons/hicolor/16x16/apps/labyrinth.png Xshare/icons/hicolor/22x22/apps/labyrinth.png Xshare/icons/hicolor/24x24/apps/labyrinth.png Xshare/icons/hicolor/scalable/apps/labyrinth.svg X%%DATADIR%%/labyrinth-ui.xml X%%DATADIR%%/labyrinth.glade Xshare/locale/ca/LC_MESSAGES/labyrinth.mo Xshare/locale/cs/LC_MESSAGES/labyrinth.mo Xshare/locale/de/LC_MESSAGES/labyrinth.mo Xshare/locale/eu/LC_MESSAGES/labyrinth.mo Xshare/locale/fa/LC_MESSAGES/labyrinth.mo Xshare/locale/fr/LC_MESSAGES/labyrinth.mo Xshare/locale/it/LC_MESSAGES/labyrinth.mo Xshare/locale/nl/LC_MESSAGES/labyrinth.mo Xshare/locale/pl/LC_MESSAGES/labyrinth.mo Xshare/locale/pt_BR/LC_MESSAGES/labyrinth.mo Xshare/locale/pt_PT/LC_MESSAGES/labyrinth.mo Xshare/locale/ru/LC_MESSAGES/labyrinth.mo Xshare/locale/sv/LC_MESSAGES/labyrinth.mo X@dirrm %%DATADIR%% X@dirrm %%PYTHON_SITELIBDIR%%/labyrinth 27c0bd7cd75bb17145b7f7b725298ab8 echo x - labyrinth/Makefile sed 's/^X//' >labyrinth/Makefile << 'fedc9bfa297870c2a1bd8b529548755f' X# New ports collection makefile for: labyrinth X# Date created: 2008-09-28 X# Whom: Romain Tartiere <romain@blogreen.org> X# X# $FreeBSD$ X# X XPORTNAME=3D labyrinth XPORTVERSION=3D 0.4.1 XCATEGORIES=3D deskutils python XMASTER_SITES=3D GOOGLE_CODE XPKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX} XDISTNAME=3D ${PORTNAME}_${PORTVERSION} X XMAINTAINER=3D romain@blogreen.org XCOMMENT=3D Mind-mapping tool for GNOME X XWRKSRC=3D ${WRKDIR}/${PORTNAME}-0.4.0 XGNU_CONFIGURE=3D yes XUSE_GMAKE=3D yes XCONFIGURE_ENV=3D GMSGFMT=3Dmsgfmt XUSE_GNOME=3D pygnome2 gnomedesktop gnomehack XUSE_PYTHON=3D yes XUSE_GETTEXT=3D yes XINSTALLS_ICONS=3D yes X X.include <bsd.port.mk> fedc9bfa297870c2a1bd8b529548755f exit --- labyrinth.sh ends here --- With kind regards, Romain --=20 Romain Tarti=E8re <romain@blogreen.org> http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjwYh0ACgkQ2OmjP/9W/0MN/gCfSueHsmQbK+ts9HJLLV22teIu 424AnRs+eihhnYtnEvMjOd6VQ4WPM5wz =56vU -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810110830.m9B8U3Pk093381>