pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Mar 29 18:43:17 UTC 2022

Modified Files:
        pkgsrc/x11: Makefile
Added Files:
        pkgsrc/x11/gtk3-nocsd: DESCR Makefile PLIST distinfo
        pkgsrc/x11/gtk3-nocsd/patches: patch-gtk3-nocsd.in

Log Message:
add x11/gtk3-nocsd

gtk3-nocsd is a small module used to disable the client side window
decorations (CSDs) in GTK+ 3, which are used by many GNOME
applications.

A shared library is included which can be loaded with LD_PRELOAD to
override several Gdk and glib/gobject APIs used by GTK+ 3 to set up
CSDs.

A wrapper script is also included, which can be used as follows:

        gtk3-nocsd gedit


To generate a diff of this commit:
cvs rdiff -u -r1.953 -r1.954 pkgsrc/x11/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/gtk3-nocsd/DESCR \
    pkgsrc/x11/gtk3-nocsd/Makefile pkgsrc/x11/gtk3-nocsd/PLIST \
    pkgsrc/x11/gtk3-nocsd/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/gtk3-nocsd/patches/patch-gtk3-nocsd.in

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

Modified files:

Index: pkgsrc/x11/Makefile
diff -u pkgsrc/x11/Makefile:1.953 pkgsrc/x11/Makefile:1.954
--- pkgsrc/x11/Makefile:1.953   Thu Feb 17 15:48:21 2022
+++ pkgsrc/x11/Makefile Tue Mar 29 18:43:17 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.953 2022/02/17 15:48:21 wiz Exp $
+# $NetBSD: Makefile,v 1.954 2022/03/29 18:43:17 nia Exp $
 #
 
 COMMENT=       Packages to support the X Window System
@@ -92,6 +92,7 @@ SUBDIR+=      gtk2-engines-murrine
 SUBDIR+=       gtk2-theme-switch
 SUBDIR+=       gtk3
 SUBDIR+=       gtk3-engines-unico
+SUBDIR+=       gtk3-nocsd
 SUBDIR+=       gtk4
 SUBDIR+=       gtkada
 SUBDIR+=       gtkdatabox

Added files:

Index: pkgsrc/x11/gtk3-nocsd/DESCR
diff -u /dev/null pkgsrc/x11/gtk3-nocsd/DESCR:1.1
--- /dev/null   Tue Mar 29 18:43:17 2022
+++ pkgsrc/x11/gtk3-nocsd/DESCR Tue Mar 29 18:43:17 2022
@@ -0,0 +1,11 @@
+gtk3-nocsd is a small module used to disable the client side window
+decorations (CSDs) in GTK+ 3, which are used by many GNOME
+applications.
+
+A shared library is included which can be loaded with LD_PRELOAD to
+override several Gdk and glib/gobject APIs used by GTK+ 3 to set up
+CSDs.
+
+A wrapper script is also included, which can be used as follows:
+
+       gtk3-nocsd gedit
Index: pkgsrc/x11/gtk3-nocsd/Makefile
diff -u /dev/null pkgsrc/x11/gtk3-nocsd/Makefile:1.1
--- /dev/null   Tue Mar 29 18:43:17 2022
+++ pkgsrc/x11/gtk3-nocsd/Makefile      Tue Mar 29 18:43:17 2022
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2022/03/29 18:43:17 nia Exp $
+
+DISTNAME=      gtk3-nocsd-3.0.8
+CATEGORIES=    x11
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ZaWertun/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ZaWertun/gtk3-nocsd
+COMMENT=       Hack to disable GTK+ 3 client side window decorations
+LICENSE=       gnu-lgpl-v2.1
+
+USE_TOOLS+=    gmake pkg-config
+
+INSTALLATION_DIRS+=    bin lib
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+INSTALLATION_DIRS+=    share/bash-completion/completions
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/libgtk3-nocsd.so.0 \
+           ${DESTDIR}${PREFIX}/lib/libgtk3-nocsd.so.0
+       ${INSTALL_SCRIPT} ${WRKSRC}/gtk3-nocsd \
+           ${DESTDIR}${PREFIX}/bin/gtk3-nocsd
+       ${INSTALL_MAN} ${WRKSRC}/gtk3-nocsd.1 \
+           ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gtk3-nocsd.1
+       ${INSTALL_DATA} ${WRKSRC}/gtk3-nocsd.bash-completion \
+           ${DESTDIR}${PREFIX}/share/bash-completion/completions/gtk3-nocsd
+
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/x11/gtk3-nocsd/PLIST
diff -u /dev/null pkgsrc/x11/gtk3-nocsd/PLIST:1.1
--- /dev/null   Tue Mar 29 18:43:17 2022
+++ pkgsrc/x11/gtk3-nocsd/PLIST Tue Mar 29 18:43:17 2022
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2022/03/29 18:43:17 nia Exp $
+bin/gtk3-nocsd
+lib/libgtk3-nocsd.so.0
+man/man1/gtk3-nocsd.1
+share/bash-completion/completions/gtk3-nocsd
Index: pkgsrc/x11/gtk3-nocsd/distinfo
diff -u /dev/null pkgsrc/x11/gtk3-nocsd/distinfo:1.1
--- /dev/null   Tue Mar 29 18:43:17 2022
+++ pkgsrc/x11/gtk3-nocsd/distinfo      Tue Mar 29 18:43:17 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/03/29 18:43:17 nia Exp $
+
+BLAKE2s (gtk3-nocsd-3.0.8.tar.gz) = dee636b656c980ee8a231c8d02109e55c59a26abdde51eb64650a25a94f799e9
+SHA512 (gtk3-nocsd-3.0.8.tar.gz) = 18fd81dbb8b5eb793429741bcaa8e821650569e395251dc1e83d182ee97b8e9d48318342dcb27fbddb9fbec2e439c96dabd09577dbc5933d2ebc3187625e2232
+Size (gtk3-nocsd-3.0.8.tar.gz) = 66746 bytes
+SHA1 (patch-gtk3-nocsd.in) = c03242c44796023b5305b234390dcfb485d700a7

Index: pkgsrc/x11/gtk3-nocsd/patches/patch-gtk3-nocsd.in
diff -u /dev/null pkgsrc/x11/gtk3-nocsd/patches/patch-gtk3-nocsd.in:1.1
--- /dev/null   Tue Mar 29 18:43:17 2022
+++ pkgsrc/x11/gtk3-nocsd/patches/patch-gtk3-nocsd.in   Tue Mar 29 18:43:17 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-gtk3-nocsd.in,v 1.1 2022/03/29 18:43:17 nia Exp $
+
+Do not assume GNU-style readlink.
+
+--- gtk3-nocsd.in.orig 2021-06-23 18:46:13.000000000 +0000
++++ gtk3-nocsd.in
+@@ -17,7 +17,7 @@
+ #
+ 
+ OS=$(uname | tr "[:upper:]" "[:lower:]")
+-RLINK_ARGS=$([ "$OS" = "freebsd" ] && echo "-f" || echo "-fe")
++RLINK_ARGS=$([ "$OS" != "linux" ] && echo "-f" || echo "-fe")
+ 
+ GTK3_NOCSD_NAME=libgtk3-nocsd.so.0
+ 



Home | Main Index | Thread Index | Old Index