pkgsrc-WIP-changes archive

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

Remove grafX2, more recent version in HEAD



Module Name:	pkgsrc-wip
Committed By:	nia <nia%netbsd.org@localhost>
Pushed By:	nee
Date:		Thu Jul 18 18:00:46 2019 +0100
Changeset:	955445c71f91b0a4454de54dcd942b30a25112f2

Modified Files:
	Makefile
Removed Files:
	grafX2/DESCR
	grafX2/Makefile
	grafX2/PLIST
	grafX2/distinfo
	grafX2/patches/patch-realpath.c
	grafX2/patches/patch-setup.c

Log Message:
Remove grafX2, more recent version in HEAD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=955445c71f91b0a4454de54dcd942b30a25112f2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                        |  1 -
 grafX2/DESCR                    |  5 ---
 grafX2/Makefile                 | 27 -------------
 grafX2/PLIST                    | 78 ------------------------------------
 grafX2/distinfo                 |  8 ----
 grafX2/patches/patch-realpath.c | 16 --------
 grafX2/patches/patch-setup.c    | 89 -----------------------------------------
 7 files changed, 224 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 80e0d53a96..662cccefa0 100644
--- a/Makefile
+++ b/Makefile
@@ -1227,7 +1227,6 @@ SUBDIR+=	gqrx
 SUBDIR+=	gr-fcdproplus-git
 SUBDIR+=	gr-gsm
 SUBDIR+=	gr-osmosdr-git
-SUBDIR+=	grafX2
 SUBDIR+=	grandr
 SUBDIR+=	graphmonkey
 SUBDIR+=	grass
