4ce117a54e
=== 0.53 - Mon 19 Sep 2011 === * Cosmetic updates to entry widgets, the page index, the insert date dialog, and the tasklist dialog * Updated the find function to properly switch focus and highlight current match even when text does not have focus - Oliver Joos * Added function to remember the position of the main window across sessions and the position of dialog within a session - Oliver Joos * Added "interwiki keyword" to give shorthand for linking notebooks - Jiří Janoušek * Added template function to create a page index - Jiří Janoušek * Added support to include additional files with a template - Jiří Janoušek * Added preference for always setting the cursor position based on history or not * Added feature so images now can have a link target as well - Jiří Janoušek * Refactored index to do much less database commit actions, resulting in performance gain on slow storage media * Added "print to browser" button in the tasklist dialog * Added "--search" commandline option * Added feature for calendar plugin to use one page per week, month, or year instead of one page per day - Jose Orlando Pereira * Added feature to have implicit deadline for tasks defined on a calendar page - Jose Orlando Pereira * Added new plugin for evaluating inline arithmetic expressions - Patricio Paez * Added support for plugins to have optional dependencies - John Drinkwater * Added hook so plugins can register handlers for specific URL schemes * Upgraded test suite to unittest support shipped with python 2.7 * Increased test coverage for main window, dialogs, and image generator plugins * Many small typo fixes and code cleanup - Oliver Joos * Extensive updates for the developer API documentation - now using epydoc * Made file paths in config file relative to home dir where possible in order to facilitate portable version (e.g. home dir mapped to USB drive) * Build code updated to build new windows installer and support for portable install - Brendan Kidwell * Fixed build process to hardcode platform on build time (maemo version) * Fixed bug in notebook list, causing compiled version to be unable to set a default notebook (windows version) * Fixed bug with copy-pasting and drag-n-drop using relative paths * Fixed bug allowing to click checkboxes in read-only mode * Fixed several possible exceptions when moving pages * Fixed execution of python scripts on windows - Chris Liechti * Fix to preserve file attributes (like mtime) when copying attachments - Oliver Joos * Fixed path of checkbox images in html export - Jiří Janoušek * Fix for indexing error in scenario with external syncing (e.g. dropbox) * Fix for latex output to use "\textless{}" and "\textgreater{}" * Fixed Maemo window class, and python 2.5 compatibility - Miguel Angel Alvarez * Fixed unicode usage in template module - Jiří Janoušek * Fixed error handling for errors from bzr in versioncontrol plugin * Fixed error handling for errors due to non-utf-8 encoded text in pages
54 lines
1.7 KiB
Makefile
54 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2011/10/11 20:44:25 ryoon Exp $
|
|
#
|
|
|
|
DISTNAME= zim-0.53
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://zim-wiki.org/downloads/
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= http://zim-wiki.org/
|
|
COMMENT= Zim brings the concept of a wiki to your desktop
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 26 25
|
|
REPLACE_PYTHON= ${WRKSRC}/zim.py
|
|
PYDISTUTILSPKG= YES
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-gobject-[0-9]*:../../devel/py-gobject
|
|
DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
|
|
DEPENDS+= ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
|
DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
|
|
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
|
|
|
|
SUBST_CLASSES+= data-path
|
|
SUBST_STAGE.data-path= pre-configure
|
|
SUBST_FILES.data-path= zim/config.py
|
|
SUBST_SED.data-path= -e 's,/usr/local/share/,${PREFIX}/share/,'
|
|
|
|
SUBST_CLASSES+= fix-python
|
|
SUBST_STAGE.fix-python= pre-configure
|
|
SUBST_MESSAGE.fix-python= Fixing dynamic python
|
|
SUBST_FILES.fix-python+= zim/_lib/xdot.py
|
|
SUBST_FILES.fix-python+= zim/_version.py
|
|
SUBST_SED.fix-python+= -e 's,/usr/bin/env python,${PYTHONBIN},'
|
|
|
|
SUBST_CLASSES+= man-path
|
|
SUBST_STAGE.man-path= pre-configure
|
|
SUBST_FILES.man-path+= setup.py
|
|
SUBST_SED.man-path= -e s,share/man/man1,${PKGMANDIR}/man1,
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${PYPKGPREFIX} == "py25"
|
|
DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
|
|
.endif
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|