Package new harfbuzz for SLP
authorMike McCormack <mj.mccormack@samsung.com>
Wed, 3 Aug 2011 08:42:30 +0000 (17:42 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Wed, 3 Aug 2011 09:10:26 +0000 (18:10 +0900)
Change-Id: I0360b3a2aa83b304cc4fd5d8fdc6b4a3caa479ac

.gitignore [changed mode: 0755->0644]
debian/control
debian/libharfbuzz-dev.install
debian/libharfbuzz.install
debian/rules

old mode 100755 (executable)
new mode 100644 (file)
index 7ab38d7..0583e19
@@ -1,26 +1,64 @@
-build_log
-*.log
-*.pyc
-usr
-opt
-*.o
-*.os
-*.exe
-packages
-binaries
-*.ipk
-*~
-build-stamp
-debian/files
-debian/*.substvars
-debian/libharfbuzz-dbg/
-debian/libharfbuzz-dev/
-debian/libharfbuzz/
-config.guess
-config.sub
-CMakeCache.txt
-CMakeFiles/
-cmake_install.cmake
-install_manifest.txt
-libharfbuzz.so*
-Makefile
+/*.bak
+/*.lo
+/*.o
+/*.orig
+/*.rej
+/*.tab.c
+/*~
+/.*.sw[nop]
+/.deps
+/.gitignore
+/.libs
+/ChangeLog
+/GPATH
+/GRTAGS
+/GSYMS
+/GTAGS
+/ID
+/INSTALL
+/Makefile
+/Makefile.in
+/TAGS
+/_libs
+/aclocal.m4
+/autom4te.cache
+/autoscan.log
+/compile
+/config.cache
+/config.guess
+/config.h
+/config.h.in
+/config.log
+/config.lt
+/config.status
+/config.status.lineno
+/config.sub
+/configure
+/configure.lineno
+/configure.scan
+/depcomp
+/harfbuzz.pc
+/install-sh
+/libtool
+/ltmain.sh
+/missing
+/mkinstalldirs
+/so_locations
+/src/Makefile.in
+/stamp-h1
+/tags
+/test/Makefile.in
+/config.guess.cdbs-orig
+/config.sub.cdbs-orig
+/debian/*.debhelper.log
+/debian/*.substvars
+/debian/*.debhelper
+/debian/stamp-autotools
+/debian/stamp-autotools-files
+/debian/stamp-makefile-build
+/debian/stamp-makefile-install
+/debian/tmp/
+/debian/files
+/debian/libharfbuzz/
+/debian/libharfbuzz-dbg/
+/debian/libharfbuzz-dev/
index 7bedbd2..f086d59 100755 (executable)
@@ -2,7 +2,7 @@ Source: harfbuzz
 Section: libs
 Priority: optional
 Maintainer: janani <janani.k@samsung.com>, Kesavardhana Gandla <kesav.gandla@samsung.com>, Jihoon Kim <jihoon48.kim@samsung.com>, Sehwan Park <sehwan@samsung.com>
-Build-Depends: debhelper (>= 5),libfreetype6-dev, pkg-config
+Build-Depends: debhelper (>= 5),libfreetype6-dev, pkg-config, ragel
 Standards-Version: 3.7.2
 
 Package: libharfbuzz
index d29738f..3e46237 100644 (file)
@@ -1,3 +1,3 @@
-usr/include/*
-usr/lib/lib*.so
-usr/lib/pkgconfig/
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/lib*.so
+debian/tmp/usr/lib/pkgconfig/*.pc
index b1b931c..0177db1 100755 (executable)
@@ -1 +1 @@
-usr/lib/libharfbuzz.so.*
+debian/tmp/usr/lib/libharfbuzz.so.*
index eee5bed..8882abb 100755 (executable)
@@ -1,113 +1,9 @@
 #!/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
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CFLAGS ?= -Wall -g
-CXXFLAGS ?=  -Wall -g
-LDFLAGS ?= 
-PREFIX ?= /usr
-DATADIR ?= /opt
+DEB_CONFIGURE_SCRIPT := ./autogen.sh
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-       CXXFLAGS += -O0
-else
-       CFLAGS += -O2
-       CXXFLAGS += -O2
-endif
+DEB_MAKE_CLEAN_TARGET := distclean
 
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       # Add here commands to configure the package.
-       CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" cmake . -DCMAKE_INSTALL_PREFIX=${PREFIX}
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-       dh_testdir
-
-       # Add here commands to compile the package.
-       $(MAKE)
-       #docbook-to-man debian/harfbuzz.sgml > harfbuzz.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
-
-       # Add here commands to clean up after the build process.
-       -$(MAKE) clean
-
-       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/harfbuzz.
-       $(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
-       dh_strip --dbg-package=libharfbuzz-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