pkgsrc-WIP-changes archive

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

gargoyle: add package based on Wes Frazier's version from PR 52431



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Jul 27 11:04:16 2017 +0200
Changeset:	d3c6fc6907e372fbc0e5922849d5752992010de4

Modified Files:
	Makefile
Added Files:
	gargoyle/DESCR
	gargoyle/Makefile
	gargoyle/PLIST
	gargoyle/distinfo
	gargoyle/patches/patch-Jamrules

Log Message:
gargoyle: add package based on Wes Frazier's version from PR 52431

Gargoyle is an IF player that supports all the major interactive fiction
formats.

Most interactive fiction is distributed as portable game files. These portable
game files come in many formats. In the past, you used to have to download a
separate player (interpreter) for each format of IF you wanted to play.

Gargoyle is based on the standard interpreters for the formats it supports.
Gargoyle is free software released under the terms of the GNU General Public
License.

TODO: does not link on NetBSD.

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

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

diffstat:
 Makefile                        | 24 ++++++++++++++++-------
 gargoyle/DESCR                  | 10 ++++++++++
 gargoyle/Makefile               | 42 +++++++++++++++++++++++++++++++++++++++++
 gargoyle/PLIST                  | 20 ++++++++++++++++++++
 gargoyle/distinfo               |  7 +++++++
 gargoyle/patches/patch-Jamrules | 38 +++++++++++++++++++++++++++++++++++++
 6 files changed, 134 insertions(+), 7 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 9896c0b829..4e787bc3c8 100644
--- a/Makefile
+++ b/Makefile
@@ -249,9 +249,13 @@ SUBDIR+=	bogomips
 SUBDIR+=	boinc-git
 SUBDIR+=	bonnie++-current
 SUBDIR+=	boo
+SUBDIR+=	boost-asynchronous
 SUBDIR+=	boost-libs-2017Q1
+SUBDIR+=	boost-mp11
+SUBDIR+=	boost-poly_collection
 SUBDIR+=	boost-test-suite
 SUBDIR+=	boost-threadpool
+SUBDIR+=	boost-yap
 SUBDIR+=	bowtie
 SUBDIR+=	bowtie2
 SUBDIR+=	bpcscripts
@@ -309,6 +313,7 @@ SUBDIR+=	canto-curses
 SUBDIR+=	canto-daemon
 SUBDIR+=	capicxx-core-runtime
 SUBDIR+=	cardpeek
+SUBDIR+=	cargo
 SUBDIR+=	caribou
 SUBDIR+=	cartago
 SUBDIR+=	casady-fonts
@@ -420,6 +425,7 @@ SUBDIR+=	copytape
 SUBDIR+=	coreclr-git
 SUBDIR+=	corefx-git
 SUBDIR+=	corert-git
+SUBDIR+=	cortex-var
 SUBDIR+=	courierpassd
 SUBDIR+=	coverity-analysis-bin
 SUBDIR+=	cowpatty
@@ -862,6 +868,7 @@ SUBDIR+=	ganglia-monitor-core
 SUBDIR+=	ganglia-monitor-core319
 SUBDIR+=	ganglia-web
 SUBDIR+=	gappa
+SUBDIR+=	gargoyle
 SUBDIR+=	gat
 SUBDIR+=	gauche-dbd-pg
 SUBDIR+=	gauche-fastcgi
@@ -1598,6 +1605,8 @@ SUBDIR+=	libbrahe
 SUBDIR+=	libbs2b
 SUBDIR+=	libbsd
 SUBDIR+=	libbtctl
+SUBDIR+=	libc++
+SUBDIR+=	libc++-abi
 SUBDIR+=	libcdata
 SUBDIR+=	libcerror
 SUBDIR+=	libcfile
@@ -1683,7 +1692,6 @@ SUBDIR+=	liblingoteach
 SUBDIR+=	libltc
 SUBDIR+=	liblxqt
 SUBDIR+=	libmesode
-SUBDIR+=	libmesode-git
 SUBDIR+=	libmirisdr-git
 SUBDIR+=	libmpg123
 SUBDIR+=	libmusclecard
@@ -1834,14 +1842,13 @@ SUBDIR+=	lives
 SUBDIR+=	lizardfs
 SUBDIR+=	lld
 SUBDIR+=	lld-git
-SUBDIR+=	lld-netbsd
 SUBDIR+=	lldb-git
 SUBDIR+=	lldb-netbsd
 SUBDIR+=	llgo-git
 SUBDIR+=	llilc-git
+SUBDIR+=	llvm-all-in-one
 SUBDIR+=	llvm-git
 SUBDIR+=	llvm-netbsd
-SUBDIR+=	llvm-rtlib
 SUBDIR+=	lmdbg-current
 SUBDIR+=	lmod
 SUBDIR+=	logfmon-git
@@ -2033,6 +2040,7 @@ SUBDIR+=	mtr-graph
 SUBDIR+=	mtrack
 SUBDIR+=	mu
 SUBDIR+=	mu-cite
