Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1224 - GDKXFT 1.5 ebuild
Summary: GDKXFT 1.5 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-18 16:56 UTC by JR Boyens
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with control-center dependency (gdkxft-1.5.ebuild,962 bytes, application/octet-stream)
2002-05-23 07:33 UTC, Tristan Henderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JR Boyens 2002-03-18 16:56:44 UTC
Gdkxft transparently adds anti-aliased font support to gtk+-1.2. Once you have
installed it, you can run any (well, nearly any) existing gtk+ binary and see
anti-aliased fonts in the gtk widgets. You don't need to recompile gtk+ or your
applications.
Comment 1 JR Boyens 2002-03-18 16:59:10 UTC
Once again, I cannot attach files in bugzilla, so here it is:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: JR Boyens <jboyens@iastate.edu>
# /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.14 2002/02/01 19:50:13 gbevin Exp

S=${WORKDIR}/${P}

DESCRIPTION="Gdkxft transparently adds anti-aliased font support to gtk+-1.2."

SRC_URI="http://prdownloads.sourceforge.net/gdkxft/${P}.tar.gz"

HOMEPAGE="http://gdkxft.sourceforge.net"

DEPEND=">=x11-libs/gtk+-1.2
        virtual/x11"

src_compile() {
    CPPFLAGS=-I/usr/include/libcapplet1 ./configure \
        --host=${CHOST} \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man || die "./configure failed"
    emake || die
}

src_install () {
    make DESTDIR=${D} install || die
}

pkg_postinst () {
    /usr/sbin/gdkxft_sysinstall || die
}
Comment 2 JR Boyens 2002-03-18 17:09:34 UTC
Add these lines to the end of the ebuild. Ooops :)

pkg_postrm () {
    /usr/sbin/gdkxft_sysinstall -u || die
}
Comment 3 JR Boyens 2002-05-21 17:40:16 UTC
I'm not sure how important this is anymore with GTK2 and GNOME2 coming out...
Thanks for still remembering it exists.
Comment 4 Tristan Henderson 2002-05-23 07:32:28 UTC
Thanks! I had to make two changes to get this to build (see attached ebuild file):
(i) the sourceforge urls have changed a little
(ii) it should depend on gnome-base/control-center (to build the capplet)
Comment 5 Tristan Henderson 2002-05-23 07:33:23 UTC
Created attachment 1108 [details]
ebuild with control-center dependency
Comment 6 Spider (RETIRED) gentoo-dev 2002-05-23 16:29:23 UTC
pkg_postrm () {
    /usr/sbin/gdkxft_sysinstall -u || die
}


You really can't call a file that the program installs -after- its uninstalled.

Comment 7 Spider (RETIRED) gentoo-dev 2002-05-23 16:32:14 UTC
commited