From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 28 11:30:06 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50ED7106566B for ; Fri, 28 Sep 2012 11:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1DC468FC19 for ; Fri, 28 Sep 2012 11:30:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8SBU5S8056343 for ; Fri, 28 Sep 2012 11:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8SBU5ro056336; Fri, 28 Sep 2012 11:30:05 GMT (envelope-from gnats) Resent-Date: Fri, 28 Sep 2012 11:30:05 GMT Resent-Message-Id: <201209281130.q8SBU5ro056336@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anton Shterenlikht Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39B381065672 for ; Fri, 28 Sep 2012 11:24:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id E92E78FC0C for ; Fri, 28 Sep 2012 11:24:54 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1THYgf-0000pY-Nj for FreeBSD-gnats-submit@freebsd.org; Fri, 28 Sep 2012 12:24:53 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1THYgf-0000f5-8m for FreeBSD-gnats-submit@freebsd.org; Fri, 28 Sep 2012 12:24:53 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q8SBOq1O007481 for ; Fri, 28 Sep 2012 12:24:52 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q8SBOq3i007480; Fri, 28 Sep 2012 12:24:52 +0100 (BST) (envelope-from mexas) Message-Id: <201209281124.q8SBOq3i007480@mech-cluster241.men.bris.ac.uk> Date: Fri, 28 Sep 2012 12:24:52 +0100 (BST) From: Anton Shterenlikht To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/172143: updated astro/xearth to build with clang with no warnings X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anton Shterenlikht List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 11:30:06 -0000 >Number: 172143 >Category: ports >Synopsis: updated astro/xearth to build with clang with no warnings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Sep 28 11:30:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Anton Shterenlikht >Release: FreeBSD 10.0-CURRENT ia64 >Organization: University of Bristol, UK >Environment: System: FreeBSD mech-cluster241.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r237134: Mon Jun 18 09:02:17 BST 2012 root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64 >Description: astro/xearth is abandoned upstream. Well.. there's just no upstream anymore. So, I made my changes to the source, rather than with patches. The changes: 1. Updated the software's own makefile. 2. Updated 2 src C files, and one documentation file. 3. Build with BSD make, not imake. 4. Removed pkg-plist, and replaced it with PLIST_FILES, PLIST_DIRS. 5. I now distribute the tarball compressed with xz. 6. Bumped PORTVERSION 7. Because PORTVERSION changed, I have to update the number of the tarball. Since the new tarball is only available from my site at this point, modified MASTER_SITES accordingly. >How-To-Repeat: >Fix: Index: Makefile =================================================================== --- Makefile (revision 304979) +++ Makefile (working copy) @@ -1,34 +1,29 @@ -# New ports collection makefile for: xearth -# Date created: 29 October 1994 -# Whom: piero -# +# Created: 29 October 1994 by piero # $FreeBSD$ -# PORTNAME= xearth -PORTVERSION= 1.1 -PORTREVISION= 2 -CATEGORIES= astro geography -MASTER_SITES= XCONTRIB/applications \ - http://seis.bris.ac.uk/~mexas/ \ - LOCAL/simon +PORTVERSION= 1.2 +CATEGORIES= astro +MASTER_SITES= http://seis.bris.ac.uk/~mexas/ MAINTAINER= mexas@bristol.ac.uk COMMENT= Set the root window to the image of earth -BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake - USE_XORG= x11 xext sm ice xt +USE_XZ= yes MAN1= xearth.1 +PLIST_FILES= bin/xearth \ + lib/X11/xearth/freebsd.committers.markers \ + lib/X11/xearth/freebsd.ftp.markers \ + lib/X11/xearth/freebsd.submitters.markers +PLIST_DIRS= lib/X11/xearth -pre-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF} - post-install: + @${INSTALL_PROGRAM} ${WRKSRC}/xearth ${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/xearth.man ${MANPREFIX}/man/man1/xearth.1 @${MKDIR} ${PREFIX}/lib/X11/xearth - @${INSTALL_MAN} ${WRKSRC}/xearth.man ${MANPREFIX}/man/man1/xearth.1 # Copy the list of FreeBSD sites & committers locations -.for marker in freebsd.committers.markers freebsd.submitters.markers freebsd.ftp.markers +.for marker in freebsd.committers.markers freebsd.ftp.markers freebsd.submitters.markers @${INSTALL_DATA} ${FILESDIR}/${marker} ${PREFIX}/lib/X11/xearth .endfor Index: distinfo =================================================================== --- distinfo (revision 304979) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (xearth-1.1.tar.gz) = bcb1407cc35b3f6dd3606b2c6072273b6a912cbd9ed1ae22fb2d26694541309c -SIZE (xearth-1.1.tar.gz) = 157887 +SHA256 (xearth-1.2.tar.xz) = fdbe24111fbb05ef1d554643ae189696a8a7a2c28d69d6be475ad1c39f8b0daf +SIZE (xearth-1.2.tar.xz) = 241816 Index: pkg-descr =================================================================== --- pkg-descr (revision 304979) +++ pkg-descr (working copy) @@ -6,7 +6,9 @@ Xearth can also render directly into PPM and GIF files instead of drawing in the root window. -There are two additional marker files installed in +WWW: http://xearth.org + +There are three additional marker files installed in /usr/local/lib/X11/xearth which specify the locations of various FreeBSD people and places: Index: pkg-plist =================================================================== --- pkg-plist (revision 304979) +++ pkg-plist (working copy) @@ -1,5 +0,0 @@ -bin/xearth -lib/X11/xearth/freebsd.committers.markers -lib/X11/xearth/freebsd.submitters.markers -lib/X11/xearth/freebsd.ftp.markers -@dirrm lib/X11/xearth >Release-Note: >Audit-Trail: >Unformatted: