misc/166214: Change port version: desktutils/x-tile A tiling application for X

Pedro Garcia Freitas sawp at sawp.com.br
Sun Mar 18 03:00:28 UTC 2012


>Number:         166214
>Category:       misc
>Synopsis:       Change port version: desktutils/x-tile A tiling application for X
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 18 03:00:28 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pedro Garcia Freitas
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD freebsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Update deskutils/x-tile port version.

Unshar the x-tile221.shar file following the paths:

/usr/port/deskutils/x-tile/Makefile
/usr/port/deskutils/x-tile/distinfo
/usr/port/deskutils/x-tile/pkg-descr
/usr/port/deskutils/x-tile/pkg-plist
/usr/port/deskutils/x-tile/files/patch-x-tile

>How-To-Repeat:

>Fix:
Please, create the files/patch-x-tile file with these contents:


$FreeBSD: ports/deskutils/x-tile/files/patch-x-tile,v 1.1 2011/08/31 11:43:08 crees Exp $

Fix ctypes warning, by Ruslan Mahmatkhanov <cvs-src at yandex.ru>

--- x-tile.orig	2011-07-04 01:41:29.000000000 +0400
+++ x-tile	2011-08-22 20:20:30.000000000 +0400
@@ -56,7 +56,7 @@
 try:
    libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library("libc"))
    libc.prctl(15, cons.APP_NAME, 0, 0, 0)
