Commit 11828523 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add gtk3

parent fe179aa6
......@@ -28,6 +28,8 @@ PACKAGES = \
libXfixes libXext libXft libXi libXinerama libICE libSM libXpm libXrandr libXtst \
libXv libXvMC libXxf86vm libXdamage libXcursor libXcomposite libxkbfile libxshmfence \
dbus cairo dbus-glib \
graphite2 harfbuzz libdatrie libthai pango atk at-spi2-core at-spi2-atk gdk-pixbuf2 gtk3 \
itstool yelp-xsl yelp-tools \
$(NULL)
SPECS =$(PACKAGES:%=packages/SPECS/%.spec)
......
058f34ea60edf0a5f831c9f2bdd280fe95c1bcafb76e466e44aa0fb356d17bcb at-spi2-atk-2.14.1.tar.xz
eef9660b14fdf0fb1f30d1be7c72d591fa7cbb87b00ca3a444425712f46ce657 at-spi2-core-2.14.1.tar.xz
2875cc0b32bfb173c066c22a337f79793e0c99d2cc5e81c4dac0d5a523b8fbad atk-2.14.0.tar.xz
a5bb42da921f51c28161e0e54a5a8241d94a1c0499a14007150e9ce743da6ac5 dbus-glib-0.100.2.tar.gz
25a75e3c61dac11e6ff6416ad846951ccafac6486b1c6a1bfb0b213b99db52cd gdk-pixbuf-2.31.1.tar.xz
ba70f5ccde6646c6d8aa5a6398794b7bcf23fc45af22580a215d258f392dbbe2 gtk+-3.14.5.tar.xz
a8e6d76aec0691f7e14e7b75d677eb25949a8906740b824b2889879c32d8ba39 harfbuzz-0.9.34.tar.bz2
bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a itstool-2.0.2.tar.bz2
6a14d55c5687fc325216fffb5db0cf55d31b108cce65314a6d5c8042417ab7c2 libdatrie-0.2.8.tar.xz
ff0e41143a8be7e01a785778c2addae48945c8bad4a275d2135afec35959fae3 libthai-0.1.21.tar.xz
18dbb51b8ae12bae0ab7a958e7cf3317c9acfc8a1e1103ec2f147164a0fc2d07 pango-1.36.8.tar.xz
000222baf5d2db394df6025591054976b5cecd0b27872601de7538f36520f60f yelp-tools-3.14.1.tar.xz
8f5b6793cd600f8308e4ac93da68009169fa6d590eb71ed4a8e98bafe541a87e yelp-xsl-3.14.0.tar.xz
Name: at-spi2-atk
Version: 2.14.1
Release: 1%{?dist}
Summary: A GTK+ module that bridges ATK to D-Bus at-spi
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
#VCS: git:git://git.gnome.org/at-spi-atk
Source0: http://download.gnome.org/sources/at-spi2-atk/2.14/%{name}-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: atk-devel
BuildRequires: at-spi2-core-devel
BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel
BuildRequires: glib2-devel
Requires: atk%{?_isa} >= %{atk_version}
Requires: at-spi2-core%{?_isa} >= %{at_spi2_core_version}
%description
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
This version of at-spi is a major break from previous versions.
It has been completely rewritten to use D-Bus rather than
ORBIT / CORBA for its transport protocol.
This package includes a gtk-module that bridges ATK to the new
D-Bus based at-spi.
%package devel
Summary: A GTK+ module that bridges ATK to D-Bus at-spi
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package includes the header files for the %{name} library.
%prep
%setup -q
%build
%configure
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libatk-bridge.la
rm $RPM_BUILD_ROOT%{_libdir}/libatk-bridge-2.0.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING AUTHORS README
%dir %{_libdir}/gtk-2.0
%dir %{_libdir}/gtk-2.0/modules
%{_libdir}/gtk-2.0/modules/libatk-bridge.so
%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop
%{_libdir}/libatk-bridge-2.0.so.*
%files devel
%{_includedir}/at-spi2-atk/2.0/atk-bridge.h
%{_libdir}/libatk-bridge-2.0.so
%{_libdir}/pkgconfig/atk-bridge-2.0.pc
%changelog
* Wed Nov 12 2014 Alexander Larsson <alexl@redhat.com> - 2.14.1-1
- Initial version based on F21
Name: at-spi2-core
Version: 2.14.1
Release: 1%{?dist}
Summary: Protocol definitions and daemon for D-Bus at-spi
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
Source0: http://download.gnome.org/sources/at-spi2-core/2.14/%{name}-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libXtst-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
Requires: dbus
%description
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
This version of at-spi is a major break from previous versions.
It has been completely rewritten to use D-Bus rather than
ORBIT / CORBA for its transport protocol.
%package devel
Summary: Development files and headers for at-spi2-core
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The at-spi2-core-devel package includes the header files and
API documentation for libatspi.
%prep
%setup -q
%build
autoreconf -v --install --force
%configure --with-dbus-daemondir=/bin
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%{find_lang} %{name}
rm $RPM_BUILD_ROOT%{_libdir}/libatspi.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%doc COPYING AUTHORS README
%{_libexecdir}/at-spi2-registryd
%{_datadir}/dbus-1/services/org.a11y.atspi.Registry.service
%{_sysconfdir}/at-spi2
%{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop
%{_libdir}/libatspi.so.*
%{_libdir}/girepository-1.0/Atspi-2.0.typelib
%{_libexecdir}/at-spi-bus-launcher
%{_datadir}/dbus-1/services/org.a11y.Bus.service
%files devel
%{_libdir}/libatspi.so
%{_datadir}/gtk-doc/html/libatspi
%{_datadir}/gir-1.0/Atspi-2.0.gir
%{_includedir}/at-spi-2.0
%{_libdir}/pkgconfig/atspi-2.pc
%changelog
* Wed Nov 12 2014 Alexander Larsson <alexl@redhat.com> - 2.14.1-1
- Initial version based on F21
Summary: Interfaces for accessibility support
Name: atk
Version: 2.14.0
Release: 1%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
#VCS: git:git://git.gnome.org/atk
Source: http://download.gnome.org/sources/atk/2.14/atk-%{version}.tar.xz
URL: http://developer.gnome.org/platform-overview/stable/atk
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
%description
The ATK library provides a set of interfaces for adding accessibility
support to applications and graphical user interface toolkits. By
supporting the ATK interfaces, an application or toolkit can be used
with tools such as screen readers, magnifiers, and alternative input
devices.
%package devel
Summary: Development files for the ATK accessibility toolkit
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package includes libraries, header files, and developer documentation
needed for development of applications or toolkits which use ATK.
%prep
%setup -q
%build
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS)
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%find_lang atk10
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f atk10.lang
%doc README AUTHORS COPYING NEWS
%{_libdir}/libatk-1.0.so.*
%{_libdir}/girepository-1.0
%files devel
%{_libdir}/libatk-1.0.so
%{_includedir}/atk-1.0
%{_libdir}/pkgconfig/atk.pc
%{_datadir}/gtk-doc/html/atk
%{_datadir}/gir-1.0
%changelog
* Wed Nov 12 2014 Alexander Larsson <alexl@redhat.com> - 2.14.0-1
- Initial version based on F21
Name: gdk-pixbuf2
Version: 2.31.1
Release: 1%{?dist}
Summary: An image loading library
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.gt.org
#VCS: git:git://git.gnome.org/gdk-pixbuf
Source0: http://download.gnome.org/sources/gdk-pixbuf/2.31/gdk-pixbuf-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel
BuildRequires: libX11-devel
BuildRequires: gobject-introspection-devel
# gdk-pixbuf does a configure time check which uses the GIO mime
# layer; we need to actually have the mime type database.
BuildRequires: shared-mime-info
Requires: glib2%{?_isa} >= %{glib2_version}
# We also need MIME information at runtime
Requires: shared-mime-info
%description
gdk-pixbuf is an image loading library that can be extended by loadable
modules for new image formats. It is used by toolkits such as GTK+ or
clutter.
%package devel
Summary: Development files for gdk-pixbuf
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glib2-devel%{?_isa}
%description devel
This package contains the libraries and header files that are needed
for writing applications that are using gdk-pixbuf.
%package tests
Summary: Tests for the %{name} package
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The %{name}-tests package contains tests that can be used to verify
the functionality of the installed %{name} package.
%prep
%setup -q -n gdk-pixbuf-%{version}
%build
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS \
--with-x11 \
--without-libjasper \
--with-included-loaders=png \
--enable-installed-tests
)
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT \
RUN_QUERY_LOADER_TEST=false
# Remove unpackaged files
rm $RPM_BUILD_ROOT%{_libdir}/*.la
rm $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.la
touch $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
(cd $RPM_BUILD_ROOT%{_bindir}
mv gdk-pixbuf-query-loaders gdk-pixbuf-query-loaders-%{__isa_bits}
)
%find_lang gdk-pixbuf
%post
/sbin/ldconfig
gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || :
%postun
/sbin/ldconfig
if [ $1 -gt 0 ]; then
gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || :
fi
%files -f gdk-pixbuf.lang
%doc AUTHORS COPYING NEWS
%{_libdir}/libgdk_pixbuf-2.0.so.*
%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
%{_libdir}/girepository-1.0
%dir %{_libdir}/gdk-pixbuf-2.0
%dir %{_libdir}/gdk-pixbuf-2.0/2.10.0
%dir %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.so
%ghost %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
%{_bindir}/gdk-pixbuf-query-loaders-%{__isa_bits}
%{_mandir}/man1/gdk-pixbuf-query-loaders.1*
%files devel
%{_includedir}/gdk-pixbuf-2.0
%{_libdir}/libgdk_pixbuf-2.0.so
%{_libdir}/libgdk_pixbuf_xlib-2.0.so
%{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
%{_bindir}/gdk-pixbuf-csource
%{_bindir}/gdk-pixbuf-pixdata
%{_datadir}/gir-1.0
%{_datadir}/gtk-doc/html/*
%{_mandir}/man1/gdk-pixbuf-csource.1*
%files tests
%{_libexecdir}/installed-tests
%{_datadir}/installed-tests
%changelog
* Wed Nov 12 2014 Alexander Larsson <alexl@redhat.com> - 2.31.1-1
- Initial version based on F21
......@@ -10,6 +10,7 @@ URL: https://wiki.gnome.org/Projects/GnomeCommon
Source0: https://download.gnome.org/sources/%{name}/3.14/%{name}-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: yelp-tools
Requires: yelp-tools
%description
......
Name: graphite2
Version: 1.2.4
Release: 1%{?dist}
Summary: Font rendering capabilities for complex non-Roman writing systems
Group: Development/Tools
License: (LGPLv2+ or GPLv2+ or MPL) and (Netscape or GPLv2+ or LGPLv2+)
URL: http://sourceforge.net/projects/silgraphite/
Source0: http://downloads.sourceforge.net/silgraphite/graphite2-%{version}.tgz
BuildRequires: gnome-sdk-base
BuildRequires: freetype-devel
%description
Graphite2 is a project within SIL’s Non-Roman Script Initiative and Language
Software Development groups to provide rendering capabilities for complex
non-Roman writing systems. Graphite can be used to create “smart fonts” capable
of displaying writing systems with various complex behaviors. With respect to
the Text Encoding Model, Graphite handles the "Rendering" aspect of writing
system implementation.
%package devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Files for developing with graphite2
Group: Development/Libraries
%description devel
Includes and definitions for developing with graphite2.
%prep
%setup -q
%build
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
/usr/bin/cmake \
-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \
-DLIB_INSTALL_DIR:PATH=%{_libdir} \
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DGRAPHITE2_COMPARE_RENDERER=OFF .
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
%check
ctest
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc LICENSE COPYING ChangeLog
%{_bindir}/gr2fonttest
%{_libdir}/libgraphite2.so.3
%{_libdir}/libgraphite2.so.3.0.1
%files devel
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/graphite2-release.cmake
%{_datadir}/%{name}/graphite2.cmake
%{_includedir}/%{name}
%{_libdir}/libgraphite2.so
%{_libdir}/pkgconfig/graphite2.pc
%changelog
* Wed Nov 12 2014 Alexander Larsson <alexl@redhat.com> - 1.2.4-1
- Initial version based on F21
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment