pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gpick Import gpick-0.2.5 as graphics/gpick.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c711437552ff
branches: trunk
changeset: 356410:c711437552ff
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Fri Dec 30 21:23:54 2016 +0000
description:
Import gpick-0.2.5 as graphics/gpick.
Gpick is an advanced color picker and palette editing tool.
Main features
* Magnification and mouse pointer control with keyboard.
* Automatic color name assignment.
* Export to following formats:
* Inkscape/Gimp Palette (*.gpl)
* Adobe Swatch Exchange (*.ase)
* Alias/WaveFront Material (*.mtl)
* Cascaded Style Sheet (*.css)
* Hyper Text Markup Language (*.html)
* Customizeable text file
* Import from following formats:
* Inkscape/Gimp Palette (*.gpl)
* Adobe Swatch Exchange (*.ase)
* Customizeable text file
* Oversampling with five falloff types:
* Multiple pixel values are averaged to help picking
colors from sources with noise, patterns and etc,
where each pixel is different and overall color is
produced by different amounts of particular color.
* Palette from image.
* Color scheme creation tools.
* Mix two or more colors using variable number of steps
and different mixing types.
* Lightness and/or saturation variations.
* Harmonious colors.
diffstat:
graphics/gpick/DESCR | 27 +++++++++++++++++++++++++++
graphics/gpick/Makefile | 31 +++++++++++++++++++++++++++++++
graphics/gpick/PLIST | 21 +++++++++++++++++++++
graphics/gpick/distinfo | 7 +++++++
graphics/gpick/patches/patch-SConscript | 23 +++++++++++++++++++++++
5 files changed, 109 insertions(+), 0 deletions(-)
diffs (129 lines):
diff -r 7a9b34e221ee -r c711437552ff graphics/gpick/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gpick/DESCR Fri Dec 30 21:23:54 2016 +0000
@@ -0,0 +1,27 @@
+Gpick is an advanced color picker and palette editing tool.
+
+Main features
+ * Magnification and mouse pointer control with keyboard.
+ * Automatic color name assignment.
+ * Export to following formats:
+ * Inkscape/Gimp Palette (*.gpl)
+ * Adobe Swatch Exchange (*.ase)
+ * Alias/WaveFront Material (*.mtl)
+ * Cascaded Style Sheet (*.css)
+ * Hyper Text Markup Language (*.html)
+ * Customizeable text file
+ * Import from following formats:
+ * Inkscape/Gimp Palette (*.gpl)
+ * Adobe Swatch Exchange (*.ase)
+ * Customizeable text file
+ * Oversampling with five falloff types:
+ * Multiple pixel values are averaged to help picking
+ colors from sources with noise, patterns and etc,
+ where each pixel is different and overall color is
+ produced by different amounts of particular color.
+ * Palette from image.
+ * Color scheme creation tools.
+ * Mix two or more colors using variable number of steps
+ and different mixing types.
+ * Lightness and/or saturation variations.
+ * Harmonious colors.
diff -r 7a9b34e221ee -r c711437552ff graphics/gpick/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gpick/Makefile Fri Dec 30 21:23:54 2016 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2016/12/30 21:23:54 ryoon Exp $
+
+DISTNAME= gpick-gpick-0.2.5
+PKGNAME= ${DISTNAME:S/gpick-//}
+CATEGORIES= graphics
+MASTER_SITES= -http://github.com/thezbyg/gpick/archive/gpick-0.2.5.tar.gz
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/thezbyg/gpick/
+COMMENT= Advanced color picker
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c c++
+
+BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
+
+SCONS= ${PREFIX}/bin/scons
+SCONS_ARGS+= DESTDIR=${DESTDIR}${PREFIX}
+SCONS_ARGS+= PKGMANDIR=${PKGMANDIR}
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS}
+
+do-install:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS} install
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7a9b34e221ee -r c711437552ff graphics/gpick/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gpick/PLIST Fri Dec 30 21:23:54 2016 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/30 21:23:54 ryoon Exp $
+bin/gpick
+man/man1/gpick.1
+share/applications/gpick.desktop
+share/doc/gpick/copyright
+share/gpick/colors.txt
+share/gpick/colors0.txt
+share/gpick/gpick-falloff-cubic.png
+share/gpick/gpick-falloff-exponential.png
+share/gpick/gpick-falloff-linear.png
+share/gpick/gpick-falloff-none.png
+share/gpick/gpick-falloff-quadratic.png
+share/gpick/gpick-gray-pattern.png
+share/gpick/helpers.lua
+share/gpick/init.lua
+share/gpick/layouts.lua
+share/icons/hicolor/48x48/apps/gpick.png
+share/icons/hicolor/scalable/apps/gpick.svg
+share/locale/es/LC_MESSAGES/gpick.mo
+share/locale/lt/LC_MESSAGES/gpick.mo
+share/locale/ru/LC_MESSAGES/gpick.mo
diff -r 7a9b34e221ee -r c711437552ff graphics/gpick/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gpick/distinfo Fri Dec 30 21:23:54 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/12/30 21:23:54 ryoon Exp $
+
+SHA1 (gpick-gpick-0.2.5.tar.gz) = 9b6663137f7eb73a301156f52c2cee44e658b64c
+RMD160 (gpick-gpick-0.2.5.tar.gz) = ca88fc19dca8bb9f4ee6cee5162bc0db5448f58f
+SHA512 (gpick-gpick-0.2.5.tar.gz) = 05ff855e28dcfede0c825d555d5572650ffda9cfaa6462e5b503d2a64cb340eca675b37780dbd3bf43750dbd2d844cb755277eaba7e7a77cb0c3b7e772d552e6
+Size (gpick-gpick-0.2.5.tar.gz) = 329190 bytes
+SHA1 (patch-SConscript) = 391723077ea44372c316dadb78535a0b54fd2f4c
diff -r 7a9b34e221ee -r c711437552ff graphics/gpick/patches/patch-SConscript
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gpick/patches/patch-SConscript Fri Dec 30 21:23:54 2016 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-SConscript,v 1.1 2016/12/30 21:23:55 ryoon Exp $
+
+* Fix man page path
+
+--- SConscript.orig 2013-02-28 17:34:31.000000000 +0000
++++ SConscript
+@@ -10,6 +10,7 @@ env = GpickEnvironment(ENV=os.environ, B
+
+ vars = Variables(os.path.join(env.GetLaunchDir(), 'user-config.py'))
+ vars.Add('DESTDIR', 'Directory to install under', '/usr/local')
++vars.Add('PKGMANDIR', 'Path to man pages', 'man')
+ vars.Add('LOCALEDIR', 'Path to locale directory', '')
+ vars.Add('DEBARCH', 'Debian package architecture', 'i386')
+ vars.Add(BoolVariable('ENABLE_NLS', 'Compile with gettext support', True))
+@@ -164,7 +165,7 @@ env.Alias(target="install", source=[
+ env.InstallData(dir=env['DESTDIR'] +'/share/applications', source=['share/applications/gpick.desktop']),
+ env.InstallData(dir=env['DESTDIR'] +'/share/doc/gpick', source=['share/doc/gpick/copyright']),
+ env.InstallData(dir=env['DESTDIR'] +'/share/gpick', source=[env.Glob('share/gpick/*.png'), env.Glob('share/gpick/*.lua'), env.Glob('share/gpick/*.txt')]),
+- env.InstallData(dir=env['DESTDIR'] +'/share/man/man1', source=['share/man/man1/gpick.1']),
++ env.InstallData(dir=env['DESTDIR'] + '/' + env['PKGMANDIR'] + '/man1', source=['share/man/man1/gpick.1']),
+ env.InstallData(dir=env['DESTDIR'] +'/share/icons/hicolor/48x48/apps/', source=[env.Glob('share/icons/hicolor/48x48/apps/*.png')]),
+ env.InstallData(dir=env['DESTDIR'] +'/share/icons/hicolor/scalable/apps/', source=[env.Glob('share/icons/hicolor/scalable/apps/*.svg')]),
+ env.InstallDataAutoDir(dir=env['DESTDIR'] + '/share/locale/', relative_dir='share/locale/', source=[env.Glob('share/locale/*/LC_MESSAGES/gpick.mo')]),
Home |
Main Index |
Thread Index |
Old Index