+++ /dev/null
-coregl (0.1.5) unstable; urgency=low
-
- * Package Upload
- * change changelog format
- * Git: slp/pkgs/c/coregl
- * Tag: coregl_0.1.5
-
- -- Sanghee Park <sh15.park@samsung.com> Thu, 26 Apr 2012 17:31:40 +0900
-
-coregl (0.1.4) unstable; urgency=low
-
- * Package Upload
- * Fix bug related to build
- * Git: slp/pkgs/c/coregl
- * Tag: coregl_0.1.4
-
- -- Sanghee Park <sh15.park@samsung.com> Thu, 26 Apr 2012 16:07:10 +0900
-
-coregl (0.1.3) unstable; urgency=low
-
- * Package Upload
- * Fix bug related to postinst
- * Git: slp/pkgs/c/coregl
- * Tag: coregl_0.1.3
-
- -- Sanghee Park <sh15.park@samsung.com> Thu, 26 Apr 2012 13:18:29 +0900
-
-coregl (0.1.2) unstable; urgency=low
-
- * Package Upload
- * Fix postinst file
- * Git: slp/pkgs/c/coregl
- * Tag: coregl_0.1.2
-
- -- Sanghee Park <sh15.park@samsung.com> Wed, 18 Apr 2012 09:23:41 +0900
-
-coregl (0.1.1) unstable; urgency=low
-
- * Init Coregl
- * Git: slp/pkgs/c/coregl
- * Tag: coregl_0.1.1
-
- -- Wonsik Jung <sidein@samsung.com> Thu, 29 Mar 2012 10:42:28 +0900
-
-
+++ /dev/null
-Source: coregl
-Section: libs
-Priority: extra
-Maintainer: Wonsik Jung(sidein@samsung.com)
-Uploaders: Wonsik Jung(sidein@samsung.com)
-Build-Depends: dlog-dev, libx11-dev, opengl-es-dev
-Standards-Version: 3.8.1
-
-Package: libcoregl-dev
-Section: libs
-Architecture: armel
-Depends: libcoregl, opengl-es-drv
-Description: extra libgles, libegl library
-
-Package: libcoregl
-Section: libs
-Architecture: armel
-Depends: ${shlibs:Depends}, ${misc:Depends}, opengl-es-drv
-Description: extra libgles, libegl library
-
-Package: libcoregl-dbg
-Section: debug
-Architecture: armel
-Depends: ${misc:Depends}, libcoregl (= ${Source-Version})
-Description: extra libgles, libegl library.
-
-
+++ /dev/null
-usr/bin
-usr/sbin
+++ /dev/null
-CMakeLists.txt
+++ /dev/null
-@PREFIX@/lib/pkgconfig/COREGL.pc
+++ /dev/null
-@PREFIX@/lib/libCOREGL.so*
-@PREFIX@/lib/libEGL.so*
-@PREFIX@/lib/libGLESv2.so*
+++ /dev/null
-#!/bin/sh
-
-init_coregl()
-{
- cd /usr/lib/
-
-# file="./libEGL.so"
-# if [ -e $file ]; then
- rm -f ./libEGL.*
- rm -f ./libGLESv2.*
-
- ln -s libCOREGL.so libGLESv2.so.2.0
- ln -s libCOREGL.so libGLESv2.so.2
- ln -s libCOREGL.so libGLESv2.so
-
- ln -s libCOREGL.so libEGL.so.1.4
- ln -s libCOREGL.so libEGL.so.1
- ln -s libCOREGL.so libEGL.so
-# fi
-
- cd -
-}
-
-init_coregl
-
-# End of a file
+++ /dev/null
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-CFLAGS ?= -Wall -g
-CXXFLAGS ?= -Wall -g
-LDFLAGS ?=
-PREFIX ?= /usr
-DATADIR ?= /opt
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
- CXXFLAGS += -O0
-else
- CFLAGS += -O2
- CXXFLAGS += -O2
-endif
-
-LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--as-needed
-
-CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && \
- CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" cmake .. -DCMAKE_INSTALL_PREFIX=$(PREFIX)
-
- touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- cd $(CMAKE_BUILD_DIR) && $(MAKE)
-
- #docbook-to-man debian/wavplayer.sgml > wavplayer.1
-
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- cat $$f > $${f%.in}; \
- sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \
- sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \
- done
-
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- rm -rf $(CMAKE_BUILD_DIR)
-
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- rm -f $${f%.in}; \
- done
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/wavplayer.
- cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_install --sourcedir=debian/tmp
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip --dbg-package=libcoregl-dbg
- dh_compress
- dh_fixperms
-# dh_perl
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-Name: coregl
-Version: 0.1.9
-Release: 1
-ExclusiveArch: %arm
-Summary: coregl
-Group: Graphics
-License: TO_BE/FILLED_IN
-URL: http://www.tizen.org
-Source0: %{name}-%{version}.tar.gz
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-#Patch1: patchfile.patch
-%ifarch %{ix86}
-BuildRequires: simulator-opengl-devel
-%else
+Name: coregl
+Summary: CoreGL FastPath Optimization
+Version: 0.1.10
+Release: 1
+ExclusiveArch: %arm
+Group: Graphics
+License: TO_BE/FILLED_IN
+URL: http://www.tizen.org
+Source: %{name}-%{version}.tar.gz
+
BuildRequires: pkgconfig(gles20)
BuildRequires: pkgconfig(xfixes)
-BuildRequires: opengl-es-devel
-%endif
BuildRequires: pkgconfig(x11)
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
-BuildRequires: sec-product-features
%description
-This package contains the GLESv2.0/EGL
+CoreGL provides the following capabilities:
+- Support for driver-independent optimization (FastPath)
+- EGL/OpenGL ES debugging
+- Performance logging
+
+Supported versions:
+- EGL 1.4
+- OpenGL ES 2.0, 3.0
%prep
%setup -q -n %{name}-%{version}
%build
-
-%if 0%{?sec_product_feature_graphics_adreno}
-%global extra_option -DUSE_ADRENO=TRUE
-%endif
-
cmake . -DCMAKE_INSTALL_PREFIX=/usr %{?extra_option}
-
make %{?jobs:-j%jobs}
%install
-
mkdir -p %{buildroot}/usr/lib
-mkdir -p %{buildroot}/usr/include/EGL
-mkdir -p %{buildroot}/usr/include/GLES2
cp %{_builddir}/%{name}-%{version}/libCOREGL.so.4.0 %{buildroot}%{_libdir}/libCOREGL.so.4.0
cp %{_builddir}/%{name}-%{version}/libEGL.so.1.4 %{buildroot}%{_libdir}/libEGL.so.1.4
cp %{_builddir}/%{name}-%{version}/libGLESv2.so.2.0 %{buildroot}%{_libdir}/libGLESv2.so.2.0
+ln -sf libCOREGL.so.4.0 %{buildroot}%{_libdir}/libCOREGL.so.4
+ln -sf libCOREGL.so.4 %{buildroot}%{_libdir}/libCOREGL.so
+ln -sf libEGL.so.1.4 %{buildroot}%{_libdir}/libEGL.so.1
+ln -sf libEGL.so.1 %{buildroot}%{_libdir}/libEGL.so
+ln -sf driver/libGLESv1_CM.so.1.1 %{buildroot}%{_libdir}/libGLESv1_CM.so.1.1
+ln -sf libGLESv1_CM.so.1.1 %{buildroot}%{_libdir}/libGLESv1_CM.so.1
+ln -sf libGLESv1_CM.so.1 %{buildroot}%{_libdir}/libGLESv1_CM.so
+ln -sf libGLESv2.so.2.0 %{buildroot}%{_libdir}/libGLESv2.so.2
+ln -sf libGLESv2.so.2 %{buildroot}%{_libdir}/libGLESv2.so
%clean
rm -rf %{buildroot}
-%post
-
-init_coregl()
-{
- cd /usr/lib
-
- rm -f ./libEGL.so
- rm -f ./libEGL.so.1
- rm -f ./libGLESv2.so
- rm -f ./libGLESv2.so.2
- rm -f ./libCOREGL.so
- rm -f ./libCOREGL.so.4
- ln -s libCOREGL.so.4.0 libCOREGL.so.4
- ln -s libCOREGL.so.4 libCOREGL.so
- ln -s libEGL.so.1.4 libEGL.so.1
- ln -s libEGL.so.1 libEGL.so
- ln -s libGLESv2.so.2.0 libGLESv2.so.2
- ln -s libGLESv2.so.2 libGLESv2.so
-
- cd -
-}
+%post -p /sbin/ldconfig
-init_coregl
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/libCOREGL.so*
%{_libdir}/libEGL.so*
+%{_libdir}/libGLESv1_CM.so*
%{_libdir}/libGLESv2.so*