pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/mypaint mypaint: update to 2.0.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c29be9c1b0a2
branches:  trunk
changeset: 412308:c29be9c1b0a2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 04 13:51:51 2020 +0000

description:
mypaint: update to 2.0.0.

MyPaint v2.0.0 (2020-02-15)

After a bit of a lull in development, MyPaint 2.0 has arrived at
last! Many have already tried out the new features in the new
automated continuous appimage releases, but for those who prefer
to use stable releases, this is the time to pester your distro's
package maintainers (or better yet, package and take a maintainer
role yourself).

Why is this 2.0 and not 1.3?

MyPaint 2.0 adds a new layer mode and uses a different compositing
method than before (by default, this is configurable), which means
that you can create files in 2.0 that will not look the same when
opened in earlier versions. Additionally, changes to the brush
parameters means that you can create stroke data in 2.0 that cannot
be safely used in earlier versions.

Major New Features

    Linear compositing and spectral blending (pigment).  Layer
    views.  Brush strokes dependent on view rotation and view zoom.
    Additional symmetry modes: vertical, vertical+horizontal,
    rotational, snowflake.  Expanded flood fill functionality:
    offset, feather, gap detection and more.  New brush settings:
    offsets, gridmap, additional smudge settings, posterize, pigment.
    New brush inputs: barrel rotation, base radius, zoom level,
    gridmap x/y, direction 360, attack angle.

diffstat:

 graphics/mypaint/Makefile                                          |    49 +-
 graphics/mypaint/PLIST                                             |  1086 ++++-----
 graphics/mypaint/distinfo                                          |    14 +-
 graphics/mypaint/patches/patch-SConscript                          |    13 -
 graphics/mypaint/patches/patch-SConstruct                          |    45 -
 graphics/mypaint/patches/patch-lib_colorchanger__crossed__bowl.hpp |    24 -
 graphics/mypaint/patches/patch-lib_meta.py                         |    22 +
 7 files changed, 550 insertions(+), 703 deletions(-)

diffs (truncated from 1487 to 300 lines):

diff -r 645e15c5102a -r c29be9c1b0a2 graphics/mypaint/Makefile
--- a/graphics/mypaint/Makefile Wed Mar 04 13:11:27 2020 +0000
+++ b/graphics/mypaint/Makefile Wed Mar 04 13:51:51 2020 +0000
@@ -1,65 +1,42 @@
-# $NetBSD: Makefile,v 1.42 2019/11/02 22:38:00 rillig Exp $
+# $NetBSD: Makefile,v 1.43 2020/03/04 13:51:51 wiz Exp $
 
-DISTNAME=      mypaint-1.2.1
-PKGREVISION=   4
+DISTNAME=      mypaint-2.0.0
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mypaint/}
 EXTRACT_SUFX=  .tar.xz
 GITHUB_PROJECT=        mypaint
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
-
 MAINTAINER=    ryoon%NetBSD.org@localhost
 HOMEPAGE=      http://mypaint.org/
 COMMENT=       Fast and easy open-source graphics application for digital painters
 LICENSE=       gnu-gpl-v2
 
-CONFLICTS+=    libmypaint-[0-9]*
+DEPENDS+=      ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
+TOOL_DEPENDS+= swig3-[0-9]*:../../devel/swig3
 
-DEPENDS+=      ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
+EGG_NAME=      MyPaint-${PKGVERSION_NOREV}a0
+
 
 USE_LANGUAGES= c c++
 
 USE_TOOLS+=    bash:run msgfmt pkg-config
 
-PYTHON_VERSIONS_ACCEPTED=      27 # py-gtk2
-
-USE_PKGLOCALEDIR=      yes
-
-SUBST_CLASSES+=                        python
-SUBST_STAGE.python=            pre-configure
-SUBST_FILES.python=            SConscript
-SUBST_VARS.python=             PYTHONBIN
-
-LDFLAGS+=      -lintl
-
-REPLACE_BASH=                  brushes/label-brush-mypaint.sh
-
-SCONS_ARGS+=   enable_profiling=False
-SCONS_ARGS+=   enable_openmp=False
-SCONS_ARGS+=   prefix=${DESTDIR}${PREFIX}
-
-do-build:
-       ${LN} -sf ${PREFIX}/bin/swig2.0 \
-               ${BUILDLINK_DIR}/bin/swig
-       cd ${WRKSRC} && cd ${BUILD_DIRS} && \
-               ${SETENV} ${MAKE_ENV} \
-               ${SCONSBIN} ${SCONS_ARGS}
-
-do-install:
-       cd ${WRKSRC} && cd ${INSTALL_DIRS} && \
-               ${SETENV} ${MAKE_ENV} \
-               ${SCONSBIN} ${SCONS_ARGS} install
+pre-configure:
+       ${LN} -sf ${PREFIX}/bin/swig3.0 ${BUILDLINK_DIR}/bin/swig
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/scons/buildlink3.mk"
-.include "../../devel/swig2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libmypaint+=     libmypaint>=1.5.0
+.include "../../graphics/libmypaint/buildlink3.mk"
+BUILDLINK_API_DEPENDS.mypaint-brushes+=        mypaint-brushes>=2.0
+.include "../../graphics/mypaint-brushes/buildlink3.mk"
 .include "../../textproc/json-c/buildlink3.mk"
 .include "../../graphics/lcms2/buildlink3.mk"
 .include "../../x11/gtk3/buildlink3.mk"
 .include "../../devel/py-gobject3-common/buildlink3.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../lang/python/pyversion.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 645e15c5102a -r c29be9c1b0a2 graphics/mypaint/PLIST
--- a/graphics/mypaint/PLIST    Wed Mar 04 13:11:27 2020 +0000
+++ b/graphics/mypaint/PLIST    Wed Mar 04 13:51:51 2020 +0000
@@ -1,21 +1,441 @@
-@comment $NetBSD: PLIST,v 1.4 2018/07/17 12:34:52 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/03/04 13:51:51 wiz Exp $
 bin/mypaint
 bin/mypaint-ora-thumbnailer
