summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups/231.native_packages_etc.group4
-rw-r--r--patches/openjazz.local.patch27
-rw-r--r--vars/openjazz.vars8
3 files changed, 38 insertions, 1 deletions
diff --git a/groups/231.native_packages_etc.group b/groups/231.native_packages_etc.group
index f8c6cc32..6ad59923 100644
--- a/groups/231.native_packages_etc.group
+++ b/groups/231.native_packages_etc.group
@@ -7,7 +7,7 @@ alsa_lib apr apr_util bdwgc bmake bochs bzip2 cherokee clzip cmake cron dante db
dosbox doomgeneric emacs enscript expat ffmpeg file gdbm geoip gettext_tiny ghostpdl
giflib gnuchess graphicsmagick gzip hastyhex hexcurse hexer htop icoutils imagemagick infounzip infozip
john lcms2 less libmetalink lolcode minizip mintty mlogin musl_compat musl_fts ncdu
-ncurses ncursestw ncursesw npth openjpeg p7zip pcre pcre2 popt potrace procps_ng qemu
+ncurses ncursestw ncursesw npth openjazz openjpeg p7zip pcre pcre2 popt potrace procps_ng qemu
qpdf qrencode rpm rw shared_mime_info slang sqlite3 tcl tdnf texinfo
tiff tmux tzdb utf8proc util_linux vim vorbis_tools w32api w32lib xorriso xpdf xz yabasic
zstd")";
@@ -261,6 +261,8 @@ zstd")";
: ${PKG_NPTH_SHA256SUM:=1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1};
: ${PKG_NPTH_VERSION:=1.6};
: ${PKG_NPTH_URL:=https://www.gnupg.org/ftp/gcrypt/npth/npth-${PKG_NPTH_VERSION}.tar.bz2};
+: ${PKG_OPENJAZZ_URLS_GIT:=openjazz=https://github.com/AlisterT/openjazz.git@master};
+: ${PKG_OPENJAZZ_FORCE_AUTORECONF:=1};
: ${PKG_OPENJPEG_DEPENDS:="lcms2 libpng libz tiff"};
: ${PKG_OPENJPEG_SHA256SUM:=63f5a4713ecafc86de51bfad89cc07bb788e9bba24ebbf0c4ca637621aadb6a9};
: ${PKG_OPENJPEG_VERSION:=2.3.1};
diff --git a/patches/openjazz.local.patch b/patches/openjazz.local.patch
new file mode 100644
index 00000000..89c167c3
--- /dev/null
+++ b/patches/openjazz.local.patch
@@ -0,0 +1,27 @@
+From 4adf2fb178b1bb20a5c48158f08a9b19e30d463a Mon Sep 17 00:00:00 2001
+From: Fabian Greffrath <fabian@greffrath.com>
+Date: Thu, 28 Nov 2019 10:44:06 +0100
+Subject: [PATCH] look in ~/.openjazz for data files
+
+This patch is now applied in both Arch Linux and Debian, so it probably
+makes sense to have it upstream.
+
+Presumably no users will ever want to have their openjazz data stored
+directly in their $HOME directory.
+---
+ src/main.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main.cpp b/src/main.cpp
+index 59b3219..1e71867 100644
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -196,7 +196,7 @@ void startUp (int argc, char *argv[]) {
+ #ifdef _WIN32
+ firstPath = new Path(firstPath, createString(getenv("HOME"), "\\"));
+ #else
+- firstPath = new Path(firstPath, createString(getenv("HOME"), "/."));
++ firstPath = new Path(firstPath, createString(getenv("HOME"), "/.openjazz/"));
+ #endif
+ #endif
+
diff --git a/vars/openjazz.vars b/vars/openjazz.vars
new file mode 100644
index 00000000..a1a5c40c
--- /dev/null
+++ b/vars/openjazz.vars
@@ -0,0 +1,8 @@
+#
+# set +o errexit -o noglob -o nounset is assumed.
+#
+
+: ${PKG_OPENJAZZ_CONFIG_CACHE_EXTRA:="
+ac_cv_prog_POD2MAN="};
+
+# vim:filetype=sh textwidth=0