svn commit: r363759 - head/print/gtklp

William Grzybowski wg at FreeBSD.org
Fri Aug 1 19:56:02 UTC 2014


Author: wg
Date: Fri Aug  1 19:56:01 2014
New Revision: 363759
URL: http://svnweb.freebsd.org/changeset/ports/363759
QAT: https://qat.redports.org/buildarchive/r363759/

Log:
  print/gtklp: updte to 1.3.1
  
  PR:		191374
  Submitted by:	tkato432 yahoo com

Modified:
  head/print/gtklp/Makefile
  head/print/gtklp/distinfo
  head/print/gtklp/pkg-plist

Modified: head/print/gtklp/Makefile
==============================================================================
--- head/print/gtklp/Makefile	Fri Aug  1 19:51:35 2014	(r363758)
+++ head/print/gtklp/Makefile	Fri Aug  1 19:56:01 2014	(r363759)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gtklp
-PORTVERSION=	1.2.9
-PORTREVISION=	1
+PORTVERSION=	1.3.1
 DISTVERSIONSUFFIX=	.src
 CATEGORIES=	print
 MASTER_SITES=	SF
@@ -11,6 +10,8 @@ MASTER_SITES=	SF
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	GTK interface to cups
 
+LICENSE=	GPLv2 # (or later)
+
 LIB_DEPENDS=	libcups.so:${PORTSDIR}/print/cups-client
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -18,9 +19,20 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 USES=		gettext pkgconfig
 USE_GNOME=	gtk20
 USE_OPENSSL=	yes
-USE_AUTOTOOLS=	automake:env
-GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include -D_IPP_PRIVATE_STRUCTURES
+USE_AUTOTOOLS=	aclocal autoheader automake autoconf
+AUTOMAKE_ARGS=	--add-missing --copy
+INSTALLS_ICONS=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+DESKTOP_ENTRIES="GtkLP" "" "${PORTNAME}" "${PORTNAME}" "System;GTK;" ""
+
+post-install:
+.for i in 16 24 32 48 64
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
+	(cd ${WRKSRC}/libgtklp/icons && ${INSTALL_DATA} ${i}x${i}.xpm \
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/gtklp.xpm)
+.endfor
+
 .include <bsd.port.mk>

Modified: head/print/gtklp/distinfo
==============================================================================
--- head/print/gtklp/distinfo	Fri Aug  1 19:51:35 2014	(r363758)
+++ head/print/gtklp/distinfo	Fri Aug  1 19:56:01 2014	(r363759)
@@ -1,2 +1,2 @@
-SHA256 (gtklp-1.2.9.src.tar.gz) = 0dd9ffbf0beff5effc05a8456a4335622f2e1d864f8be378893e9af6ca7ac358
-SIZE (gtklp-1.2.9.src.tar.gz) = 1149729
+SHA256 (gtklp-1.3.1.src.tar.gz) = 734f9b0edb4f01ffce1288553150966231253a5bf4bd76db739ee180a1f39fdb
+SIZE (gtklp-1.3.1.src.tar.gz) = 641805

Modified: head/print/gtklp/pkg-plist
==============================================================================
--- head/print/gtklp/pkg-plist	Fri Aug  1 19:51:35 2014	(r363758)
+++ head/print/gtklp/pkg-plist	Fri Aug  1 19:56:01 2014	(r363759)
@@ -2,6 +2,11 @@ bin/gtklp
 bin/gtklpq
 man/man1/gtklp.1.gz
 man/man1/gtklpq.1.gz
+share/icons/hicolor/16x16/apps/gtklp.xpm
+share/icons/hicolor/24x24/apps/gtklp.xpm
+share/icons/hicolor/32x32/apps/gtklp.xpm
+share/icons/hicolor/48x48/apps/gtklp.xpm
+share/icons/hicolor/64x64/apps/gtklp.xpm
 share/locale/ca/LC_MESSAGES/gtklp.mo
 share/locale/ca_ES/LC_MESSAGES/gtklp.mo
 share/locale/chs/LC_MESSAGES/gtklp.mo
@@ -22,13 +27,13 @@ share/locale/ru/LC_MESSAGES/gtklp.mo
 share/locale/uk_UA/LC_MESSAGES/gtklp.mo
 share/locale/zh_CN/LC_MESSAGES/gtklp.mo
 share/locale/zh_TW/LC_MESSAGES/gtklp.mo
- at dirrmtry share/locale/ca_ES/LC_MESSAGES
- at dirrmtry share/locale/ca_ES
- at dirrmtry share/locale/chs/LC_MESSAGES
- at dirrmtry share/locale/chs
- at dirrmtry share/locale/cht/LC_MESSAGES
- at dirrmtry share/locale/cht
- at dirrmtry share/locale/cz/LC_MESSAGES
- at dirrmtry share/locale/cz
 @dirrmtry share/locale/uk_UA/LC_MESSAGES
 @dirrmtry share/locale/uk_UA
+ at dirrmtry share/locale/cz/LC_MESSAGES
+ at dirrmtry share/locale/cz
+ at dirrmtry share/locale/cht/LC_MESSAGES
+ at dirrmtry share/locale/cht
+ at dirrmtry share/locale/chs/LC_MESSAGES
+ at dirrmtry share/locale/chs
+ at dirrmtry share/locale/ca_ES/LC_MESSAGES
+ at dirrmtry share/locale/ca_ES


More information about the svn-ports-all mailing list