rename devel to experimental

This commit is contained in:
geos_one
2007-02-22 09:12:22 +00:00
parent 1505da1054
commit ba86b4419d
8 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1 @@
The tree for devel and more

View File

@@ -0,0 +1,16 @@
AUX egg-tray.patch 764 RMD160 d5f95fbb051bc854dfc9edcf7acca24c6a3d26cb SHA1 9c16e37f6d2822799dd4a5680b246593fb02d0b6 SHA256 11e34d8a28434e87c36b8c79940f99f7ef90f0510387601ffe131c030a91bbd6
MD5 7439220bd0cb1b1553759b098b2cb4ab files/egg-tray.patch 764
RMD160 d5f95fbb051bc854dfc9edcf7acca24c6a3d26cb files/egg-tray.patch 764
SHA256 11e34d8a28434e87c36b8c79940f99f7ef90f0510387601ffe131c030a91bbd6 files/egg-tray.patch 764
DIST oessysmon-0.1.5.tar.gz 111706 RMD160 2f2dc038069849b33c0388610e690df7f710cd6a SHA1 fbaa06e3113413b57810653384a6321880993b28 SHA256 39e36dd11fdc3985b87002fce09ab665508c48d08997c7db6749bf1c80afc734
EBUILD oessysmon-0.1.5.ebuild 300 RMD160 3a3dfbd211d7e17cea137488a989ff232d391636 SHA1 f11ec445572adf4932a80f2f40eda6b97572b845 SHA256 5c0f139afad15886cce5d7e8d0cd3bc1f709dbf49321eaac52d3d398f7355910
MD5 1abedb17e3972af46a426fb01157bf7d oessysmon-0.1.5.ebuild 300
RMD160 3a3dfbd211d7e17cea137488a989ff232d391636 oessysmon-0.1.5.ebuild 300
SHA256 5c0f139afad15886cce5d7e8d0cd3bc1f709dbf49321eaac52d3d398f7355910 oessysmon-0.1.5.ebuild 300
MISC oessysmon-0.1.5.ebuild~ 300 RMD160 b441e918a6af748173da6ee896a66f37ceda25c3 SHA1 87c869c87422f98d076a07c7a03c075ad34d4128 SHA256 b29102aa66e38cf0bf422be27887ca1fe11af9a3155005f1716e592631f7f4ef
MD5 c3f8abd2c55492fd7c2670831d245cb9 oessysmon-0.1.5.ebuild~ 300
RMD160 b441e918a6af748173da6ee896a66f37ceda25c3 oessysmon-0.1.5.ebuild~ 300
SHA256 b29102aa66e38cf0bf422be27887ca1fe11af9a3155005f1716e592631f7f4ef oessysmon-0.1.5.ebuild~ 300
MD5 70d0ec056b898684e12a83e353c01a5a files/digest-oessysmon-0.1.5 247
RMD160 8a66bcb6d9a8b0f856df4b8b57e214065b6ab5b1 files/digest-oessysmon-0.1.5 247
SHA256 978b6e3354dbc2cab38e95a467c082ef96c85ce58c3ab57dfa12ec8b2f879367 files/digest-oessysmon-0.1.5 247

View File

@@ -0,0 +1,3 @@
MD5 421f295cfc9674fbf89422618e4c8db2 oessysmon-0.1.5.tar.gz 111706
RMD160 2f2dc038069849b33c0388610e690df7f710cd6a oessysmon-0.1.5.tar.gz 111706
SHA256 39e36dd11fdc3985b87002fce09ab665508c48d08997c7db6749bf1c80afc734 oessysmon-0.1.5.tar.gz 111706

View File

@@ -0,0 +1,21 @@
diff -pruN oessysmon-0.1.5.orig/src/SystemTray.cs oessysmon-0.1.5/src/SystemTray.cs
--- oessysmon-0.1.5.orig/src/SystemTray.cs 2006-04-09 19:21:56.000000000 +0200
+++ oessysmon-0.1.5/src/SystemTray.cs 2007-02-19 01:38:37.000000000 +0100
@@ -39,7 +39,7 @@ namespace OESSysMon
private Gdk.Pixbuf _pbfIconUnknown;
private Gdk.Pixbuf _pbfIconNeverPolled;
- private TrayIcon _trayIcon;
+ private Egg.TrayIcon _trayIcon;
private Image _imgTrayIcon;
private Tooltips _tooltips;
private Menu _trayMenu;
@@ -75,7 +75,7 @@ namespace OESSysMon
_tooltips = new Tooltips();
_tooltips.SetTip (_eventBox, TRAY_TITLE, null);
- _trayIcon = new TrayIcon(TRAY_TITLE);
+ _trayIcon = new Egg.TrayIcon(TRAY_TITLE);
_trayIcon.Add (_eventBox);
}

View File

@@ -0,0 +1,13 @@
# Created by George Hron @ 2007.02.21
inherit eutils gnome2 mono
SRC_URI="ftp://forgeftp.novell.com/${PN}/OESSysMon%20${PV}%20tarball/${P}.tar.gz"
HOMEPAGE="http://forge.novell.com/modules/xfmod/project/?oessysmon"
KEYWORDS="~x86"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/egg-tray.patch
}

View File

@@ -0,0 +1,127 @@
#!/usr/bin/ruby -w
# Licensed under GPL-2 or later
# Author: Petteri Räty <betelgeuse@gentoo.org>
$: << File.dirname(__FILE__)
require "pkgutil.rb"
$verbose = false
$quiet = false
pkgs_to_check=[]
def print_help(exit_value)
puts 'Usage: checkdeps.rb opts|pkgs'
puts
puts 'Options:'
puts '-q, --quiet'
puts '-v, --verbose'
puts '-h, --help'
puts '-d, --debug'
puts
puts 'Everything else is passed to qfile as it is'
exit(exit_value)
end
ARGV.each do | arg |
if arg =~ /^(-v|--verbose)$/
$verbose = true
elsif arg =~ /^(-h|--help)$/
print_help(0)
elsif arg =~ /^(-q|--quiet)$/
$quiet = true
elsif arg =~ /^(-d|--debug)$/
$DEBUG = true
$verbose = true
else
pkgs_to_check << arg
end
end
pkgs_to_check.length == 0 && print_help(1)
class ElfObj
attr_reader :path, :pkgs
def initialize(path)
@path = path
@pkgs = []
end
def <<(pkg)
if ! @pkgs.index(pkg)
@pkgs << pkg
else
nil
end
end
def <=>(r)
return @path <=> r.path
end
def to_s()
puts 'ElfObj to_s:' if $DEBUG
s = "\t" + @path
s+="\t" + @path + "\n\t\t" + @pkgs.sort.join("\n\t\t") if $DEBUG
s
end
end
def handle_new_lib(obj,lib)
puts 'library: ' + lib if $DEBUG
$lib_hash[lib]=nil
pkg = get_pkg_of_lib(lib)
if ! pkg
return
end
if obj_table = $pkg_hash[pkg]
obj_table << obj
else
$pkg_hash[pkg]=[obj]
obj << pkg
end
end
$lib_hash ={}
$pkg_hash ={}
qlist = IO.popen("qlist #{pkgs_to_check.join(' ')}")
scan_elf = ScanElf.instance
while obj = qlist.gets
obj.rstrip!
if is_elf(obj)
puts 'obj: ' + obj if $DEBUG
elf_obj = ElfObj.new(obj)
scan_elf.each(obj) do | lib |
handle_new_lib(elf_obj,lib) unless $lib_hash.key?(lib)
end
else
puts "#{file} is not executable or a normal file" if $verbose
end
end
qlist.close
if $? != 0
$stderr.puts('qlist did not run succesfully.')
$stderr.puts('Please emerge portage-utils if you don\'t already have it.')
end
$pkg_hash.sort.each do | pair |
puts 'Key: ' if $DEBUG
puts pair[0]
puts 'Value: ' if $DEBUG
puts pair[1].uniq.sort unless $quiet
puts 'end Hash.' if $DEBUG
end
if $verbose
puts $lib_hash.keys
end

View File

@@ -0,0 +1,19 @@
#!/usr/bin/ruby -w
# Licensed under GPL-2 or later
# Author: Petteri Räty <betelgeuse@gentoo.org>
$: << File.dirname(__FILE__)
require "pkgutil.rb"
elf = ARGV[0]
if ! elf || ! is_elf(elf)
$stderr.puts 'This program takes one arguments that should be an elf file.'
exit 1
end
run_scanelf(elf) do | lib |
puts lib
puts "\t" + get_pkg_of_lib(lib)
end

View File

@@ -0,0 +1,60 @@
# Licensed under GPL-2 or later
# Author: Petteri Räty <betelgeuse@gentoo.org>
MAGIC="\x7FELF"
def is_elf(file)
File.executable?(file) && File.file?(file) && File.read(file, 4) == MAGIC
end
def get_pkg_of_lib(lib)
command='qfile -qC ' + lib
output = `#{command}`.split("\n")
output.uniq!
output.join(' || ')
end
def handle_extra_output(prog)
$stderr.puts 'This program expects only one line'
$stderr.puts 'of output from scanelf. Extra lines:'
while line = scanelf.gets
$stderr.puts line
end
exit 2
end
def run_scanelf(elf)
scanelf = IO.popen("scanelf -q -F '%n#F' #{elf}")
first_line = scanelf.gets
handle_extra_output(scanelf) if not scanelf.eof?
scanelf.close
libs = first_line.split(',')
for lib in libs
yield lib
end
end
class ScanElf
private_class_method :new
@@instance = nil
def ScanElf.instance
@@instance = new unless @@instance
@@instance
end
def initialize
@process = IO.popen('scanelf -q -F "%n#F" -f /dev/stdin','r+')
end
def each(elf)
@process.puts(elf)
result = @process.gets
libs = result.split(',')
for lib in libs
yield lib
end
end
end