Bug 174847 - [Patch] Update x11-wm/pekwm to version 0.1.16
Summary: [Patch] Update x11-wm/pekwm to version 0.1.16
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-31 01:50 UTC by Herbert J. Skuhra
Modified: 2012-12-31 11:20 UTC (History)
0 users

See Also:


Attachments
file.diff (2.43 KB, patch)
2012-12-31 01:50 UTC, Herbert J. Skuhra
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert J. Skuhra 2012-12-31 01:50:00 UTC
The attached patch updates x11-wm/pekwm to version 0.1.16.

- post-extract entry removed; no longer needed [1]
- new file: patch-src_x11.cc (fix compilation with older gcc) [2]
  
http://www.pekwm.org/git/pekwm.git:
[1] commit: dc0a0f51c646957309dd523ce909f4411906c407
[2] commit: 63c1ec9d988919d7292620cb3c12d8811de09bf

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2012-12-31 01:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bapt

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2012-12-31 11:18:31 UTC
Author: bapt
Date: Mon Dec 31 11:18:17 2012
New Revision: 309715
URL: http://svnweb.freebsd.org/changeset/ports/309715

Log:
  - update to 0.1.16
  - add a patch to fix complication with our old gcc 4.2.1
  
  PR:		ports/174847
  Submitted by:	"Herbert J. Skuhra" <h.skuhra@gmail.com>

Added:
  head/x11-wm/pekwm/files/
  head/x11-wm/pekwm/files/patch-src_x11.cc   (contents, props changed)
Modified:
  head/x11-wm/pekwm/Makefile
  head/x11-wm/pekwm/distinfo

Modified: head/x11-wm/pekwm/Makefile
==============================================================================
--- head/x11-wm/pekwm/Makefile	Mon Dec 31 10:49:52 2012	(r309714)
+++ head/x11-wm/pekwm/Makefile	Mon Dec 31 11:18:17 2012	(r309715)
@@ -1,12 +1,8 @@
-# Ports collection makefile for:	pekwm
-# Date created:			Nov 1, 2002
-# Whom:				anders@hack.org
-#
+# Created by: anders@hack.org
 # $FreeBSD$
-#
 
 PORTNAME=	pekwm
-PORTVERSION=	0.1.15
+PORTVERSION=	0.1.16
 PORTEPOCH=	1
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://pekwm.org/projects/3/files/
@@ -14,7 +10,7 @@ MASTER_SITES=	http://pekwm.org/projects/
 MAINTAINER=	bapt@FreeBSD.org
 COMMENT=	Light, Unobtrusive, and configurable windowmanager
 
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
 		png15:${PORTSDIR}/graphics/png
 
 USE_XORG=	xft xpm x11
@@ -32,10 +28,4 @@ LDFLAGS+=	-L${LOCALBASE}/lib -liconv
 MAN1=		pekwm.1
 MANCOMPRESSED=	no
 
-# replace calls to obsolete libpng12 functions
-post-extract:
-	@${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|; \
-			s|png_check_sig(sig, PImageLoaderPng::PNG_SIG_BYTES) !=|png_sig_cmp(sig, 0, PImageLoaderPng::PNG_SIG_BYTES) ==|' \
-		${WRKSRC}/src/PImageLoaderPng.cc
-
 .include <bsd.port.mk>

Modified: head/x11-wm/pekwm/distinfo
==============================================================================
--- head/x11-wm/pekwm/distinfo	Mon Dec 31 10:49:52 2012	(r309714)
+++ head/x11-wm/pekwm/distinfo	Mon Dec 31 11:18:17 2012	(r309715)
@@ -1,2 +1,2 @@
-SHA256 (pekwm-0.1.15.tar.bz2) = 56d405b87f3d858ebc53a227e4de23b9273067707251145c90af08d35bc7582f
-SIZE (pekwm-0.1.15.tar.bz2) = 395557
+SHA256 (pekwm-0.1.16.tar.bz2) = 899eef35d5d1f472dd65a08c180b9719935cb1f42eda7fada6f9b8b551c79c96
+SIZE (pekwm-0.1.16.tar.bz2) = 401550

Added: head/x11-wm/pekwm/files/patch-src_x11.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/pekwm/files/patch-src_x11.cc	Mon Dec 31 11:18:17 2012	(r309715)
@@ -0,0 +1,25 @@
+--- src/x11.cc.orig	2012-12-31 01:07:34.000000000 +0100
++++ src/x11.cc	2012-12-31 01:11:01.000000000 +0100
+@@ -993,6 +993,8 @@
+ /**
+  * Wrapper for XKeycodeToKeysym and XkbKeycodeToKeysym depending on which one is available.
+  */
++#pragma GCC diagnostic push
++#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ KeySym
+ X11::getKeysymFromKeycode(KeyCode keycode)
+ {
+@@ -1001,12 +1003,9 @@
+         return XkbKeycodeToKeysym(_dpy, keycode, 0, 0);
+     else
+ #endif
+-
+-#pragma GCC diagnostic push
+-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+         return XKeycodeToKeysym(_dpy, keycode, 0);
+-#pragma GCC diagnostic pop
+ }
++#pragma GCC diagnostic pop
+ 
+ Display *X11::_dpy;
+ bool X11::_honour_randr = false;
\ No newline at end of file
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Baptiste Daroussin freebsd_committer 2012-12-31 11:20:30 UTC
State Changed
From-To: open->closed

Committed. Thanks!