+SUBDIR+=	mudlet-301
 SUBDIR+=	muine
 SUBDIR+=	mule11
 SUBDIR+=	multichoose
@@ -2091,6 +2099,7 @@ SUBDIR+=	nautilus-sound-converter
 SUBDIR+=	nauty
 SUBDIR+=	navi2ch-current
 SUBDIR+=	navigatrix
+SUBDIR+=	nbase
 SUBDIR+=	nbfc
 SUBDIR+=	ncbi
 SUBDIR+=	ncbi-bin
@@ -2131,6 +2140,7 @@ SUBDIR+=	netwib
 SUBDIR+=	netwmpager
 SUBDIR+=	netwox
 SUBDIR+=	netx
+SUBDIR+=	ngs-sdk-all
 SUBDIR+=	nicotine+
 SUBDIR+=	nightfall
 SUBDIR+=	nih-current
@@ -2831,7 +2841,6 @@ SUBDIR+=	py-atomicfile
 SUBDIR+=	py-atpy
 SUBDIR+=	py-autokey
 SUBDIR+=	py-automata
-SUBDIR+=	py-awscli
 SUBDIR+=	py-b3j0f.aop
 SUBDIR+=	py-bandicoot
 SUBDIR+=	py-bandit
@@ -2857,7 +2866,6 @@ SUBDIR+=	py-bloscpack
 SUBDIR+=	py-bokeh
 SUBDIR+=	py-bolos
 SUBDIR+=	py-booktype
-SUBDIR+=	py-botocore
 SUBDIR+=	py-brian
 SUBDIR+=	py-bruce
 SUBDIR+=	py-bsddb
@@ -3187,7 +3195,6 @@ SUBDIR+=	py-jedi
 SUBDIR+=	py-jelly
 SUBDIR+=	py-jewish
 SUBDIR+=	py-jitcode
-SUBDIR+=	py-jmespath
 SUBDIR+=	py-joblib
 SUBDIR+=	py-jokosher
 SUBDIR+=	py-jsonpath
@@ -3236,6 +3243,8 @@ SUBDIR+=	py-linop
 SUBDIR+=	py-lire
 SUBDIR+=	py-liveplots
 SUBDIR+=	py-llfuse
+SUBDIR+=	py-llvm-lit-git
+SUBDIR+=	py-llvm-lit-netbsd
 SUBDIR+=	py-llvmlite
 SUBDIR+=	py-lmfit
 SUBDIR+=	py-locustio
@@ -3549,7 +3558,6 @@ SUBDIR+=	py-rql
 SUBDIR+=	py-rsistent
 SUBDIR+=	py-rt
 SUBDIR+=	py-ruffus
-SUBDIR+=	py-s3transfer
 SUBDIR+=	py-safety
 SUBDIR+=	py-sage
 SUBDIR+=	py-sas7bdat
@@ -3944,6 +3952,7 @@ SUBDIR+=	ruby-delegate_it
 SUBDIR+=	ruby-diaspora
 SUBDIR+=	ruby-ditz
 SUBDIR+=	ruby-git
+SUBDIR+=	ruby-git_stats
 SUBDIR+=	ruby-iesd
 SUBDIR+=	ruby-kakasi
 SUBDIR+=	ruby-libv8
@@ -4500,6 +4509,7 @@ SUBDIR+=	wings
 SUBDIR+=	winwrangler
 SUBDIR+=	wireless-tools
 SUBDIR+=	wise2
+SUBDIR+=	wise3
 SUBDIR+=	wjelement
 SUBDIR+=	wkhtmltopdf
 SUBDIR+=	wl-git
diff --git a/gargoyle/DESCR b/gargoyle/DESCR
new file mode 100644
index 0000000000..a238c47cab
--- /dev/null
+++ b/gargoyle/DESCR
@@ -0,0 +1,10 @@
+Gargoyle is an IF player that supports all the major interactive fiction
+formats.
+
+Most interactive fiction is distributed as portable game files. These portable
+game files come in many formats. In the past, you used to have to download a
+separate player (interpreter) for each format of IF you wanted to play.
+
+Gargoyle is based on the standard interpreters for the formats it supports.
+Gargoyle is free software released under the terms of the GNU General Public
+License.
diff --git a/gargoyle/Makefile b/gargoyle/Makefile
new file mode 100644
index 0000000000..a0a88e2c1d
--- /dev/null
+++ b/gargoyle/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+DISTNAME=	gargoyle-2011.1
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=garglk/}
+GITHUB_PROJECT=	garglk
+GITHUB_TAG=	stable-${PKGVERSION_NOREV}
+
+MAINTAINER=	wes.frazier%members.fsf.org@localhost
+HOMEPAGE=	http://ccxvii.net/gargoyle/
+COMMENT=	Graphical player for Interactive Fiction games
+#LICENSE=	gnu-gpl-v2 AND mit AND original-bsd AND artistic-? AND some font licenses
+
+WRKSRC=		${WRKDIR}/garglk-stable-2011.1
+
+BUILD_DEPENDS+= jam-[0-9]*:../../devel/jam
+
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES+=	c c++
+
+INSTALLATION_DIRS=	bin libexec/gargoyle
+
+do-build:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam
+
+do-install:
+	cd ${WRKSRC} && \
+		${SETENV} ${MAKE_ENV} jam install && \
+		${INSTALL_PROGRAM} ${WRKSRC}/build/dist/* ${DESTDIR}${PREFIX}/libexec/gargoyle && \
+		ln -s -f ${DESTDIR}${PREFIX}/libexec/gargoyle/gargoyle ${DESTDIR}${PREFIX}/bin/gargoyle
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../audio/SDL_sound/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/glib/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../multimedia/smpeg/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gargoyle/PLIST b/gargoyle/PLIST
new file mode 100644
index 0000000000..94d4430441
--- /dev/null
+++ b/gargoyle/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD$
+bin/gargoyle
+libexec/gargoyle/advsys
+libexec/gargoyle/agility
+libexec/gargoyle/alan2
+libexec/gargoyle/alan3
+libexec/gargoyle/bocfel
+libexec/gargoyle/frotz
+libexec/gargoyle/gargoyle
+libexec/gargoyle/geas
+libexec/gargoyle/git
+libexec/gargoyle/glulxe
+libexec/gargoyle/hugo
+libexec/gargoyle/jacl
+libexec/gargoyle/level9
+libexec/gargoyle/magnetic
+libexec/gargoyle/nitfol
+libexec/gargoyle/scare
+libexec/gargoyle/scott
+libexec/gargoyle/tadsr
diff --git a/gargoyle/distinfo b/gargoyle/distinfo
new file mode 100644
index 0000000000..3d4dcbf53d
--- /dev/null
+++ b/gargoyle/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (gargoyle-2011.1.tar.gz) = ce4716eb83118564dfe482f7f810a9f40d381015
+RMD160 (gargoyle-2011.1.tar.gz) = 6cdb66eb25f2e4b7351504835747b019bbe671e3
+SHA512 (gargoyle-2011.1.tar.gz) = 3d2eb71e34b9faaace63963b55dddb61f81cfb1f3d42918036d942ffa0e59ca7f8a9747b1059230c32cfd8d467e09aae88befac1dd77723c2edfcb5acf8d4fa8
+Size (gargoyle-2011.1.tar.gz) = 10598371 bytes
+SHA1 (patch-Jamrules) = 47c66be77d89dea8dc7a1d54c78b1734fa83be7b
diff --git a/gargoyle/patches/patch-Jamrules b/gargoyle/patches/patch-Jamrules
new file mode 100644
index 0000000000..27ea1e0921
--- /dev/null
+++ b/gargoyle/patches/patch-Jamrules
@@ -0,0 +1,38 @@
+$NetBSD$
+
+Turned on a static compile option (as no other apps use GARGLK at this time and made changes to the build file to support compiling on NetBSD. Also reported upstream in github. Issue #274
+
+--- Jamrules.orig	2011-10-19 20:34:39.000000000 +0000
++++ Jamrules
+@@ -6,6 +6,7 @@ BUILD ?= RELEASE ;
+ USESDL ?= yes ;
+ USEBABEL ?= yes ;
+ BUNDLEFONTS ?= yes ;
++STATIC = yes ;
+ 
+ # jam -sGUILIB=EFL
+ GUILIB ?= gtk+ ;
+@@ -100,6 +101,23 @@ switch $(OS)
+         if $(STATIC) { LINKLIBS += $(GARGLKLIBS) ; }
+         else      { SHRLINKLIBS += $(GARGLKLIBS) ; }
+ 
++    case NETBSD :
++        Echo "OS is NETBSD ($(GUILIB))" ;
++        PKGCONFIG = "pkg-config freetype2 gtk+-x11-2.0 gdk-x11-2.0 gobject-2.0 glib-2.0 fontconfig libpng16" ;
++
++        GARGLKCCFLAGS = "`$(PKGCONFIG) --cflags`" -fPIC ;
++        GARGLKLIBS = "`$(PKGCONFIG) --libs`" -ljpeg -lz ;
++        LINKLIBS = -lz -lm "`$(PKGCONFIG) --libs`" ;
++
++        if $(USESDL) = yes
++        {
++            GARGLKCCFLAGS += -I${DESTDIR}/include/SDL ;
++            GARGLKLIBS += -lSDL_mixer -lSDL_sound -lSDL -lsmpeg -lvorbisfile ;
++        }
++
++        if $(STATIC) { LINKLIBS += $(GARGLKLIBS) ; }
++        else      { SHRLINKLIBS += $(GARGLKLIBS) ; }
++
+ 
+     case IPLINUX :
+         Echo "OS is IPLINUX (EFL)" ;


Home | Main Index | Thread Index | Old Index