Commit 1fa95681 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add debuginfo runtimes

parent 48abc322
......@@ -22,6 +22,8 @@ gnome-platform.tar.xz
gnome-platform-rpmdb.tar.xz
gnome-sdk.tar.gz
gnome-sdk-rpmdb.tar.gz
gnome-debug-src.tar.gz
gnome-debug.tar.gz
gnome-platform.tar.gz
gnome-platform-rpmdb.tar.gz
gnome-platform-packages
......@@ -30,4 +32,6 @@ freedesktop-platform-rpmdb.tar.gz
freedesktop-platform.tar.gz
freedesktop-sdk-rpmdb.tar.gz
freedesktop-sdk.tar.gz
freedesktop-debug-src.tar.gz
freedesktop-debug.tar.gz
*~
......@@ -35,8 +35,10 @@ PACKAGES = \
freedesktop-sdk-base \
freedesktop-platform \
freedesktop-sdk \
freedesktop-debug \
gnome-platform \
gnome-sdk \
gnome-debug \
\
SDL2 \
SDL2_image \
......@@ -164,6 +166,14 @@ gnome-sdk.tar.gz gnome-sdk-rpmdb.tar.gz: $(NOARCH)/gnome-sdk-0.1-1.sdk.noarch.rp
tar --transform 's,^build/var,files,S' -czf gnome-sdk-rpmdb.tar.gz build/var/lib/rpm --owner=root
./clear_root.sh
gnome-debug.tar.gz gnome-debug-src.tar.gz: $(NOARCH)/gnome-debug-0.1-1.sdk.noarch.rpm
./setup.sh $(SDK_BASE_IMAGE)
./build.sh smart install -y $(NOARCH)/gnome-debug-0.1-1.sdk.noarch.rpm
rm -rf gnome-debug.tar.gz gnome-debug-src.tar.gz
tar --transform 's,^build/root/usr/lib/debug,files,S' -czf gnome-debug.tar.gz build/root/usr/lib/debug --owner=root
tar --transform 's,^build/root/usr/src/debug,files,S' -czf gnome-debug-src.tar.gz build/root/usr/src/debug --owner=root
./clear_root.sh
freedesktop-sdk.tar.gz freedesktop-sdk-rpmdb.tar.gz: $(NOARCH)/freedesktop-sdk-0.1-1.sdk.noarch.rpm
./setup.sh $(SDK_BASE_IMAGE)
./build.sh smart install -y $(NOARCH)/freedesktop-sdk-0.1-1.sdk.noarch.rpm
......@@ -172,6 +182,14 @@ freedesktop-sdk.tar.gz freedesktop-sdk-rpmdb.tar.gz: $(NOARCH)/freedesktop-sdk-0
tar --transform 's,^build/var,files,S' -czf freedesktop-sdk-rpmdb.tar.gz build/var/lib/rpm --owner=root
./clear_root.sh
freedesktop-debug.tar.gz freedesktop-debug-src.tar.gz: $(NOARCH)/freedesktop-debug-0.1-1.sdk.noarch.rpm
./setup.sh $(SDK_BASE_IMAGE)
./build.sh smart install -y $(NOARCH)/freedesktop-debug-0.1-1.sdk.noarch.rpm
rm -rf freedesktop-debug.tar.gz freedesktop-debug-src.tar.gz
tar --transform 's,^build/root/usr/lib/debug,files,S' -czf freedesktop-debug.tar.gz build/root/usr/lib/debug --owner=root
tar --transform 's,^build/root/usr/src/debug,files,S' -czf freedesktop-debug-src.tar.gz build/root/usr/src/debug --owner=root
./clear_root.sh
freedesktop-platform-base: $(NOARCH)/freedesktop-platform-base-0.1-1.sdk.noarch.rpm
$(NOARCH)/freedesktop-platform-base-0.1-1.sdk.noarch.rpm: $(SPECS)/freedesktop-platform-base.spec setup.sh build.sh $(PLATFORM_BASE_IMAGE) $(SDK_BASE_IMAGE)
......@@ -222,16 +240,24 @@ commit-freedesktop-platform: repo freedesktop-platform.tar.gz freedesktop-platf
commit-freedesktop-sdk: repo freedesktop-sdk.tar.gz freedesktop-sdk-rpmdb.tar.gz
./commit.sh repo freedesktop-sdk.tar.gz freedesktop-sdk-rpmdb.tar.gz metadata.freedesktop-sdk org.freedesktop.Sdk$(EXTRA_NAME) $(ARCH) $(FREEDESKTOP_VERSION)
commit-freedesktop-debug: repo freedesktop-debug.tar.gz freedesktop-debug-src.tar.gz
./simple-commit.sh repo freedesktop-debug.tar.gz org.freedesktop.Debug$(EXTRA_NAME) $(ARCH) $(FREEDESKTOP_VERSION)
./simple-commit.sh repo freedesktop-debug-src.tar.gz org.freedesktop.DebugSrc$(EXTRA_NAME) $(ARCH) $(FREEDESKTOP_VERSION)
commit-platform: repo gnome-platform.tar.gz gnome-platform-rpmdb.tar.gz
./commit.sh repo gnome-platform.tar.gz gnome-platform-rpmdb.tar.gz metadata.platform org.gnome.Platform$(EXTRA_NAME) $(ARCH) $(GNOME_VERSION)
commit-sdk: repo gnome-sdk.tar.gz gnome-sdk-rpmdb.tar.gz
./commit.sh repo gnome-sdk.tar.gz gnome-sdk-rpmdb.tar.gz metadata.sdk org.gnome.Sdk$(EXTRA_NAME) $(ARCH) $(GNOME_VERSION)
commit-gnome: commit-sdk commit-platform
commit-debug: repo gnome-debug.tar.gz gnome-debug-src.tar.gz
./simple-commit.sh repo gnome-debug.tar.gz org.gnome.Debug$(EXTRA_NAME) $(ARCH) $(GNOME_VERSION)
./simple-commit.sh repo gnome-debug-src.tar.gz org.gnome.DebugSrc$(EXTRA_NAME) $(ARCH) $(GNOME_VERSION)
commit-gnome: commit-sdk commit-platform commit-debug
echo done
commit-freedesktop: commit-freedesktop-sdk commit-freedesktop-platform
commit-freedesktop: commit-freedesktop-sdk commit-freedesktop-platform commit-freedesktop-debug
echo done
commit: commit-gnome commit-freedesktop
......
......@@ -13,5 +13,11 @@ directory=share/zoneinfo
directory=share/runtime/locale
subdirectories=true
[Extension org.freedesktop.Debug]
directory=lib/debug
[Extension org.freedesktop.DebugSrc]
directory=src/debug
[Environment]
GI_TYPELIB_PATH=/app/lib/girepository-1.0
......@@ -13,5 +13,11 @@ directory=share/zoneinfo
directory=share/runtime/locale
subdirectories=true
[Extension org.gnome.Debug]
directory=lib/debug
[Extension org.gnome.DebugSrc]
directory=src/debug
[Environment]
GI_TYPELIB_PATH=/app/lib/girepository-1.0
Name: freedesktop-debug
Version: 0.1
Release: 1%{?dist}
Summary: Freedesktop sdk debug info
License: Various
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: freedesktop-sdk
Requires: cairo-debuginfo
Requires: dbus-debuginfo
Requires: fontconfig-debuginfo
Requires: freetype-debuginfo
Requires: glib2-debuginfo
Requires: gobject-introspection-debuginfo
Requires: graphite2-debuginfo
Requires: gstreamer1-debuginfo
Requires: gstreamer1-plugins-base-debuginfo
Requires: harfbuzz-debuginfo
Requires: hunspell-debuginfo
Requires: llvm-debuginfo
Requires: libICE-debuginfo
Requires: libX11-debuginfo
Requires: libXScrnSaver-debuginfo
Requires: libXau-debuginfo
Requires: libXcomposite-debuginfo
Requires: libXcursor-debuginfo
Requires: libXdamage-debuginfo
Requires: libXdmcp-debuginfo
Requires: libXext-debuginfo
Requires: libXfixes-debuginfo
Requires: libXft-debuginfo
Requires: libXi-debuginfo
Requires: libXinerama-debuginfo
Requires: libXpm-debuginfo
Requires: libXrandr-debuginfo
Requires: libXrender-debuginfo
Requires: libXt-debuginfo
Requires: libXtst-debuginfo
Requires: libXv-debuginfo
Requires: libXxf86vm-debuginfo
Requires: libepoxy-debuginfo
Requires: libproxy-debuginfo
Requires: wayland-debuginfo
Requires: libxcb-debuginfo
Requires: libxkbcommon-debuginfo
Requires: mesa-debuginfo
Requires: orc-debuginfo
Requires: pixman-debuginfo
Requires: pulseaudio-debuginfo
Requires: SDL2-debuginfo
Requires: SDL2_image-debuginfo
Requires: SDL2_net-debuginfo
Requires: SDL2_ttf-debuginfo
Requires: SDL2_mixer-debuginfo
%description
Meta package for debug info
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
mkdir -p $RPM_BUILD_ROOT%{_libdir}/debug
%files
%doc
%{_libdir}/debug
%changelog
* Fri Nov 7 2014 Alexander Larsson <alexl@redhat.com>
- Initial version
Name: gnome-debug
Version: 0.1
Release: 1%{?dist}
Summary: Gnome sdk debug info
License: Various
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: freedesktop-sdk
Requires: freedesktop-debug
Requires: gtk3-debuginfo
Requires: gvfs-debuginfo
%description
Meta package for debug info
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
mkdir -p $RPM_BUILD_ROOT%{_libdir}/debug
%files
%doc
%{_libdir}/debug
%changelog
* Fri Nov 7 2014 Alexander Larsson <alexl@redhat.com>
- Initial version
#!/bin/sh
REPO=$1
TAR=$2
NAME=$3
ARCH=$4
VERSION=$5
REV=`git rev-parse HEAD`
rm -rf build/commit
mkdir -p build/commit
echo "extracting ${TAR}"
tar xf ${TAR} -C build/commit
COMMIT_ARGS="--repo=${REPO} --owner-uid=0 --owner-gid=0 --no-xattrs"
if [ "x${GPG_KEY}" != "x" ]; then
COMMIT_ARGS="${COMMIT_ARGS} --gpg-sign=${GPG_KEY}"
fi
if [ "x${GPG_HOME}" != "x" ]; then
COMMIT_ARGS="${COMMIT_ARGS} --gpg-homedir=${GPG_HOME}"
fi
echo "commiting runtime/${NAME}/${ARCH}/${VERSION}"
ostree commit ${COMMIT_ARGS} --branch=runtime/${NAME}/${ARCH}/${VERSION} -s "build of ${REV}" build/commit
echo "commiting summary"
ostree summary -u --repo=${REPO}
rm -rf build/commit
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