Browse Source

move scripts to seamonkey-stuff

Bill Gianopoulos 8 months ago
parent
commit
fc1a3f672a
3 changed files with 0 additions and 72 deletions
  1. 0 6
      scripts/atk-devel-i686.sh
  2. 0 56
      scripts/fix-patchnames.pl
  3. 0 10
      scripts/fixblanklines

+ 0 - 6
scripts/atk-devel-i686.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-sed -e 's@lib64@lib@g' </usr/lib64/pkgconfig/atk.pc > /usr/lib/pkgconfig/atk.pc
-cd /usr/lib
-rm -f libatk-1.0.so
-ln -s libatk-1.0.so.0 libatk-1.0.so
-

+ 0 - 56
scripts/fix-patchnames.pl

@@ -1,56 +0,0 @@
-#!/bin/perl
-$VERSION="57a1";
-$DEBUG=true;
-
-$LAST_BUG="";
-
-$PREFIX="# " if $DEBUG;
-
-while (<>) {
-    chomp;
-    $oldname=$_;
-    open(PATCH, "<$oldname")  || die "Couldn't open file $oldname";
-    while (<PATCH>) {
-        if (!/^[#] /) {
-            if (/^[Bb][Uu][Gg] ([0-9]*)/) {
-                $BUG=$1;
-                if ($BUG eq $LAST_BUG) {
-                    $PATCH+=1;
-                }
-                else {
-                    $LAST_BUG=$BUG;
-                    $PATCH=1;
-                }
-                if ($PATCH == 1) {
-                    print "${PREFIX}hg qrename $oldname $BUG-$VERSION.patch\n";
-                }
-                else {
-                    print "${PREFIX}hg qrename $oldname $BUG-$PATCH-$VERSION.patch\n";
-                }
-                close PATCH;
-            }
-            elsif (/^servo: Merge #([0-9]*)/) {
-                $BUG="servo-$1";
-                if ($BUG eq $LAST_BUG) {
-                    $PATCH+=1;
-                }
-                else {
-                    $LAST_BUG=$BUG;
-                    $PATCH=1;
-                }
-                if ($PATCH == 1) {
-                    print "${PREFIX}hg qrename $oldname $BUG-$VERSION.patch\n";
-                }
-                else {
-                    print "${PREFIX}hg qrename $oldname $BUG-$PATCH-$VERSION.patch\n";
-                }
-                close PATCH;
-            }
-            else {
-                print STDERR "cannot determine new filename for $oldname\n";
-                print "# cannot determine new filename for $oldname\n";
-                close PATCH;
-            }
-        }
-    }
-}

+ 0 - 10
scripts/fixblanklines

@@ -1,10 +0,0 @@
-#!/bin/bash
-for i in `cat series`
-do
-if [ "${i:1:1}" != "#" ]
-then
-  head -1 $i | grep '^$' || continue
-  echo $i
-  ex $i -c 1d -c w -c q > /dev/null 2>&1 && git add $i
-fi
-done