diff --git a/.compat-gnome-desktop314.metadata b/.compat-gnome-desktop314.metadata new file mode 100644 index 0000000..ecff003 --- /dev/null +++ b/.compat-gnome-desktop314.metadata @@ -0,0 +1 @@ +0daf5d1eb4dad57480919913937a15f8899e0653 SOURCES/gnome-desktop-3.14.2.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54f5bf7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gnome-desktop-3.14.2.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch b/SOURCES/0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch new file mode 100644 index 0000000..c6bfcf8 --- /dev/null +++ b/SOURCES/0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch @@ -0,0 +1,26 @@ +From 5d478332677df7e428f82d4de0fe9ae4368d9554 Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Tue, 14 May 2013 13:24:09 +0200 +Subject: [PATCH] default-input-sources: Switch ja_JP default to ibus-kkc + +This should be the default ibus engine for Japanese in F19. +--- + libgnome-desktop/default-input-sources.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libgnome-desktop/default-input-sources.h b/libgnome-desktop/default-input-sources.h +index c38e339..bb0b8b8 100644 +--- a/libgnome-desktop/default-input-sources.h ++++ b/libgnome-desktop/default-input-sources.h +@@ -30,7 +30,7 @@ static DefaultInputSource default_input_sources[] = + { "he_IL", "xkb", "il" }, + { "hi_IN", "ibus", "m17n:hi:inscript" }, + { "it_IT", "xkb", "it" }, +- { "ja_JP", "ibus", "anthy" }, ++ { "ja_JP", "ibus", "kkc" }, + { "kn_IN", "ibus", "m17n:kn:kgp" }, + { "ko_KR", "ibus", "hangul" }, + { "mai_IN", "ibus", "m17n:mai:inscript" }, +-- +1.8.1.4 + diff --git a/SPECS/compat-gnome-desktop314.spec b/SPECS/compat-gnome-desktop314.spec new file mode 100644 index 0000000..4145cab --- /dev/null +++ b/SPECS/compat-gnome-desktop314.spec @@ -0,0 +1,69 @@ +%define gtk3_version 3.3.6 +%define glib2_version 2.38.0 +%define gtk_doc_version 1.9 +%define gsettings_desktop_schemas_version 3.5.91 +%define po_package gnome-desktop-3.0 + +Summary: Compat package with gnome-desktop 3.14 libraries +Name: compat-gnome-desktop314 +Version: 3.14.2 +Release: 1%{?dist} +URL: http://www.gnome.org +Source0: http://download.gnome.org/sources/gnome-desktop/3.14/gnome-desktop-%{version}.tar.xz +Patch0: 0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch + +License: GPLv2+ and LGPLv2+ + +BuildRequires: gnome-common +BuildRequires: gtk3-devel >= %{gtk3_version} +BuildRequires: gobject-introspection-devel +BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version} +BuildRequires: glib2-devel >= %{glib2_version} +BuildRequires: libxkbfile-devel +BuildRequires: xkeyboard-config-devel +BuildRequires: gettext +BuildRequires: gtk-doc >= %{gtk_doc_version} +BuildRequires: automake autoconf libtool intltool +BuildRequires: itstool +BuildRequires: iso-codes-devel + +# Explicitly conflict with older gnome-desktop3 packages that ship libraries +# with the same soname as this compat package +Conflicts: gnome-desktop3 < 3.18 + +%description +Compatibility package with gnome-desktop 3.14 librarires. + +%prep +%setup -q -n gnome-desktop-%{version} +%patch0 -p1 + +%build +%configure --with-pnp-ids-path="/usr/share/hwdata/pnp.ids" +make %{?_smp_mflags} + +%install +%make_install + +# stuff we don't want +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/*.a + +rm -rf $RPM_BUILD_ROOT%{_includedir} +rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/*.so +rm -rf $RPM_BUILD_ROOT%{_libexecdir} +rm -rf $RPM_BUILD_ROOT%{_datadir} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%license COPYING COPYING.LIB +%{_libdir}/lib*.so.* + +%changelog +* Wed Oct 19 2016 Kalev Lember - 3.14.2-1 +- Initial gnome-desktop3 3.14 compat package