pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/grafx2 graphics/grafx2: import grafx2-2.5.1960



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88737522a882
branches:  trunk
changeset: 382902:88737522a882
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Jul 17 13:07:50 2018 +0000

description:
graphics/grafx2: import grafx2-2.5.1960

GrafX2 is a drawing program dedicated to pixelart and low-color
graphics. This program is dedicated to everybody who knows what a
single pixel is. Its layout is not very different from the famous
Deluxe Paint or Brilliance, so it will be quite easy to handle it
if you know at least one of these programs. If you aren't used to
the art of drawing with up to 256 colors, it will be a little more
difficult for you, but you should give it a try (or more, because
most of the power of this program won't show up on the first try).
Then, you might eventually like to draw the oldskool way !

diffstat:

 graphics/grafx2/DESCR                  |   9 +++
 graphics/grafx2/Makefile               |  30 ++++++++++
 graphics/grafx2/PLIST                  |  94 ++++++++++++++++++++++++++++++++++
 graphics/grafx2/distinfo               |   9 +++
 graphics/grafx2/patches/patch-Makefile |  15 +++++
 graphics/grafx2/patches/patch-main.c   |  15 +++++
 graphics/grafx2/patches/patch-misc.c   |  16 +++++
 7 files changed, 188 insertions(+), 0 deletions(-)

diffs (216 lines):

diff -r 517115b98fe2 -r 88737522a882 graphics/grafx2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/grafx2/DESCR     Tue Jul 17 13:07:50 2018 +0000
@@ -0,0 +1,9 @@
+GrafX2 is a drawing program dedicated to pixelart and low-color
+graphics. This program is dedicated to everybody who knows what a
+single pixel is. Its layout is not very different from the famous
+Deluxe Paint or Brilliance, so it will be quite easy to handle it
+if you know at least one of these programs. If you aren't used to
+the art of drawing with up to 256 colors, it will be a little more
+difficult for you, but you should give it a try (or more, because
+most of the power of this program won't show up on the first try).
+Then, you might eventually like to draw the oldskool way !
diff -r 517115b98fe2 -r 88737522a882 graphics/grafx2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/grafx2/Makefile  Tue Jul 17 13:07:50 2018 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2018/07/17 13:07:50 ryoon Exp $
+
+DISTNAME=      grafx2-2.5.1960-src
+PKGNAME=       ${DISTNAME:S/-src//}
+CATEGORIES=    graphics
+MASTER_SITES=  -http://pulkomandy.tk/projects/GrafX2/downloads/30
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      http://pulkomandy.tk/projects/GrafX2/
+COMMENT=       Ultimate 256-color bitmap paint program
+LICENSE=       gnu-gpl-v2
+
+WRKSRC=                ${WRKDIR}/grafx2/src
+USE_TOOLS+=    gmake
+USE_LANGUAGES= c c++
+
+SUBST_CLASSES+=                        fix-paths
+SUBST_STAGE.fix-paths=         pre-configure
+SUBST_MESSAGE.fix-paths=       Set PREFIX
+SUBST_FILES.fix-paths=         main.c
+SUBST_VARS.fix-paths=          PREFIX
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/SDL_ttf/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 517115b98fe2 -r 88737522a882 graphics/grafx2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/grafx2/PLIST     Tue Jul 17 13:07:50 2018 +0000
@@ -0,0 +1,94 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/17 13:07:50 ryoon Exp $
+bin/grafx2
+share/applications/grafx2.desktop
+share/grafx2/fonts/8pxfont.png
+share/grafx2/fonts/PF_Arma_5__.png
+share/grafx2/fonts/PF_Easta_7_.png
+share/grafx2/fonts/PF_Easta_7__.png
+share/grafx2/fonts/PF_Ronda_7__.png
+share/grafx2/fonts/PF_Tempesta_5.png
+share/grafx2/fonts/PF_Tempesta_5_.png
+share/grafx2/fonts/PF_Tempesta_5__.png
+share/grafx2/fonts/PF_Tempesta_5___.png
+share/grafx2/fonts/PF_Tempesta_7.png
+share/grafx2/fonts/PF_Tempesta_7_.png
+share/grafx2/fonts/PF_Tempesta_7__.png
+share/grafx2/fonts/PF_Tempesta_7___.png
+share/grafx2/fonts/PF_Westa_7_.png
+share/grafx2/fonts/PF_Westa_7__.png
+share/grafx2/fonts/Tuffy.ttf
+share/grafx2/gfx2.gif
+share/grafx2/gfx2def.ini
+share/grafx2/scripts/samples_2.4/brush/ApplyColor.lua
+share/grafx2/scripts/samples_2.4/brush/Fisheye.lua
+share/grafx2/scripts/samples_2.4/brush/GrayscaleAvg.lua
+share/grafx2/scripts/samples_2.4/brush/GrayscaleDesat.lua
+share/grafx2/scripts/samples_2.4/brush/Halfsmooth.lua
+share/grafx2/scripts/samples_2.4/brush/Waves.lua
+share/grafx2/scripts/samples_2.4/demo/3DPalette.lua
+share/grafx2/scripts/samples_2.4/demo/Ellipse.lua
+share/grafx2/scripts/samples_2.4/demo/FlipPicture.lua
+share/grafx2/scripts/samples_2.4/demo/SierpinskyCarpet.lua
+share/grafx2/scripts/samples_2.4/demo/SierpinskyTriangle.lua
+share/grafx2/scripts/samples_2.4/demo/Spritesheet.lua
+share/grafx2/scripts/samples_2.4/demo/brush/Amigaball.lua
+share/grafx2/scripts/samples_2.4/demo/brush/ColorSphere.lua
+share/grafx2/scripts/samples_2.4/demo/brush/FindAA.lua
+share/grafx2/scripts/samples_2.4/demo/brush/Mandelbrot.lua
+share/grafx2/scripts/samples_2.4/libs/dawnbringer_lib.lua
+share/grafx2/scripts/samples_2.4/libs/memory.lua
+share/grafx2/scripts/samples_2.4/palette/Desaturate.lua
+share/grafx2/scripts/samples_2.4/palette/ExpandColors.lua
+share/grafx2/scripts/samples_2.4/palette/FillColorCube.lua
+share/grafx2/scripts/samples_2.4/palette/InvertedRGB.lua
+share/grafx2/scripts/samples_2.4/palette/Set3bit.lua
+share/grafx2/scripts/samples_2.4/palette/Set6bit.lua
+share/grafx2/scripts/samples_2.4/palette/SetC64Palette.lua
+share/grafx2/scripts/samples_2.4/palette/ShiftHue.lua
+share/grafx2/scripts/samples_2.4/picture/CellColourReducer.lua
+share/grafx2/scripts/samples_2.4/picture/DrawGridIsometric.lua
+share/grafx2/scripts/samples_2.4/picture/DrawGridOrthogonal_RGB.lua
+share/grafx2/scripts/samples_2.4/picture/DrawgridOrthogonal_Index.lua
+share/grafx2/scripts/samples_2.4/picture/FontConvert.lua
+share/grafx2/scripts/samples_2.4/picture/GlassGridFilter.lua
+share/grafx2/scripts/samples_2.4/picture/PaletteToPicture.lua
+share/grafx2/scripts/samples_2.4/picture/Pic2isometric.lua
+share/grafx2/scripts/samples_2.4/picture/Rainbow-Dark2Bright.lua
+share/grafx2/scripts/samples_2.4/picture/RemapImage2RGB.lua
+share/grafx2/scripts/samples_2.4/picture/RemapImage2RGB_ed.lua
+share/grafx2/scripts/samples_2.4/picture/RemapImageTo3bitPal.lua
+share/grafx2/scripts/samples_2.4/picture/Tiler.lua
+share/grafx2/scripts/samples_2.4/picture/XBitColourXpaceFromPalette.lua
+share/grafx2/scripts/samples_2.4/picture/others-8bit/lib/ostro_other.lua
+share/grafx2/scripts/samples_2.4/picture/others-8bit/ostro_oric.lua
+share/grafx2/scripts/samples_2.4/picture/others-8bit/ostro_zx.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/bayer4_mo5.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/bayer4_to8.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/lib/bayer.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/lib/color.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/lib/color_reduction.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/lib/convex_hull.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/lib/ostromoukhov.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/lib/thomson.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/none_mo5.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/none_to8.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/none_to9.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/ostro_mo5.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to7.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to8.lua
+share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to9.lua
+share/grafx2/skins/font_Classic.png
+share/grafx2/skins/font_DPaint.png
+share/grafx2/skins/font_Fairlight.png
+share/grafx2/skins/font_Fun.png
+share/grafx2/skins/font_Melon.png
+share/grafx2/skins/font_Seen.png
+share/grafx2/skins/skin_Aurora.png
+share/grafx2/skins/skin_DPaint.png
+share/grafx2/skins/skin_classic.png
+share/grafx2/skins/skin_modern.png
+share/grafx2/skins/skin_scenish.png
+share/grafx2/skins/unicode_0410-044F.png
+share/icons/grafx2.svg
+share/icons/grafx2.xpm
+@pkgdir share/grafx2/scripts/libs
diff -r 517115b98fe2 -r 88737522a882 graphics/grafx2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/grafx2/distinfo  Tue Jul 17 13:07:50 2018 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2018/07/17 13:07:50 ryoon Exp $
+
+SHA1 (grafx2-2.5.1960-src.tgz) = eb9b59eae66fce644de36b4819b27ca02501b929
+RMD160 (grafx2-2.5.1960-src.tgz) = 2e7eccdfbe2d5f53c16b5588422c189f689d1d43
+SHA512 (grafx2-2.5.1960-src.tgz) = 42aeebd52c6a643d422fb906b396c0325d0d4adbc1b6eda1264c1c35e50d57ae242d82fee267e46331d1c6ecf520ac7a9834d30454bfcbdfb322c37f131e4fb2
+Size (grafx2-2.5.1960-src.tgz) = 888914 bytes
+SHA1 (patch-Makefile) = dde5929e5c4979fd427a0029015faaf403839852
+SHA1 (patch-main.c) = 32ab12bd3a3b39cc89004afde815dbd4fddc0802
+SHA1 (patch-misc.c) = 28373720742bf6a0327f4f1b3410350c014a5c33
diff -r 517115b98fe2 -r 88737522a882 graphics/grafx2/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/grafx2/patches/patch-Makefile    Tue Jul 17 13:07:50 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2018/07/17 13:07:50 ryoon Exp $
+
+* Install to pkgsrc location
+
+--- Makefile.orig      2018-05-15 16:51:04.000000000 +0000
++++ Makefile
+@@ -23,7 +23,7 @@
+ #  along with Grafx2; if not, see <http://www.gnu.org/licenses/>
+ 
+ # Overridable defaults
+-  prefix = /usr/local
++  prefix = ${PREFIX}
+   exec_prefix = $(prefix)
+   bindir = $(exec_prefix)/bin
+   datarootdir = $(prefix)/share
diff -r 517115b98fe2 -r 88737522a882 graphics/grafx2/patches/patch-main.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/grafx2/patches/patch-main.c      Tue Jul 17 13:07:50 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-main.c,v 1.1 2018/07/17 13:07:50 ryoon Exp $
+
+* Enable non-absolute path execute
+
+--- main.c.orig        2018-05-15 16:51:04.000000000 +0000
++++ main.c
+@@ -544,7 +544,7 @@ int Init_program(int argc,char * argv[])
+   Init_list_of_pages(Spare.backups);
+ 
+   // Determine the executable directory
+-  Set_program_directory(argv[0],program_directory);
++  Set_program_directory("@PREFIX@/bin/grafx2",program_directory);
+   // Choose directory for data (read only)
+   Set_data_directory(program_directory,Data_directory);
+   // Choose directory for settings (read/write)
diff -r 517115b98fe2 -r 88737522a882 graphics/grafx2/patches/patch-misc.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/grafx2/patches/patch-misc.c      Tue Jul 17 13:07:50 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-misc.c,v 1.1 2018/07/17 13:07:50 ryoon Exp $
+
+* Fix sysctl build failure
+
+--- misc.c.orig        2018-05-15 16:51:04.000000000 +0000
++++ misc.c
+@@ -24,6 +24,9 @@
+ #if defined(WIN32)
+ #define _WIN32_WINNT 0x0500
+ #endif
++#if defined(__NetBSD__)
++#define _NETBSD_SOURCE
++#endif
+ #include <SDL.h>
+ #include <string.h>
+ #ifndef _MSC_VER



Home | Main Index | Thread Index | Old Index