summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-11 17:02:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-11 17:02:14 +0900
commit09f1a33243592f1539f9d4e2c1d699577f9a1b9f (patch)
treeae77410cb0652f4d8c02f46cc04c96b6b7e2e868
parent4216828001fadc5c8a107707fd1620f493da82c7 (diff)
downloadabakus-09f1a33243592f1539f9d4e2c1d699577f9a1b9f.zip
abakus-09f1a33243592f1539f9d4e2c1d699577f9a1b9f.tar.gz
Removed autotools files and dependency from admin submodule.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--.gitmodules3
m---------admin0
-rw-r--r--config.h6
-rwxr-xr-xconfigure164
4 files changed, 0 insertions, 173 deletions
diff --git a/.gitmodules b/.gitmodules
index 4fce771..5b98c56 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,3 @@
-[submodule "admin"]
- path = admin
- url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
diff --git a/admin b/admin
deleted file mode 160000
-Subproject 68f23556e638353e46b444d3a4863a64936bd36
diff --git a/config.h b/config.h
deleted file mode 100644
index b469afd..0000000
--- a/config.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/* config.h -- Automatically generated by abakus.py
- * Any changes you make to this file will be overwritten!
- */
-
-/* HAVE_MPFR -- Defined if the MPFR library is being used. */
-/* #undef HAVE_MPFR */
diff --git a/configure b/configure
deleted file mode 100755
index 9a62bdd..0000000
--- a/configure
+++ /dev/null
@@ -1,164 +0,0 @@
-#!/usr/bin/env python
-# Configure script for abakus. I think it's better than the sample that came
-# with bksys. Feel free to do with it what you want.
-# By Michael Pyne <michael.pyne@kdemail.net>
-
-import sys
-import re
-
-BOLD="\033[1m"
-RED="\033[91m"
-GREEN="\033[92m"
-YELLOW="\033[93m"
-CYAN="\033[96m"
-NORMAL="\033[0m"
-
-PROGRAM_NAME='abakus'
-
-# First let's see if they asked for help.
-if '--help' in sys.argv:
- print '''This is a configure script to prepare %s for building.
-
-You can pass the command line argument debug=1 to enable debugging for the
-application, which can be useful if you have problems.
-
-Otherwise, just run ./configure, and if you don't already have scons, a mini
-version will be installed suitable for building %s.
-'''.replace('%s', PROGRAM_NAME)
- sys.exit(0)
-
-# Check that we have the minimum version of Python needs to run SCons.
-if sys.hexversion < 0x02030000:
- # Use regexp for compatibility with ancient Python
- version = re.split(' ', sys.version)[0]
-
- print RED + 'Sorry, your version of Python is too old.' + NORMAL
- print PROGRAM_NAME + ' requires Python 2.3 or greater to build.'
- print "\nYou have Python " + version
- sys.exit(1)
-
-import os
-
-# Check if scons is installed. We can use cool Python features now that we
-# know we aren't using an ancient version of Python.
-result = os.system('scons -v > /dev/null 2>&1')
-scons = 'scons'
-
-if os.WEXITSTATUS(result) == 0:
- print GREEN + "scons already installed." + NORMAL
-else:
- # If we didn't find scons, don't whine to the user about it, just fix it.
- print YELLOW + 'scons not installed, installing local copy.' + NORMAL
-
- # Split this into two steps since some tars don't use j to mean bzip2
- # compressed.
- result = os.system('bzcat bksys/scons-mini.tar.bz2 | tar x')
-
- if os.WEXITSTATUS(result) != 0:
- print RED + 'Unable to extract scons' + NORMAL
- sys.exit(2)
-
- scons = '%s/scons' % os.getcwd()
-
-# Now we now where scons is. Let's create a Makefile (after we configure) so
-# that all the user has to do is type 'make'. Allow the user to pass command
-# line arguments, which will be passed to the configure process.
-if len(sys.argv) < 2:
- options = ''
-else:
- options = " ".join(sys.argv[1:])
- # reduce is pretty cool
-# options = reduce(lambda x, y: x + '\n' + y, sys.argv[1:])
-
-result = os.system(scons + ' configure ' + options)
-if os.WEXITSTATUS(result) != 0:
- print RED + 'Unable to configure scons' + NORMAL
- sys.exit(3)
-
-# Recursive generates a makefile for a directory. If topDir is True, the
-# Makefile is slightly different.
-def generate_makefile(dir, topDir = False):
-
- file = name + "/Makefile"
-
- # Write out Makefile.
- try:
- makefile = open(file, 'w')
- except IOError:
- print RED + "Unable to open " + file + NORMAL
- sys.exit(4)
-
- text = '''
-## Makefile automatically generated by configure
-
-SCONS=$scons
-
-# $scons : compile
-# $scons -c : clean
-# $scons install : install
-# $scons -c install : uninstall and clean
-
-# Default target: use scons to build the program
-all:
- @$(SCONS) -Q
-
-# Debugging possibilies:
-# $scons --debug=explain, $scons --debug=tree
-
-# To optimize the runtime:
-# $scons --max-drift=1 --implicit-deps-unchanged
-debug:
- @$(SCONS) -Q --debug=tree
-
-clean:
- @$(SCONS) -c
-
-install:
- @$(SCONS) install
-
-uninstall:
- @$(SCONS) uninstall
-
-# This target creates a tarball of the project (in theory)
-dist:
- @$(SCONS) dist
-'''
-
- if topDir:
- text = text.replace('$scons', scons)
- else:
- text = text.replace('$scons', scons + ' -u')
-
- try:
- print "Generating " + GREEN + file + NORMAL
- makefile.write(text)
- makefile.close()
- except IOError:
- print RED + "Unable to write to the Makefile!" + NORMAL
- sys.exit(5)
-
-# Recursively generate Makefiles for convienience.
-for name, dirs, files in os.walk('.'):
- # Don't try to build hidden directories.
- remove = filter(lambda x: x[0] == '.', dirs)
- for i in remove:
- dirs.remove(i)
-
- if 'SConstruct' in files:
- # We're in the very top directory.
- generate_makefile(name, topDir = True)
-
- for dir in ['cache', 'bksys']:
- if dir in dirs:
- dirs.remove(dir)
- elif 'SConscript' in files:
- generate_makefile(name)
-
-# The Makefile has been written, we're pretty much done.
-message = '''
-The Makefile(s) have been generated. Type:
- `make' to build %s, and
- `make install' to install %s.
-'''.replace('%s', PROGRAM_NAME)
-
-print GREEN + message + NORMAL