FreeBSD Bugzilla – Attachment 250790 Details for
Bug 277348
x11/wmctrl: upstream no longer exists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
New patch for ports tree.
0001-Move-wmctrl-port-to-wmctrl-fork-and-take-maintainers.patch (text/plain), 6.34 KB, created by
Alexey Vyskubov
on 2024-05-18 11:54:20 UTC
(
hide
)
Description:
New patch for ports tree.
Filename:
MIME Type:
Creator:
Alexey Vyskubov
Created:
2024-05-18 11:54:20 UTC
Size:
6.34 KB
patch
obsolete
>From 650793d9b6ce65762f56938a29fdf46d9e783e51 Mon Sep 17 00:00:00 2001 >From: Alexey Vyskubov <alexey@pentode.fi> >Date: Sat, 18 May 2024 14:46:30 +0300 >Subject: [PATCH] Move wmctrl port to wmctrl-fork and take maintainership > >--- > MOVED | 1 + > x11/wmctrl-fork/Makefile | 21 +++++++++ > x11/wmctrl-fork/distinfo | 3 ++ > x11/{wmctrl => wmctrl-fork}/pkg-descr | 0 > x11/wmctrl/Makefile | 21 --------- > x11/wmctrl/distinfo | 2 - > x11/wmctrl/files/patch-main.c | 61 --------------------------- > 7 files changed, 25 insertions(+), 84 deletions(-) > create mode 100644 x11/wmctrl-fork/Makefile > create mode 100644 x11/wmctrl-fork/distinfo > rename x11/{wmctrl => wmctrl-fork}/pkg-descr (100%) > delete mode 100644 x11/wmctrl/Makefile > delete mode 100644 x11/wmctrl/distinfo > delete mode 100644 x11/wmctrl/files/patch-main.c > >diff --git a/MOVED b/MOVED >index 45e6afb2b4dd..495d63a1a975 100644 >--- a/MOVED >+++ b/MOVED >@@ -23,6 +23,7 @@ > # This file can be linted with Tools/scripts/MOVEDlint.awk > # > # Port|Moved to|Date|Why >+x11/wmctrl|x11/wmctrl-fork|2024-05-18|Forked due to the upstream being no longer available; the port had no maintainer > www/wt3|www/wt|2021-01-03|Has expired: Upstream end of life, switch to www/wt instead > archivers/ecm|archivers/cmdpack|2021-01-04|ECM is now included in cmdpack > math/qhull5|math/qhull|2021-01-04|Has expired: Legacy version of port no longer required by math/octave >diff --git a/x11/wmctrl-fork/Makefile b/x11/wmctrl-fork/Makefile >new file mode 100644 >index 000000000000..6d7420dd0a73 >--- /dev/null >+++ b/x11/wmctrl-fork/Makefile >@@ -0,0 +1,21 @@ >+PORTNAME= wmctrl-fork >+DISTVERSION= 1.09.02 >+CATEGORIES= x11 >+MASTER_SITES= https://github.com/avysk/wmctrl-fork/releases/download/1.09.02/ >+ >+MAINTAINER= alexey@pentode.fi >+COMMENT= Command line tool to interact with an EWMH/NetWM compatible X managers >+WWW= https://github.com/avysk/wmctrl-work >+ >+LICENSE= GPLv2 >+ >+USES= gnome pkgconfig xorg >+ >+GNU_CONFIGURE= yes >+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share >+USE_XORG= ice sm x11 xmu xext xt >+USE_GNOME= glib20 >+ >+PLIST_FILES= bin/wmctrl share/man/man1/wmctrl.1.gz >+ >+.include <bsd.port.mk> >diff --git a/x11/wmctrl-fork/distinfo b/x11/wmctrl-fork/distinfo >new file mode 100644 >index 000000000000..f321a380a276 >--- /dev/null >+++ b/x11/wmctrl-fork/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1716028371 >+SHA256 (wmctrl-fork-1.09.02.tar.gz) = 5883338fa542bc82f59c8653c867df4b1e8e66fbf3931fcfda25a8ed705bc2f5 >+SIZE (wmctrl-fork-1.09.02.tar.gz) = 119254 >diff --git a/x11/wmctrl/pkg-descr b/x11/wmctrl-fork/pkg-descr >similarity index 100% >rename from x11/wmctrl/pkg-descr >rename to x11/wmctrl-fork/pkg-descr >diff --git a/x11/wmctrl/Makefile b/x11/wmctrl/Makefile >deleted file mode 100644 >index c4595c94b23b..000000000000 >--- a/x11/wmctrl/Makefile >+++ /dev/null >@@ -1,21 +0,0 @@ >-PORTNAME= wmctrl >-PORTVERSION= 1.07 >-PORTREVISION= 8 >-CATEGORIES= x11 >-MASTER_SITES= http://sweb.cz/tripie/utils/wmctrl/dist/ >- >-MAINTAINER= ports@FreeBSD.org >-COMMENT= Command line tool to interact with an EWMH/NetWM compatible X managers >-WWW= http://sweb.cz/tripie/utils/wmctrl/ >- >-LICENSE= GPLv2 >- >-USES= gnome pkgconfig xorg >-GNU_CONFIGURE= yes >-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share >-USE_XORG= x11 xmu xext xt >-USE_GNOME= glib20 >- >-PLIST_FILES= bin/wmctrl share/man/man1/${PORTNAME}.1.gz >- >-.include <bsd.port.mk> >diff --git a/x11/wmctrl/distinfo b/x11/wmctrl/distinfo >deleted file mode 100644 >index a0228bba333f..000000000000 >--- a/x11/wmctrl/distinfo >+++ /dev/null >@@ -1,2 +0,0 @@ >-SHA256 (wmctrl-1.07.tar.gz) = d78a1efdb62f18674298ad039c5cbdb1edb6e8e149bb3a8e3a01a4750aa3cca9 >-SIZE (wmctrl-1.07.tar.gz) = 87820 >diff --git a/x11/wmctrl/files/patch-main.c b/x11/wmctrl/files/patch-main.c >deleted file mode 100644 >index 235048562111..000000000000 >--- a/x11/wmctrl/files/patch-main.c >+++ /dev/null >@@ -1,61 +0,0 @@ >---- main.c 2005-01-29 03:31:33.000000000 +0000 >-+++ main.c 2016-07-01 20:14:55.443662000 +0000 >-@@ -210,14 +210,14 @@ >- static int close_window (Display *disp, Window win); >- static int longest_str (gchar **strv); >- static int window_to_desktop (Display *disp, Window win, int desktop); >--static void window_set_title (Display *disp, Window win, char *str, char mode); >-+static void window_set_title (Display *disp, Window win, const char *str, char mode); >- static gchar *get_window_title (Display *disp, Window win); >- static gchar *get_window_class (Display *disp, Window win); >- static gchar *get_property (Display *disp, Window win, >- Atom xa_prop_type, gchar *prop_name, unsigned long *size); >- static void init_charset(void); >--static int window_move_resize (Display *disp, Window win, char *arg); >--static int window_state (Display *disp, Window win, char *arg); >-+static int window_move_resize (Display *disp, Window win, const char *arg); >-+static int window_state (Display *disp, Window win, const char *arg); >- static Window Select_Window(Display *dpy); >- static Window get_active_window(Display *dpy); >- >-@@ -629,9 +629,9 @@ >- }/*}}}*/ >- >- static void window_set_title (Display *disp, Window win, /* {{{ */ >-- char *title, char mode) { >-- gchar *title_utf8; >-- gchar *title_local; >-+ const char *title, char mode) { >-+ void *title_utf8; >-+ void *title_local; >- >- if (envir_utf8) { >- title_utf8 = g_strdup(title); >-@@ -734,7 +734,7 @@ >- 0, 0, 0, 0, 0); >- }/*}}}*/ >- >--static int window_state (Display *disp, Window win, char *arg) {/*{{{*/ >-+static int window_state (Display *disp, Window win, const char *arg) {/*{{{*/ >- unsigned long action; >- Atom prop1 = 0; >- Atom prop2 = 0; >-@@ -827,7 +827,7 @@ >- return FALSE; >- }/*}}}*/ >- >--static int window_move_resize (Display *disp, Window win, char *arg) {/*{{{*/ >-+static int window_move_resize (Display *disp, Window win, const char *arg) {/*{{{*/ >- signed long grav, x, y, w, h; >- unsigned long grflags; >- const char *argerr = "The -e option expects a list of comma separated integers: \"gravity,X,Y,width,height\"\n"; >-@@ -1441,6 +1441,9 @@ >- >- /* null terminate the result to make string handling easier */ >- tmp_size = (ret_format / 8) * ret_nitems; >-+ /* Correct 64 Architecture implementation of 32 bit data */ >-+ if (ret_format == 32) >-+ tmp_size *= sizeof(long)/4; >- ret = g_malloc(tmp_size + 1); >- memcpy(ret, ret_prop, tmp_size); >- ret[tmp_size] = '\0'; >-- >2.45.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277348
:
248787
|
248788
| 250790