Paludis: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Tgurr (talk | contribs)
No edit summary
Line 43: Line 43:
  distdir = /usr/portage/distfiles
  distdir = /usr/portage/distfiles


== Configuration (Portage incompatible) ==
== Configuration (Portage incompatible Part II - General) ==


Do this if you don't need to use portage in parallel and rely on paludis exclusivly
Do this if you don't need to use portage in parallel and rely on paludis exclusivly


mv /usr/portage/distfiles /var/cache
mv /usr/portage/distfiles /var/cache
chown -R paludisbuild:paludisbuild /var/cache/distfiles
chown -R paludisbuild:paludisbuild /var/tmp/paludis


chmod g+w /var/tmp/paludis
chmod g+w /var/tmp/paludis
Line 60: Line 56:


mkdir -p /var/cache/paludis/metadata
mkdir -p /var/cache/paludis/metadata
mkdir -p /var/cache/paludis/kde4-experimental/provides
mkdir -p /var/cache/paludis/kde4-experimental/names


chown -R paludisbuild:paludisbuild /var/cache/paludis
chown -R paludisbuild:paludisbuild /var/cache/paludis
chown -R paludisbuild:paludisbuild /var/cache/distfiles
chown -R paludisbuild:paludisbuild /var/tmp/paludis


nano -w /etc/paludis/repositories/gentoo.conf
nano -w /etc/paludis/repositories/gentoo.conf
Line 70: Line 74:
  provides_cache = /var/cache/paludis/gentoo/provides
  provides_cache = /var/cache/paludis/gentoo/provides
  names_cache = /var/cache/paludis/gentoo/names
  names_cache = /var/cache/paludis/gentoo/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles
nano -w /etc/paludis/repositories/kde4-experimental.conf
master_repository = gentoo
location = /usr/local/overlays/genkde4svn-dev/
sync = git+ssh://git@www2.mailstation.de/genkde4svn-dev.git
format = ebuild
provides_cache = /var/cache/paludis/kde4-experimental/provides
names_cache = /var/cache/paludis/kde4-experimental/names
  write_cache = /var/cache/paludis/metadata
  write_cache = /var/cache/paludis/metadata
  distdir = /var/cache/distfiles
  distdir = /var/cache/distfiles
Line 76: Line 90:


paludis --regenerate-installable-cache
paludis --regenerate-installable-cache
== Configuration (Portage incompatible Part II - Developer related) ==
nano -w /etc/paludis/environment.conf
world = /var/lib/portage/world
reduced_username = psy
nano -w /etc/paludis/repositories/gentoo.conf
location = /usr/portage
sync = cvs+ssh://tgurr@cvs.gentoo.org:/var/cvsroot:gentoo-x86
profiles = ${location}/profiles/default/linux/amd64/2008.0/desktop
format = ebuild
provides_cache = /var/cache/paludis/gentoo/provides
names_cache = /var/cache/paludis/gentoo/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles
/etc/paludis/repositories/kde4-experimental.conf
master_repository = gentoo
location = ${ROOT}/home/psy/gentoo-dev/portage-kde4git/genkde4svn-dev/
sync = git+ssh://git@www2.mailstation.de/genkde4svn-dev.git
format = ebuild
provides_cache = /var/cache/paludis/kde4-experimental/provides
names_cache = /var/cache/paludis/kde4-experimental/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles
chown -R psy:psy /var/cache/paludis
chown -R psy:psy /var/cache/distfiles
chown -R psy:psy /var/tmp/paludis


== Paludis vs. Portage Commands ==
== Paludis vs. Portage Commands ==

Revision as of 22:58, 9 May 2008

Installation

Configuration (Portage compatible)

mkdir -p /etc/paludis

nano -w /etc/paludis/keywords.conf

*/*                      amd64 ~amd64

nano -w /etc/paludis/licenses.conf

*/*                      *

nano -w /etc/paludis/use.conf

*/* -gtk -arts -gnome -ldap -kerberos -acl -esd kde alsa xcb
*/* LINGUAS: de
*/* INPUT_DEVICES: evdev keyboard mouse
*/* VIDEO_CARDS: -* nvidia
sys-apps/paludis -python glsa inquisitio pink qa visibility

