pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/gpick



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Fri Dec 30 21:23:55 UTC 2016

Added Files:
        pkgsrc/graphics/gpick: DESCR Makefile PLIST distinfo
        pkgsrc/graphics/gpick/patches: patch-SConscript

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gpick/DESCR \
    pkgsrc/graphics/gpick/Makefile pkgsrc/graphics/gpick/PLIST \
    pkgsrc/graphics/gpick/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gpick/patches/patch-SConscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/gpick/DESCR
diff -u /dev/null pkgsrc/graphics/gpick/DESCR:1.1
--- /dev/null   Fri Dec 30 21:23:55 2016
+++ pkgsrc/graphics/gpick/DESCR Fri Dec 30 21:23:54 2016
@@ -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.
Index: pkgsrc/graphics/gpick/Makefile
diff -u /dev/null pkgsrc/graphics/gpick/Makefile:1.1
--- /dev/null   Fri Dec 30 21:23:55 2016
+++ pkgsrc/graphics/gpick/Makefile      Fri Dec 30 21:23:54 2016
@@ -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"
Index: pkgsrc/graphics/gpick/PLIST
diff -u /dev/null pkgsrc/graphics/gpick/PLIST:1.1
--- /dev/null   Fri Dec 30 21:23:55 2016
+++ pkgsrc/graphics/gpick/PLIST Fri Dec 30 21:23:54 2016
@@ -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
Index: pkgsrc/graphics/gpick/distinfo
diff -u /dev/null pkgsrc/graphics/gpick/distinfo:1.1
--- /dev/null   Fri Dec 30 21:23:55 2016
+++ pkgsrc/graphics/gpick/distinfo      Fri Dec 30 21:23:54 2016
@@ -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

Index: pkgsrc/graphics/gpick/patches/patch-SConscript
diff -u /dev/null pkgsrc/graphics/gpick/patches/patch-SConscript:1.1
--- /dev/null   Fri Dec 30 21:23:55 2016
+++ pkgsrc/graphics/gpick/patches/patch-SConscript      Fri Dec 30 21:23:55 2016
@@ -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