diff options
author | mnag <mnag@FreeBSD.org> | 2006-05-21 05:43:26 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-05-21 05:43:26 +0800 |
commit | 79bc155a722de7079ed6c77bf04f1be020d96d86 (patch) | |
tree | f88652bbff572d5f74ac7947f1bc3d91070a36f4 /deskutils | |
parent | 910e994c3874b6ba8d2a182d0ca06b68cbe0b696 (diff) | |
download | freebsd-ports-gnome-79bc155a722de7079ed6c77bf04f1be020d96d86.tar.gz freebsd-ports-gnome-79bc155a722de7079ed6c77bf04f1be020d96d86.tar.zst freebsd-ports-gnome-79bc155a722de7079ed6c77bf04f1be020d96d86.zip |
- Update to 0.3
PR: 96829
Submitted by: Peter Thoenen <peter.thoenen___yahoo.com>
Approved by: maintainer timeout (15 days)
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/superswitcher/Makefile | 3 | ||||
-rw-r--r-- | deskutils/superswitcher/distinfo | 6 | ||||
-rw-r--r-- | deskutils/superswitcher/files/patch-src__xinerama.c | 46 |
3 files changed, 51 insertions, 4 deletions
diff --git a/deskutils/superswitcher/Makefile b/deskutils/superswitcher/Makefile index 8883ac5a4dac..cfc4530afef6 100644 --- a/deskutils/superswitcher/Makefile +++ b/deskutils/superswitcher/Makefile @@ -5,10 +5,11 @@ # $FreeBSD$ PORTNAME= superswitcher -PORTVERSION= 0.1 +PORTVERSION= 0.3 CATEGORIES= deskutils gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= browserbookapp +EXTRACT_SUFX= .tgz MAINTAINER= MrL0Lz@gmail.com COMMENT= Alt-Tab replacement diff --git a/deskutils/superswitcher/distinfo b/deskutils/superswitcher/distinfo index 0e25a3c3124b..7110871292b1 100644 --- a/deskutils/superswitcher/distinfo +++ b/deskutils/superswitcher/distinfo @@ -1,3 +1,3 @@ -MD5 (superswitcher-0.1.tar.gz) = 75bbaaddbca5928c801a70c436fe9691 -SHA256 (superswitcher-0.1.tar.gz) = af2e1df434d976373c9c924b5ec2f4cd0809befea80f64e7f61c68af3824b685 -SIZE (superswitcher-0.1.tar.gz) = 218807 +MD5 (superswitcher-0.3.tgz) = 8b301d2e240f7aad6281a2db53aeaf38 +SHA256 (superswitcher-0.3.tgz) = 00ba1446551be7bf9f232a2690d045ca0f801a65d613d306488214959d67e45d +SIZE (superswitcher-0.3.tgz) = 197624 diff --git a/deskutils/superswitcher/files/patch-src__xinerama.c b/deskutils/superswitcher/files/patch-src__xinerama.c new file mode 100644 index 000000000000..16580ff97c68 --- /dev/null +++ b/deskutils/superswitcher/files/patch-src__xinerama.c @@ -0,0 +1,46 @@ +# +# Fix build on 4.x +# +--- ./src/xinerama.c.orig Sat May 20 18:36:30 2006 ++++ ./src/xinerama.c Sat May 20 18:38:45 2006 +@@ -22,24 +22,26 @@ + int minimum_width; + SSXineramaScreen *screens; + SSXinerama *xinerama; +- +- minimum_width = 0; ++ int x_screen; + + #ifdef HAVE_XINERAMA + gboolean xinerama_is_active = XineramaIsActive (x_display); ++ XineramaScreenInfo *xsi_array; ++ XineramaScreenInfo *xsi; + #else + gboolean xinerama_is_active = FALSE; + #endif + ++ minimum_width = 0; ++ + if (xinerama_is_active) { + #ifdef HAVE_XINERAMA +- XineramaScreenInfo *xsi_array = +- XineramaQueryScreens(x_display, &num_screens); ++ xsi_array = XineramaQueryScreens(x_display, &num_screens); + screens = g_new (SSXineramaScreen, num_screens); + + int i; + for (i = 0; i < num_screens; i++) { +- XineramaScreenInfo *xsi = &xsi_array[i]; ++ xsi = &xsi_array[i]; + screens[i].x = xsi->x_org; + screens[i].y = xsi->y_org; + screens[i].width = xsi->width; +@@ -54,7 +56,7 @@ + #endif + } else { + num_screens = 1; +- int x_screen = DefaultScreen (x_display); ++ x_screen = DefaultScreen (x_display); + screens = g_new (SSXineramaScreen, num_screens); + screens[0].x = 0; + screens[0].y = 0; |