Skip to content

Commit

Permalink
graphics/grafx2: Update to 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ehaupt committed Apr 30, 2024
1 parent 7da6f82 commit 4a1f274
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 43 deletions.
11 changes: 5 additions & 6 deletions graphics/grafx2/Makefile
@@ -1,7 +1,7 @@
PORTNAME= grafx2
PORTVERSION= 2.8
DISTVERSIONSUFFIX= .3091-HEAD-src
PORTREVISION= 3
DISTVERSIONPREFIX= v
DISTVERSION= 2.9
DISTVERSIONSUFFIX= .3219
CATEGORIES= graphics
MASTER_SITES= http://pulkomandy.tk/projects/GrafX2/downloads/ \
LOCAL/ehaupt
Expand All @@ -16,16 +16,15 @@ LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libX11.so:x11/libX11

USES= desktop-file-utils gmake gnome iconv:wchar_t pkgconfig sdl \
tar:tgz
USES= desktop-file-utils gmake gnome iconv:wchar_t pkgconfig sdl
USE_SDL= image2 sdl2

MAKE_ENV+= API=${GRAFX2_API} \
V=1

CFLAGS+= -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H

WRKSRC= ${WRKDIR}/grafx2
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
WRKSRC_SUBDIR= src

OPTIONS_DEFINE= LUA TTF
Expand Down
6 changes: 3 additions & 3 deletions graphics/grafx2/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1616843664
SHA256 (grafx2-2.8.3091-HEAD-src.tgz) = 29d63b194850a7f43bb7f92d2cf1b123ae991f2da00c07df9f6c81e6999c2423
SIZE (grafx2-2.8.3091-HEAD-src.tgz) = 1127842
TIMESTAMP = 1714510191
SHA256 (grafx2-v2.9.3219.tar.gz) = 57c020e2d0a8287537c703ba596c9bc77cef98f409d86e4a625ce08d1a5de4c2
SIZE (grafx2-v2.9.3219.tar.gz) = 2631545
4 changes: 2 additions & 2 deletions graphics/grafx2/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig 2021-03-24 19:59:20 UTC
--- Makefile.orig 2024-04-29 15:47:02 UTC
+++ Makefile
@@ -1242,7 +1242,8 @@ install : $(BIN)
@@ -1250,7 +1250,8 @@ install : $(BIN)
test -d $(DESTDIR)$(datadir)/grafx2/fonts || $(MKDIR) $(DESTDIR)$(datadir)/grafx2/fonts
test -d $(DESTDIR)$(datadir)/grafx2/skins || $(MKDIR) $(DESTDIR)$(datadir)/grafx2/skins
test -d $(DESTDIR)$(datadir)/grafx2/scripts || $(MKDIR) $(DESTDIR)$(datadir)/grafx2/scripts
Expand Down
29 changes: 0 additions & 29 deletions graphics/grafx2/files/patch-sdlscreen.c

This file was deleted.

10 changes: 7 additions & 3 deletions graphics/grafx2/pkg-plist
Expand Up @@ -20,8 +20,6 @@ share/applications/grafx2.desktop
%%DATADIR%%/gfx2def.ini
%%DATADIR%%/gfx2.png
%%DATADIR%%/skins/skin_chrisfx.png
%%DATADIR%%/skins/unicode_0390-03C9.png
%%DATADIR%%/skins/unicode_3040-309F.png
%%LUA%%%%DATADIR%%/scripts/samples/brush/ApplyColor.lua
%%LUA%%%%DATADIR%%/scripts/samples/brush/Fisheye.lua
%%LUA%%%%DATADIR%%/scripts/samples/brush/GrayscaleAvg.lua
Expand Down Expand Up @@ -81,6 +79,10 @@ share/applications/grafx2.desktop
%%LUA%%%%DATADIR%%/scripts/samples/picture/thomson/ostro_to7.lua
%%LUA%%%%DATADIR%%/scripts/samples/picture/thomson/ostro_to8.lua
%%LUA%%%%DATADIR%%/scripts/samples/picture/thomson/ostro_to9.lua
%%DATADIR%%/fonts/5pxtinyfont.png
%%DATADIR%%/fonts/GrafX2_Black.gif
%%DATADIR%%/fonts/GrafX2_Dark.gif
%%DATADIR%%/fonts/colorfont.pcx
%%DATADIR%%/skins/font_Classic.png
%%DATADIR%%/skins/font_DPaint.png
%%DATADIR%%/skins/font_Fairlight.png
Expand All @@ -89,10 +91,12 @@ share/applications/grafx2.desktop
%%DATADIR%%/skins/font_Seen.png
%%DATADIR%%/skins/skin_Aurora.png
%%DATADIR%%/skins/skin_DPaint.png
%%DATADIR%%/skins/skin_black.png
%%DATADIR%%/skins/skin_classic.png
%%DATADIR%%/skins/skin_klin.png
%%DATADIR%%/skins/skin_modern.png
%%DATADIR%%/skins/skin_scenish.png
%%DATADIR%%/skins/unicode_0410-044F.png
share/icons/hicolor/scalable/apps/grafx2.svg
share/icons/hicolor/scalable/apps/grafx2.xpm
share/metainfo/grafx2.appdata.xml
share/metainfo/eu.grafx2.grafx2.metainfo.xml

0 comments on commit 4a1f274

Please sign in to comment.