Merged with pkgE
authorquaker <quaker@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 19 Apr 2009 16:22:00 +0000 (16:22 +0000)
committerquaker <quaker@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 19 Apr 2009 16:22:00 +0000 (16:22 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@40226 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 files changed:
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/embryo_cc.1 [new file with mode: 0644]
debian/libembryo-bin.install [new file with mode: 0644]
debian/libembryo-bin.manpages [new file with mode: 0644]
debian/libembryo-dev.install [new file with mode: 0644]
debian/libembryo-doc.dirs [new file with mode: 0644]
debian/libembryo-doc.doc-base [new file with mode: 0644]
debian/libembryo0.install [new file with mode: 0644]
debian/libembryo0.symbols [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..99d97bf
--- /dev/null
@@ -0,0 +1,41 @@
+embryo (0.9.9.050+svn20090204-1) experimental; urgency=low
+
+  * New SVN snapshot
+    - Use new 'make doc' target to generate the documentation:
+      + Add --enable-doc to configure options
+      + use 'make doc'
+      + build-depend on doxygen
+  * Use a proper short description for libembryo-dbg
+  * [lintian] Add ${misc:Depends} to Depends
+
+ -- Albin Tonnerre <albin.tonnerre@gmail.com>  Wed, 04 Feb 2009 20:11:52 +0100
+
+embryo (0.9.9.050-1) experimental; urgency=low
+
+  * New upstream release
+  * Add libembryo0.symbols
+  * debian/control:
+    - Drop B-D on doxygen, no longer needed
+    - Update Standards-Version to 3.8.0
+    - B-D on dpkg-dev >= 1.14.8 as we use symbols support
+  * debian/rules:
+    - don't rm doc/man/man3/todo.3 as it's now shipped in the upstream tarball
+    - CFLAGS += -visibility=hidden to avoid exporting private symbols
+
+ -- Albin Tonnerre <albin.tonnerre@gmail.com>  Mon, 10 Nov 2008 00:20:43 +0100
+
+embryo (0.9.9.043-1) experimental; urgency=low
+
+  * New upstream release
+  * Docs are now prebuilt in the tarball
+  * debian/libevas-doc.doc-base: change Section to Programming/C
+
+ -- Jan Lübbe <jluebbe@debian.org>  Sat, 24 May 2008 23:17:29 +0200
+
+embryo (0.9.1.042+dfsg-1) experimental; urgency=low
+
+  * Initial Release (Closes: #468269)
+  * Resolve license problem by merging fix made in the upstream VCS with
+    permission from Greg Garner
+
+ -- Jan Luebbe <jluebbe@debian.org>  Tue, 04 Mar 2008 13:47:56 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..1e8b314
--- /dev/null
@@ -0,0 +1 @@
+6
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..743d536
--- /dev/null
@@ -0,0 +1,89 @@
+Source: embryo
+Section: libs
+Priority: optional
+Maintainer:  Debian Pkg-e Team <pkg-e-devel@lists.alioth.debian.org>
+Uploaders: Albin Tonnerre <albin.tonnerre@gmail.com>,
+ Jan Lübbe <jluebbe@debian.org>, Xavier Oswald <x.oswald@free.fr>
+Build-Depends: dpkg-dev (>= 1.14.8), debhelper (>= 6), cdbs, doxygen
+Standards-Version: 3.8.0
+Vcs-Git: git://git.debian.org/pkg-e/libs/embryo.git
+Vcs-Browser: http://git.debian.org/?p=pkg-e/libs/embryo.git
+Homepage: http://www.enlightenment.org
+
+Package: libembryo-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libembryo0 (= ${binary:Version}), pkg-config
+Description: Development files for libembryo0
+ Embryo is primarily a shared library that gives you an API to load
+ and control interpreted programs compiled into an abstract machine
+ bytecode that it understands.  This abstract (or virtual) machine is
+ similar to a real machine with a CPU, but it is emulated in
+ software.
+ .
+ This packages contains headers and static libraries for Embryo.
+
+Package: libembryo0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Suggests: libembryo-bin
+Description: SMALL-based abstract machine (AMX) bytecode interpreter
+ Embryo is primarily a shared library that gives you an API to load
+ and control interpreted programs compiled into an abstract machine
+ bytecode that it understands.  This abstract (or virtual) machine is
+ similar to a real machine with a CPU, but it is emulated in
+ software.  The architecture is simple and is the same as the
+ abstract machine (AMX) in the SMALL language as it is based on
+ exactly the same code. Embryo has modified the code for the AMX
+ extensively and has made it smaller and more portable.  It is VERY
+ small.  The total size of the virtual machine code AND header files
+ is less than 2500 lines of code.  It includes the floating point
+ library support by default as well.  This makes it one of the
+ smallest interpreters around, and thus makes is very efficient to
+ use in code.
+ .
+ See also http://www.compuphase.com/small.htm for details on SMALL.
+
+Package: libembryo-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: libembryo-dev
+Description: libembryo0 development documentation
+ Embryo is primarily a shared library that gives you an API to load
+ and control interpreted programs compiled into an abstract machine
+ bytecode that it understands.  This abstract (or virtual) machine is
+ similar to a real machine with a CPU, but it is emulated in
+ software.
+ .
+ This packages provides development documentation for Embryo.
+
+Package: libembryo-dbg
+Architecture: any
+Section: libdevel
+Depends: ${misc:Depends}, libembryo0 (= ${binary:Version})
+Priority: extra
+Description: Debugging symbols for libembryo
+ Embryo is primarily a shared library that gives you an API to load
+ and control interpreted programs compiled into an abstract machine
+ bytecode that it understands.  This abstract (or virtual) machine is
+ similar to a real machine with a CPU, but it is emulated in
+ software
+ .
+ This package contains unstripped shared libraries. It is provided primarily
+ to provide a backtrace with names in a debugger, this makes it somewhat
+ easier to interpret core dumps. The libraries are installed in
+ /usr/lib/debug and are automatically used by gdb.
+
+Package: libembryo-bin
+Section: devel
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: SMALL compiler creating Embryo bytecode
+ Embryo is primarily a shared library that gives you an API to load
+ and control interpreted programs compiled into an abstract machine
+ bytecode that it understands.  This abstract (or virtual) machine is
+ similar to a real machine with a CPU, but it is emulated in
+ software
+ .
+ This package contains the embryo compiler: embryo_cc.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..cee0fb6
--- /dev/null
@@ -0,0 +1,78 @@
+This package was debianized by Victor Koeppel <v_koeppel@yahoo.fr> on
+Wed, 24 Mar 2004 15:44:55 +0100.
+
+It was downloaded from http://download.enlightenment.org/
+
+Upstream Author: Carsten Haitzler <raster@rasterman.com>
+
+Copyright:
+
+  Copyright (C) 2000 Carsten Haitzler and various contributors (see AUTHORS)
+
+Additional copyrights:
+  src/bin: embryo_cc_amx.h, embryo_cc_osdefs.h, embryo_cc_scvars.c,
+  embryo_cc_sc[1-7].c, embryo_cc_scvars.c: Copyright ITB CompuPhase, 1997-2003
+
+  src/bin/embryo_cc_sc{5,7}.scp: Copyright (c) ITB CompuPhase, 2000-2003
+  src/bin/embryo_cc_sclist.c: Copyright (c) ITB CompuPhase, 2001-2003
+  src/bin/embryo_cc_scexpand.c: Copyright 1996 Philip Gage
+  src/bin/embryo_cc_sc.h: Copyright R. Cain, 1980, J.E. Hendrix, 1982, 1983,
+                          T. Riemersma, 1997-2003
+
+  src/lib/embryo_amx.c: Copyright (c) ITB CompuPhase, 1997-2003
+                        Portions Copyright (c) Carsten Haitzler, 2004
+  src/lib/embryo_float.c: Copyright (c) Artran, Inc. 1999
+                          Portions Copyright (c) Carsten Haitzler, 2004
+
+  These files are all licensed under the zLib license:
+    This software is provided "as-is", without any express or implied warranty.
+    In no event will the authors be held liable for any damages arising from
+    the use of this software.
+  
+    Permission is granted to anyone to use this software for any purpose,
+    including commercial applications, and to alter it and redistribute it
+    freely, subject to the following restrictions:
+  
+    1.  The origin of this software must not be misrepresented; you must not
+        claim that you wrote the original software. If you use this software in
+        a product, an acknowledgment in the product documentation would be
+        appreciated but is not required.
+    2.  Altered source versions must be plainly marked as such, and must not be
+        misrepresented as being the original software.
+    3.  This notice may not be removed or altered from any source distribution.
+
+License:
+
+  Permission is hereby granted, free of charge, to any person obtaining a copy
+  of this software and associated documentation files (the "Software"), to
+  deal in the Software without restriction, including without limitation the
+  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+  sell copies of the Software, and to permit persons to whom the Software is
+  furnished to do so, subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be included in
+  all copies of the Software and its Copyright notices. In addition publicly
+  documented acknowledgment must be given that this software has been used if no
+  source code of this software is made available publicly. This includes
+  acknowledgments in either Copyright notices, Manuals, Publicity and Marketing
+  documents or any documentation provided with any product containing this
+  software. This License does not apply to any software that links to the
+  libraries provided by this software (statically or dynamically), but only to
+  the software provided.
+
+  Please see the COPYING.PLAIN for a plain-english explanation of this notice
+  and it's intent.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+
+  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+On Debian systems, the complete text of the BSD License can be found
+in `/usr/share/common-licenses/BSD'.
+
+The Debian packaging is:
+  (C) 2006 2007,Debian Pkg-e Team <pkg-e-devel@lists.alioth.debian.org>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/embryo_cc.1 b/debian/embryo_cc.1
new file mode 100644 (file)
index 0000000..171f314
--- /dev/null
@@ -0,0 +1,32 @@
+.TH EMBRYO_CC 1 "Jan 30, 2007" "0.9.1.037" "The embryo compiler"
+.SH NAME
+embryo_cc \- a small compiler
+.SH SYNOPSIS
+.B embryo_cc
+.B filename
+.RI [\| OPTIONS \|]
+.SH DESCRIPTION
+Embryo is an enlightenment adaption of the small PAWN language.
+.P
+embryo_cc is a compiler for embryo files.
+.SH EXAMPLES
+embryo_cc filename
+.SH OPTIONS
+.BI -i " \|name
+Path for include files
+.P
+.BI -o " \|name
+Set base name of output file
+.P
+.BI -S " \|num
+Stack/heap size in cells (default=4096, min=65)
+.SH FILES
+embryo_cc
+.SH BUGS
+There is a bug with gcc 3.2.x.
+.BR
+Prefer gcc 3.3.x.
+.P
+Please reports bugs to the Pkg-E Team <pkg-e-devel@lists.alioth.debian.org>
+.SH AUTHOR
+This man page was written by Ronald Claveau for the Debian GNU/Linux system (but may  be  used by others).
diff --git a/debian/libembryo-bin.install b/debian/libembryo-bin.install
new file mode 100644 (file)
index 0000000..a484b55
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/embryo_cc
+debian/tmp/usr/share/embryo/include/*.inc
diff --git a/debian/libembryo-bin.manpages b/debian/libembryo-bin.manpages
new file mode 100644 (file)
index 0000000..55f9248
--- /dev/null
@@ -0,0 +1 @@
+debian/embryo_cc.1
diff --git a/debian/libembryo-dev.install b/debian/libembryo-dev.install
new file mode 100644 (file)
index 0000000..5f9e41c
--- /dev/null
@@ -0,0 +1,4 @@
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/pkgconfig/*
+debian/tmp/usr/lib/lib*.a
+debian/tmp/usr/lib/lib*.so
diff --git a/debian/libembryo-doc.dirs b/debian/libembryo-doc.dirs
new file mode 100644 (file)
index 0000000..cdcf8b2
--- /dev/null
@@ -0,0 +1 @@
+usr/share/doc/libembryo-doc
diff --git a/debian/libembryo-doc.doc-base b/debian/libembryo-doc.doc-base
new file mode 100644 (file)
index 0000000..06e8dad
--- /dev/null
@@ -0,0 +1,10 @@
+Document: embryo
+Title: Embryo Guide
+Author: Carsten Haitzler
+Abstract: This document describes Embryo API
+ and provides sample C code.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/libembryo-doc/html/index.html
+Files: /usr/share/doc/libembryo-doc/html/*.html
diff --git a/debian/libembryo0.install b/debian/libembryo0.install
new file mode 100644 (file)
index 0000000..c45ebcf
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*
diff --git a/debian/libembryo0.symbols b/debian/libembryo0.symbols
new file mode 100644 (file)
index 0000000..eb4c0f5
--- /dev/null
@@ -0,0 +1,36 @@
+libembryo.so.0 libembryo0 #MINVER#
+ embryo_data_address_get@Base 0.9.1.042
+ embryo_data_heap_pop@Base 0.9.1.042
+ embryo_data_heap_push@Base 0.9.1.042
+ embryo_data_string_get@Base 0.9.1.042
+ embryo_data_string_length_get@Base 0.9.1.042
+ embryo_data_string_set@Base 0.9.1.042
+ embryo_error_string_get@Base 0.9.1.042
+ embryo_init@Base 0.9.1.042
+ embryo_parameter_cell_array_push@Base 0.9.1.042
+ embryo_parameter_cell_push@Base 0.9.1.042
+ embryo_parameter_string_push@Base 0.9.1.042
+ embryo_program_const_new@Base 0.9.1.042
+ embryo_program_data_get@Base 0.9.1.042
+ embryo_program_data_set@Base 0.9.1.042
+ embryo_program_error_get@Base 0.9.1.042
+ embryo_program_error_set@Base 0.9.1.042
+ embryo_program_free@Base 0.9.1.042
+ embryo_program_function_find@Base 0.9.1.042
+ embryo_program_load@Base 0.9.1.042
+ embryo_program_max_cycle_run_get@Base 0.9.1.042
+ embryo_program_max_cycle_run_set@Base 0.9.1.042
+ embryo_program_native_call_add@Base 0.9.1.042
+ embryo_program_new@Base 0.9.1.042
+ embryo_program_recursion_get@Base 0.9.1.042
+ embryo_program_return_value_get@Base 0.9.1.042
+ embryo_program_run@Base 0.9.1.042
+ embryo_program_variable_count_get@Base 0.9.1.042
+ embryo_program_variable_find@Base 0.9.1.042
+ embryo_program_variable_get@Base 0.9.1.042
+ embryo_program_vm_pop@Base 0.9.1.042
+ embryo_program_vm_push@Base 0.9.1.042
+ embryo_program_vm_reset@Base 0.9.1.042
+ embryo_shutdown@Base 0.9.1.042
+ embryo_swap_16@Base 0.9.1.042
+ embryo_swap_32@Base 0.9.1.042
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..c8e5941
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_DH_STRIP_ARGS := --dbg-package=libembryo-dbg
+DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath --enable-doc
+DEB_CONFIGURE_SCRIPT := ./autogen.sh
+DEB_MAKE_CLEAN_TARGET := distclean
+DEB_SOURCE_VERSION := $(shell grep AC_INIT $(DEB_SRCDIR)/configure.ac|sed -e 's/AC_INIT(\[embryo\],\ \[\(.*\)\],\ \[.*@.*\])/\1/g')
+CFLAGS += -fvisibility=hidden
+
+build/libembryo-doc::
+       cd $(DEB_SRCDIR)/doc && make doc
+
+install/libembryo-doc::
+       tar jxf embryo-*-doc.tar.bz2 -C $(DEB_SRCDIR)
+       cp -R $(DEB_SRCDIR)/embryo-$(DEB_SOURCE_VERSION)-doc/doc/html debian/libembryo-doc/usr/share/doc/libembryo-doc/
+       rm -rf $(DEB_SRCDIR)/embryo-$(DEB_SOURCE_VERSION)-doc/
+
+clean::
+       [ ! -f Makefile ] || make distclean