Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2016 19:15:23 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415574 - in head/graphics: . aseprite aseprite/files
Message-ID:  <201605201915.u4KJFN7i018668@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri May 20 19:15:23 2016
New Revision: 415574
URL: https://svnweb.freebsd.org/changeset/ports/415574

Log:
  New port: graphics/aseprite
  
  Aseprite is an open source program to create animated sprites.
  
  Its main features are:
  * Sprites are composed by layers & frames (as separated concepts).
  * Supported color modes: RGBA, Indexed (palettes up to 256 colors),
    and Grayscale.
  * Load/save sequence of PNG files and GIF animations
    (and FLC, FLI, JPG, BMP, PCX, TGA).
  * Export/import animations to/from Sprite Sheets.
  * Tiled drawing mode, useful to draw patterns and textures.
  * Undo/Redo for every operation.
  * Real-time animation preview.
  * Multiple editors support.
  * Pixel-art specific tools like filled Contour, Polygon, Shading mode, etc.
  * Onion skinning
  
  WWW: http://www.aseprite.org/
  
  PR:		204497
  Submitted by:	Yuri Victorovich <yuri@rawbw.com>

Added:
  head/graphics/aseprite/
  head/graphics/aseprite/Makefile   (contents, props changed)
  head/graphics/aseprite/distinfo   (contents, props changed)
  head/graphics/aseprite/files/
  head/graphics/aseprite/files/patch-src_app_resource__finder.cpp   (contents, props changed)
  head/graphics/aseprite/files/patch-src_app_util_freetype__utils.cpp   (contents, props changed)
  head/graphics/aseprite/files/patch-src_base_file__handle.cpp   (contents, props changed)
  head/graphics/aseprite/files/patch-src_base_fs__unix.h   (contents, props changed)
  head/graphics/aseprite/pkg-descr   (contents, props changed)
  head/graphics/aseprite/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Fri May 20 19:01:59 2016	(r415573)
+++ head/graphics/Makefile	Fri May 20 19:15:23 2016	(r415574)
@@ -54,6 +54,7 @@
     SUBDIR += aqsis
     SUBDIR += argyllcms
     SUBDIR += asciio
+    SUBDIR += aseprite
     SUBDIR += atril
     SUBDIR += atril-lite
     SUBDIR += autopano-sift-c

