pkgsrc-WIP-changes archive

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

gpick: add upgrade candidate



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Mon Jul 24 17:05:08 2023 +0200
Changeset:	d01133dfa7b7e2addca7567ddb26e842e1bf734f

Modified Files:
	Makefile
Added Files:
	gpick/DESCR
	gpick/Makefile
	gpick/PLIST
	gpick/TODO
	gpick/distinfo
	gpick/patches/patch-source_Paths.cpp

Log Message:
gpick: add upgrade candidate

Doesn't link - doesn't find symbols from lua despite
linking against it.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d01133dfa7b7e2addca7567ddb26e842e1bf734f

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

diffstat:
 Makefile                             |  4 +++-
 gpick/DESCR                          | 27 +++++++++++++++++++++++++++
 gpick/Makefile                       | 33 +++++++++++++++++++++++++++++++++
 gpick/PLIST                          | 28 ++++++++++++++++++++++++++++
 gpick/TODO                           |  1 +
 gpick/distinfo                       |  6 ++++++
 gpick/patches/patch-source_Paths.cpp | 15 +++++++++++++++
 7 files changed, 113 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index b5341a312c..9c0f1c3af6 100644
--- a/Makefile
+++ b/Makefile
@@ -1384,6 +1384,7 @@ SUBDIR+=	gotify
 SUBDIR+=	goyq
 SUBDIR+=	gp-toric
 SUBDIR+=	gpak
+SUBDIR+=	gpick
 SUBDIR+=	gplbasic
 SUBDIR+=	gpsdrive
 SUBDIR+=	gpx2shp
@@ -4632,6 +4633,7 @@ SUBDIR+=	py-spyder-notebook
 SUBDIR+=	py-spyder-terminal
 SUBDIR+=	py-spyder-unittest
 SUBDIR+=	py-spyder-vim
+SUBDIR+=	py-spydrnet
 SUBDIR+=	py-spyse
 SUBDIR+=	py-sqlalchemy-json
 SUBDIR+=	py-sqlalchemy-searchable
@@ -5691,7 +5693,7 @@ SUBDIR+=	vanitygen
 SUBDIR+=	varnish-modules
 SUBDIR+=	varnish-slash
 SUBDIR+=	vault
-SUBDIR+=	vaultwarden-web_vault
+SUBDIR+=	vaultwarden-web-vault
 SUBDIR+=	vcflib
 SUBDIR+=	vcftools
 SUBDIR+=	vcg
diff --git a/gpick/DESCR b/gpick/DESCR
new file mode 100644
index 0000000000..7da41a1c4b
--- /dev/null
+++ b/gpick/DESCR
@@ -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 --git a/gpick/Makefile b/gpick/Makefile
new file mode 100644
index 0000000000..e74a05f5af
--- /dev/null
+++ b/gpick/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.40 2023/07/18 18:19:23 nia Exp $
+
+DISTNAME=	gpick-0.3
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_GITHUB:=thezbyg/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	ryoon%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/thezbyg/gpick/
+COMMENT=	Advanced color picker
+LICENSE=	modified-bsd
+
+TOOL_DEPENDS+=	ragel-[0-9]*:../../devel/ragel
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pkg-config msgfmt msgmerge xgettext
+
+USE_CXX_FEATURES+=	c++14
+
+CMAKE_ARGS+=	-DLua_LIBRARIES=-llua${_LUA_DOT_VERSION}
+#CXXFLAGS+=	-I${BUILDLINK_DIR}/${LUA_INCDIR}
+#LDFLAGS+=	-llua${_LUA_DOT_VERSION}
+
+pre-configure:
+	(${ECHO} 0.3; ${ECHO} 0; ${ECHO} 0000000000000000000000000000000000000000; ${ECHO} "May  8, 2022") > ${WRKSRC}/.version
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gpick/PLIST b/gpick/PLIST
new file mode 100644
index 0000000000..f209b5abff
--- /dev/null
+++ b/gpick/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.2 2021/11/12 16:17:20 nia Exp $
+bin/gpick
+man/man1/gpick.1
+share/applications/gpick.desktop
+share/doc/gpick/copyright
+share/gpick/color_dictionary_0.txt
+share/gpick/converters.lua
+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/gpick-tray.png
+share/gpick/helpers.lua
+share/gpick/init.lua
+share/gpick/layouts.lua
+share/gpick/logo.png
+share/gpick/options.lua
+share/icons/hicolor/48x48/apps/gpick.png
+share/icons/hicolor/scalable/apps/gpick.svg
+share/locale/cs/LC_MESSAGES/gpick.mo
+share/locale/es/LC_MESSAGES/gpick.mo
+share/locale/lt/LC_MESSAGES/gpick.mo
+share/locale/ru/LC_MESSAGES/gpick.mo
+share/locale/sv/LC_MESSAGES/gpick.mo
+share/metainfo/gpick.appdata.xml
+share/mime/packages/gpick.xml
diff --git a/gpick/TODO b/gpick/TODO
new file mode 100644
index 0000000000..1232c32cb1
--- /dev/null
+++ b/gpick/TODO
@@ -0,0 +1 @@
+Fails to link, does not find symbols from lua despite linking against it.
diff --git a/gpick/distinfo b/gpick/distinfo
new file mode 100644
index 0000000000..63ac23590a
--- /dev/null
+++ b/gpick/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.4 2021/11/12 16:17:20 nia Exp $
+
+BLAKE2s (gpick-0.3.tar.gz) = afa9525c1853a1498d48fc5d76e673012522c898f8777f21360931b423675571
+SHA512 (gpick-0.3.tar.gz) = 103f6b5779b0b6592c571b2767baedf602e1a2626e40e0a7041271b6427f77325af396648e4b30bc058043277ec73deee70f67809892e0738721981982c1cf4e
+Size (gpick-0.3.tar.gz) = 367958 bytes
+SHA1 (patch-source_Paths.cpp) = 0ee4ce3524cc8cb38bdc5f202a871a564a5c673c
diff --git a/gpick/patches/patch-source_Paths.cpp b/gpick/patches/patch-source_Paths.cpp
new file mode 100644
index 0000000000..b7c1a4c943
--- /dev/null
+++ b/gpick/patches/patch-source_Paths.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+If the choice is between Linux and Windows, choose Linux.
+
+--- source/Paths.cpp.orig	2022-05-08 10:20:36.000000000 +0000
++++ source/Paths.cpp
+@@ -36,7 +36,7 @@ struct PathException: std::runtime_error
+ 		std::runtime_error(message) {
+ 	}
+ };
+-#if BOOST_OS_LINUX != 0
++#if 1 != 0
+ static std::string getExecutablePath() {
+ 	std::vector<char> buffer;
+ 	buffer.resize(4096);


Home | Main Index | Thread Index | Old Index