-except: print "libc.prctl not available, the process name will be python and not x-tile"
+except: pass
 
 # icons generation
 factory = gtk.IconFactory()


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	pkg-descr
#	pkg-plist
#	patch-x-tile
#
echo x - Makefile
sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
X# New ports collection makefile for:	x-tile
X# Date created:		2010-09-17
X# Whom:			Pedro Garcia Freitas <sawp at sawp.com.br>
X#
X# $FreeBSD: ports/deskutils/x-tile/Makefile,v 1.2 2011/08/31 11:43:08 crees Exp $
X#
X
XPORTNAME=	x-tile
XPORTVERSION=	2.2.1
XCATEGORIES=	deskutils devel python
XMASTER_SITES=	http://www.giuspen.com/software/
X
XMAINTAINER=	sawp at sawp.com.br
XCOMMENT=	A GNOME applet to tile the opened windows
X
XLICENSE=	GPLv2
X
XUSE_GNOME=	pygtk2
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
XPYDISTUTILS_PKGNAME=	X_Tile
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
X		${WRKSRC}/x-tile ${WRKSRC}/linux/x-tile.desktop \
X		${WRKSRC}/modules/cons.py
X
X
X.if !defined(WITHOUT_NLS)
XUSE_GETTEXT=	yes
XPLIST_SUB+=	NLS=""
X.else
XPYDISTUTILS_BUILD_TARGET=	--without-gettext build
XPYDISTUTILS_INSTALL_TARGET=	--without-gettext install
XPLIST_SUB+=	NLS="@comment "
X.endif
X
X.include <bsd.port.mk>
b67911656ef5d18c4ae36cb6741b7965
echo x - distinfo
sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
XSHA256 (x-tile-2.2.1.tar.gz) = 7207287d1191d93fe3ce26b681b9e1d87ac5ec0747aaeb5293319a7c842039f7
XSIZE (x-tile-2.1.tar.gz) = 179300
57677d168a5ec21bdf22c9501f075a8f
echo x - pkg-descr
sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979'
XX-tile is a gnome applet for your panel (or optionally a standalone
Xapplication, working with kde as well) that allows you to select a number of
Xwindows and tile them in different ways.  This is especially useful for
Xcomparing products in separate web pages, or for programmers refering to
Xdocumentation as they are programming.
X
XWWW: http://www.giuspen.com/x-tile/
7f9555c3c1089940396b503dd37f3979
echo x - pkg-plist
sed 's/^X//' >pkg-plist << '842cde48cf18b70a11b15515ca566742'
Xbin/x-tile
Xshare/applications/x-tile.desktop
X%%NLS%%share/locale/cs/LC_MESSAGES/x-tile.mo
X%%NLS%%share/locale/de/LC_MESSAGES/x-tile.mo
X%%NLS%%share/locale/es_AR/LC_MESSAGES/x-tile.mo
X%%NLS%%share/locale/fr/LC_MESSAGES/x-tile.mo
X%%NLS%%share/locale/it/LC_MESSAGES/x-tile.mo
X%%NLS%%share/locale/ru/LC_MESSAGES/x-tile.mo
X%%NLS%%share/locale/zh_CN/LC_MESSAGES/x-tile.mo
X%%NLS%%share/locale/zh_TW/LC_MESSAGES/x-tile.mo
Xshare/pixmaps/x-tile.svg
X%%DATADIR%%/glade/checkbox_checked.svg
X%%DATADIR%%/glade/checkbox_unchecked.svg
X%%DATADIR%%/glade/close-checked-windows.svg
X%%DATADIR%%/glade/help-contents.svg
X%%DATADIR%%/glade/invert-tiling.svg
X%%DATADIR%%/glade/maximize-checked-windows.svg
X%%DATADIR%%/glade/quit-app.svg
X%%DATADIR%%/glade/reload-windows-list.svg
X%%DATADIR%%/glade/tile-custom-1-exe.svg
X%%DATADIR%%/glade/tile-custom-1-set.svg
X%%DATADIR%%/glade/tile-custom-2-exe.svg
X%%DATADIR%%/glade/tile-custom-2-set.svg
X%%DATADIR%%/glade/tile-grid.svg
X%%DATADIR%%/glade/tile-horizontally.svg
X%%DATADIR%%/glade/tile-quad.svg
X%%DATADIR%%/glade/tile-triangle-down.svg
X%%DATADIR%%/glade/tile-triangle-left.svg
X%%DATADIR%%/glade/tile-triangle-right.svg
X%%DATADIR%%/glade/tile-triangle-up.svg
X%%DATADIR%%/glade/tile-vertically.svg
X%%DATADIR%%/glade/toolbar.png
X%%DATADIR%%/glade/unmaximize-checked-windows.svg
X%%DATADIR%%/glade/x-tile.glade
X%%DATADIR%%/glade/x-tile.svg
X%%DATADIR%%/modules/cons.py
X%%DATADIR%%/modules/core.py
X%%DATADIR%%/modules/globs.py
X%%DATADIR%%/modules/support.py
X%%DATADIR%%/modules/tilings.py
X at dirrm %%DATADIR%%/modules
X at dirrm %%DATADIR%%/glade
X at dirrm %%DATADIR%%
X%%NLS%%@dirrmtry share/locale/es_AR/LC_MESSAGES
X%%NLS%%@dirrmtry share/locale/es_AR
X at dirrmtry share/applications
842cde48cf18b70a11b15515ca566742
echo x - patch-x-tile
sed 's/^X//' >patch-x-tile << '9bf1a1696da79cf3a7b63368dacec701'
X$FreeBSD: ports/deskutils/x-tile/files/patch-x-tile,v 1.1 2011/08/31 11:43:08 crees Exp $
X
XFix ctypes warning, by Ruslan Mahmatkhanov <cvs-src at yandex.ru>
X
X--- x-tile.orig	2011-07-04 01:41:29.000000000 +0400
X+++ x-tile	2011-08-22 20:20:30.000000000 +0400
X@@ -56,7 +56,7 @@
X try:
X    libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library("libc"))
X    libc.prctl(15, cons.APP_NAME, 0, 0, 0)
X-except: print "libc.prctl not available, the process name will be python and not x-tile"
X+except: pass
X 
X # icons generation
X factory = gtk.IconFactory()
9bf1a1696da79cf3a7b63368dacec701
exit



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list