autopackage ecore...

SVN revision: 13679
This commit is contained in:
Carsten Haitzler 2005-03-10 15:19:43 +00:00
parent 4b9a5994a5
commit 5856cddd6f
37 changed files with 157 additions and 178 deletions

View File

@ -0,0 +1,33 @@
Plain English Copyright Notice
This file is not intended to be the actual License. The reason this file
exists is that we here are programmers and engineers. We aren't lawyers. We
provide licenses that we THINK say the right things, but we have our own
intentions at heart. This is a plain-english explanation of what those
intentions are, and if you follow them you will be within the "spirit" of
the license.
The intent is for us to enjoy writing software that is useful to us (the
AUTHORS) and allow others to use it freely and also benefit from the work we
put into making it. We don't want to restrict others using it. They should
not *HAVE* to make the source code of the applications they write that
simply link to these libraries (be that statically or dynamically), or for
them to be limited as to what license they choose to use (be it open, closed
or anything else). But we would like to know you are using these libraries.
We simply would like to know that it has been useful to someone. This is why
we ask for acknowledgement of some sort.
You can do what you want with the source of this software - it doesn't
matter. We still have it here for ourselves and it is open and free to use
and download and play with. It can't be taken away. We don't really mind what
you do with the source to your software. We would simply like to know that
you are using it - especially if it makes it to a commerical product. If you
simply e-mail all the AUTHORS (see COPYING and AUTHORS files) telling us, and
then make sure you include a paragraph or page in the manual for the product
with the copyright notice and state that you used this software, we will be
very happy. If you want to contribute back modifications and fixes you may have
made we will welcome those too with open arms (generally). If you want help
with changes needed, ports needed or features to be added, arrangements can
be easily made with some dialogue.
Carsten Haitzler <raster@rasterman.com>

View File

@ -0,0 +1,14 @@
COMPILING and INSTALLING:
If you got a official release tar archive do:
./configure
( otherwise if you got this from enlightenment cvs do: ./autogen.sh )
Then to compile:
make
To install (run this as root, or the user who handles installs):
make install
NOTE: You MUST make install Eet for it to run properly.

View File

@ -1,22 +1,35 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = data src debian examples
SUBDIRS = data src examples
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
config.h.in config.sub configure install-sh \
ltconfig ltmain.sh missing mkinstalldirs \
stamp-h.in
dist-hook:
./gendoc; \
tar cvf ecore_docs.tar doc/html doc/latex doc/man; \
rm -f ecore_docs.tar.gz; \
gzip -9 ecore_docs.tar;
stamp-h.in build-stamp configure-stamp depcomp \
eet_docs.tar.gz eet.c \
README \
eet.pc \
eet.spec \
eet.oe eet-native.oe \
eet.bb eetXnative.bb \
debian/changelog
bin_SCRIPTS = ecore-config
EXTRA_DIST = README AUTHORS COPYING ecore.m4 ecore.spec ecore.c.in gendoc \
Doxyfile make_cross_compile_arm.sh ecore.pc.in
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN ecore.c.in gendoc ecore.supp ecore.m4 \
Doxyfile \
ecore.pc.in \
ecore.pc.in \
ecore.spec.in ecore.spec \
ecore.oe.in ecore.oe ecore-native.oe.in ecore-native.oe \
ecore.bb.in ecore.bb ecoreXnative.bb.in ecoreXnative.bb \
debian/changelog.in debian/changelog \
debian/ecore0-test.install \
debian/libecore0.install \
debian/control \
debian/copyright \
debian/rules \
debian/libecore0-dev.install
m4datadir = $(datadir)/aclocal
m4data_DATA = ecore.m4

View File

@ -1,25 +0,0 @@
-------------------------------------------------------------------------------
E C O R E - 1 . 0 . 0 pre 7
-------------------------------------------------------------------------------
Fast:
How ot build and install Ecore from this tarball?
./configure
make
su
<as root do:>
make install
from CVS:
./autogen.sh
make
su
<as root do:>
make install
FOR OTHER DEVELOPERS:
If you want to help with E... here's some ideas for ecore:
* All of NETWM supported in ecore_x
* Support DBUS ontop of ecore_con (and modify to allow explicit paths)

36
legacy/ecore/README.in Normal file
View File

