Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2017 17:11:52 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437138 - in head/graphics/sk1libs: . files
Message-ID:  <201703281711.v2SHBqKR089479@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Mar 28 17:11:52 2017
New Revision: 437138
URL: https://svnweb.freebsd.org/changeset/ports/437138

Log:
  - Fix fetch
  - Add license
  - Regenerate patches
  - Fix WWW:

Added:
  head/graphics/sk1libs/files/patch-src_imaging_libimagingft___imagingft.c
     - copied, changed from r437137, head/graphics/sk1libs/files/patch-src_imaging_libimagingft_imagingft.c
Deleted:
  head/graphics/sk1libs/files/patch-src_imaging_libimagingft_imagingft.c
Modified:
  head/graphics/sk1libs/Makefile
  head/graphics/sk1libs/files/patch-src-utils-fs.py
  head/graphics/sk1libs/files/patch-src-utils-system.py
  head/graphics/sk1libs/pkg-descr

Modified: head/graphics/sk1libs/Makefile
==============================================================================
--- head/graphics/sk1libs/Makefile	Tue Mar 28 17:01:46 2017	(r437137)
+++ head/graphics/sk1libs/Makefile	Tue Mar 28 17:11:52 2017	(r437138)
@@ -5,21 +5,18 @@ PORTNAME=	sk1libs
 PORTVERSION=	0.9.1
 PORTREVISION=	2
 CATEGORIES=	graphics python
-MASTER_SITES=	GOOGLE_CODE \
+MASTER_SITES=	https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/uniconvertor/ \
 		http://mirror.amdmi3.ru/distfiles/
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Set of python libraries for sK1 Project
 
-BROKEN=		Unfetchable (google code has gone away)
-DEPRECATED=	Unfetchable for more than six months (google code has gone away)
-EXPIRATION_DATE=	2017-04-30
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/GNU_LGPL_v2
 
 LIB_DEPENDS=	liblcms.so:graphics/lcms \
 		libfreetype.so:print/freetype2
 
-PROJECTHOST=	uniconvertor
-
 USES=		jpeg python
 USE_PYTHON=	distutils
 PYDISTUTILS_BUILD_TARGET=build_ext
@@ -30,7 +27,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/src/utils/fs.py
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sk1libs/ft2engine/*.so \
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sk1libs/ft2engine/*.so \
 		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sk1libs/pycms/*.so \
 		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sk1libs/imaging/*.so
 

Modified: head/graphics/sk1libs/files/patch-src-utils-fs.py
==============================================================================
--- head/graphics/sk1libs/files/patch-src-utils-fs.py	Tue Mar 28 17:01:46 2017	(r437137)
+++ head/graphics/sk1libs/files/patch-src-utils-fs.py	Tue Mar 28 17:11:52 2017	(r437138)
@@ -1,6 +1,6 @@
---- src/utils/fs.py.orig	2010-05-23 14:46:21.000000000 +0400
-+++ src/utils/fs.py	2010-10-27 03:55:25.000000000 +0400
-@@ -203,9 +203,11 @@
+--- src/utils/fs.py.orig	2010-05-23 10:46:21 UTC
++++ src/utils/fs.py
+@@ -203,9 +203,11 @@ def get_system_fontdirs():
  	The function detects system font directories according to detected 
  	system type.
  	"""
@@ -13,7 +13,7 @@
  		try:
  			import _winreg
  		except ImportError:
-@@ -311,4 +313,4 @@
+@@ -311,4 +313,4 @@ def _test():
  if __name__ == '__main__':
      _test()
  	

Modified: head/graphics/sk1libs/files/patch-src-utils-system.py
==============================================================================
--- head/graphics/sk1libs/files/patch-src-utils-system.py	Tue Mar 28 17:01:46 2017	(r437137)
+++ head/graphics/sk1libs/files/patch-src-utils-system.py	Tue Mar 28 17:11:52 2017	(r437138)
@@ -1,6 +1,6 @@
---- src/utils/system.py.orig	2010-03-08 03:15:33.000000000 +0300
-+++ src/utils/system.py	2010-10-27 04:04:27.000000000 +0400
-@@ -22,6 +22,7 @@
+--- src/utils/system.py.orig	2010-03-08 00:15:33 UTC
++++ src/utils/system.py
+@@ -22,6 +22,7 @@ import platform, os, string, re, stat
  
  WINDOWS = 'Windows'
  LINUX = 'Linux'
@@ -8,7 +8,7 @@
  MACOSX = 'Darwin'
  GENERIC = 'generic'
  
-@@ -33,6 +34,8 @@
+@@ -33,6 +34,8 @@ def get_os_family():
  	name = platform.system()
  	if name == LINUX:
  		return LINUX

Copied and modified: head/graphics/sk1libs/files/patch-src_imaging_libimagingft___imagingft.c (from r437137, head/graphics/sk1libs/files/patch-src_imaging_libimagingft_imagingft.c)
==============================================================================
--- head/graphics/sk1libs/files/patch-src_imaging_libimagingft_imagingft.c	Tue Mar 28 17:01:46 2017	(r437137, copy source)
+++ head/graphics/sk1libs/files/patch-src_imaging_libimagingft___imagingft.c	Tue Mar 28 17:11:52 2017	(r437138)
@@ -1,6 +1,6 @@
---- src/imaging/libimagingft/_imagingft.c.orig	2009-11-01 01:44:12.000000000 +0100
-+++ src/imaging/libimagingft/_imagingft.c	2013-12-16 01:46:04.000000000 +0100
-@@ -70,7 +70,7 @@
+--- src/imaging/libimagingft/_imagingft.c.orig	2009-11-01 00:44:12 UTC
++++ src/imaging/libimagingft/_imagingft.c
+@@ -70,7 +70,7 @@ struct {
      const char* message;
  } ft_errors[] =
  

Modified: head/graphics/sk1libs/pkg-descr
==============================================================================
--- head/graphics/sk1libs/pkg-descr	Tue Mar 28 17:01:46 2017	(r437137)
+++ head/graphics/sk1libs/pkg-descr	Tue Mar 28 17:11:52 2017	(r437138)
@@ -1,4 +1,4 @@
 sk1libs is a set of python libs for sK1 Project. The package includes
 multiplatform non-GUI extensions which are usually native extensions.
 
-WWW: http://sk1project.org/
+WWW: http://sk1project.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703281711.v2SHBqKR089479>