nano -w /etc/paludis/bashrc

CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -ftracer"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"

nano -w /etc/paludis/environment.conf

world = /var/lib/portage/world

mkdir -p /etc/paludis/repositories

nano -w /etc/paludis/repositories/installed.conf

location = /var/db/pkg/
format = vdb
names_cache = /var/empty
provides_cache = /var/empty

nano -w /etc/paludis/repositories/gentoo.conf

location = /usr/portage
sync = rsync://rsync.europe.gentoo.org/gentoo-portage/
profiles = ${location}/profiles/default/linux/amd64/2008.0/desktop
format = ebuild
names_cache = /var/empty
distdir = /usr/portage/distfiles

Configuration (Portage incompatible Part II - General)

Do this if you don't need to use portage in parallel and rely on paludis exclusivly

mv /usr/portage/distfiles /var/cache

chmod g+w /var/tmp/paludis

mkdir -p /var/cache/paludis/gentoo/provides

mkdir -p /var/cache/paludis/gentoo/names

mkdir -p /var/cache/paludis/metadata

mkdir -p /var/cache/paludis/kde4-experimental/provides

mkdir -p /var/cache/paludis/kde4-experimental/names

chown -R paludisbuild:paludisbuild /var/cache/paludis

chown -R paludisbuild:paludisbuild /var/cache/distfiles

chown -R paludisbuild:paludisbuild /var/tmp/paludis

nano -w /etc/paludis/repositories/gentoo.conf

location = /usr/portage
sync = cvs+ssh://tgurr@cvs.gentoo.org:/var/cvsroot:gentoo-x86
profiles = ${location}/profiles/default/linux/amd64/2008.0/desktop
format = ebuild
provides_cache = /var/cache/paludis/gentoo/provides
names_cache = /var/cache/paludis/gentoo/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles

nano -w /etc/paludis/repositories/kde4-experimental.conf

master_repository = gentoo
location = /usr/local/overlays/genkde4svn-dev/
sync = git+ssh://git@www2.mailstation.de/genkde4svn-dev.git
format = ebuild
provides_cache = /var/cache/paludis/kde4-experimental/provides
names_cache = /var/cache/paludis/kde4-experimental/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles

paludis --regenerate-installed-cache

paludis --regenerate-installable-cache

Configuration (Portage incompatible Part II - Developer related)

nano -w /etc/paludis/environment.conf

world = /var/lib/portage/world
reduced_username = psy

nano -w /etc/paludis/repositories/gentoo.conf

location = /usr/portage
sync = cvs+ssh://tgurr@cvs.gentoo.org:/var/cvsroot:gentoo-x86
profiles = ${location}/profiles/default/linux/amd64/2008.0/desktop
format = ebuild
provides_cache = /var/cache/paludis/gentoo/provides
names_cache = /var/cache/paludis/gentoo/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles

/etc/paludis/repositories/kde4-experimental.conf

master_repository = gentoo
location = ${ROOT}/home/psy/gentoo-dev/portage-kde4git/genkde4svn-dev/
sync = git+ssh://git@www2.mailstation.de/genkde4svn-dev.git
format = ebuild
provides_cache = /var/cache/paludis/kde4-experimental/provides
names_cache = /var/cache/paludis/kde4-experimental/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles

chown -R psy:psy /var/cache/paludis

chown -R psy:psy /var/cache/distfiles

chown -R psy:psy /var/tmp/paludis

Paludis vs. Portage Commands

Portage long Paludis long Portage short Paludis short
emerge --sync paludis --sync paludis -s
emerge --update --deep --pretend world paludis --install --pretend world emerge -uDp world paludis -ip world
emerge --update --deep --pretend --newuse world paludis --install --pretend --dl-reinstall if-use-changed world emerge -uDNp world paludis -ip --dl-reinstall if-use-changed world
paludis <package> --install emerge <package> paludis <package> -i
emerge <package> --oneshot paludis <package> --install --preserve-world emerge <package> -1 paludis <package> -i1