summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-24 15:28:51 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-24 15:28:51 +0900
commitfb566a5dc4dd16d5da9adb66b8fff2d2db8b64fe (patch)
tree2f41b52c523d2119812e6171395acb2a61b871e6
parent1f4c1f8cacc59ffc401fa3af9447d35988e29809 (diff)
downloadlibtbm-sc7727-fb566a5dc4dd16d5da9adb66b8fff2d2db8b64fe.tar.gz
libtbm-sc7727-fb566a5dc4dd16d5da9adb66b8fff2d2db8b64fe.tar.bz2
libtbm-sc7727-fb566a5dc4dd16d5da9adb66b8fff2d2db8b64fe.zip
-rw-r--r--AUTHORS2
-rw-r--r--COPYING18
-rw-r--r--ChangeLog0
-rw-r--r--Makefile.am2
-rw-r--r--NEWS0
-rw-r--r--README0
-rwxr-xr-xautogen.sh12
-rw-r--r--configure.ac28
l---------lib/libtbm_sprd7727.so1
l---------lib/libtbm_sprd7727.so.01
-rwxr-xr-xlib/libtbm_sprd7727.so.0.0.0bin0 -> 19040 bytes
-rw-r--r--libtbm-sprd7727.manifest5
-rw-r--r--libtbm-sprd7727.rule3
-rw-r--r--packaging/libtbm-sprd7727.spec44
14 files changed, 116 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..05bc6fa
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,2 @@
+Debi Prasanna Mohanty <debi.m@samsung.com>
+Harsh Aggarwal <a.harsh@samsung.com>
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..a8bb4fc
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,18 @@
+Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+
+Any software product designated as "Samsung Proprietary Software," including
+computer software and may include associated media, printed materials, and
+"online" or electronic documentation ("SOFTWARE PRODUCT") is a copyrighted and
+proprietary property of SAMSUNG ELECTRONICS CO., LTD (“Samsung”).
+
+The SOFTWARE PRODUCT must
+(i) be used for Samsung’s approved business purposes only,
+(ii) not be contaminated by open source codes,
+(iii) must not be used in any ways that will require it to be disclosed or
+ licensed freely to third parties or public,
+(vi) must not be subject to reverse engineering, decompling or diassembling.
+
+Samsung does not grant the recipient any intellectual property rights,
+indemnities or warranties and takes on no obligations regarding the SOFTWARE
+PRODUCT except as otherwise agreed to under a separate written agreement with
+the recipient.
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ChangeLog
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..93659bd
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,2 @@
+tbm_libdir = ${bufmgr_dir}
+tbm_lib_DATA = $(top_srcdir)/lib/*
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/README
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..904cd67
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..2459850
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,28 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.61)
+AC_INIT(libtbm-sprd7727, 1.0.0)
+
+# Checks for programs.
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+
+AC_CONFIG_SRCDIR([Makefile.am])
+AM_CONFIG_HEADER([config.h])
+AC_CONFIG_AUX_DIR(.)
+
+AM_INIT_AUTOMAKE([dist-bzip2])
+
+AM_MAINTAINER_MODE
+
+# Checks for programs.
+AC_DISABLE_STATIC
+AC_PROG_LIBTOOL
+AC_PROG_CC
+
+bufmgr_dir=${libdir}
+AC_SUBST(bufmgr_dir)
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/lib/libtbm_sprd7727.so b/lib/libtbm_sprd7727.so
new file mode 120000
index 0000000..790f010
--- /dev/null
+++ b/lib/libtbm_sprd7727.so
@@ -0,0 +1 @@
+libtbm_sprd7727.so.0.0.0 \ No newline at end of file
diff --git a/lib/libtbm_sprd7727.so.0 b/lib/libtbm_sprd7727.so.0
new file mode 120000
index 0000000..790f010
--- /dev/null
+++ b/lib/libtbm_sprd7727.so.0
@@ -0,0 +1 @@
+libtbm_sprd7727.so.0.0.0 \ No newline at end of file
diff --git a/lib/libtbm_sprd7727.so.0.0.0 b/lib/libtbm_sprd7727.so.0.0.0
new file mode 100755
index 0000000..f9f32c1
--- /dev/null
+++ b/lib/libtbm_sprd7727.so.0.0.0
Binary files differ
diff --git a/libtbm-sprd7727.manifest b/libtbm-sprd7727.manifest
new file mode 100644
index 0000000..97e8c31
--- /dev/null
+++ b/libtbm-sprd7727.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/libtbm-sprd7727.rule b/libtbm-sprd7727.rule
new file mode 100644
index 0000000..ca30b8c
--- /dev/null
+++ b/libtbm-sprd7727.rule
@@ -0,0 +1,3 @@
+libtbm-sprd7727 device::app_logging w
+libtbm-sprd7727 dlogutil rx
+libtbm-sprd7727 syslogd w
diff --git a/packaging/libtbm-sprd7727.spec b/packaging/libtbm-sprd7727.spec
new file mode 100644
index 0000000..4921be6
--- /dev/null
+++ b/packaging/libtbm-sprd7727.spec
@@ -0,0 +1,44 @@
+Name: libtbm-sprd7727
+Version: 1.0.1
+Release: 0
+License: Samsung
+Summary: Tizen Buffer Manager - sprd7727 backend
+Group: System/Libraries
+ExcludeArch: i586
+Source0: %{name}-%{version}.tar.gz
+
+%if ("%{tizen_target_name}" != "Z130H" && "%{tizen_target_name}" != "Z300H")
+Excludearch: %arm
+%endif
+
+%description
+descriptionion: ${summary}
+
+%prep
+%setup -q
+
+%build
+
+autoreconf -vfi
+./configure --prefix=%{_prefix} --libdir=%{_libdir}/bufmgr
+
+make %{?jobs:-j%jobs}
+
+%install
+mkdir -p %{buildroot}/usr/share/license
+mkdir -p %{buildroot}%{_libdir}
+cp -af COPYING %{buildroot}/usr/share/license/%{name}
+%make_install
+
+
+%post
+if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
+ rm -rf %{_libdir}/bufmgr/libtbm_default.so
+fi
+ln -s libtbm_sprd7727.so.0.0.0 %{_libdir}/bufmgr/libtbm_default.so
+
+%postun -p /sbin/ldconfig
+
+%files
+/usr/share/license/%{name}
+%{_libdir}/bufmgr/libtbm_*.so*