Bug 140226 - update x11/xclip
Summary: update x11/xclip
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: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-02 21:00 UTC by Eitan Adler
Modified: 2009-11-12 03:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.94 KB, patch)
2009-11-02 21:00 UTC, Eitan Adler
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eitan Adler freebsd_committer freebsd_triage 2009-11-02 21:00:16 UTC
1) Update xclip to 0.12
2) Remove configure checks for files that it should find but doesn't. Configure args don't help.
This won't harm anything as freeBSD does checks for dependencies anyway.
3) Remove dep on proto - this has been tested on my computer.

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon 2009-11-03 14:10:06 UTC
----- Forwarded message from Eitan Adler <eitanadlerlist@gmail.com> -----

Current version of the patch. I forgot to include a build depends on
autoconf-wrapper...

diff -urN --to-file=xclip-new/ xclip/Makefile xclip-new/Makefile
--- xclip/Makefile	2009-02-17 17:20:41.000000000 +0200
+++ xclip-new/Makefile	2009-11-02 23:12:22.000000000 +0200
@@ -7,18 +7,23 @@
 #
 
 PORTNAME=	xclip
-PORTVERSION=	0.11
+PORTVERSION=	0.12
 CATEGORIES=	x11
 MASTER_SITES=	SF
 
 MAINTAINER=	eitanadlerlist@gmail.com
 COMMENT=	An interface to X selections ("the clipboard") from the command line
 
-USE_XORG=	x11 xproto xmu
+BUILD_DEPENDS=	autoconf-wrapper:${PORTSDIR}/devel/autoconf-wrapper
+
+USE_XORG=	x11 xmu
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
 MAN1=		xclip.1
 PLIST_FILES=	bin/xclip bin/xclip-copyfile bin/xclip-cutfile bin/xclip-pastefile
 
+post-patch:
+	@cd ${WRKSRC}; ./bootstrap
+
 .include <bsd.port.mk>
diff -urN --to-file=xclip-new/ xclip/distinfo xclip-new/distinfo
--- xclip/distinfo	2009-02-17 17:20:41.000000000 +0200
+++ xclip-new/distinfo	2009-11-02 22:33:28.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (xclip-0.11.tar.gz) = 4caf3a2b03c36981f9af36a8e8582951
-SHA256 (xclip-0.11.tar.gz) = 8f29fd6b7e635d63ff84451afcf15c264fd1b4213b584aa5f9ce988fddecfc46
-SIZE (xclip-0.11.tar.gz) = 60067
+MD5 (xclip-0.12.tar.gz) = f7e19d3e976fecdc1ea36cd39e39900d
+SHA256 (xclip-0.12.tar.gz) = b7c7fad059ba446df5692d175c2a1d3816e542549661224806db369a0d716c45
+SIZE (xclip-0.12.tar.gz) = 63420
diff -urN --to-file=xclip-new/ xclip/files/patch-configure.ac xclip-new/files/patch-configure.ac
--- xclip/files/patch-configure.ac	1970-01-01 02:00:00.000000000 +0200
+++ xclip-new/files/patch-configure.ac	2009-11-02 22:15:54.000000000 +0200
@@ -0,0 +1,12 @@
+--- configure.ac.old	2009-11-02 22:15:13.000000000 +0200
++++ configure.ac	2009-11-02 22:15:18.000000000 +0200
+@@ -12,9 +12,6 @@
+ AC_HEADER_STDC
+ AC_PATH_XTRA
+ AC_CHECK_TOOL(STRIP, strip, :)
+-AC_CHECK_HEADER([X11/Xmu/Atoms.h], [], AC_MSG_ERROR([*** X11/Xmu/Atoms.h is missing ***]))
+-AC_CHECK_HEADER([X11/Intrinsic.h], [], AC_MSG_ERROR([*** X11/Intrinsic.h is missing ***]))
+-AC_CHECK_LIB(Xmu, XmuClientWindow, [], AC_MSG_ERROR([*** libXmu not found ***]))
+ 
+ AC_OUTPUT(Makefile)
+ 


----- End forwarded message -----
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2009-11-07 01:11:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2009-11-09 17:34:41 UTC
State Changed
From-To: open->feedback

Does not build: http://people.freebsd.org/~amdmi3/xclip-0.12.log. You 
should use USE_AUTOTOOLS to depend on needed tools.
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2009-11-12 03:05:19 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-11-12 03:05:25 UTC
amdmi3      2009-11-12 03:05:10 UTC

  FreeBSD ports repository

  Modified files:
    x11/xclip            Makefile distinfo 
  Added files:
    x11/xclip/files      patch-configure.ac 
  Log:
  - Update to 0.12
  
  PR:             140226
  Submitted by:   Eitan Adler <EitanAdlerList@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.9       +7 -3      ports/x11/xclip/Makefile
  1.5       +3 -3      ports/x11/xclip/distinfo
  1.1       +12 -0     ports/x11/xclip/files/patch-configure.ac (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"