@ -0,0 +1,36 @@
Ecore @VERSION@
Ecore is the event/X abstraction layer that makes doing selections,
Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
optimized, and convenient. It's a separate library so anyone can make
use of the work put into Ecore to make this job easy for applications.
------------------------------------------------------------------------------
COMPILING AND INSTALLING:
./configure
make
(as root unless youa re installing in your users directories):
make install
------------------------------------------------------------------------------
BUILDING PACKAGES:
RPM: To build rpm packages:
sudo rpm -ta @PACKAGE@-@VERSION@.tar.gz
You will find rpm packages in your system /usr/src/redhat/* dirs (note you may
not need to use sudo or root if you have your own ~/.rpmrc. see rpm documents
for more details)
DEB: To build deb packages:
tar zvf @PACKAGE@-@VERSION@.tar.gz
cd @PACKAGE@-@VERSION@
dpkg-buildpackage -us -uc -rfakeroot
cd ..
rm -rf @PACKAGE@-@VERSION@
You will find all the debian source, binary etc. packages put in the directory
where you first untarred the source tarball.

View File

@ -3,6 +3,8 @@
rm -rf autom4te.cache
rm -f aclocal.m4
touch README
echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \
&& echo "Running autoheader..."; autoheader \
&& echo "Running autoconf..."; autoconf \

View File

@ -806,7 +806,6 @@ AC_SUBST(requirements)
AC_OUTPUT([
Makefile
ecore.pc
ecore-config
data/Makefile
data/fonts/Makefile
data/images/Makefile
@ -824,12 +823,18 @@ src/lib/ecore_ipc/Makefile
src/lib/ecore_txt/Makefile
src/lib/ecore_config/Makefile
src/lib/ecore_file/Makefile
debian/Makefile
examples/Makefile
], [
ecore-config
README
ecore.spec
ecore.oe
ecore-native.oe
ecore.bb
ecoreXnative.bb
debian/changelog
],[
chmod +x ecore-config
]
)
])
echo
echo "$PACKAGE $VERSION"

View File

@ -1 +1,2 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = fonts images pointers

View File

@ -1,3 +1,4 @@
MAINTAINERCLEANFILES = Makefile.in
FILES = Vera.ttf VeraBI.ttf VeraBd.ttf VeraIt.ttf VeraMoBI.ttf \
VeraMoBd.ttf VeraMoIt.ttf VeraMono.ttf VeraSe.ttf VeraSeBd.ttf \
fonts.alias fonts.dir

View File

@ -1,3 +1,5 @@
MAINTAINERCLEANFILES = Makefile.in
IMAGES = ball.png bar.png bar_shad_above.png bar_shad_below.png \
bg.png crosshair.png e_logo.png evas_logo.png shadow.png

View File

@ -1,3 +1,5 @@
MAINTAINERCLEANFILES = Makefile.in
POINTERS = mouse_pointer.png
pntrdir = $(pkgdatadir)/pointers

View File

@ -1,8 +0,0 @@
EXTRA_DIST = \
changelog \
control \
copyright \
ecore1-test.install \
libecore1-dev.install \
libecore1.install \
rules

View File

@ -1,4 +1,4 @@
ecore (1.0.0-pre8-0cvs20040918) unstable; urgency=low
ecore (@VERSION@-1) unstable; urgency=low
* a CVS release

View File

@ -2,10 +2,10 @@ Source: ecore
Section: libs
Priority: optional
Maintainer: Sytse Wielinga <s.b.wielinga@student.utwente.nl>
Build-Depends: debhelper (>> 4.0.0), libedb1-dev, libeet0-dev, libevas2-dev, libssl-dev, automake1.7 | automaken, libtool
Build-Depends: debhelper (>> 4.0.0), libedb1-dev, libeet0-dev, libevas0-dev, libssl-dev, automake1.7 | automaken, libtool
Standards-Version: 3.6.1.0
Package: libecore1
Package: libecore0
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
@ -16,20 +16,20 @@ Description: Core abstraction layer for enlightenment DR 0.17
can make use of the work put into Ecore to make this job easy for
applications.
Package: libecore1-dev
Package: libecore0-dev
Architecture: any
Section: devel
Architecture: any
Depends: libecore1 (= ${Source-Version}), libc6-dev | libc-dev, xlibs-dev
Depends: libecore0 (= ${Source-Version}), libc6-dev | libc-dev, xlibs-dev
Provides: libecore-dev
Conflicts: libecore-dev, libecore0-dev
Description: libecore1 headers, static libraries and documentation
Description: libecore0 headers, static libraries and documentation
Headers, static libraries and documentation for the Ecore library.
Package: ecore1-test
Package: ecore0-test
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Description: Test programs for libecore1
Description: Test programs for libecore0
Programs for testing Ecore and demonstrating what it can do.

View File

@ -28,7 +28,7 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
INSTALL=/usr/bin/install -p
CONFIGUREOPTS = --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
package=libecore1
package=libecore0
configure: configure-stamp
configure-stamp:

View File

@ -7,7 +7,7 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
SECTION = "e/libs"
PRIORITY = "optional"
DEPENDS = "eet evas diet-x11 xserver-kdrive"
PR = "1.0.0_pre7"
PR = "@VERSION@"
PR = "1"
do_prepsources () {

View File

@ -7,7 +7,7 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
SECTION = "e/libs"
PRIORITY = "optional"
DEPENDS = "eet evas"
PR = "1.0.0_pre7"
PR = "@VERSION@"
PR = "1"
do_prepsources () {

View File

@ -1,13 +1,13 @@
%define _missing_doc_files_terminate_build 0
Summary: Enlightened Core X interface library
Name: ecore
Version: 1.0.0
Release: 0.pre7.%(date '+%Y%m%d')
Name: @PACKAGE@
Version: @VERSION@
Release: 1
License: BSD
Group: User Interface/X
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{version}_pre7.tar.gz
URL: http://www.enlightenment.org/efm.html
Source: %{name}-%{version}.tar.gz
URL: http://www.enlightenment.org
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
@ -44,7 +44,6 @@ export CFLAGS LDFLAGS
%install
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
test -x `which doxygen` && sh gendoc || :
%post
/sbin/ldconfig || :
@ -60,6 +59,7 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%doc AUTHORS COPYING* README*
%{_libdir}/libecore*.so.*
%{_libdir}/libecore*.la
%{_libdir}/ecore_config_ipc_*.so
%{_bindir}/ecore_*
%{_datadir}/ecore
@ -68,11 +68,7 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%doc doc/html
%{_libdir}/libecore*.so
%{_libdir}/libecore*.a
%{_libdir}/libecore*.la
%{_libdir}/ecore_config_ipc_*.so
%{_libdir}/ecore_config_ipc_*.a
%{_libdir}/ecore_config_ipc_*.la
%{_libdir}/pkgconfig/ecore.pc
%{_bindir}/ecore-config
%{_datadir}/aclocal/ecore.m4
%{_includedir}/Ecore*.h
%{_libdir}/pkgconfig/*
%{_datadir}/aclocal/*
%{_includedir}/*.h

View File

@ -1,5 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
EXAMPLES = \
timer_example \
event_handler_example \

View File

@ -1,92 +0,0 @@
#!/bin/sh
PROJ="ecore"
SKIFF="/skiff/local"
HOSTARCH="i686-pc-linux-gnu"
TARGETCPU="arm"
TARGETARCH=$TARGETCPU"-pc-linux-gnu"
export EDB_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/edb-config"
export EET_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/eet-config"
export FREETYPE_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/freetype-config"
export EVAS_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/evas-config"
make clean distclean
export CC=/skiff/local/bin/arm-linux-gcc
export CFLAGS=-O9
./configure \
--host=$HOSTARCH \
--build=$TARGETARCH \
--target=$TARGETARCH \
--enable-ecore-fb \
--enable-ecore-evas \
--enable-ecore-job \
--enable-ecore-evas-fb \
--disable-ecore-evas-x \
--disable-ecore-evas-gl \
--enable-ecore-con \
--enable-ecore-ipc \
--enable-ecore-txt \
--disable-ecore-x \
--enable-ecore-config \
--disable-openssl
INST="/tmp/"$PROJ"-instroot"
sudo rm -rf $INST
make
for I in `find . -name "*.la" -print`; do
sed s:"/usr/local":$INST:g < $I > "/tmp/.sed.tmp"
sudo cp "/tmp/.sed.tmp" $I
rm -f "/tmp/.sed.tmp"
done
sudo \
make \
prefix=$INST \
exec_prefix=$INST \
bindir=$INST"/bin" \
sbindir=$INST"/sbin" \
sysconfdir=$INST"/etc" \
datadir=$INST"/share" \
includedir=$INST"/include" \
libdir=$INST"/lib" \
libexecdir=$INST"/libexec" \
localstatedir=$INST"/var/run" \
mandir=$INST"/share/man" \
infodir=$INST"/share/info" \
install
## FIXUPS
for I in $INST"/bin/"* $INST"/sbin/"* $INST"/libexec/"*; do
J=`echo $I | sed s:$TARGETARCH"-"::g`
sudo mv $I $J
done
CF=$INST"/bin/"$PROJ"-config"
sed s:"/usr/local":$SKIFF"/"$TARGETCPU"-linux":g < $CF > "/tmp/.sed.tmp"
sudo cp "/tmp/.sed.tmp" $CF
rm -f "/tmp/.sed.tmp"
for I in $INST"/lib/"*.la; do
sed s:"/usr/local":$SKIFF"/"$TARGETCPU"-linux":g < $I > "/tmp/.sed.tmp"
sudo cp "/tmp/.sed.tmp" $I
rm -f "/tmp/.sed.tmp"
done
## package it all up
PACK=$PROJ"-"$TARGETCPU"-inst.tar.gz"
DIR=$PWD
cd $INST
sudo tar zcvf $DIR"/"$PACK *
sudo chown $USER $DIR"/"$PACK
cd $DIR
sudo rm -rf $INST
## install it in our skiff tree
cd $SKIFF"/"$TARGETCPU"-linux"
sudo tar zxvf $DIR"/"$PACK

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = lib bin

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
if BUILD_ECORE_EVAS
ECORE_EVAS_LIB = $(top_builddir)/src/lib/ecore_evas/libecore_evas.la

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES =

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = \
-I$(top_builddir)/src/lib/ecore \

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = \
-I$(top_srcdir)/src/lib/ecore \

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
if BUILD_ECORE_X
ECORE_X_INC = -I$(top_srcdir)/src/lib/ecore_x

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = \
-I$(top_srcdir)/src/lib/ecore \

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = \
-I$(top_srcdir)/src/lib/ecore \

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = \
-I$(top_builddir)/src/lib/ecore \

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = \
-I$(top_srcdir)/src/lib/ecore \

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = \
-I$(top_srcdir)/src/lib/ecore \

View File

@ -1,4 +1,4 @@
## Process this file with automake to produce Makefile.in
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = \
@Xcursor_cflags@ \