Added: head/graphics/aseprite/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aseprite/Makefile	Fri May 20 19:15:23 2016	(r415574)
@@ -0,0 +1,78 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME=		aseprite
+PORTVERSION=		1.1.5.6
+DISTVERSIONPREFIX=	v
+CATEGORIES=		graphics
+
+MAINTAINER=		yuri@rawbw.com
+COMMENT=		Animated sprite editor & pixel art tool
+
+LICENSE=		GPLv2
+LICENSE_FILE=		${WRKSRC}/LICENSE.txt
+
+EXTRACT_DEPENDS=	${NONEXISTENT}:x11/pixman:extract
+LIB_DEPENDS=		libfreetype.so:print/freetype2 \
+			liballeg.so:devel/allegro \
+			libpng.so:graphics/png \
+			libgif.so:graphics/giflib \
+			libcurl.so:ftp/curl \
+			libtinyxml.so:textproc/tinyxml
+
+BROKEN_FreeBSD_9=	Fails due to compiler issues
+
+OPTIONS_DEFINE=		WEBP
+OPTIONS_DEFAULT=	WEBP
+
+WEBP_LIB_DEPENDS=	libwebp.so:graphics/webp
+
+USE_GITHUB=		yes
+GH_TUPLE=		aseprite:aseprite:b659747
+GH_TUPLE+=		aseprite:flic:da184cb:flic
+GH_TUPLE+=		aseprite:gtest:d63c625:gtest
+GH_TUPLE+=		aseprite:simpleini:d4a436a:simpleini
+GH_TUPLE+=		aseprite:duktape:90090c7:duk
+
+USES=			cmake:outsource compiler:c++11-lib jpeg pkgconfig
+USE_XORG=		x11 xcursor xext xpm ice pixman sm xxf86dga xxf86vm
+
+.include <bsd.port.options.mk>
+
+CMAKE_ARGS+=		-DUSE_SHARED_ALLEGRO4=1
+CMAKE_ARGS+=		-DUSE_SHARED_GIFLIB=1
+CMAKE_ARGS+=		-DUSE_SHARED_ZLIB=1
+CMAKE_ARGS+=		-DUSE_SHARED_JPEGLIB=1
+CMAKE_ARGS+=		-DUSE_SHARED_LIBPNG=1
+.if ${PORT_OPTIONS:MWEBP}
+CMAKE_ARGS+=		-DWITH_WEBP_SUPPORT=1
+CMAKE_ARGS+=		-DUSE_SHARED_LIBWEBP=1
+.endif
+CMAKE_ARGS+=		-DUSE_SHARED_FREETYPE=1
+CMAKE_ARGS+=		-DUSE_SHARED_PIXMAN=1
+CMAKE_ARGS+=		-DUSE_SHARED_CURL=1
+CMAKE_ARGS+=		-DUSE_SHARED_TINYXML=1
+CMAKE_ARGS+=		-DFREETYPE_INCLUDE_DIR=${LOCALBASE}/include/freetype2
+CXXFLAGS+=		-I${LOCALBASE}/include
+CXXFLAGS+=		-I${LOCALBASE}/include/freetype2
+CXXFLAGS+=		-I${LOCALBASE}/include/freetype2/freetype
+
+.include <bsd.port.pre.mk>
+
+post-extract:
+	@${RMDIR} ${WRKSRC}/src/flic ${WRKSRC}/third_party/gtest ${WRKSRC}/third_party/simpleini ${WRKSRC}/third_party/duktape
+	@${MV} ${WRKDIR}/flic-* ${WRKSRC}/src/flic
+	@${MV} ${WRKDIR}/gtest-* ${WRKSRC}/third_party/gtest
+	@${MV} ${WRKDIR}/simpleini-* ${WRKSRC}/third_party/simpleini
+	@${MV} ${WRKDIR}/duktape-* ${WRKSRC}/third_party/duktape
+	@${MKDIR} ${WRKSRC}/third_party/pixman/pixman
+	@${CP} `${MAKE} -C ${PORTSDIR}/x11/pixman -V WRKSRC`/pixman/pixman-combine32.h \
+		${WRKSRC}/third_party/pixman/pixman/
+
+post-configure:
+	@${REINPLACE_CMD} -e 's|-lXxf86dga |-L${LOCALBASE}/lib -lXxf86dga |g' \
+		`find ${WRKDIR} -name link.txt`
+	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+		${WRKSRC}/src/app/resource_finder.cpp
+
+.include <bsd.port.post.mk>

Added: head/graphics/aseprite/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aseprite/distinfo	Fri May 20 19:15:23 2016	(r415574)
@@ -0,0 +1,11 @@
+TIMESTAMP = 1463713231
+SHA256 (aseprite-aseprite-v1.1.5.6-b659747_GH0.tar.gz) = 45b08dcf5fd02a8759c1cfbf5cd7b2c80b988993bd2d7a1f24b8e3601a60245c
+SIZE (aseprite-aseprite-v1.1.5.6-b659747_GH0.tar.gz) = 2979354
+SHA256 (aseprite-flic-da184cb_GH0.tar.gz) = 118f422957ea59121a14f0474471cfb09fcf62fe9834b9b683671e53fb675075
+SIZE (aseprite-flic-da184cb_GH0.tar.gz) = 6552
+SHA256 (aseprite-gtest-d63c625_GH0.tar.gz) = 9f8be975b8672f7e2e14053744bc9433aa8d0f613378ca1a9ab99ac87ba11a39
+SIZE (aseprite-gtest-d63c625_GH0.tar.gz) = 989187
+SHA256 (aseprite-simpleini-d4a436a_GH0.tar.gz) = d78bdc44396b81501c5ad1b59d06db9055b037db53ef2a30dd583194ed3133fa
+SIZE (aseprite-simpleini-d4a436a_GH0.tar.gz) = 54668
+SHA256 (aseprite-duktape-90090c7_GH0.tar.gz) = a188d14e622a10429588376da8d77c3a79dd268a241e15a1bc6f2a3e04d126ce
+SIZE (aseprite-duktape-90090c7_GH0.tar.gz) = 608122

