Merge pull request #4130 from kurumushi/lilyterm

New package: lilyterm-0.9.9.4
This commit is contained in:
Toyam Cox 2016-05-08 14:35:23 -04:00
commit f89cfcef3d
3 changed files with 51 additions and 0 deletions

View File

@ -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))

View File

@ -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 ?= ""

15
srcpkgs/lilyterm/template Normal file
View File

@ -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 <kris@syntosis.net>"
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"