Remove enlightenment-config source of miscompilation. You should use pkg-config now.
authorCedric BAIL <cedric.bail@free.fr>
Thu, 16 Oct 2008 10:19:40 +0000 (10:19 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Thu, 16 Oct 2008 10:19:40 +0000 (10:19 +0000)
SVN revision: 36712

Makefile.am
configure.ac
data/other/enlightenment_remote
debian/e17-dev.install
debian/rules
enlightenment-config.in [deleted file]
enlightenment.spec.in

index 925ce83..8df5af8 100644 (file)
@@ -6,8 +6,6 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
                       stamp-h.in acconfig.h \
                       enlightenment.spec enlightenment.pc
 
-bin_SCRIPTS = enlightenment-config
-
 EXTRA_DIST = config.rpath  README AUTHORS COPYING COPYING-PLAIN \
              enlightenment.spec.in enlightenment.spec enlightenment.pc
 
index 8f9f9d3..5561e22 100644 (file)
@@ -458,7 +458,4 @@ doc/Makefile
 config/Makefile
 config/default/Makefile
 po/Makefile.in
-enlightenment-config
-],[
-chmod +x enlightenment-config
 ])
index e25abef..cb0f44b 100644 (file)
@@ -233,8 +233,8 @@ _enlightenment_remote() {
                return 0
                ;;
        -module-load)
-               extra_dir=$(enlightenment-config --module-dir)
-               # This is a hack. enlightenment-config should return extra dir and standard dir
+               extra_dir=$(pkg-config --variable=modules enlightenment)
+               # This is a hack. pkg-config should return extra dir and standard dir
                dir=${extra_dir%_extra}
                modules=$(cd ${dir} && /bin/ls && cd ${extra_dir} && /bin/ls)
                COMPREPLY=($(compgen -W "${modules}" -- "${cur}"))
index b591f85..97f88c7 100644 (file)
@@ -1,2 +1 @@
-debian/tmp/usr/bin/enlightenment-config
 debian/tmp/usr/include/enlightenment/*.h
index a97c66c..fad6409 100644 (file)
@@ -7,7 +7,6 @@ include /usr/share/cdbs/1/rules/simple-patchsys.mk
 DEB_FIXPERMS_EXCLUDE := enlightenment_sys freqset tempget batget
 DEB_MAKE_CLEAN_TARGET := clean
 DEB_INSTALL_MANPAGES_e17 := $(DEB_SRCDIR)/debian/enlightenment.1 $(DEB_SRCDIR)/debian/enlightenment_*.1
-DEB_INSTALL_MANPAGES_e17-dev := $(DEB_SRCDIR)/debian/enlightenment-config.1
 DEB_DH_STRIP_ARGS := --dbg-package=e17-dbg
 DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
 
diff --git a/enlightenment-config.in b/enlightenment-config.in
deleted file mode 100644 (file)
index 9c2207b..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-exec_prefix_set=no
-
-usage="\
-Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
-
-if test $# -eq 0; then
-      echo "${usage}" 1>&2
-      exit 1
-fi
-
-while test $# -gt 0; do
-  case "$1" in
-  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
-  *) optarg= ;;
-  esac
-
-  case $1 in
-    --prefix=*)
-      prefix=$optarg
-      if test $exec_prefix_set = no ; then
-        exec_prefix=$optarg
-      fi
-      ;;
-    --prefix)
-      echo $prefix
-      ;;
-    --exec-prefix=*)
-      exec_prefix=$optarg
-      exec_prefix_set=yes
-      ;;
-    --exec-prefix)
-      echo $exec_prefix
-      ;;
-    --version)
-      echo @VERSION@
-      ;;
-    --cflags)
-      includes="-I@prefix@/include/enlightenment"
-      echo $includes @e_cflags@
-      ;;
-    --libs)
-      libdirs="-L@libdir@"
-      echo $libdirs
-      ;;
-    --module-dir)
-      dir="@libdir@/@PACKAGE@/modules"
-      echo $dir
-      ;;
-    --config-apps-dir)
-      dir="@prefix@/share/@PACKAGE@/config-apps"
-      echo $dir
-      ;;
-    *)
-      echo "${usage}" 1>&2
-      exit 1
-      ;;
-  esac
-  shift
-done
-
-exit 0
index e6bdc78..99a360e 100644 (file)
@@ -68,7 +68,6 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(-, root, root)
-%{_bindir}/enlightenment-config
 %{_includedir}/enlightenment
 %{_libdir}/pkgconfig/*.pc