Added: head/graphics/aseprite/files/patch-src_app_resource__finder.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aseprite/files/patch-src_app_resource__finder.cpp	Fri May 20 19:15:23 2016	(r415574)
@@ -0,0 +1,11 @@
+--- src/app/resource_finder.cpp.orig	2015-11-06 13:40:13 UTC
++++ src/app/resource_finder.cpp
+@@ -105,7 +105,7 @@ void ResourceFinder::includeDataDir(cons
+     includeBinDir(buf);
+   #else
+     // $BINDIR/../share/aseprite/data/filename (installed in /usr/ or /usr/local/)
+-    sprintf(buf, "../share/aseprite/data/%s", filename);
++    sprintf(buf, "%%LOCALBASE%%/share/aseprite/data/%s", filename);
+     includeBinDir(buf);
+   #endif
+ 

Added: head/graphics/aseprite/files/patch-src_app_util_freetype__utils.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aseprite/files/patch-src_app_util_freetype__utils.cpp	Fri May 20 19:15:23 2016	(r415574)
@@ -0,0 +1,11 @@
+--- src/app/util/freetype_utils.cpp.orig	2015-11-06 13:40:13 UTC
++++ src/app/util/freetype_utils.cpp
+@@ -21,7 +21,7 @@
+ 
+ #include <stdexcept>
+ 
+-#include "freetype/ftglyph.h"
++#include <ftglyph.h>
+ #include "ft2build.h"
+ #include FT_FREETYPE_H
+ 

Added: head/graphics/aseprite/files/patch-src_base_file__handle.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aseprite/files/patch-src_base_file__handle.cpp	Fri May 20 19:15:23 2016	(r415574)
@@ -0,0 +1,11 @@
+--- src/base/file_handle.cpp.orig	2015-11-06 13:40:13 UTC
++++ src/base/file_handle.cpp
+@@ -26,6 +26,8 @@
+ #define O_TEXT    0
+ #endif
+ 
++#include <sys/stat.h>
++
+ using namespace std;
+ 
+ namespace base {

Added: head/graphics/aseprite/files/patch-src_base_fs__unix.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aseprite/files/patch-src_base_fs__unix.h	Fri May 20 19:15:23 2016	(r415574)
@@ -0,0 +1,11 @@
+--- src/base/fs_unix.h.orig	2015-11-06 13:40:13 UTC
++++ src/base/fs_unix.h
+@@ -11,6 +11,8 @@
+ 
+ #include <cstdlib>
+ #include <ctime>
++#include <cstdio>
++#include <climits>
+ #include <stdexcept>
+ #include <vector>
+ 

Added: head/graphics/aseprite/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aseprite/pkg-descr	Fri May 20 19:15:23 2016	(r415574)
@@ -0,0 +1,17 @@
+Aseprite is an open source program to create animated sprites.
+
+Its main features are:
+* Sprites are composed by layers & frames (as separated concepts).
+* Supported color modes: RGBA, Indexed (palettes up to 256 colors),
+  and Grayscale.
+* Load/save sequence of PNG files and GIF animations
+  (and FLC, FLI, JPG, BMP, PCX, TGA).
+* Export/import animations to/from Sprite Sheets.
+* Tiled drawing mode, useful to draw patterns and textures.
+* Undo/Redo for every operation.
+* Real-time animation preview.
+* Multiple editors support.
+* Pixel-art specific tools like filled Contour, Polygon, Shading mode, etc.
+* Onion skinning
+
+WWW: http://www.aseprite.org/

Added: head/graphics/aseprite/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aseprite/pkg-plist	Fri May 20 19:15:23 2016	(r415574)
@@ -0,0 +1,86 @@
+bin/aseprite
+%%DATADIR%%/data/convmatr.def
+%%DATADIR%%/data/fonts/allegro.pcx
+%%DATADIR%%/data/fonts/anipro_fixed.pcx
+%%DATADIR%%/data/fonts/anipro_variable.pcx
+%%DATADIR%%/data/fonts/ase1.pcx
+%%DATADIR%%/data/fonts/ase2.pcx
+%%DATADIR%%/data/gui.xml
+%%DATADIR%%/data/icons/ase.ico
+%%DATADIR%%/data/icons/ase16.png
+%%DATADIR%%/data/icons/ase32.png
+%%DATADIR%%/data/icons/ase48.png
+%%DATADIR%%/data/icons/ase64.png
+%%DATADIR%%/data/icons/doc.ico
+%%DATADIR%%/data/icons/doc16.png
+%%DATADIR%%/data/icons/doc32.png
+%%DATADIR%%/data/icons/doc48.png
+%%DATADIR%%/data/icons/doc64.png
+%%DATADIR%%/data/palettes/apple-ii.gpl
+%%DATADIR%%/data/palettes/arne16.gpl
+%%DATADIR%%/data/palettes/arne32.gpl
+%%DATADIR%%/data/palettes/atari2600-ntsc.gpl
+%%DATADIR%%/data/palettes/atari2600-pal.gpl
+%%DATADIR%%/data/palettes/cga.gpl
+%%DATADIR%%/data/palettes/commodore-plus4.gpl
+%%DATADIR%%/data/palettes/commodore-vic20.gpl
+%%DATADIR%%/data/palettes/commodore64.gpl
+%%DATADIR%%/data/palettes/db16.gpl
+%%DATADIR%%/data/palettes/db32.gpl
+%%DATADIR%%/data/palettes/gameboy.gpl
+%%DATADIR%%/data/palettes/google-ui.gpl
+%%DATADIR%%/data/palettes/master-system.gpl
+%%DATADIR%%/data/palettes/nes-ntsc.gpl
+%%DATADIR%%/data/palettes/nes.gpl
+%%DATADIR%%/data/palettes/solarized.gpl
+%%DATADIR%%/data/palettes/teletext.gpl
+%%DATADIR%%/data/palettes/win16.gpl
+%%DATADIR%%/data/palettes/zx-spectrum.gpl
+%%DATADIR%%/data/pref.xml
+%%DATADIR%%/data/scripts/white_to_alpha.js
+%%DATADIR%%/data/skins/default/font.png
+%%DATADIR%%/data/skins/default/minifont.png
+%%DATADIR%%/data/skins/default/palette.png
+%%DATADIR%%/data/skins/default/sheet.png
+%%DATADIR%%/data/skins/default/skin.xml
+%%DATADIR%%/data/widgets/advanced_mode.xml
+%%DATADIR%%/data/widgets/canvas_size.xml
+%%DATADIR%%/data/widgets/cel_properties.xml
+%%DATADIR%%/data/widgets/color_curve_point.xml
+%%DATADIR%%/data/widgets/convolution_matrix.xml
+%%DATADIR%%/data/widgets/despeckle.xml
+%%DATADIR%%/data/widgets/duplicate_sprite.xml
+%%DATADIR%%/data/widgets/export_sprite_sheet.xml
+%%DATADIR%%/data/widgets/file_selector.xml
+%%DATADIR%%/data/widgets/font_popup.xml
+%%DATADIR%%/data/widgets/frame_properties.xml
+%%DATADIR%%/data/widgets/frame_tag_properties.xml
+%%DATADIR%%/data/widgets/gif_options.xml
+%%DATADIR%%/data/widgets/goto_frame.xml
+%%DATADIR%%/data/widgets/grid_settings.xml
+%%DATADIR%%/data/widgets/home_view.xml
+%%DATADIR%%/data/widgets/import_sprite_sheet.xml
+%%DATADIR%%/data/widgets/jpeg_options.xml
+%%DATADIR%%/data/widgets/keyboard_shortcuts.xml
+%%DATADIR%%/data/widgets/layer_properties.xml
+%%DATADIR%%/data/widgets/main_window.xml
+%%DATADIR%%/data/widgets/new_folder_window.xml
+%%DATADIR%%/data/widgets/new_layer.xml
+%%DATADIR%%/data/widgets/new_sprite.xml
+%%DATADIR%%/data/widgets/options.xml
+%%DATADIR%%/data/widgets/palette_from_sprite.xml
+%%DATADIR%%/data/widgets/palette_popup.xml
+%%DATADIR%%/data/widgets/palette_size.xml
+%%DATADIR%%/data/widgets/paste_text.xml
+%%DATADIR%%/data/widgets/replace_color.xml
+%%DATADIR%%/data/widgets/select_accelerator.xml
+%%DATADIR%%/data/widgets/send_crash.xml
+%%DATADIR%%/data/widgets/sprite_properties.xml
+%%DATADIR%%/data/widgets/sprite_size.xml
+%%DATADIR%%/data/widgets/timeline_conf.xml
+%%DATADIR%%/data/widgets/undo_history.xml
+%%DATADIR%%/data/widgets/webp_options.xml
+%%DATADIR%%/data/%%WWWDIR%%.css
+%%DATADIR%%/data/%%WWWDIR%%.js
+%%DATADIR%%/data/%%WWWDIR%%.png
+%%DATADIR%%/data/www/index.html



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