diff --git a/grafX2/DESCR b/grafX2/DESCR
deleted file mode 100644
index 503342f3f8..0000000000
--- a/grafX2/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-GrafX2 is a bitmap paint program inspired by the Amiga programs Deluxe
-Paint and Brilliance. Specialized in 256-color drawing, it includes a
-very large number of tools and effects that make it particularly suitable
-for pixel art, game graphics, and generally any detailed graphics painted
-with a mouse.
diff --git a/grafX2/Makefile b/grafX2/Makefile
deleted file mode 100644
index 192767ba41..0000000000
--- a/grafX2/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	grafX2-2.4
-CATEGORIES=	graphics
-MASTER_SITES=	-https://gitlab.com/GrafX2/${GITLAB_PROJECT}/repository/${GITLAB_REV}/archive.tar.gz
-
-HOMEPAGE=	http://grafx2.chez.com/
-COMMENT=	Bitmap paint program suited for pixel art
-LICENSE=	gnu-gpl-v2
-
-GITLAB_PROJECT=	grafX2
-GITLAB_TAG=	34166d75592b60a6d0c1f85f60029bc03cbe13f4
-GITLAB_REV=	v${PKGVERSION_NOREV}
-
-WRKSRC=		${WRKDIR}/${GITLAB_PROJECT}-${GITLAB_REV}-${GITLAB_TAG}/src
-
-USE_TOOLS+=	pkg-config gmake
-
-MAKE_FLAGS+=	prefix=${PREFIX}
-CFLAGS+=	-DPREFIX=\"${PREFIX}\"
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/SDL_ttf/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../graphics/SDL_image/buildlink3.mk"
-.include "../../lang/lua51/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/grafX2/PLIST b/grafX2/PLIST
deleted file mode 100644
index 9df6da412f..0000000000
--- a/grafX2/PLIST
+++ /dev/null
@@ -1,78 +0,0 @@
-@comment $NetBSD$
-bin/grafx2
-share/applications/grafx2.desktop
-share/grafx2/fonts/5pxtinyfont.png
-share/grafx2/fonts/8pxfont.png
-share/grafx2/fonts/GrafX2_Black.gif
-share/grafx2/fonts/GrafX2_Dark.gif
-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/fonts/colorfont.pcx
-share/grafx2/gfx2.gif
-share/grafx2/gfx2def.ini
-share/grafx2/scripts/samples_${PKGVERSION}/brush/ApplyColor.lua
-share/grafx2/scripts/samples_${PKGVERSION}/brush/Fisheye.lua
-share/grafx2/scripts/samples_${PKGVERSION}/brush/GrayscaleAvg.lua
-share/grafx2/scripts/samples_${PKGVERSION}/brush/GrayscaleDesat.lua
-share/grafx2/scripts/samples_${PKGVERSION}/brush/Halfsmooth.lua
-share/grafx2/scripts/samples_${PKGVERSION}/brush/Waves.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/3DPalette.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/Ellipse.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/FlipPicture.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/SierpinskyCarpet.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/SierpinskyTriangle.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/Spritesheet.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/brush/Amigaball.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/brush/ColorSphere.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/brush/FindAA.lua
-share/grafx2/scripts/samples_${PKGVERSION}/demo/brush/Mandelbrot.lua
-share/grafx2/scripts/samples_${PKGVERSION}/libs/dawnbringer_lib.lua
-share/grafx2/scripts/samples_${PKGVERSION}/libs/memory.lua
-share/grafx2/scripts/samples_${PKGVERSION}/palette/Desaturate.lua
-share/grafx2/scripts/samples_${PKGVERSION}/palette/ExpandColors.lua
-share/grafx2/scripts/samples_${PKGVERSION}/palette/FillColorCube.lua
-share/grafx2/scripts/samples_${PKGVERSION}/palette/InvertedRGB.lua
-share/grafx2/scripts/samples_${PKGVERSION}/palette/Set3bit.lua
-share/grafx2/scripts/samples_${PKGVERSION}/palette/Set6bit.lua
-share/grafx2/scripts/samples_${PKGVERSION}/palette/SetC64Palette.lua
-share/grafx2/scripts/samples_${PKGVERSION}/palette/ShiftHue.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/CellColourReducer.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/DrawGridIsometric.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/DrawGridOrthogonal_RGB.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/DrawgridOrthogonal_Index.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/GlassGridFilter.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/PaletteToPicture.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/Pic2isometric.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/Rainbow-Dark2Bright.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/RemapImage2RGB.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/RemapImage2RGB_ed.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/RemapImageTo3bitPal.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/Tiler.lua
-share/grafx2/scripts/samples_${PKGVERSION}/picture/XBitColourXpaceFromPalette.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/icons/grafx2.svg
-share/icons/grafx2.xpm
-@pkgdir share/grafx2/scripts/libs
diff --git a/grafX2/distinfo b/grafX2/distinfo
deleted file mode 100644
index 205db7a4e4..0000000000
--- a/grafX2/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD$
-
-SHA1 (grafX2-2.4.tar.gz) = 42d6ff41a756bbcfb6b30386aab816539d0f3fbc
-RMD160 (grafX2-2.4.tar.gz) = ac77f23fab86c5df9c0ab77964e81295371a874f
-SHA512 (grafX2-2.4.tar.gz) = 357d3f9f6b1f2f05130686d57590f00e8327db2f6d04c8ea8e5879a2d9824f612d77123cbcb08788d6aac9effacf1aa96043000cf6b667952d738aaf69d78642
-Size (grafX2-2.4.tar.gz) = 1632859 bytes
-SHA1 (patch-realpath.c) = c3e9a36e0edac36aea5cc51e80fc8bceae0f1cce
-SHA1 (patch-setup.c) = 8cc104558fb7b5d261d749a793d95786bbfbe3f9
diff --git a/grafX2/patches/patch-realpath.c b/grafX2/patches/patch-realpath.c
deleted file mode 100644
index 85ffac9f5c..0000000000
--- a/grafX2/patches/patch-realpath.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-Don't discriminate against unix-like systems.
-
---- realpath.c.orig	2012-12-05 00:18:04.000000000 +0000
-+++ realpath.c
-@@ -6,9 +6,7 @@
- #include <fcntl.h>
- #include <string.h>
- #include <unistd.h>
--#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__)|| defined(__MINT__)
- #include <limits.h>
--#endif
- 
- #if defined(__AROS__) || defined(__BEOS__) || defined(__MORPHOS__) || defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__) || defined(__amigaos__)
- // These platforms don't have realpath().
diff --git a/grafX2/patches/patch-setup.c b/grafX2/patches/patch-setup.c
deleted file mode 100644
index 4349101221..0000000000
--- a/grafX2/patches/patch-setup.c
+++ /dev/null
@@ -1,89 +0,0 @@
-$NetBSD$
-
-Don't discriminate against unix-like systems.
-
-Pick up paths from pkgsrc.
-
---- setup.c.orig	2012-12-05 00:18:04.000000000 +0000
-+++ setup.c
-@@ -39,7 +39,7 @@
- #elif defined(__MINT__)
-     #include <mint/osbind.h>
-     #include <mint/sysbind.h>
--#elif defined(__linux__)
-+#else
-   #include <limits.h>
-   #include <unistd.h>
- #endif
-@@ -71,44 +71,7 @@ int Create_ConfigDirectory(char * config
- void Set_program_directory(const char * argv0,char * program_dir)
- {
-   (void)argv0; // unused sometimes
--  
--  // MacOSX
--  #if defined(__macosx__)
--    CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle());
--    CFURLGetFileSystemRepresentation(url,true,(UInt8*)program_dir,MAXPATHLEN);
--    CFRelease(url);
--    // Append trailing slash
--    strcat(program_dir    ,"/");
--  
--  // AmigaOS and alike: hard-coded volume name.
--  #elif defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__) || defined(__amigaos__)
--    strcpy(program_dir,"PROGDIR:");
--  #elif defined(__MINT__)
--  static char path[1024]={0};
--  char currentDrive='A';
--  currentDrive=currentDrive+Dgetdrv();
--  
--  Dgetpath(path,0);
--  sprintf(program_dir,"%c:\%s",currentDrive,path);
--  // Append trailing slash
--  strcat(program_dir,PATH_SEPARATOR);
--  // Linux: argv[0] unreliable
--  #elif defined(__linux__)
--  if (argv0[0]!='/')
--  {
--    char path[PATH_MAX];
--    readlink("/proc/self/exe", path, sizeof(path));
--    Extract_path(program_dir, path);
--    return;
--  }  
--  Extract_path(program_dir, argv0);
--  
--  // Others: The part of argv[0] before the executable name.    
--  // Keep the last \ or /.
--  // On Windows, Mingw32 already provides the full path in all cases.
--  #else
--    Extract_path(program_dir, argv0);
--  #endif
-+  strcpy(program_dir, PREFIX "/bin/");
- }
- 
- // Determine which directory contains the read-only data.
-@@ -116,23 +79,8 @@ void Set_program_directory(const char *
- // OUT: Write into data_dir. Trailing / or \ is kept.
- void Set_data_directory(const char * program_dir, char * data_dir)
- {
--  // On all platforms, data is relative to the executable's directory
--  strcpy(data_dir,program_dir);
--  // On MacOSX,  it is stored in a special folder:
--  #if defined(__macosx__)
--    strcat(data_dir,"Contents/Resources/");
--  // On GP2X, executable is not in bin/
--  #elif defined (__GP2X__) || defined (__gp2x__) || defined (__WIZ__) || defined (__CAANOO__)
--    strcat(data_dir,"share/grafx2/");
--  //on tos the same directory
--  #elif defined (__MINT__)
--    strcpy(data_dir, program_dir);
--  // All other targets, program is in a "bin" subdirectory
--  #elif defined (__AROS__)
--    strcat(data_dir,"share/grafx2/");
--  #else
--    strcat(data_dir,"../share/grafx2/");
--  #endif
-+  (void)program_dir;
-+  strcpy(data_dir, PREFIX "/share/grafx2/");
- }
- 
- // Determine which directory should store the user's configuration.


Home | Main Index | Thread Index | Old Index