Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27906 Details for
Bug 44864
automating x11-base/xfree -> virtual/x11 dependencies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new ebuild_alter.sh
ebuild_alter.sh (text/plain), 1.23 KB, created by
John Richard Moser
on 2004-03-23 22:07:21 UTC
(
hide
)
Description:
new ebuild_alter.sh
Filename:
MIME Type:
Creator:
John Richard Moser
Created:
2004-03-23 22:07:21 UTC
Size:
1.23 KB
patch
obsolete
>#!/bin/bash > >fix_files () { > ffile=$1 > cat $ffile 2> /dev/null | grep "x11-base/xfree" > /dev/null 2>/dev/null && \ > cat $ffile | \ > sed -e "s/x11-base\\/xfree/virtual\\/x11/g" | \ > sed -e "s/=virtual\\/x11/virtual\\/x11/g" | \ > sed -e "s/>virtual\\/x11/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11-[0-9].[0-9].[0-9]/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11-r[0-99]/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11-\${PV}/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11-\[0-9\]/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11\*/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11-\[0-9\]/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11[1-9]/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11-\[0-9\]/virtual\\/x11/g" | \ > sed -e "s/virtual\\/x11-4.0/virtual\\/x11/g" \ > > /tmp/ebuild.tmp && cat /tmp/ebuild.tmp > $ffile && \ > ct=$(( $ct + 1 )) && \ > echo $i >> ~/ebuild_alter.list >} > >ct=0; >echo "Spitting out changed ebuilds to ~/ebuild_alter.list" >mv ~/ebuild_alter.list ~/ebuild_alter.list.old >echo > ~/ebuild_alter.list >for i in `find /usr/portage -name \*.ebuild`; do > fix_files $i >done >echo Fixed $ct ebuilds >ect=ct > >ct=0 >for i in `find /usr/portage/metadata`; do > fix_files $i >done >echo Fixed $ct metadata files > >tct=$(( $ect + $ct )) >echo Fixed $tct files total >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44864
:
27880
|
27905
| 27906