On Mon, 10 Mar 2014 23:00:29 +0100 Pierre Couderc <[email protected]> said:

> Well, is this documented somewhere ?
> I know ./config, make, make install on 1 PC.
> But how I install the result on another PC ?
> I have learnt that current (E18) debian package does not work.

not documented by us... this is a general thing - people who have done lots of
packaging before or have been developers for a while know how this all works.
you can do a universal "poor mans package" of anything that uses autofoo just by
doing this (regardless of distribution or packaging system - if any):

./configure --prefix=usr
make
sudo make install DESTDIR=/tmp/pkg
cd /tmp/pkg
sudo tar zcvf /tmp/pkg.tar.gz .
cd
sudo rm -rf /tmp/pkg

now /tmp/pkg.tar.gz will contain all files that that software would normally
install by default in their exact ownership, permissions and state as if you
had installed before. to install anywhere just do:

cd /
sudo tar zxvf /tmp/pkg.tar.gz
sudo ldconfig

(ie untar from root as root). you can delete your package and any files and
dirs it creates with:

IFS=$'\n' for I in `tar ztf /tmp/pkg.tar.gz`; do rm -f "$I"; done
IFS=$'\n' for I in `tar ztf /tmp/pkg.tar.gz`; do rmdir "$I" >& /dev/null; done

mind you... if you do NOT use /usr as prefix, but instead use something
like /opt/e, life is much simpler. then you can delete e with:

rm -rf /opt/e

done. though if in /opt/e you need to account for ld.so.conf finding libs
in /opt/e/lib as well as probably making symlinks to the dbus service files (as
efl suggests you do) and probably adding symlinks to the enlightenment.desktop
file from /opt/e/share/xsessions into /usr/share/xsessions. cleaning up those
symlinks on removal also will be your job. also don't forget $PATH. and if you
wish to compile against an installation here you will want to set
$PKG_CONFIG_PATH too when compiling anything against efl... (that includes
elementary and e itself).

in effect deb pkgs (rpm and others) do the above work for you.. and then some
(handle dependencies, conflicts etc.). i personally have done the above "poor
mans package" often enough as it frankly is far less work (barrier of entry)
than making a proper pkg (be it rpm, deb or arch pkg), but of the packaging
systems out there, debian is by far the most painful in terms of initial
footwork to get a package up. rpm is next (easier - a single simple generic
spec file will do a good job) and probably arch is next), wityh poor-mans
packages (tarballs) being the easiest. :)

> Le 10/03/2014 22:49, Jeff Hoogland a écrit :
> > Yes. Generally you would do this by creating packages for E that can be
> > installed via your operating systems package manager.
> >
> >
> > On Mon, Mar 10, 2014 at 4:46 PM, Pierre Couderc <[email protected]> wrote:
> >
> >> Is it possible to compile build EFL1.9.0,/  Enlightenment 0.18.5 on
> >> / one computer, then install on some other computers ?
> >> Is there an howto for that ?
> >> Thank you
> >> PC
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> Learn Graph Databases - Download FREE O'Reilly Book
> >> "Graph Databases" is the definitive new guide to graph databases and their
> >> applications. Written by three acclaimed leaders in the field,
> >> this first edition is now available. Download your free book today!
> >> http://p.sf.net/sfu/13534_NeoTech
> >> _______________________________________________
> >> enlightenment-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >>
> >
> >
> 
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to