From b7cd7f4022a8bfb4ca6c745c9f8590435e6f12b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Fri, 10 Jun 2005 09:41:11 +0000 Subject: [PATCH] =?UTF-8?q?proof-of-concept=20gitti,=20=C3=A7al=C4=B1?= =?UTF-8?q?=C5=9Fan=20hali=20birazdan...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/build/kdefunctions.py | 26 -------------------------- src/build/main.py | 8 -------- 2 files changed, 34 deletions(-) delete mode 100644 src/build/kdefunctions.py delete mode 100644 src/build/main.py diff --git a/src/build/kdefunctions.py b/src/build/kdefunctions.py deleted file mode 100644 index a6755ded..00000000 --- a/src/build/kdefunctions.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -import sys, glob, fileinput, string, sys, os, re - -def kde_src_unpack( path ): - -# fix the 'languageChange undeclared' bug group: touch all .ui files, so that the -# makefile regenerate any .cpp and .h files depending on them. - - for roots, dirs, files in os.walk( path ): - filtered_files = glob.glob( roots + '/*.ui' ) - if len( filtered_files ) > 0: - for file in filtered_files: - os.utime( file, None ) - -# Visiblity stuff is way broken! Just disable it when it's present -# until upstream finds a way to have it working right. - - source_string = 'KDE_ENABLE_HIDDEN_VISIBILITY' - - if os.path.isfile( path + '/configure.in' ): - for line in fileinput.input( path + '/configure.in', inplace = 1 ): - if re.search( source_string, line ): - line = line.replace( source_string, '' ) - print line, diff --git a/src/build/main.py b/src/build/main.py deleted file mode 100644 index 2824cba0..00000000 --- a/src/build/main.py +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -from kdefunctions import * -import sys - -if __name__ == "__main__": - kde_src_unpack( sys.argv[1] )