From dfe289850f068f19ba4a83ab4e7e22a7e09c13c9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:17:21 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- khtml/css/makeprop | 57 ------------------------------------------------------ 1 file changed, 57 deletions(-) delete mode 100644 khtml/css/makeprop (limited to 'khtml/css/makeprop') diff --git a/khtml/css/makeprop b/khtml/css/makeprop deleted file mode 100644 index a1a30ac97..000000000 --- a/khtml/css/makeprop +++ /dev/null @@ -1,57 +0,0 @@ -# This file is part of the KDE libraries -# -# Copyright (C) 1999 Waldo Bastian (bastian@kde.org) -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Library General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. -# -# You should have received a copy of the GNU Library General Public License -# along with this library; see the file COPYING.LIB. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -# Boston, MA 02110-1301, USA. -# -#---------------------------------------------------------------------------- -# -# KDE HTML Widget -- Script to generate cssproperties.c and cssproperties.h -# -grep "^[^\#]" cssproperties.in > cssproperties.strip - -echo -e '%{\n/* This file is automatically generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1999 W. Bastian */\n#include "cssproperties.h"\n%}\nstruct props {\n const char *name;\n int id;\n};\n\nstatic const struct props * findProp (register const char *str, register unsigned int len);\n\n%%' > cssproperties.gperf -cat cssproperties.strip | awk '{ do { prop = $0; gsub("-", "_"); print prop ", CSS_PROP_" toupper($0) } while (getline) }' >> cssproperties.gperf -echo '%%' >> cssproperties.gperf -echo -e '/* This file is automatically generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1998 W. Bastian */\n\n#ifndef CSSPROPERTIES_H\n#define CSSPROPERTIES_H\n\nDOM::DOMString getPropertyName(unsigned short id) KDE_NO_EXPORT;\n' > cssproperties.h -cat cssproperties.strip | awk '{ \ -i=1; \ -print "#define CSS_PROP_INVALID 0"; \ -print "#define CSS_PROP_MIN 1"; \ -do { gsub("-", "_"); print "#define CSS_PROP_" toupper($0) " " i; i = i + 1 } while (getline); \ -print ""; \ -print "#define CSS_PROP_MAX CSS_PROP_Z_INDEX"; \ -print "#define CSS_PROP_TOTAL " i \ -}' >> cssproperties.h -gperf -a -L 'ANSI-C' -E -C -c -o -t -k '*' -NfindProp -Hhash_prop -Wwordlist_prop -D -s 2 cssproperties.gperf > cssproperties.c || exit 1 -echo -e '#endif\n' >> cssproperties.h - -cat cssproperties.strip | awk '{ \ -i=1; \ -print "static const char * const propertyList[] = {"; \ -print "\"\","; \ -do { print "\"" $0 "\", "; i = i + 1 } while (getline); \ -print " 0"; \ -print "};"; \ -print "DOMString getPropertyName(unsigned short id)"; \ -print "{"; \ -print " if(id >= CSS_PROP_TOTAL || id == 0)"; \ -print " return DOMString();";\ -print " else";\ -print " return DOMString(propertyList[id]);"; \ -print "}"; \ -print ""; \ -}' >> cssproperties.c -- cgit v1.2.1