Add missing libs
This commit is contained in:
parent
d821f1f11e
commit
f44d3ce72d
12
gnome-terminal-libs.patch
Normal file
12
gnome-terminal-libs.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up gnome-terminal-2.29.6/configure.ac.libs gnome-terminal-2.29.6/configure.ac
|
||||||
|
--- gnome-terminal-2.29.6/configure.ac.libs 2010-02-14 00:57:24.101114610 -0500
|
||||||
|
+++ gnome-terminal-2.29.6/configure.ac 2010-02-14 00:56:55.923114901 -0500
|
||||||
|
@@ -54,6 +54,8 @@ PKG_CHECK_MODULES([TERM],
|
||||||
|
gconf-2.0 >= $GCONF_REQUIRED
|
||||||
|
dbus-glib-1 >= $DBUS_GLIB_REQUIRED])
|
||||||
|
|
||||||
|
+TERM_LIBS="$TERM_LIBS -lm"
|
||||||
|
+
|
||||||
|
# Check the smclient backend
|
||||||
|
GDK_TARGET="$($PKG_CONFIG --variable target gdk-2.0)"
|
||||||
|
|
@ -9,7 +9,7 @@
|
|||||||
Summary: Terminal emulator for GNOME
|
Summary: Terminal emulator for GNOME
|
||||||
Name: gnome-terminal
|
Name: gnome-terminal
|
||||||
Version: 2.29.6
|
Version: 2.29.6
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and GFDL
|
License: GPLv2+ and GFDL
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
URL: http://www.gnome.org/
|
URL: http://www.gnome.org/
|
||||||
@ -18,6 +18,8 @@ Source0: http://download.gnome.org/sources/gnome-terminal/2.29/gnome-terminal-%{
|
|||||||
Source1: profile-new-dialog.ui
|
Source1: profile-new-dialog.ui
|
||||||
# Fix gnome.org Bug 338913 – Terminal resized when switching tabs
|
# Fix gnome.org Bug 338913 – Terminal resized when switching tabs
|
||||||
Patch2: gnome-terminal-2.15.0-338913-revert-336325.patch
|
Patch2: gnome-terminal-2.15.0-338913-revert-336325.patch
|
||||||
|
#
|
||||||
|
Patch3: gnome-terminal-libs.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -39,7 +41,8 @@ BuildRequires: scrollkeeper
|
|||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: gnome-doc-utils
|
BuildRequires: gnome-doc-utils
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
|
BuildRequires: gnome-common
|
||||||
|
BuildRequires: autoconf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
gnome-terminal is a terminal emulator for GNOME. It supports translucent
|
gnome-terminal is a terminal emulator for GNOME. It supports translucent
|
||||||
@ -49,6 +52,9 @@ clickable URLs.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch2 -p1 -b .338913-revert-336325
|
%patch2 -p1 -b .338913-revert-336325
|
||||||
|
%patch3 -p1 -b .libs
|
||||||
|
|
||||||
|
autoconf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -95,7 +101,6 @@ rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
scrollkeeper-update -q
|
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
gconftool-2 --makefile-install-rule \
|
gconftool-2 --makefile-install-rule \
|
||||||
%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null || :
|
%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null || :
|
||||||
@ -114,9 +119,6 @@ if [ "$1" -eq 0 ]; then
|
|||||||
%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null || :
|
%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas > /dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
|
||||||
scrollkeeper-update -q
|
|
||||||
|
|
||||||
%files -f %{gettext_package}.lang
|
%files -f %{gettext_package}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
@ -129,6 +131,9 @@ scrollkeeper-update -q
|
|||||||
%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
|
%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 14 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.6-3
|
||||||
|
- Add missing libs
|
||||||
|
|
||||||
* Thu Jan 14 2010 Behdad Esfahbod <behdad@redhat.com> - 2.29.6-2
|
* Thu Jan 14 2010 Behdad Esfahbod <behdad@redhat.com> - 2.29.6-2
|
||||||
- Second try
|
- Second try
|
||||||
- Drop stale patch
|
- Drop stale patch
|
||||||
|
Loading…
Reference in New Issue
Block a user