aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2016-11-23 01:37:12 +0800
committerTing-Wei Lan <lantw44@gmail.com>2016-11-23 01:47:35 +0800
commit389d5bdb6cab942e7e6f1c8241dd1ecdb8fac1ee (patch)
treedecaeb7d326fcec29bc19c210688458fd14ddaca
parentbe41426b1decc39751040a3e44db81ad32f37ae6 (diff)
downloadcopr-rpm-spec-389d5bdb6cab942e7e6f1c8241dd1ecdb8fac1ee.tar.gz
copr-rpm-spec-389d5bdb6cab942e7e6f1c8241dd1ecdb8fac1ee.tar.zst
copr-rpm-spec-389d5bdb6cab942e7e6f1c8241dd1ecdb8fac1ee.zip
lilyterm-gtk3: LilyTerm: Update to the last git snapshot
This is the last commit that still supports GTK+ 3. Upstream drops support for GTK+ 3 in later commits.
-rw-r--r--lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3-vte291-regex.patch11
-rw-r--r--lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3.spec12
2 files changed, 19 insertions, 4 deletions
diff --git a/lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3-vte291-regex.patch b/lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3-vte291-regex.patch
new file mode 100644
index 0000000..c78902f
--- /dev/null
+++ b/lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3-vte291-regex.patch
@@ -0,0 +1,11 @@
+--- src/data.h
++++ src/data.h
+@@ -594,7 +594,7 @@
+ #define vte_terminal_set_visible_bell(x,y) vte_terminal_set_size(x,1,1)
+ # endif
+ #endif
+-#if ! VTE_CHECK_VERSION(0,43,0)
++#if ! VTE_CHECK_VERSION(0,46,0)
+ // END: vte-0.43.0/src/vte/vtedeprecated.h: VTE_DEPRECATED void vte_terminal_search_set_gregex()
+ #define HAVE_VTE_TERMINAL_SEARCH_SET_GREGEX
+ #define VTE_TERMINAL_MATCH_CHECK
diff --git a/lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3.spec b/lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3.spec
index 69f12f0..4eeed6f 100644
--- a/lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3.spec
+++ b/lilyterm-gtk3/lilyterm-gtk3/lilyterm-gtk3.spec
@@ -1,9 +1,9 @@
-%global commit 2a91a00e139a9e731c983649c197f373c855c77f
+%global commit 8df92d63ed556e6c9e1b817ccbd014c920516c73
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: lilyterm-gtk3
Version: 0.9.9.5
-Release: 0.8.20160904git%{shortcommit}%{?dist}
+Release: 0.9.20161004git%{shortcommit}%{?dist}
Summary: Light and easy to use X Terminal Emulator (Copr: lantw44/lilyterm-gtk3)
Group: User Interface/X
@@ -11,6 +11,7 @@ License: GPLv3+
URL: http://lilyterm.luna.com.tw
Source0: https://github.com/Tetralet/LilyTerm/archive/%{commit}/LilyTerm-%{commit}.tar.gz
Patch0: lilyterm-gtk3.patch
+Patch1: lilyterm-gtk3-vte291-regex.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk3-devel
@@ -45,8 +46,7 @@ lot of features:
%prep
-%setup -qn LilyTerm-%{commit}
-%patch0 -p0
+%autosetup -n LilyTerm-%{commit} -p0
rename lilyterm lilyterm-gtk3 data/lilyterm.*
sed -i -e '/AUTHORS COPYING ChangeLog/,/COPYING/d' data/Makefile
@@ -87,6 +87,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Nov 23 2016 Ting-Wei Lan <lantw44@gmail.com> - 0.9.9.5-0.9.20161004git8df92d6
+- Update to the last git snapshot supporting GTK+ 3
+- Use autosetup macro
+
* Sat Sep 10 2016 Ting-Wei Lan <lantw44@gmail.com> - 0.9.9.5-0.8.20160904git2a91a00
- Update to the latest git snapshot