Page MenuHomeFreeBSD

D13341.id36146.diff
No OneTemporary

D13341.id36146.diff

Index: head/graphics/Makefile
===================================================================
--- head/graphics/Makefile
+++ head/graphics/Makefile
@@ -883,6 +883,7 @@
SUBDIR += py-openexr
SUBDIR += py-openimageio
SUBDIR += py-paint
+ SUBDIR += py-photocollage
SUBDIR += py-pillow
SUBDIR += py-pivy
SUBDIR += py-plotly
Index: head/graphics/py-photocollage/Makefile
===================================================================
--- head/graphics/py-photocollage/Makefile
+++ head/graphics/py-photocollage/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= photocollage
+DISTVERSION= 1.4.4
+CATEGORIES= graphics python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Graphical tool to make photo collage posters
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>:devel/py-six@${FLAVOR}
+
+USES= gettext-tools python
+USE_PYTHON= autoplist concurrent distutils
+NO_ARCH= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e ' \
+ s|${PORTNAME}|${PORTNAME}-${PYTHON_VER}| ; \
+ s|^Name.*|& (python${PYTHON_VER})|' \
+ ${WRKSRC}/data/${PORTNAME}.desktop
+ @${REINPLACE_CMD} -E 's/photocollage\.(png|svg|desktop|appdata\.xml)/photocollage-${PYTHON_VER}.\1/' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -E 's/APP_NAME = "photocollage"/APP_NAME = "photocollage-${PYTHON_VER}"/' ${WRKSRC}/photocollage/__init__.py
+ @cd ${WRKSRC} && for f in $$(${FIND} -E . -regex '.*\.(png|svg|desktop|appdata\.xml)'); do \
+ ${MV} $$f $$(${ECHO} $$f | ${SED} -E 's|photocollage\.([[:alpha:].]*)|photocollage-${PYTHON_VER}.\1|'); \
+ done
+
+.include <bsd.port.mk>
Index: head/graphics/py-photocollage/distinfo
===================================================================
--- head/graphics/py-photocollage/distinfo
+++ head/graphics/py-photocollage/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1512206067
+SHA256 (photocollage-1.4.4.tar.gz) = 3606422f1c09afcf10ba2567642580ac1a0447d7de8b4a10e4d380177b563ca9
+SIZE (photocollage-1.4.4.tar.gz) = 186404
Index: head/graphics/py-photocollage/pkg-descr
===================================================================
--- head/graphics/py-photocollage/pkg-descr
+++ head/graphics/py-photocollage/pkg-descr
@@ -0,0 +1,7 @@
+PhotoCollage allows you to create photo collage posters. It assembles the input
+photographs it is given to generate a big poster. Photos are automatically
+arranged to fill the whole poster, then you can change the final layout,
+dimensions, border or swap photos in the generated grid. Eventually the final
+poster image can be saved in any size.
+
+WWW: https://github.com/adrienverge/PhotoCollage

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 10:57 AM (14 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15538001
Default Alt Text
D13341.id36146.diff (2 KB)

Event Timeline