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

Add freedesktop platform/sdk package-sets

parent d912fa4a
......@@ -21,7 +21,7 @@ $(IMAGES)/gnomeos-contents-sdk-$(ARCH).tar.gz $(IMAGES)/gnomeos-contents-platfor
NULL=
PACKAGES = \
gnome-sdk-base \
freedesktop-platform-base freedesktop-sdk-base \
gtk-doc-stub \
glib2 \
gnome-common \
......@@ -39,6 +39,7 @@ PACKAGES = \
dbus cairo dbus-glib \
libpciaccess libdrm llvm mesa libepoxy wayland \
pulseaudio \
freedesktop-platform freedesktop-sdk \
graphite2 harfbuzz libdatrie libthai pango atk at-spi2-core at-spi2-atk gdk-pixbuf2 gtk3 \
libsecret \
itstool yelp-xsl yelp-tools \
......@@ -67,19 +68,19 @@ gnome-sdk.tar.gz gnome-sdk-rpmdb.tar.gz: $(NOARCH)/gnome-sdk-0.1-1.sdk.noarch.rp
tar --transform 's,^root/usr,files,S' -czf gnome-sdk.tar.gz root/usr --owner=root
tar --transform 's,^var,files,S' -czf gnome-sdk-rpmdb.tar.gz var/lib/rpm --owner=root
gnome-platform-base: $(NOARCH)/gnome-platform-base-0.1-1.sdk.noarch.rpm
freedesktop-platform-base: $(NOARCH)/freedesktop-platform-base-0.1-1.sdk.noarch.rpm
$(NOARCH)/gnome-platform-base-0.1-1.sdk.noarch.rpm: $(SPECS)/gnome-platform-base.spec setup.sh build.sh $(IMAGES)/gnomeos-contents-platform-$(ARCH).tar.gz $(IMAGES)/gnomeos-contents-sdk-$(ARCH).tar.gz
-echo building gnome-platform-base.spec
rm -rf packages/gnome-platform
mkdir -p packages/gnome-platform
tar -C packages/gnome-platform -xzf $(IMAGES)/gnomeos-contents-platform-$(ARCH).tar.gz
$(NOARCH)/freedesktop-platform-base-0.1-1.sdk.noarch.rpm: $(SPECS)/freedesktop-platform-base.spec setup.sh build.sh $(IMAGES)/gnomeos-contents-platform-$(ARCH).tar.gz $(IMAGES)/gnomeos-contents-sdk-$(ARCH).tar.gz
-echo building freedesktop-platform-base.spec
rm -rf packages/freedesktop-platform
mkdir -p packages/freedesktop-platform
tar -C packages/freedesktop-platform -xzf $(IMAGES)/gnomeos-contents-platform-$(ARCH).tar.gz
./setup.sh $(IMAGES)/gnomeos-contents-sdk-$(ARCH).tar.gz
./build.sh rpmbuild -ba $(SPECS)/gnome-platform-base.spec
./build.sh rpmbuild -ba $(SPECS)/freedesktop-platform-base.spec
gnome-sdk-base: $(NOARCH)/gnome-sdk-base-0.1-1.sdk.noarch.rpm
freedesktop-sdk-base: $(NOARCH)/freedesktop-sdk-base-0.1-1.sdk.noarch.rpm
gnome-platform-packages: $(NOARCH)/gnome-platform-0.1-1.sdk.noarch.rpm $(NOARCH)/gnome-platform-base-0.1-1.sdk.noarch.rpm setup.sh build.sh
gnome-platform-packages: $(NOARCH)/gnome-platform-0.1-1.sdk.noarch.rpm $(NOARCH)/freedesktop-platform-base-0.1-1.sdk.noarch.rpm setup.sh build.sh
./setup.sh $(IMAGES)/gnomeos-contents-sdk-$(ARCH).tar.gz
rm -f gnome-platform-packages
./build.sh ./list_packages.sh gnome-platform > gnome-platform-packages
......
......@@ -12,7 +12,7 @@ Source0: http://download.gnome.org/sources/adwaita-icon-theme/3.14/%{name
BuildArch: noarch
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: librsvg2
BuildRequires: gtk3-dev
BuildRequires: hicolor-icon-theme
......
......@@ -13,7 +13,7 @@ Group: Applications/Text
URL: http://aspell.net/
Source: ftp://ftp.gnu.org/gnu/aspell/aspell-%{version}.tar.gz
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
%description
GNU Aspell is a spell checker designed to eventually replace Ispell. It can
......
......@@ -11,7 +11,7 @@ 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/%{release_version}/%{name}-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: atk-dev
BuildRequires: at-spi2-core-dev
BuildRequires: dbus-dev
......
......@@ -10,7 +10,7 @@ License: LGPLv2+
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
Source0: http://download.gnome.org/sources/at-spi2-core/%{release_version}/%{name}-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: dbus-dev
BuildRequires: dbus-glib-dev
BuildRequires: glib2-dev
......
......@@ -10,7 +10,7 @@ Group: System Environment/Libraries
Source: http://download.gnome.org/sources/atk/%{release_version}/atk-%{version}.tar.xz
URL: http://developer.gnome.org/platform-overview/stable/atk
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: glib2-dev
BuildRequires: gobject-introspection-dev
......
......@@ -9,7 +9,7 @@ Source0: http://cairographics.org/releases/%{name}-%{version}.tar.xz
License: LGPLv2 or MPLv1.1
Group: System Environment/Libraries
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: libXrender-dev
BuildRequires: libXext-dev
BuildRequires: libX11-dev
......
......@@ -12,7 +12,7 @@ License: LGPLv2+
URL: http://www.clutter-project.org
Source0: http://download.gnome.org/sources/clutter-gtk/%{release_version}/clutter-gtk-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: gtk3-dev
BuildRequires: clutter-dev
BuildRequires: gobject-introspection-dev
......
......@@ -10,7 +10,7 @@ License: LGPLv2+
URL: http://www.clutter-project.org/
Source0: http://download.gnome.org/sources/clutter/%{release_version}/clutter-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: glib2-dev mesa-libGL-dev pango-dev
BuildRequires: cairo-gobject-dev gdk-pixbuf2-dev atk-dev
BuildRequires: cogl-dev
......
......@@ -10,7 +10,7 @@ License: LGPLv2+
URL: http://www.clutter-project.org/
Source0: http://download.gnome.org/sources/cogl/%{release_version}/cogl-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: cairo-dev
BuildRequires: gdk-pixbuf2-dev
BuildRequires: glib2-dev
......
......@@ -10,7 +10,7 @@ Source0: http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.g
License: AFL and GPLv2+
Group: System Environment/Libraries
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: dbus-dev
BuildRequires: glib2-dev
......
......@@ -15,7 +15,7 @@ Source0: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz
License: GPLv2+ or AFL
Group: System Environment/Libraries
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: libX11-dev
Requires: dbus-libs%{?_isa} = %{version}-%{release}
......
......@@ -10,7 +10,7 @@ Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}
License: GPLv2+
Group: Development/Tools
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: glib2-dev
%description
......
......@@ -6,7 +6,7 @@ Group: System Environment/Libraries
License: LGPLv2+
Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
URL: http://www.abisource.com/
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: glib2-dev
BuildRequires: hunspell-dev
BuildRequires: hunspell-en
......
......@@ -17,7 +17,7 @@ Patch0: %{name}-sleep-less.patch
Patch1: %{name}-fix-fccache-fail.patch
Patch2: %{name}-fix-broken-cache.patch
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
BuildRequires: freetype-dev
Requires(pre): freetype
......
Name: gnome-platform-base
Name: freedesktop-platform-base
Version: 0.1
Release: 1%{?dist}
Summary: Base platform
......@@ -8,7 +8,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
# Yocto builds without the normal find-provides, we supply those provides in the gnome-platform-base package
Provides: %(./find_prov.sh /self/gnome-platform/usr)
Provides: %(./find_prov.sh /self/freedesktop-platform/usr)
%if %{__isa_bits} == 64
%define provides_suffix (64bit)
......
Name: freedesktop-platform
Version: 0.1
Release: 1%{?dist}
Summary: Freedesktop platform
License: Various
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: freedesktop-platform-base
BuildRequires: dbus-libs
BuildRequires: dejavu-fonts
BuildRequires: desktop-file-utils
BuildRequires: glib2
BuildRequires: gstreamer1
BuildRequires: hicolor-icon-theme
BuildRequires: libICE-dev
BuildRequires: libXv
BuildRequires: libXxf86vm-dev
BuildRequires: libepoxy-dev
BuildRequires: libproxy
BuildRequires: mesa-libGL
BuildRequires: pulseaudio-libs-dev
BuildRequires: xkeyboard-config-dev
BuildRequires: gobject-introspection
Requires: freedesktop-platform-base
Requires: abattis-cantarell-fonts
Requires: cairo
Requires: cairo-gobject
Requires: dbus
Requires: dbus-libs
Requires: dejavu-fonts
Requires: desktop-file-utils
Requires: fontconfig
Requires: glib2
Requires: gobject-introspection
Requires: graphite2
Requires: gstreamer1
Requires: harfbuzz
Requires: harfbuzz-icu
Requires: hicolor-icon-theme
Requires: hunspell
Requires: hunspell-en
Requires: libICE
Requires: libSM
Requires: libX11
Requires: libXau
Requires: libXcomposite
Requires: libXcursor
Requires: libXdamage
Requires: libXext
Requires: libXfixes
Requires: libXft
Requires: libXi
Requires: libXinerama
Requires: libXrandr
Requires: libXrender
Requires: libXt
Requires: libXtst
Requires: libXv
Requires: libXxf86vm
Requires: libepoxy
Requires: libproxy
Requires: libwayland-client
Requires: libwayland-cursor
Requires: libwayland-server
Requires: libxcb
Requires: libxkbcommon
Requires: libxkbcommon-x11
Requires: libxshmfence
Requires: mesa-dri-drivers
Requires: mesa-libEGL
Requires: mesa-libGL
Requires: mesa-libwayland-egl
Requires: pulseaudio-libs
Requires: pulseaudio-libs-glib2
Requires: shared-mime-info
Requires: xkeyboard-config
%description
Meta package for Freedesktop platform dependencies
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
# Need empty machine-id to bind mount over
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/
touch $RPM_BUILD_ROOT%{_sysconfdir}/machine-id
%files
%doc
%{_sysconfdir}/machine-id
%changelog
* Fri Nov 7 2014 Alexander Larsson <alexl@redhat.com>
- Initial version
Name: gnome-sdk-base
Name: freedesktop-sdk-base
Version: 0.1
Release: 1%{?dist}
Summary: Base sdk
......@@ -7,7 +7,7 @@ License: Various
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
# Yocto builds without the normal find-provides, we supply those provides in the gnome-sdk-base package
# Yocto builds without the normal find-provides, we supply those provides in the freedesktop-sdk-base package
Provides: %(./find_prov.sh /usr)
......
Name: freedesktop-sdk
Version: 0.1
Release: 1%{?dist}
Summary: Freedesktop sdk
Source1: rpm-macros
License: Various
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: freedesktop-platform
BuildRequires: freedesktop-sdk-base
Requires: freedesktop-platform
Requires: freedesktop-sdk-base
Requires: cairo-dev
Requires: cairo-gobject-dev
Requires: dbus-dev
Requires: desktop-file-utils
Requires: fontconfig-dev
Requires: freetype-dev
Requires: glib2-dev
Requires: gobject-introspection-dev
Requires: graphite2-dev
Requires: gstreamer1-dev
Requires: gtk-doc-stub
Requires: harfbuzz-dev
Requires: hunspell-dev
Requires: libICE-dev
Requires: libX11-dev
Requires: libXau-dev
Requires: libXcomposite-dev
Requires: libXcursor-dev
Requires: libXdamage-dev
Requires: libXdmcp-dev
Requires: libXext-dev
Requires: libXfixes-dev
Requires: libXft-dev
Requires: libXi-dev
Requires: libXinerama-dev
Requires: libXrandr-dev
Requires: libXrender-dev
Requires: libXt-dev
Requires: libXtst-dev
Requires: libXv-dev
Requires: libXxf86vm-dev
Requires: libepoxy-dev
Requires: libproxy-dev
Requires: libwayland-client-dev
Requires: libwayland-cursor-dev
Requires: libxcb-dev
Requires: libxkbcommon-dev
Requires: libxkbcommon-x11-dev
Requires: mesa-libEGL-dev
Requires: mesa-libGL-dev
Requires: mesa-libwayland-egl-dev
Requires: pixman-dev
Requires: pulseaudio-libs-dev
Requires: xkeyboard-config-dev
Requires: xorg-x11-util-macros
%description
Meta package for Gnome SDK dependencies
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros
%files
%doc
%{_sysconfdir}/rpm/macros
%changelog
* Fri Nov 7 2014 Alexander Larsson <alexl@redhat.com>
- Initial version
......@@ -24,7 +24,7 @@ Patch91: freetype-2.5.3-freetype-config-libs.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
BuildRequires: gnome-sdk-base
BuildRequires: freedesktop-sdk-base
Provides: %{name}-bytecode
%if %{?_with_subpixel_rendering:1}%{!?_with_subpixel_rendering:0}
......
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