GENTOO Vdr plugin update: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
(initial)
 
 
Line 4: Line 4:
===Ebuild user===
===Ebuild user===
<pre>
<pre>
vdrplugin-rebuild [options] action [category/package]
vdr-reemerge-plugins v0.0.4
Version: 0.1


Where options are:
Simply start this program after you emerged vdr
-X - Emerge based on package names,
to reemerge all vdrplugins
not exact versions.
-C - Disable all coloured output.


Where action is one of:
Options:
add - Add package to vdrplugindb.
-h Show this help
del - Delete a package from vdrplugindb.
-p Show what emerge would do
toggle - Toggle auto-rebuild of Package.
-A Only emerge active used plugins
list - List packages to auto-rebuild.
-u Update to newest versions of each plugins
(default is to reemerge installed version)
rebuild - Rebuild packages.
populate - Populate the database with any
packages which currently install
plugins for vdr.
</pre>
</pre>
Thus a simple
Thus a simple
vdrplugin-rebuild rebuild
vdr-reemerge-plugins -A
is sufficient to [[compiler|recompile]] all plugins.
is sufficient to [[compiler|recompile]] all plugins.



Latest revision as of 16:26, 4 January 2006

Description

There are two possible ways to avoid searching for and re-installing VDR plugins after every update of VDR.

Ebuild user

vdrplugin-rebuild [options] action [category/package]
Version: 0.1

Where options are:
        -X       - Emerge based on package names,
                   not exact versions.
        -C       - Disable all coloured output.

Where action is one of:
        add      - Add package to vdrplugindb.
        del      - Delete a package from vdrplugindb.
        toggle   - Toggle auto-rebuild of Package.
        list     - List packages to auto-rebuild.
        rebuild  - Rebuild packages.
        populate - Populate the database with any
                   packages which currently install
                   plugins for vdr.

Thus a simple

vdrplugin-rebuild rebuild

is sufficient to recompile all plugins.

Non-ebuild user

Hier ein kurzer Schnipsel Code mit dem dies auch möglich ist. Here is a short code snippet make this also possible

ACCEPT_KEYWORDS="~x86" /usr/bin/emerge -p \
  $(/usr/bin/epm -qa|/bin/grep vdrplugin |/bin/awk -F'-' '{printf("%s-%s ",$1,$2)}')

With the -p, only a list of affected plugins is shown. Remove it for the actual installation.