public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] GTK-Updates
@ 2001-06-12 10:44 Sebastian Werner
  2001-06-12 15:33 ` Mikael Hallendal
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Werner @ 2001-06-12 10:44 UTC (permalink / raw
  To: gentoo-dev

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

Hello,

I don't know if anyone want use this. Here is a ebuild-file for gtk-1.2.10 
which uses the newest patch to use XFT with GTK. It looks really nice on my 
system.

Have a try,

Sebastian Werner
<sebastian@werner-productions.de>

[-- Attachment #2: gtk+-1.2.10-r2.ebuild --]
[-- Type: text/plain, Size: 1574 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>
# Updated to use antialiased fonts by Sebastian Werner <sebastian@werner-productions.de>
# /home/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r1.ebuild,v 1.4 2001/06/11 08:11:28 hallski Exp

A="${P}.tar.gz gtk+1.2_1.2.10.antialiased-1.diff.gz"
S=${WORKDIR}/${P}
DESCRIPTION="gtk"
SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz
	 ftp://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
	 http://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
	 http://www.cs.unc.edu/~chenda/Debian/gtk+1.2_1.2.10.antialiased-1.diff.gz"
HOMEPAGE="http://www.gtk.org/"

DEPEND="virtual/glibc virtual/x11
	>=dev-libs/glib-1.2.10"

src_unpack() {

	unpack ${P}.tar.gz
	cd ${S}
	zcat ${DISTDIR}/gtk+1.2_1.2.10.antialiased-1.diff.gz | patch -p1
}

src_compile() {
	local myconf
	
	if [ "${DEBUG}" ]
	then
		myconf="--enable-debug=yes"
	else
		myconf="--enable-debug=no"
	fi
	
#	try zcat $
  	try ./configure --host=${CHOST} --prefix=/usr/X11R6 ${myconf} \
	--infodir=/usr/X11R6/info --mandir=/usr/X11R6/man --sysconfdir=/etc/X11 \
	--with-xinput=xfree --with-x
	try pmake
}

src_install() {
	try make install DESTDIR=${D}

	preplib /usr/X11R6

	dodoc AUTHORS COPYING ChangeLog* HACKING
	dodoc NEWS* README* TODO
	docinto docs
	cd docs
	dodoc *.txt *.gif text/*
	cd html
	docinto html
	dodoc *.html *.gif

  	#install nice, clean-looking default gtk+ style
	insinto /etc/X11/gtk
	doins ${FILESDIR}/gtkrc
}





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

* Re: [gentoo-dev] GTK-Updates
  2001-06-12 10:44 [gentoo-dev] GTK-Updates Sebastian Werner
@ 2001-06-12 15:33 ` Mikael Hallendal
  2001-06-13  9:33   ` Sebastian Werner
  0 siblings, 1 reply; 4+ messages in thread
From: Mikael Hallendal @ 2001-06-12 15:33 UTC (permalink / raw
  To: gentoo-dev

Sebastian Werner <sebastian@werner-productions.de> writes:

Hi!

There are some issues with i18n and these patches. I haven't tried
them my self but I've that it doesn't work on some non-english
platforms (like swedish for example). It would be really cool to offer
this as an option though. Anyone has a suggestion how to do that?

I will test this patch anyway :) Have to see what it looks like :)

Regards,
Mikael Hallendal

> Hello,
> 
> I don't know if anyone want use this. Here is a ebuild-file for
> gtk-1.2.10 which uses the newest patch to use XFT with GTK. It looks
> really nice on my system.
> 
> Have a try,
> 
> Sebastian Werner <sebastian@werner-productions.de>
> 
> # 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> # Updated to use antialiased fonts
> by Sebastian Werner <sebastian@werner-productions.de> #
> /home/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r1.ebuild,v 1.4
> 2001/06/11 08:11:28 hallski Exp
> 
> A="${P}.tar.gz gtk+1.2_1.2.10.antialiased-1.diff.gz" S=${WORKDIR}/${P}
> DESCRIPTION="gtk" SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz
> 	 ftp://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
> 	 http://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
> 	 http://www.cs.unc.edu/~chenda/Debian/gtk+1.2_1.2.10.antialiased-1.diff.gz"
> HOMEPAGE="http://www.gtk.org/"
> 
> DEPEND="virtual/glibc virtual/x11
> 	>=dev-libs/glib-1.2.10"
> 
> src_unpack() {
> 
> 	unpack ${P}.tar.gz
> 	cd ${S}
> 	zcat ${DISTDIR}/gtk+1.2_1.2.10.antialiased-1.diff.gz | patch
> -p1
> }
> 
> src_compile() {
> 	local myconf
> 	
> 	if [ "${DEBUG}" ]
> 	then
> 		myconf="--enable-debug=yes"
> 	else
> 		myconf="--enable-debug=no"
> 	fi
> 	
> # try zcat $
>   	try ./configure --host=${CHOST} --prefix=/usr/X11R6 ${myconf}
> \
> 	--infodir=/usr/X11R6/info --mandir=/usr/X11R6/man
> --sysconfdir=/etc/X11 \
> 	--with-xinput=xfree --with-x
> 	try pmake
> }
> 
> src_install() {
> 	try make install DESTDIR=${D}
> 
> 	preplib /usr/X11R6
> 
> 	dodoc AUTHORS COPYING ChangeLog* HACKING
> 	dodoc NEWS* README* TODO
> 	docinto docs
> 	cd docs
> 	dodoc *.txt *.gif text/*
> 	cd html
> 	docinto html
> 	dodoc *.html *.gif
> 
>   	#install nice, clean-looking default gtk+ style
> 	insinto /etc/X11/gtk
> 	doins ${FILESDIR}/gtkrc
> }
> 
> 
> 
> 

-- 
+------------------------------------------
| email    : micke@hallendal.net
| sms      : micke.mobil@hallendal.net
| homepage : http://micke.hallendal.net/
| PGP-key  : micke.hallendal.net/mikhal.gpg
+------------------------------------------------------




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

* Re: [gentoo-dev] GTK-Updates
  2001-06-12 15:33 ` Mikael Hallendal
@ 2001-06-13  9:33   ` Sebastian Werner
  2001-06-15  5:26     ` Mikael Hallendal
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Werner @ 2001-06-13  9:33 UTC (permalink / raw
  To: gentoo-dev

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

In german it works good. If I choose Verdana with ISO-xxx-1 or ISO-xxx-15.

Hava anybody an idea who to set the gtkfontsize. I can choose the font, but i 
don't like that this rendered TrueTypes are mostly bigger than the fonts i 
used the time before.

Sebastian Werner 

Am Mittwoch, 13. Juni 2001 01:32 schrieben Sie:
> Sebastian Werner <sebastian@werner-productions.de> writes:
>
> Hi!
>
> There are some issues with i18n and these patches. I haven't tried
> them my self but I've that it doesn't work on some non-english
> platforms (like swedish for example). It would be really cool to offer
> this as an option though. Anyone has a suggestion how to do that?
>
> I will test this patch anyway :) Have to see what it looks like :)
>
> Regards,
> Mikael Hallendal
>
> > Hello,
> >
> > I don't know if anyone want use this. Here is a ebuild-file for
> > gtk-1.2.10 which uses the newest patch to use XFT with GTK. It looks
> > really nice on my system.
> >
> > Have a try,
> >
> > Sebastian Werner <sebastian@werner-productions.de>
> >
> > # 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> # Updated to use antialiased fonts
> > by Sebastian Werner <sebastian@werner-productions.de> #
> > /home/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r1.ebuild,v 1.4
> > 2001/06/11 08:11:28 hallski Exp
> >
> > A="${P}.tar.gz gtk+1.2_1.2.10.antialiased-1.diff.gz" S=${WORKDIR}/${P}
> > DESCRIPTION="gtk" SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz
> > 	 ftp://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
> > 	 http://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
> > 	
> > http://www.cs.unc.edu/~chenda/Debian/gtk+1.2_1.2.10.antialiased-1.diff.gz
> >" HOMEPAGE="http://www.gtk.org/"
> >
> > DEPEND="virtual/glibc virtual/x11
> >
> > 	>=dev-libs/glib-1.2.10"
> >
> > src_unpack() {
> >
> > 	unpack ${P}.tar.gz
> > 	cd ${S}
> > 	zcat ${DISTDIR}/gtk+1.2_1.2.10.antialiased-1.diff.gz | patch
> > -p1
> > }
> >
> > src_compile() {
> > 	local myconf
> >
> > 	if [ "${DEBUG}" ]
> > 	then
> > 		myconf="--enable-debug=yes"
> > 	else
> > 		myconf="--enable-debug=no"
> > 	fi
> >
> > # try zcat $
> >   	try ./configure --host=${CHOST} --prefix=/usr/X11R6 ${myconf}
> > \
> > 	--infodir=/usr/X11R6/info --mandir=/usr/X11R6/man
> > --sysconfdir=/etc/X11 \
> > 	--with-xinput=xfree --with-x
> > 	try pmake
> > }
> >
> > src_install() {
> > 	try make install DESTDIR=${D}
> >
> > 	preplib /usr/X11R6
> >
> > 	dodoc AUTHORS COPYING ChangeLog* HACKING
> > 	dodoc NEWS* README* TODO
> > 	docinto docs
> > 	cd docs
> > 	dodoc *.txt *.gif text/*
> > 	cd html
> > 	docinto html
> > 	dodoc *.html *.gif
> >
> >   	#install nice, clean-looking default gtk+ style
> > 	insinto /etc/X11/gtk
> > 	doins ${FILESDIR}/gtkrc
> > }

[-- Attachment #2: gtk+-1.2.10-r2.ebuild --]
[-- Type: text/plain, Size: 1678 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>
# Updated to use antialiased fonts by Sebastian Werner <sebastian@werner-productions.de>
# /home/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r1.ebuild,v 1.4 2001/06/11 08:11:28 hallski Exp

A="${P}.tar.gz gtk+1.2_1.2.10.antialiased-1.diff.gz"
S=${WORKDIR}/${P}
DESCRIPTION="gtk"
SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz
	 ftp://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
	 http://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
	 http://www.cs.unc.edu/~chenda/Debian/gtk+1.2_1.2.10.antialiased-1.diff.gz"
HOMEPAGE="http://www.gtk.org/"

DEPEND="virtual/glibc virtual/x11
	>=dev-libs/glib-1.2.10"

src_unpack() {

	unpack ${P}.tar.gz
	cd ${S}
	# Patch to use TrueType rendering when FONTRENDER in USE 
	if [ "${FONTRENDER}" ]; then
  	  zcat ${DISTDIR}/gtk+1.2_1.2.10.antialiased-1.diff.gz | patch -p1
        fi
}

src_compile() {
	local myconf
	
	if [ "${DEBUG}" ]
	then
		myconf="--enable-debug=yes"
	else
		myconf="--enable-debug=no"
	fi
	
#	try zcat $
  	try ./configure --host=${CHOST} --prefix=/usr/X11R6 ${myconf} \
	--infodir=/usr/X11R6/info --mandir=/usr/X11R6/man --sysconfdir=/etc/X11 \
	--with-xinput=xfree --with-x
	try pmake
}

src_install() {
	try make install DESTDIR=${D}

	preplib /usr/X11R6

	dodoc AUTHORS COPYING ChangeLog* HACKING
	dodoc NEWS* README* TODO
	docinto docs
	cd docs
	dodoc *.txt *.gif text/*
	cd html
	docinto html
	dodoc *.html *.gif

  	#install nice, clean-looking default gtk+ style
	insinto /etc/X11/gtk
	doins ${FILESDIR}/gtkrc
}





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

* Re: [gentoo-dev] GTK-Updates
  2001-06-13  9:33   ` Sebastian Werner
@ 2001-06-15  5:26     ` Mikael Hallendal
  0 siblings, 0 replies; 4+ messages in thread
From: Mikael Hallendal @ 2001-06-15  5:26 UTC (permalink / raw
  To: gentoo-dev

Sebastian Werner <sebastian@werner-productions.de> writes:

Hi!

Sorry for the late answer. I'm trying to find information about
exactly what is breaking. This patch is very hackich and doesn't
support i18n fully (that's why it won't go into Gtk+).

I tried it at my computer with locale se_SE and it didn't work as one
would like. It does look good where it works but a lot of things
didn't look so good.

About the mail you sent me with USE="fontrender", I think that if we
were to add a USE for this it shouldn't be named fontrender since it
only applies to Gtk+ and not any other packages.

Can we use some stuff that only apply to Gtk+? like

USE_XFT=1 emerge gtk+-1.2.10.ebuild

and not have it in /etc/make.conf?

> In german it works good. If I choose Verdana with ISO-xxx-1 or
> ISO-xxx-15.
> 
> Hava anybody an idea who to set the gtkfontsize. I can choose the
> font, but i don't like that this rendered TrueTypes are mostly bigger
> than the fonts i used the time before.

>From what I've heard fontselector won't work, 
 
Regards,
Mikael Hallendal




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

end of thread, other threads:[~2001-06-15 11:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-12 10:44 [gentoo-dev] GTK-Updates Sebastian Werner
2001-06-12 15:33 ` Mikael Hallendal
2001-06-13  9:33   ` Sebastian Werner
2001-06-15  5:26     ` Mikael Hallendal

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