pkgsrc-WIP-changes archive

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

tint2: remove, used for updating x11/tint2



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Mar 28 10:27:54 2025 +0100
Changeset:	40fbe9f05797c44b132f0c01a76747384e42989d

Modified Files:
	Makefile
Removed Files:
	tint2/COMMIT_MSG
	tint2/DESCR
	tint2/Makefile
	tint2/PLIST
	tint2/distinfo
	tint2/patches/patch-aa
	tint2/patches/patch-src_launcher_apps-common.c
	tint2/patches/patch-src_launcher_icon-theme-common.c
	tint2/patches/patch-src_util_area.c
	tint2/patches/patch-src_util_bt.c
	tint2/patches/patch-src_util_common.c
	tint2/patches/patch-src_util_gradient.c
	tint2/patches/patch-src_util_timer.c

Log Message:
tint2: remove, used for updating x11/tint2

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

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

diffstat:
 Makefile                                           |  1 -
 tint2/COMMIT_MSG                                   |  3 --
 tint2/DESCR                                        | 16 ------
 tint2/Makefile                                     | 61 ----------------------
 tint2/PLIST                                        | 39 --------------
 tint2/distinfo                                     | 13 -----
 tint2/patches/patch-aa                             | 15 ------
 tint2/patches/patch-src_launcher_apps-common.c     | 14 -----
 .../patches/patch-src_launcher_icon-theme-common.c | 26 ---------
 tint2/patches/patch-src_util_area.c                | 14 -----
 tint2/patches/patch-src_util_bt.c                  | 14 -----
 tint2/patches/patch-src_util_common.c              | 14 -----
 tint2/patches/patch-src_util_gradient.c            | 14 -----
 tint2/patches/patch-src_util_timer.c               | 23 --------
 14 files changed, 267 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 75b3bcef4d..6c525b2628 100644
--- a/Makefile
+++ b/Makefile
@@ -5675,7 +5675,6 @@ SUBDIR+=	tilix
 SUBDIR+=	timescaledb-tune
 SUBDIR+=	timewarrior
 SUBDIR+=	timg
-SUBDIR+=	tint2
 SUBDIR+=	tintin++
 SUBDIR+=	tinyca2
 SUBDIR+=	tinycobol
