pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/gkrellshoot



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Aug 30 17:00:30 UTC 2025

Added Files:
        pkgsrc/graphics/gkrellshoot: DESCR Makefile PLIST distinfo
        pkgsrc/graphics/gkrellshoot/files: Makefile

Log Message:
graphics/gkrellshoot: import gkrellshoot-0.4.4

This Plugin gives easy access to Screen Lock and Screen Shoot facility. For
Screen capture this uses ImageMagick. Displays animation(Screen Saver like)
along with 'Lock' and 'Shoot' button to be clicked on. With Screen Shoot
one can either grab a window, selected area or whole screen, also one can
delay the Screen Shoot by given number of seconds. One other feature is
that grabbed image can be viewed by given image viewer. Pressing 'Lock'
button will lock the screen and starts your screen saver.


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

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

Added files:

Index: pkgsrc/graphics/gkrellshoot/DESCR
diff -u /dev/null pkgsrc/graphics/gkrellshoot/DESCR:1.1
--- /dev/null   Sat Aug 30 17:00:30 2025
+++ pkgsrc/graphics/gkrellshoot/DESCR   Sat Aug 30 17:00:29 2025
@@ -0,0 +1,7 @@
+This Plugin gives easy access to Screen Lock and Screen Shoot facility. For
+Screen capture this uses ImageMagick. Displays animation(Screen Saver like)
+along with 'Lock' and 'Shoot' button to be clicked on. With Screen Shoot
+one can either grab a window, selected area or whole screen, also one can
+delay the Screen Shoot by given number of seconds. One other feature is
+that grabbed image can be viewed by given image viewer. Pressing 'Lock'
+button will lock the screen and starts your screen saver.
Index: pkgsrc/graphics/gkrellshoot/Makefile
diff -u /dev/null pkgsrc/graphics/gkrellshoot/Makefile:1.1
--- /dev/null   Sat Aug 30 17:00:30 2025
+++ pkgsrc/graphics/gkrellshoot/Makefile        Sat Aug 30 17:00:29 2025
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2025/08/30 17:00:29 pho Exp $
+
+DISTNAME=      gkrellshoot-0.4.4
+CATEGORIES=    graphics sysutils
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gkrellshoot/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       GKrellM plugin to take screenshots
+LICENSE=       gnu-gpl-v2
+
+WRKSRC=                ${WRKDIR}/${DISTNAME:S/shoot/Shoot/}
+
+USE_TOOLS+=    pkg-config
+USE_LIBTOOL=   yes
+
+DEPENDS+=      ImageMagick-[0-9]*:../../graphics/ImageMagick
+
+MAKE_FILE=     ${FILESDIR}/Makefile
+MAKE_FLAGS+=   INSTALL_LIB_DIR=${INSTALL_LIB_DIR:Q}
+MAKE_FLAGS+=   INSTALL_LIB=${INSTALL_LIB:Q}
+MAKE_FLAGS+=   PLUGIN_DIR=${PREFIX:Q}/lib/gkrellm2/plugins
+
+.include "../../sysutils/gkrellm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/gkrellshoot/PLIST
diff -u /dev/null pkgsrc/graphics/gkrellshoot/PLIST:1.1
--- /dev/null   Sat Aug 30 17:00:30 2025
+++ pkgsrc/graphics/gkrellshoot/PLIST   Sat Aug 30 17:00:29 2025
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2025/08/30 17:00:29 pho Exp $
+lib/gkrellm2/plugins/gkrellshoot.la
Index: pkgsrc/graphics/gkrellshoot/distinfo
diff -u /dev/null pkgsrc/graphics/gkrellshoot/distinfo:1.1
--- /dev/null   Sat Aug 30 17:00:30 2025
+++ pkgsrc/graphics/gkrellshoot/distinfo        Sat Aug 30 17:00:29 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/08/30 17:00:29 pho Exp $
+
+BLAKE2s (gkrellshoot-0.4.4.tar.gz) = c3e140be9a31f5e3d934f7954909c7f89392afc5478e51d1a366b64fd31e6dbe
+SHA512 (gkrellshoot-0.4.4.tar.gz) = 9363c045a99c23f8fedf95ac82c7bab4ce21acb675fdabdd831f174d9816a14a22ed6d7048d475b4c4199b9e6a88f3f663702ac2f9304f08860339beb323322a
+Size (gkrellshoot-0.4.4.tar.gz) = 16556 bytes

Index: pkgsrc/graphics/gkrellshoot/files/Makefile
diff -u /dev/null pkgsrc/graphics/gkrellshoot/files/Makefile:1.1
--- /dev/null   Sat Aug 30 17:00:30 2025
+++ pkgsrc/graphics/gkrellshoot/files/Makefile  Sat Aug 30 17:00:30 2025
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2025/08/30 17:00:30 pho Exp $
+#
+# Replacement Makefile for gkrellshoot for portability
+#
+
+OBJS=  gkrellshoot.lo
+
+PKG_CONFIG_DEPS=       gtk+-2.0
+EXTRA_CFLAGS!=         pkg-config ${PKG_CONFIG_DEPS} --cflags
+EXTRA_LIBS!=           pkg-config ${PKG_CONFIG_DEPS} --libs
+
+.PHONY: all
+all: gkrellshoot.la
+
+gkrellshoot.la: ${OBJS}
+       ${LIBTOOL} --tag=CC --mode=link \
+               ${CC} ${LDFLAGS} ${EXTRA_LIBS} ${.ALLSRC} -o ${.TARGET} \
+               -module -shared -avoid-version -rpath ${PLUGIN_DIR:Q}
+
+.SUFFIXES: .c .lo
+.c.lo:
+       ${LIBTOOL} --tag=CC --mode=compile \
+               ${CC} -c ${CFLAGS} ${EXTRA_CFLAGS} ${.IMPSRC} -shared
+
+.PHONY: install
+install: gkrellshoot.la
+       ${INSTALL_LIB_DIR} ${DESTDIR}${PLUGIN_DIR}
+       ${LIBTOOL} --mode=install ${INSTALL_LIB} ${.ALLSRC} ${DESTDIR}${PLUGIN_DIR}



Home | Main Index | Thread Index | Old Index