-include/libmypaint/glib/mypaint-brush.h
-include/libmypaint/glib/mypaint-gegl-glib.h
-include/libmypaint/mypaint-brush-settings-gen.h
-include/libmypaint/mypaint-brush-settings.h
-include/libmypaint/mypaint-brush.h
-include/libmypaint/mypaint-config.h
-include/libmypaint/mypaint-fixed-tiled-surface.h
-include/libmypaint/mypaint-glib-compat.h
-include/libmypaint/mypaint-rectangle.h
-include/libmypaint/mypaint-surface.h
-include/libmypaint/mypaint-tiled-surface.h
-lib/libmypaint.a
-lib/mypaint/_mypaintlib.so
-lib/pkgconfig/libmypaint.pc
-share/appdata/mypaint.appdata.xml
+lib/mypaint/${EGG_INFODIR}/PKG-INFO
+lib/mypaint/${EGG_INFODIR}/SOURCES.txt
+lib/mypaint/${EGG_INFODIR}/dependency_links.txt
+lib/mypaint/${EGG_INFODIR}/top_level.txt
+lib/mypaint/gui/__init__.py
+lib/mypaint/gui/__init__.pyc
+lib/mypaint/gui/__init__.pyo
+lib/mypaint/gui/accelmap.py
+lib/mypaint/gui/accelmap.pyc
+lib/mypaint/gui/accelmap.pyo
+lib/mypaint/gui/application.py
+lib/mypaint/gui/application.pyc
+lib/mypaint/gui/application.pyo
+lib/mypaint/gui/autorecover.glade
+lib/mypaint/gui/autorecover.py
+lib/mypaint/gui/autorecover.pyc
+lib/mypaint/gui/autorecover.pyo
+lib/mypaint/gui/backgroundwindow.py
+lib/mypaint/gui/backgroundwindow.pyc
+lib/mypaint/gui/backgroundwindow.pyo
+lib/mypaint/gui/blendmodehandler.py
+lib/mypaint/gui/blendmodehandler.pyc
+lib/mypaint/gui/blendmodehandler.pyo
+lib/mypaint/gui/brushcolor.py
+lib/mypaint/gui/brushcolor.pyc
+lib/mypaint/gui/brushcolor.pyo
+lib/mypaint/gui/brusheditor.glade
+lib/mypaint/gui/brusheditor.py
+lib/mypaint/gui/brusheditor.pyc
+lib/mypaint/gui/brusheditor.pyo
+lib/mypaint/gui/brushiconeditor.py
+lib/mypaint/gui/brushiconeditor.pyc
+lib/mypaint/gui/brushiconeditor.pyo
+lib/mypaint/gui/brushmanager.py
+lib/mypaint/gui/brushmanager.pyc
+lib/mypaint/gui/brushmanager.pyo
+lib/mypaint/gui/brushmodifier.py
+lib/mypaint/gui/brushmodifier.pyc
+lib/mypaint/gui/brushmodifier.pyo
+lib/mypaint/gui/brushselectionwindow.py
+lib/mypaint/gui/brushselectionwindow.pyc
+lib/mypaint/gui/brushselectionwindow.pyo
+lib/mypaint/gui/builderhacks.py
+lib/mypaint/gui/builderhacks.pyc
+lib/mypaint/gui/builderhacks.pyo
+lib/mypaint/gui/buttonmap.py
+lib/mypaint/gui/buttonmap.pyc
+lib/mypaint/gui/buttonmap.pyo
+lib/mypaint/gui/colorpicker.py
+lib/mypaint/gui/colorpicker.pyc
+lib/mypaint/gui/colorpicker.pyo
+lib/mypaint/gui/colorpreview.py
+lib/mypaint/gui/colorpreview.pyc
+lib/mypaint/gui/colorpreview.pyo
+lib/mypaint/gui/colors/__init__.py
+lib/mypaint/gui/colors/__init__.pyc
+lib/mypaint/gui/colors/__init__.pyo
+lib/mypaint/gui/colors/adjbases.py
+lib/mypaint/gui/colors/adjbases.pyc
+lib/mypaint/gui/colors/adjbases.pyo
+lib/mypaint/gui/colors/bases.py
+lib/mypaint/gui/colors/bases.pyc
+lib/mypaint/gui/colors/bases.pyo
+lib/mypaint/gui/colors/changers.py
+lib/mypaint/gui/colors/changers.pyc
+lib/mypaint/gui/colors/changers.pyo
+lib/mypaint/gui/colors/combined.py
+lib/mypaint/gui/colors/combined.pyc
+lib/mypaint/gui/colors/combined.pyo
+lib/mypaint/gui/colors/hcywheel.py
+lib/mypaint/gui/colors/hcywheel.pyc
+lib/mypaint/gui/colors/hcywheel.pyo
+lib/mypaint/gui/colors/hsvcube.py
+lib/mypaint/gui/colors/hsvcube.pyc
+lib/mypaint/gui/colors/hsvcube.pyo
+lib/mypaint/gui/colors/hsvsquare.py
+lib/mypaint/gui/colors/hsvsquare.pyc
+lib/mypaint/gui/colors/hsvsquare.pyo
+lib/mypaint/gui/colors/hsvwheel.py
+lib/mypaint/gui/colors/hsvwheel.pyc
+lib/mypaint/gui/colors/hsvwheel.pyo
+lib/mypaint/gui/colors/paletteview.py
+lib/mypaint/gui/colors/paletteview.pyc
+lib/mypaint/gui/colors/paletteview.pyo
+lib/mypaint/gui/colors/sliders.py
+lib/mypaint/gui/colors/sliders.pyc
+lib/mypaint/gui/colors/sliders.pyo
+lib/mypaint/gui/colors/uimisc.py
+lib/mypaint/gui/colors/uimisc.pyc
+lib/mypaint/gui/colors/uimisc.pyo
+lib/mypaint/gui/colors/util.py
+lib/mypaint/gui/colors/util.pyc
+lib/mypaint/gui/colors/util.pyo
+lib/mypaint/gui/colortools.py
+lib/mypaint/gui/colortools.pyc
+lib/mypaint/gui/colortools.pyo
+lib/mypaint/gui/compatconfig.py
+lib/mypaint/gui/compatconfig.pyc
+lib/mypaint/gui/compatconfig.pyo
+lib/mypaint/gui/compatibility.py
+lib/mypaint/gui/compatibility.pyc
+lib/mypaint/gui/compatibility.pyo
+lib/mypaint/gui/cursor.py
+lib/mypaint/gui/cursor.pyc
+lib/mypaint/gui/cursor.pyo
+lib/mypaint/gui/curve.py
+lib/mypaint/gui/curve.pyc
+lib/mypaint/gui/curve.pyo
+lib/mypaint/gui/device.py
+lib/mypaint/gui/device.pyc
+lib/mypaint/gui/device.pyo
+lib/mypaint/gui/dialogs.py
+lib/mypaint/gui/dialogs.pyc
+lib/mypaint/gui/dialogs.pyo
+lib/mypaint/gui/displayfilter.py
+lib/mypaint/gui/displayfilter.pyc
+lib/mypaint/gui/displayfilter.pyo
+lib/mypaint/gui/document.py
+lib/mypaint/gui/document.pyc
+lib/mypaint/gui/document.pyo
+lib/mypaint/gui/drawutils.py
+lib/mypaint/gui/drawutils.pyc
+lib/mypaint/gui/drawutils.pyo
+lib/mypaint/gui/drawwindow.py
+lib/mypaint/gui/drawwindow.pyc
+lib/mypaint/gui/drawwindow.pyo
+lib/mypaint/gui/externalapp.py
+lib/mypaint/gui/externalapp.pyc
+lib/mypaint/gui/externalapp.pyo
+lib/mypaint/gui/factoryaction.py
+lib/mypaint/gui/factoryaction.pyc
+lib/mypaint/gui/factoryaction.pyo
+lib/mypaint/gui/filehandling.py
+lib/mypaint/gui/filehandling.pyc
+lib/mypaint/gui/filehandling.pyo
+lib/mypaint/gui/fill.py
+lib/mypaint/gui/fill.pyc
+lib/mypaint/gui/fill.pyo
+lib/mypaint/gui/footer.py
+lib/mypaint/gui/footer.pyc
+lib/mypaint/gui/footer.pyo
+lib/mypaint/gui/framewindow.py
+lib/mypaint/gui/framewindow.pyc
+lib/mypaint/gui/framewindow.pyo
+lib/mypaint/gui/freehand.py
+lib/mypaint/gui/freehand.pyc
+lib/mypaint/gui/freehand.pyo
+lib/mypaint/gui/gtkexcepthook.py
+lib/mypaint/gui/gtkexcepthook.pyc
+lib/mypaint/gui/gtkexcepthook.pyo
+lib/mypaint/gui/history.py
+lib/mypaint/gui/history.pyc
+lib/mypaint/gui/history.pyo
+lib/mypaint/gui/historypopup.py
+lib/mypaint/gui/historypopup.pyc
+lib/mypaint/gui/historypopup.pyo
+lib/mypaint/gui/inktool.glade
+lib/mypaint/gui/inktool.py
+lib/mypaint/gui/inktool.pyc
+lib/mypaint/gui/inktool.pyo
+lib/mypaint/gui/inputtestwindow.py
+lib/mypaint/gui/inputtestwindow.pyc
+lib/mypaint/gui/inputtestwindow.pyo
+lib/mypaint/gui/keyboard.py
+lib/mypaint/gui/keyboard.pyc
+lib/mypaint/gui/keyboard.pyo
+lib/mypaint/gui/layermanip.py
+lib/mypaint/gui/layermanip.pyc
+lib/mypaint/gui/layermanip.pyo
+lib/mypaint/gui/layermodes.py
+lib/mypaint/gui/layermodes.pyc
+lib/mypaint/gui/layermodes.pyo
+lib/mypaint/gui/layerprops.glade
+lib/mypaint/gui/layerprops.py
+lib/mypaint/gui/layerprops.pyc
+lib/mypaint/gui/layerprops.pyo
+lib/mypaint/gui/layers.py
+lib/mypaint/gui/layers.pyc
+lib/mypaint/gui/layers.pyo
+lib/mypaint/gui/layerswindow.py
+lib/mypaint/gui/layerswindow.pyc
+lib/mypaint/gui/layerswindow.pyo
+lib/mypaint/gui/layerswindow.xml
+lib/mypaint/gui/layervis.glade
+lib/mypaint/gui/layervis.py
+lib/mypaint/gui/layervis.pyc
+lib/mypaint/gui/layervis.pyo
+lib/mypaint/gui/linemode.py
+lib/mypaint/gui/linemode.pyc
+lib/mypaint/gui/linemode.pyo
+lib/mypaint/gui/main.py
+lib/mypaint/gui/main.pyc
+lib/mypaint/gui/main.pyo
+lib/mypaint/gui/menu.xml
+lib/mypaint/gui/meta.py



Home | Main Index | Thread Index | Old Index