From a66aae0054cc705257d278ddddf69449e2a54108 Mon Sep 17 00:00:00 2001 From: Kris Scott Date: Wed, 4 May 2016 09:14:19 +0900 Subject: [PATCH] New package: lilyterm-0.9.9.4 --- srcpkgs/lilyterm/patches/lilyterm-musl.patch | 14 ++++++++++++ .../lilyterm/patches/lilyterm-pkgconfig.patch | 22 +++++++++++++++++++ srcpkgs/lilyterm/template | 15 +++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 srcpkgs/lilyterm/patches/lilyterm-musl.patch create mode 100644 srcpkgs/lilyterm/patches/lilyterm-pkgconfig.patch create mode 100644 srcpkgs/lilyterm/template diff --git a/srcpkgs/lilyterm/patches/lilyterm-musl.patch b/srcpkgs/lilyterm/patches/lilyterm-musl.patch new file mode 100644 index 00000000000..28778e85799 --- /dev/null +++ b/srcpkgs/lilyterm/patches/lilyterm-musl.patch @@ -0,0 +1,14 @@ +--- src/profile.c.orig 2016-05-07 00:22:09.702161948 +0900 ++++ src/profile.c 2016-05-07 00:24:21.566170424 +0900 +@@ -2660,11 +2660,7 @@ + // g_debug("save_user_settings(): profile = %s", profile); + + // g_debug("\n%s", contents->str); +-#ifdef BSD + gchar *real_file_name = realpath((const gchar *)profile, NULL); +-#else +- gchar *real_file_name = canonicalize_file_name((const gchar *)profile); +-#endif + if (real_file_name==NULL) + { + //if (access(profile, F_OK)) diff --git a/srcpkgs/lilyterm/patches/lilyterm-pkgconfig.patch b/srcpkgs/lilyterm/patches/lilyterm-pkgconfig.patch new file mode 100644 index 00000000000..6bff0be35a9 --- /dev/null +++ b/srcpkgs/lilyterm/patches/lilyterm-pkgconfig.patch @@ -0,0 +1,22 @@ +--- configure.orig 2016-05-08 15:18:37.105172865 +0900 ++++ configure 2016-05-08 15:18:25.159172097 +0900 +@@ -138,7 +138,7 @@ + exit 0 + fi + +-PKGCONFIG=`whereis "pkg-config" | tr -s ' ' '\n' | grep "bin/""pkg-config""$" | head -n 1` ++PKGCONFIG=`which pkg-config` + if [ -z "$PKGCONFIG" ]; then + ERR "\n ERROR: \`" + WARN "pkg-config" +--- src/Makefile.orig 2016-05-08 15:19:20.502175654 +0900 ++++ src/Makefile 2016-05-08 15:20:22.909179665 +0900 +@@ -22,7 +22,7 @@ + include ../.default + -include ../.config + +-PKGCONFIG := $(shell whereis "pkg-config" | tr -s ' ' '\n' | grep "bin/""pkg-config""$$" | head -n 1) ++PKGCONFIG := $(shell which pkg-config) + + VTE ?= "" + diff --git a/srcpkgs/lilyterm/template b/srcpkgs/lilyterm/template new file mode 100644 index 00000000000..bbbc0cc40f6 --- /dev/null +++ b/srcpkgs/lilyterm/template @@ -0,0 +1,15 @@ +# Template file for 'lilyterm' + +pkgname="lilyterm" +version="0.9.9.4" +revision=1 +build_style="gnu-configure" +short_desc="A fast and lightweight terminal emulator based off of libvte" +maintainer="Kris Scott " +license="GPL-3" +homepage="http://lilyterm.luna.com.tw" +distfiles="http://lilyterm.luna.com.tw/file/lilyterm-${version}.tar.gz" +hostmakedepends="pkg-config" +makedepends="vte-devel gtk+-devel" +conf_files="/etc/lilyterm.conf" +checksum="b72626431d4f5645e0e0f18449319fbb69bef4eab4345d5e37cde0ae712a5d74"