public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] error in kdelibs.ebuild
@ 2001-08-23 14:38 Sebastian Werner
  2001-08-23 16:40 ` Dan Armak
  2001-08-24  1:47 ` Dan Armak
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Werner @ 2001-08-23 14:38 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

Hello,

here is a new version of the kdelibs-2.2.ebuild. There was an error before 
runnig configure while detecting objprelink.

Could a member with cvs access replace this file?

Thanks,

Sebastian

[-- Attachment #2: kdelibs-2.2.ebuild --]
[-- Type: text/plain, Size: 3062 bytes --]

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# /home/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-2.2.ebuild,v 1.8 2001/08/22 11:57:19 danarmak Exp

S=${WORKDIR}/${P}
DESCRIPTION="KDE ${PV} - Libraries"
SRC_PATH="kde/stable/${PV}/src/${P}.tar.bz2"
SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
	 ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH
	 ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH
	 http://www.research.att.com/~leonb/objprelink/kde-admin-acinclude.patch"

HOMEPAGE="http://www.kde.org/"

DEPEND=">=sys-devel/gcc-2.95.2  sys-devel/perl
	>=media-libs/audiofile-0.1.9
	>=x11-libs/qt-x11-2.3.0
        >=sys-apps/bzip2-1.0.1
	>=dev-libs/libpcre-3.4
	>=gnome-libs/libxml2-2.4.1
	ssl? ( >=dev-libs/openssl-0.9.6 )
	alsa? ( >=media-libs/alsa-lib-0.5.9 )
	cups? ( net-print/cups )
	objprelink? ( dev-util/objprelink )
	sys-devel/autoconf"

RDEPEND=">=sys-devel/gcc-2.95.2
	 >=media-libs/audiofile-0.1.9
         >=media-libs/tiff-3.5.5
         >=sys-apps/bzip2-1.0.1
	 >=dev-libs/libpcre-3.4
	 >=x11-libs/qt-x11-2.3.0
         ~kde-base/kde-env-2.2
         app-text/sgml-common
         alsa? ( >=media-libs/alsa-lib-0.5.9 )
	cups? ( net-print/cups )
         ssl? ( >=dev-libs/openssl-0.9.6 )
	sys-devel/perl dev-lang/python"

src_unpack() {

	cd ${WORKDIR}
	unpack ${P}.tar.bz2
	cd ${S}
	use objprelink && patch -p0 < ${DISTDIR}/kde-admin-acinclude.patch

}

src_compile() {

    QTBASE=/usr/X11R6/lib/qt

    local myopts
    if [ "`use ssl`" ] ; then
      myopts="--with-ssl-dir=/usr"
    else
      myopts="--without-ssl"
    fi
    if [ "`use alsa`" ] ; then
      myopts="$myopts --with-alsa"
    fi
    if [ -z "`use cups`" ] ; then
      myopts="$myopts --disable-cups"
    fi
    if [ "`use qtmt`" ] ; then
      myopts="$myopts --enable-mt"
    fi
    if [ "`use mitshm`" ] ; then
      myopts="$myopts --enable-mitshm"
    fi
    if [ -z "`use ipv6`" ] ; then
      myopts="$myopts --with-ipv6-lookup=no"
    fi

	use objprelink && myopts="$myopts --enable-objprelink"

    try ./configure --prefix=/opt/kde${PV} --host=${CHOST} \
		--with-qt-dir=$QTBASE $myopts --with-xinerama \
		--disable-libfam
    cd ${S}
    try make
}

src_install() {
  try make install DESTDIR=${D}
  dodoc AUTHORS ChangeLog COMPILING COPYING* NAMING NEWS README
  docinto html
  dodoc *.html
}


pkg_postinst() {
     if [ -x  "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
 #     install-catalog --add /etc/sgml/kde-docbook.cat /usr/share/sgml/docbook/kde-customizations/catalog
 #     install-catalog --add /etc/sgml/kde-docbook.cat /etc/sgml/sgml-docbook.cat
	echo
    fi
}

pkg_prerm() {
    if [ -x  "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] ; then
      if [ -e "/etc/sgml/kde-docbook.cat" ] ; then
#        install-catalog --remove /etc/sgml/kde-docbook.cat /usr/share/sgml/docbook/kde-customizations/catalog
#        install-catalog --remove /etc/sgml/kde-docbook.cat /etc/sgml/sgml-docbook.cat
	echo
      fi
    fi
}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] error in kdelibs.ebuild
  2001-08-23 14:38 [gentoo-dev] error in kdelibs.ebuild Sebastian Werner
@ 2001-08-23 16:40 ` Dan Armak
  2001-08-23 16:45   ` Mikael Hallendal
  2001-08-24  1:47 ` Dan Armak
  1 sibling, 1 reply; 5+ messages in thread
From: Dan Armak @ 2001-08-23 16:40 UTC (permalink / raw
  To: gentoo-dev

Hi,

The new version you posted is rather strange. It looks like it's based on an 
old version of the ebuild on cvs, not the current one. diff gave some strange 
results.

Could you describe the error you encountered, and/or mark the changes in your 
ebuild with short comments? In short, please explain more.


-- 

Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] error in kdelibs.ebuild
  2001-08-23 16:40 ` Dan Armak
@ 2001-08-23 16:45   ` Mikael Hallendal
  0 siblings, 0 replies; 5+ messages in thread
From: Mikael Hallendal @ 2001-08-23 16:45 UTC (permalink / raw
  To: gentoo-dev

Den 24 Aug 2001 01:39:32 +0300 skrev Dan Armak:
> Hi,
> 
> The new version you posted is rather strange. It looks like it's based on an 
> old version of the ebuild on cvs, not the current one. diff gave some strange 
> results.
> 
> Could you describe the error you encountered, and/or mark the changes in your 
> ebuild with short comments? In short, please explain more.

Also, it's often better to send a patch/diff then to send the whole
file. This way it's easy to see the changes, remeber the -u flag when
doing the diff so it'll be readable.

Regards,
  Mikael Hallendal

-- 

Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
Stockholm, Sweden




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] error in kdelibs.ebuild
  2001-08-23 14:38 [gentoo-dev] error in kdelibs.ebuild Sebastian Werner
  2001-08-23 16:40 ` Dan Armak
@ 2001-08-24  1:47 ` Dan Armak
  2001-08-24  3:05   ` AW: " Sebastian Werner
  1 sibling, 1 reply; 5+ messages in thread
From: Dan Armak @ 2001-08-24  1:47 UTC (permalink / raw
  To: gentoo-dev

OK, I see what you did now. I'm sorry, it was my mistake yesterday, I looked 
at the wrong thing. But since you just fixed 1 typo, you shouldn't have sent 
the entire file and let us find your changes.



-- 

Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel




^ permalink raw reply	[flat|nested] 5+ messages in thread

* AW: [gentoo-dev] error in kdelibs.ebuild
  2001-08-24  1:47 ` Dan Armak
@ 2001-08-24  3:05   ` Sebastian Werner
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Werner @ 2001-08-24  3:05 UTC (permalink / raw
  To: gentoo-dev

OK, if i find again an error i will send you only a description

Sebastian

-----Ursprüngliche Nachricht-----
Von: gentoo-dev-admin@cvs.gentoo.org
[mailto:gentoo-dev-admin@cvs.gentoo.org]Im Auftrag von Dan Armak
Gesendet: Freitag, 24. August 2001 09:43
An: gentoo-dev@cvs.gentoo.org
Betreff: Re: [gentoo-dev] error in kdelibs.ebuild


OK, I see what you did now. I'm sorry, it was my mistake yesterday, I looked
at the wrong thing. But since you just fixed 1 typo, you shouldn't have sent
the entire file and let us find your changes.



--

Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel


_______________________________________________
gentoo-dev mailing list
gentoo-dev@cvs.gentoo.org
http://cvs.gentoo.org/mailman/listinfo/gentoo-dev




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-24  9:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-23 14:38 [gentoo-dev] error in kdelibs.ebuild Sebastian Werner
2001-08-23 16:40 ` Dan Armak
2001-08-23 16:45   ` Mikael Hallendal
2001-08-24  1:47 ` Dan Armak
2001-08-24  3:05   ` AW: " Sebastian Werner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox