public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stephen Bartlett <stephen@bartlettsoftware.biz>
To: gentoo-user@lists.gentoo.org
Cc: daniel.pielmeier@googlemail.com
Subject: Re: [gentoo-user] OT: Application for video cutting ?
Date: Tue, 04 Apr 2006 16:38:52 -1000	[thread overview]
Message-ID: <1144204732.8363.30.camel@localhost> (raw)
In-Reply-To: <20060405.040654.41188894.Meino.Cramer@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 2672 bytes --]

On Wed, 2006-04-05 at 04:06 +0200, Meino Christian Cramer wrote:
> From: "Daniel Pielmeier" <daniel.pielmeier@googlemail.com>
> Subject: Re: [gentoo-user] OT: Application for video cutting ?
> Date: Mon, 3 Apr 2006 11:37:52 +0200
> 
> Hi Daniel,
> 
>  thanks for your reply and thank you all other replies to my question!
>  How can I manage to install qt-4 without cripple the rest of my
>  system (qt-3 based) ?
> 
>  Is there a way of parallel installation/usage ? And if so -- how can
>  I manage it "gentoo-like" ?

I had the same question a week ago, and Chris White pointed me toward
one way: use 'chroot'.  This approach costs disk space and some time to
set up, but you're guaranteed to not mess anything up in your system and
you have a complete new sandbox to play with (or as many as you want).

Basically, get enough disk space on a filesystem somewhere large enough
to hold your entire installation, and copy everything (from / except for
your mount points like /proc and /dev) to that place.  Use 'cp -rp ...'
to preserve ownership/perms.  Write a script that sets up the mount
points for that new place like this:

mount -t proc none /path/to/clone/proc
mount --bind /dev /path/to/clone/dev
mount --bind /sys /path/to/clone/sys
...and so on...

Once you have that clone set up, you use chroot to change root into that
clone:

chroot /path/to/clone /bin/bash
  (/ for this shell is now that clone's root dir)
env-update
source /etc/profile
export PS1="(chroot) $PS1"

There you have it -- that shell is now pretending that /
is /path/to/clone.  emerge away and you're only affecting the clone.
You can even su to your usual user account, and run X and everything.
Just be sure to do the chroot when you're logged in as root at the
outmost term (not within X).

- Stephen
-- 
Stephen Bartlett
President, Bartlett Software, Inc.
http://www.bartlettsoftware.biz/ 

>  Thank you very much for your help in advance ! :)
> 
>  Keep hacking!
>  mcc
> 
> 
> > Hi!
> > 
> > If you just want to remove the adds from your recordings, i recommend
> > ttcut at http://ttcut.tritime.org/ it is not in portage and depends on
> > qt-4. Ttcut is able to cut frame accurately, so you can cut on I-, P-
> > and B-Frames.
> > I have written an ebuild, you will find it at
> > http://bugs.gentoo.org/show_bug.cgi?id=122162.
> > But you can also use the most recent version from svn under
> > svn://svn.berlios.de/ttcut/trunk.
> > Ttcut is in alpha state, so you may encounter problems too, but i
> > think it is worth a try.
> > 
> > HTH Daniel
> > 
> > -- 
> > gentoo-user@gentoo.org mailing list
> > 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-04-05  2:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-02 16:29 [gentoo-user] OT: Application for video cutting ? Meino Christian Cramer
2006-04-02 23:02 ` [normal] " Marc Redmann
2006-04-02 23:10   ` Jeremy Olexa
2006-04-03  0:43   ` JimD
2006-04-03 17:08     ` Marc Redmann
2006-04-03 17:18       ` Jim
2006-04-03 18:01         ` Marc Redmann
2006-04-02 23:24 ` Nick Rout
2006-04-03  2:18   ` Meino Christian Cramer
2006-04-03  7:34     ` Nick Rout
2006-04-03  9:37       ` Daniel Pielmeier
2006-04-05  2:06         ` Meino Christian Cramer
2006-04-05  2:24           ` Bo Andresen
2006-04-06  1:41             ` Meino Christian Cramer
2006-04-06  6:32               ` Mait
2006-04-06 15:48                 ` Daniel Pielmeier
2006-04-06 17:54                   ` Meino Christian Cramer
2006-04-05  2:38           ` Stephen Bartlett [this message]
2006-04-05  9:16             ` Daniel Pielmeier
2006-04-06  1:46         ` Meino Christian Cramer
2006-04-07  3:01         ` Meino Christian Cramer
2006-04-02 23:28 ` Nick Rout
2006-04-03  2:22   ` Meino Christian Cramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1144204732.8363.30.camel@localhost \
    --to=stephen@bartlettsoftware.biz \
    --cc=daniel.pielmeier@googlemail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox