[SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (5486b07bdce7a81fca89f59f219d9087234b865f)

Juuso Alasuutari scm at mail.sourcemage.org
Thu Sep 28 18:04:12 EDT 2006


GIT changes to master grimoire by Juuso Alasuutari <iuso at sourcemage.org>:

 devel/pkgconfig/BUILD                  |   12 +-----------
 devel/pkgconfig/DEPENDS                |    2 --
 devel/pkgconfig/DETAILS                |   17 +++++++----------
 devel/pkgconfig/HISTORY                |   11 +++++++++++
 devel/pkgconfig/INSTALL                |    7 -------
 devel/pkgconfig/profile.d/pkgconfig.sh |    8 --------
 6 files changed, 19 insertions(+), 38 deletions(-)

New commits:
commit 5486b07bdce7a81fca89f59f219d9087234b865f
Author: Juuso Alasuutari <iuso at sourcemage.org>
Commit: Juuso Alasuutari <iuso at sourcemage.org>

    pkgconfig: Removed lots of unnecessary cruft.

diff --git a/devel/pkgconfig/BUILD b/devel/pkgconfig/BUILD
index d3e26f6..910967d 100755
--- a/devel/pkgconfig/BUILD
+++ b/devel/pkgconfig/BUILD
@@ -1,12 +1,2 @@
-# fix so pkg-config still looks in /usr/lib/pkgconfig instead of
-# /usr/lib/pkg-config
-sedit 's:$libdir/$PACKAGE:$libdir/pkgconfig:'    configure.in  &&
-sedit 's:$datadir/$PACKAGE:$datadir/pkgconfig:'  configure.in  &&
-
-aclocal         &&
-autoconf        &&
-cd  glib-1.2.8  &&
-aclocal         &&
-autoconf        &&
-cd  ..          &&
+OPTS="--with-pc-path=/usr/lib/pkgconfig $OPTS"  &&
 default_build
diff --git a/devel/pkgconfig/DEPENDS b/devel/pkgconfig/DEPENDS
deleted file mode 100755
index 430cdd1..0000000
--- a/devel/pkgconfig/DEPENDS
+++ /dev/null
@@ -1,2 +0,0 @@
-depends  automake  &&
-depends  libtool
diff --git a/devel/pkgconfig/DETAILS b/devel/pkgconfig/DETAILS
index 0cd9968..b0723ca 100755
--- a/devel/pkgconfig/DETAILS
+++ b/devel/pkgconfig/DETAILS
@@ -4,19 +4,16 @@
           SOURCE=pkg-config-$VERSION.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/pkg-config-$VERSION
    SOURCE_URL[0]=http://www.freedesktop.org/software/$SPELL/releases/$SOURCE
-
-#      SOURCE_GPG="gurus.gpg:${SOURCE}.sig"
-
       LICENSE[0]=GPL
-      PATCHLEVEL=1
         WEB_SITE=http://pkgconfig.freedesktop.org
          ENTERED=20010922
         KEYWORDS="devel"
-           SHORT='A system for managing library compile/link flags'
+           SHORT='A system for managing library compile/link flags.'
 cat << EOF
-pkg-config is a system for managing library compile/link flags that
-works with automake and autoconf. It replaces the ubiquitous *-config
-scripts you may have seen with a single tool. There's nothing
-desktop-specific or desktop-related about pkg-config, despite it being
-on freedesktop.org.
+pkg-config is a helper tool used when compiling applications and libraries. 
+It helps you insert the correct compiler options on the command line so an 
+application can use  gcc -o test test.c `pkg-config --libs --cflags glib-2.0` 
+for instance, rather than hard-coding values on where to find glib (or other 
+libraries). It is language-agnostic, so it can be used for defining the 
+location of documentation tools, for instance.
 EOF
diff --git a/devel/pkgconfig/HISTORY b/devel/pkgconfig/HISTORY
index 3a6515e..623f025 100644
--- a/devel/pkgconfig/HISTORY
+++ b/devel/pkgconfig/HISTORY
@@ -1,3 +1,14 @@
+2006-09-29 Juuso Alasuutari <iuso at sourcemage.org>
+	* BUILD: Removed sedits && aclocal && autoconf, replaced with 
+	  --with-pc-path=/usr/lib/pkgconfig in OPTS.
+	* DEPENDS: Deleted, automake & libtool not needed without 
+	  aclocal && autoconf.
+	* profile.d/pkgconfig.sh: Deleted, unnecessary now that 
+	  --with-pc-path is used.
+	* INSTALL: Deleted, don't install profile.d script.
+	* DETAILS: Updated long description, removed PATCHLEVEL 
+	  (leftover from version update).
+
 2006-09-28 Treeve Jelbert <treeve at pi.be>
 	* DETAILS: version 0.21
 
diff --git a/devel/pkgconfig/INSTALL b/devel/pkgconfig/INSTALL
deleted file mode 100755
index f0f14a1..0000000
--- a/devel/pkgconfig/INSTALL
+++ /dev/null
@@ -1,7 +0,0 @@
-default_install  &&
-
-if install_config_file ${SCRIPT_DIRECTORY}/profile.d/pkgconfig.sh \
-                       ${INSTALL_ROOT}/etc/profile.d/pkgconfig.sh; then
-    chmod 0755 ${INSTALL_ROOT}/etc/profile.d/pkgconfig.sh
-fi
-
diff --git a/devel/pkgconfig/profile.d/pkgconfig.sh b/devel/pkgconfig/profile.d/pkgconfig.sh
deleted file mode 100644
index 1010cfb..0000000
--- a/devel/pkgconfig/profile.d/pkgconfig.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-# First check if this variable is already set
-# then if not set, check it (maybe), then set it 
-
-if  [ -z "$PKG_CONFIG_PATH" ] ; then
-	PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
-fi
-export PKG_CONFIG_PATH



More information about the SM-Commit mailing list