diff --git a/tint2/COMMIT_MSG b/tint2/COMMIT_MSG
deleted file mode 100644
index 346bb5ea86..0000000000
--- a/tint2/COMMIT_MSG
+++ /dev/null
@@ -1,3 +0,0 @@
-x11/tint2: fix to find pathes of icons and aplications
-
-Use devel/cmake/build.mk instead of USE_CMAKE
diff --git a/tint2/DESCR b/tint2/DESCR
deleted file mode 100644
index 1b5cc824b2..0000000000
--- a/tint2/DESCR
+++ /dev/null
@@ -1,16 +0,0 @@
-Tint2 is a simple panel/taskbar intentionally made for openbox3, but which
-should also work with other window managers.
-
-The goal is to keep a clean and non-intrusive look with code that is
-lightweight and in compliance with freedesktop specifications.
-
-Tint2 taskbar features:
-
-    * color/transparency on font, icon, border and background
-    * customize mouse event
-    * drag and drop task between desktop and switch desktop
-
-Tint2 panel features:
-
-    * clock with font, color and transparency
-    * multi-monitor: panel position adjust to monitor, taskbar by monitor
diff --git a/tint2/Makefile b/tint2/Makefile
deleted file mode 100644
index 66bb77578b..0000000000
--- a/tint2/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-# $NetBSD: Makefile,v 1.85 2025/01/08 15:58:20 tnn Exp $
-
-DISTNAME=		tint2-v17.0.2
-PKGNAME=		${DISTNAME:S/-v/-/}
-PKGREVISION=		20
-CATEGORIES=		x11
-MASTER_SITES=		${MASTER_SITE_GITLAB:=o9000/}
-GITLAB_PROJECT=		tint2
-GITLAB_RELEASE=		v${PKGVERSION_NOREV}
-EXTRACT_SUFX=		.tar.bz2
-
-MAINTAINER=		fernandotcl%gmail.com@localhost
-HOMEPAGE=		https://gitlab.com/o9000/tint2
-COMMENT=		Lightweight panel/taskbar for X11
-LICENSE=		gnu-gpl-v2
-
-# XXX CMake. pkg does not really need c++
-USE_LANGUAGES=		c c++
-USE_LIBTOOL=		yes
-USE_TOOLS+=		msgfmt msgmerge pkg-config
-
-# error: 'for' loop initial declarations are only allowed in C99 mode
-FORCE_C_STD=		c99
-
-INSTALLATION_DIRS=	share/examples/tint2
-OWN_DIRS=		${PKG_SYSCONFDIR}/xdg/tint2
-CONF_FILES=		${PREFIX}/share/examples/tint2/tint2rc \
-			${PKG_SYSCONFDIR}/xdg/tint2/tint2rc
-
-CMAKE_CONFIGURE_ARGS.Linux=	-DENABLE_BATTERY=ON
-CMAKE_CONFIGURE_ARGS.*=		-DENABLE_BATTERY=OFF
-
-CFLAGS.SunOS+=		-D_XOPEN_SOURCE=600 -D__EXTENSIONS__
-CFLAGS.SunOS+=		-Du_int8_t=uint8_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
-
-# For sqrt(3). Needed on at least Linux and should be harmless elsewhere.
-LDFLAGS+=		-lm
-
-SUBST_CLASSES+=		path
-SUBST_STAGE.path=	pre-configure
-SUBST_MESSAGE.path=	Fixing pathes
-SUBST_FILES.path+=	src/launcher/apps-common.c
-SUBST_FILES.path+=	src/launcher/icon-theme-common.c
-SUBST_VARS.path+=	PREFIX
-
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \
-		${DESTDIR}${PREFIX}/share/examples/tint2
-
-.include "../../devel/cmake/build.mk"
-.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../graphics/imlib2/buildlink3.mk"
-.include "../../graphics/librsvg/buildlink3.mk"
-.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../x11/gtk3/buildlink3.mk"
-.include "../../x11/libXcomposite/buildlink3.mk"
-.include "../../x11/libXdamage/buildlink3.mk"
-.include "../../x11/libXinerama/buildlink3.mk"
-.include "../../x11/libXrandr/buildlink3.mk"
-.include "../../x11/startup-notification/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/tint2/PLIST b/tint2/PLIST
deleted file mode 100644
index 017b1ee279..0000000000
--- a/tint2/PLIST
+++ /dev/null
@@ -1,39 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2019/01/02 15:35:12 tnn Exp $
-bin/tint2
-bin/tint2conf
-man/man1/tint2.1
-share/applications/tint2.desktop
-share/applications/tint2conf.desktop
-share/doc/tint2/AUTHORS
-share/doc/tint2/ChangeLog
-share/doc/tint2/README.md
-share/doc/tint2/html/images/panel_padding.jpg
-share/doc/tint2/html/images/panel_size_margin.jpg
-share/doc/tint2/html/images/task_padding.jpg
-share/doc/tint2/html/images/taskbar_padding.jpg
-share/doc/tint2/html/manual.html
-share/doc/tint2/html/readme.html
-share/doc/tint2/tint2.md
-share/examples/tint2/tint2rc
-share/icons/hicolor/scalable/apps/tint2.svg
-share/icons/hicolor/scalable/apps/tint2conf.svg
-share/locale/bs/LC_MESSAGES/tint2conf.mo
-share/locale/es/LC_MESSAGES/tint2conf.mo
-share/locale/fr/LC_MESSAGES/tint2conf.mo
-share/locale/hr/LC_MESSAGES/tint2conf.mo
-share/locale/pl/LC_MESSAGES/tint2conf.mo
-share/locale/ru/LC_MESSAGES/tint2conf.mo
-share/locale/sr/LC_MESSAGES/tint2conf.mo
-share/mime/packages/tint2conf.xml
-share/tint2/default_icon.png
-share/tint2/horizontal-dark-opaque.tint2rc
-share/tint2/horizontal-dark-transparent.tint2rc
-share/tint2/horizontal-icon-only.tint2rc
-share/tint2/horizontal-light-opaque.tint2rc
-share/tint2/horizontal-light-transparent.tint2rc
-share/tint2/horizontal-text-only.tint2rc
-share/tint2/vertical-dark-opaque.tint2rc
-share/tint2/vertical-dark-transparent.tint2rc
-share/tint2/vertical-light-opaque.tint2rc
-share/tint2/vertical-light-transparent.tint2rc
-share/tint2/vertical-neutral-icons.tint2rc
diff --git a/tint2/distinfo b/tint2/distinfo
deleted file mode 100644
index c8a26c2cb3..0000000000
--- a/tint2/distinfo
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: distinfo,v 1.15 2022/04/12 13:49:38 tnn Exp $
-
-BLAKE2s (tint2-v17.0.2.tar.bz2) = dac47c5d25014eec0854b22a28ce3417c0dbf15f031c26bcde312401e1708693
-SHA512 (tint2-v17.0.2.tar.bz2) = 2b309fd1ab01e5176cc95e0651f28224b158c2bafd58cfff19840b0f8e880e9f4dcefeff32bc66d5fac11d932d4ee668ea7ddd7bab860f9edcfcdb7074e0e0ed
-Size (tint2-v17.0.2.tar.bz2) = 405654 bytes
-SHA1 (patch-aa) = fdf0fe697ceb576068b0873532ac406b59752370
-SHA1 (patch-src_launcher_apps-common.c) = 4d67e44112f704a3e50c8b0b88f18313df0caa73
-SHA1 (patch-src_launcher_icon-theme-common.c) = 4584ab6e12f69d55fbb708c127e8ce125e752034
-SHA1 (patch-src_util_area.c) = 93a56ee62af285d7ececc44b69bde623626b6b85
-SHA1 (patch-src_util_bt.c) = 7b4007a67f20a5fa42b7667ace28f1bf0dc241be
-SHA1 (patch-src_util_common.c) = 66808606e9ab5f138107ac41cfd4f8bd6340baa4
-SHA1 (patch-src_util_gradient.c) = aa245b1c2cff66a34ef70edcc9648d37fb9a72e5
-SHA1 (patch-src_util_timer.c) = 9e6d47957428d1420b9574bf82f8e1ad1f57b11f
diff --git a/tint2/patches/patch-aa b/tint2/patches/patch-aa
deleted file mode 100644
index c758ff1ce3..0000000000
--- a/tint2/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2019/01/02 15:35:12 tnn Exp $
-
-handle config file
-
---- CMakeLists.txt.orig	2018-08-05 21:27:23.000000000 +0000
-+++ CMakeLists.txt
-@@ -289,7 +289,7 @@ set_target_properties( tint2 PROPERTIES 
- install( TARGETS tint2 DESTINATION bin )
- install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
- install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications )
--install( FILES themes/tint2rc DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/tint2 )
-+#install( FILES themes/tint2rc DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/tint2 )
- install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 )
- install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} )
- install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} )
diff --git a/tint2/patches/patch-src_launcher_apps-common.c b/tint2/patches/patch-src_launcher_apps-common.c
deleted file mode 100644
index 83b78a1ab4..0000000000
--- a/tint2/patches/patch-src_launcher_apps-common.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
-* Add applications path of pkgsrc
-
---- src/launcher/apps-common.c.orig	2025-02-05 09:47:18.883124706 +0000
-+++ src/launcher/apps-common.c
-@@ -317,6 +317,7 @@ const GSList *get_apps_locations()
-     apps_locations = load_locations_from_env(apps_locations, "XDG_DATA_DIRS", "applications", NULL);
- 
-     apps_locations = g_slist_append(apps_locations, g_strdup("/usr/local/share/applications"));
-+    apps_locations = g_slist_append(apps_locations, g_strdup("@PREFIX@/share/applications"));
-     apps_locations = g_slist_append(apps_locations, g_strdup("/usr/share/applications"));
-     apps_locations = g_slist_append(apps_locations, g_strdup("/opt/share/applications"));
- 
diff --git a/tint2/patches/patch-src_launcher_icon-theme-common.c b/tint2/patches/patch-src_launcher_icon-theme-common.c
deleted file mode 100644
index 4c5a961d16..0000000000
--- a/tint2/patches/patch-src_launcher_icon-theme-common.c
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD$
-
-* Add icons path of pkgsrc, fix env based pathes
-
---- src/launcher/icon-theme-common.c.orig	2025-02-05 09:47:41.534572814 +0000
-+++ src/launcher/icon-theme-common.c
-@@ -55,15 +55,17 @@ const GSList *get_icon_locations()
-     if (icon_locations)
-         return icon_locations;
- 
--    icon_locations = load_locations_from_env(icon_locations, "XDG_DATA_HOME", ".icons", NULL);
-+    icon_locations = load_locations_from_env(icon_locations, "XDG_DATA_HOME", "icons", NULL);
- 
-     icon_locations = g_slist_append(icon_locations, g_build_filename(g_get_home_dir(), ".icons", NULL));
-     icon_locations = g_slist_append(icon_locations, g_build_filename(g_get_home_dir(), ".local/share/icons", NULL));
- 
--    icon_locations = load_locations_from_env(icon_locations, "XDG_DATA_DIRS", ".icons", ".pixmaps", NULL);
-+    icon_locations = load_locations_from_env(icon_locations, "XDG_DATA_DIRS", "icons", "pixmaps", NULL);
- 
-     icon_locations = g_slist_append(icon_locations, g_strdup("/usr/local/share/icons"));
-     icon_locations = g_slist_append(icon_locations, g_strdup("/usr/local/share/pixmaps"));
-+    icon_locations = g_slist_append(icon_locations, g_strdup("@PREFIX@/share/icons"));
-+    icon_locations = g_slist_append(icon_locations, g_strdup("@PREFIX@/share/pixmaps"));
-     icon_locations = g_slist_append(icon_locations, g_strdup("/usr/share/icons"));
-     icon_locations = g_slist_append(icon_locations, g_strdup("/usr/share/pixmaps"));
-     icon_locations = g_slist_append(icon_locations, g_strdup("/opt/share/icons"));
diff --git a/tint2/patches/patch-src_util_area.c b/tint2/patches/patch-src_util_area.c
deleted file mode 100644
index 819d328be0..0000000000
--- a/tint2/patches/patch-src_util_area.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_util_area.c,v 1.1 2022/04/12 13:49:38 tnn Exp $
-
-for bzero(3) on SunOS
-
---- src/util/area.c.orig	2021-12-04 09:46:45.000000000 +0000
-+++ src/util/area.c
-@@ -26,6 +26,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <strings.h>
- #include <pango/pangocairo.h>
- 
- #include "area.h"
diff --git a/tint2/patches/patch-src_util_bt.c b/tint2/patches/patch-src_util_bt.c
deleted file mode 100644
index ab2a0ab00f..0000000000
--- a/tint2/patches/patch-src_util_bt.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_util_bt.c,v 1.1 2022/04/12 13:45:58 tnn Exp $
-
-for bzero(3) on SunOS
-
---- src/util/bt.c.orig	2021-12-04 09:46:45.000000000 +0000
-+++ src/util/bt.c
-@@ -21,6 +21,7 @@
- #include <stdint.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <strings.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <stdio.h>
diff --git a/tint2/patches/patch-src_util_common.c b/tint2/patches/patch-src_util_common.c
deleted file mode 100644
index f759a39752..0000000000
--- a/tint2/patches/patch-src_util_common.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_util_common.c,v 1.1 2022/04/12 13:45:58 tnn Exp $
-
-for bzero(3) on SunOS
-
---- src/util/common.c.orig	2021-12-04 09:46:45.000000000 +0000
-+++ src/util/common.c
-@@ -26,6 +26,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <strings.h>
- #include <math.h>
- #include <unistd.h>
- #include <glib.h>
diff --git a/tint2/patches/patch-src_util_gradient.c b/tint2/patches/patch-src_util_gradient.c
deleted file mode 100644
index a48173b1b4..0000000000
--- a/tint2/patches/patch-src_util_gradient.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_util_gradient.c,v 1.1 2022/04/12 13:45:58 tnn Exp $
-
-for bzero(3) on SunOS
-
---- src/util/gradient.c.orig	2021-12-04 09:46:45.000000000 +0000
-+++ src/util/gradient.c
-@@ -3,6 +3,7 @@
- #include <glib.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <strings.h>
- 
- #include "common.h"
- 
diff --git a/tint2/patches/patch-src_util_timer.c b/tint2/patches/patch-src_util_timer.c
deleted file mode 100644
index f27cb81e19..0000000000
--- a/tint2/patches/patch-src_util_timer.c
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-src_util_timer.c,v 1.1 2022/04/12 13:45:58 tnn Exp $
-
-for bzero(3) on SunOS
-
---- src/util/timer.c.orig	2021-12-04 09:46:45.000000000 +0000
-+++ src/util/timer.c
-@@ -20,6 +20,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
-+#include <strings.h>
- 
- #include "colors.h"
- #include "timer.h"
-@@ -52,7 +53,7 @@ void init_timer(Timer *timer, const char
-     if (debug_timers)
-         fprintf(stderr, "tint2: timers: %s: %s, %p\n", __FUNCTION__, name, (void *)timer);
-     bzero(timer, sizeof(*timer));
--    strncpy(timer->name_, name, sizeof(timer->name_));
-+    strncpy(timer->name_, name, sizeof(timer->name_) - 1);
-     if (!g_list_find(timers, timer)) {
-         timers = g_list_append(timers, timer);
-     }


Home | Main Index | Thread Index | Old Index