Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 19 years ago
parent
commit
4da12a3e62
5 changed files with 262 additions and 1 deletions
  1. +23
    -1
      misc/archive/getdirdeps.pl
  2. +63
    -0
      package/gnome14/gnome14-dirtree/gnome14-dirtree.conf
  3. +38
    -0
      package/gnome14/gnome14-dirtree/gnome14-dirtree.desc
  4. +100
    -0
      package/gnome2/gnome2-dirtree/gnome2-dirtree.conf
  5. +38
    -0
      package/gnome2/gnome2-dirtree/gnome2-dirtree.desc

+ 23
- 1
misc/archive/getdirdeps.pl

@ -4,11 +4,26 @@ use English;
use strict;
if (not defined $ARGV[0] or not chdir $ARGV[0]) {
print "\nUsage: $0 rootdir\n\n";
print "\nUsage: $0 rootdir [min-pkgcount] [dir-regex]\n\n";
print "E.g.: $0 build/ref0818-2.1.0-DEV-x86-reference-expert\n\n";
exit 1;
}
shift @ARGV;
my $minpkgcount = 0;
my $dirregex;
if (defined $ARGV[0] and $ARGV[0] =~ /^[0-9]+$/) {
$minpkgcount = $ARGV[0];
shift @ARGV;
}
if (defined $ARGV[0]) {
$dirregex = $ARGV[0];
shift @ARGV;
}
my %baddirs;
my %badcount;
my %badpkgs;
@ -19,12 +34,18 @@ while () {
my %dirdep;
my %filedep;
next if $p eq "rock-debug";
open P, $_ or die $!;
while (<P>) {
chomp;
my ($d, $f) = split /: /;
next if $d =~ /-dirtree$/;
if ($dirregex ne "") {
next if $f !~ /$dirregex/;
}
if (-d $f) {
$dirdep{$d}{$f} = 1;
} else {
@ -47,6 +68,7 @@ while () {
}
foreach my $d (keys %badcount) {
next if $badcount{$d} < $minpkgcount;
print "\nFound pure dir dependencies to $d ($badcount{$d}):\n";
foreach (keys %{$badpkgs{$d}}) {
print "\tpkg\t$badpkgs{$d}{$_}\t$_\n";

+ 63
- 0
package/gnome14/gnome14-dirtree/gnome14-dirtree.conf

@ -0,0 +1,63 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/gnome14/gtkmm12/gtkmm12.conf
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
NO_SANITY_CHECK=1
. $base/package/*/*/gnome-14.conf
gnome14_dirtree()
{
cd $root/
mkdir -p $root/$prefix
mkdir -p $root/$prefix/bin
mkdir -p $root/$prefix/include
mkdir -p $root/$prefix/lib
mkdir -p $root/$prefix/lib/glib
mkdir -p $root/$prefix/lib/glib/include
mkdir -p $root/$prefix/share
mkdir -p $root/$prefix/share/aclocal
mkdir -p $root/$prefix/share/doc
mkdir -p $root/$prefix/share/gnome/apps
mkdir -p $root/$prefix/share/gtk-doc
mkdir -p $root/$prefix/share/gtk-doc/html
mkdir -p $root/$prefix/share/info
mkdir -p $root/$prefix/share/locale
mkdir -p $root/$prefix/share/man
mkdir -p $root/$prefix/share/man/man{1,2,3,4,5,6,7,8}
mkdir -p $root/$prefix/share/pixmaps
for x in man info doc; do
if [ ! -e $root/$prefix/$x ]; then
ln -fs share/$x $root/$prefix/$x
fi
done
}
srctar=none
autoextract=0
createprefix=0
createdocs=0
custmain=gnome14_dirtree
# don't split this package
postflist="pkgsplits="

+ 38
- 0
package/gnome14/gnome14-dirtree/gnome14-dirtree.desc

@ -0,0 +1,38 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/gnome14/glib12/glib12.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Gnome14 dirtree package
[T] This package only contains the gnome14 directory structure.
[A] The ROCK Linux Project
[M] The ROCK Linux Project
[C] extra/development
[F] CORE
[L] GPL
[S] Stable
[V] 0000
[P] X -?---5---9 110.970

+ 100
- 0
package/gnome2/gnome2-dirtree/gnome2-dirtree.conf

@ -0,0 +1,100 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/gnome14/gtkmm12/gtkmm12.conf
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
NO_SANITY_CHECK=1
. $base/package/*/*/gnome-2.conf
gnome2_dirtree()
{
cd $root/
mkdir -p $root/$prefix
mkdir -p $root/$prefix/bin
mkdir -p $root/$prefix/include
mkdir -p $root/$prefix/lib
mkdir -p $root/$prefix/lib/bonobo
mkdir -p $root/$prefix/lib/bonobo/servers
mkdir -p $root/$prefix/lib/gkrellm
mkdir -p $root/$prefix/lib/gkrellm/plugins
mkdir -p $root/$prefix/lib/nautilus
mkdir -p $root/$prefix/lib/nautilus/extensions-1.0
mkdir -p $root/$prefix/lib/python2.4
mkdir -p $root/$prefix/lib/python2.4/site-packages
mkdir -p $root/$prefix/lib/python2.4/site-packages/gtk-2.0
mkdir -p $root/$prefix/libexec
mkdir -p $root/$prefix/share
mkdir -p $root/$prefix/share/aclocal
mkdir -p $root/$prefix/share/application-registry
mkdir -p $root/$prefix/share/applications
mkdir -p $root/$prefix/share/control-center-2.0
mkdir -p $root/$prefix/share/control-center-2.0/capplets
mkdir -p $root/$prefix/share/doc
mkdir -p $root/$prefix/share/gnome
mkdir -p $root/$prefix/share/gnome-2.0
mkdir -p $root/$prefix/share/gnome-2.0/ui
mkdir -p $root/$prefix/share/gnome/apps
mkdir -p $root/$prefix/share/gnome/apps/Internet
mkdir -p $root/$prefix/share/gnome/help
mkdir -p $root/$prefix/share/gnome/wm-properties
mkdir -p $root/$prefix/share/gtk-doc
mkdir -p $root/$prefix/share/icons
mkdir -p $root/$prefix/share/icons/gnome
mkdir -p $root/$prefix/share/icons/gnome/48x48
mkdir -p $root/$prefix/share/icons/gnome/48x48/mimetypes
mkdir -p $root/$prefix/share/icons/hicolor
mkdir -p $root/$prefix/share/icons/hicolor/16x16
mkdir -p $root/$prefix/share/icons/hicolor/16x16/apps
mkdir -p $root/$prefix/share/icons/hicolor/32x32
mkdir -p $root/$prefix/share/icons/hicolor/32x32/apps
mkdir -p $root/$prefix/share/icons/hicolor/48x48
mkdir -p $root/$prefix/share/icons/hicolor/48x48/apps
mkdir -p $root/$prefix/share/icons/hicolor/48x48/stock
mkdir -p $root/$prefix/share/icons/hicolor/48x48/stock/data
mkdir -p $root/$prefix/share/info
mkdir -p $root/$prefix/share/locale
mkdir -p $root/$prefix/share/man
mkdir -p $root/$prefix/share/man/man{1,2,3,4,5,6,7,8}
mkdir -p $root/$prefix/share/mime-info
mkdir -p $root/$prefix/share/pixmaps
mkdir -p $root/$prefix/share/sgml
mkdir -p $root/$prefix/share/sounds
mkdir -p $root/$prefix/share/themes
mkdir -p $root/$prefix/share/themes/Crux
mkdir -p $root/$prefix/share/themes/Simple
mkdir -p $root/$prefix/share/xml
for x in man info doc; do
if [ ! -e $root/$prefix/$x ]; then
ln -fs share/$x $root/$prefix/$x
fi
done
}
srctar=none
autoextract=0
createprefix=0
createdocs=0
custmain=gnome2_dirtree
# don't split this package
postflist="pkgsplits="

+ 38
- 0
package/gnome2/gnome2-dirtree/gnome2-dirtree.desc

@ -0,0 +1,38 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/gnome14/glib12/glib12.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Gnome2 dirtree package
[T] This package only contains the gnome2 directory structure.
[A] The ROCK Linux Project
[M] The ROCK Linux Project
[C] extra/development
[F] CORE
[L] GPL
[S] Stable
[V] 0000
[P] X -?---5---9 110.971

Loading…
Cancel
Save