View previous topic :: View next topic |
Author |
Message |
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Sun Jan 13, 2008 1:12 am Post subject: |
|
|
Here you go:
https://boniek.homelinux.org/svn/repos/font-overlay/trunk/
It's as simple as you can get - I will try to update stuff as new versions become available. It's on my private machine so don't expect 100% uptime (if any of you can provide stable and fast hosting it would be much appreciated).
Here's paludis repository definition:
Code: | location = ${ROOT}/var/paludis/repositories/fonts/
sync = svn+https://boniek.homelinux.org/svn/repos/font-overlay/trunk/
names_cache = ${location}/.cache/names
cache = ${ROOT}/var/empty
distdir = ${ROOT}/var/tmp/distfiles
write_cache = ${ROOT}/var/cache/paludis/metadata
format = ebuild
master_repository = gentoo
|
_________________ [HOWTO]New freetype subpixel font rendering for lcd monitors |
|
Back to top |
|
|
aronparsons Tux's lil' helper
Joined: 04 Oct 2004 Posts: 117 Location: Virginia
|
Posted: Sun Jan 13, 2008 2:48 am Post subject: |
|
|
boniek wrote: | Here you go:
https://boniek.homelinux.org/svn/repos/font-overlay/trunk/
It's as simple as you can get - I will try to update stuff as new versions become available. It's on my private machine so don't expect 100% uptime (if any of you can provide stable and fast hosting it would be much appreciated).
Here's paludis repository definition:
Code: | location = ${ROOT}/var/paludis/repositories/fonts/
sync = svn+https://boniek.homelinux.org/svn/repos/font-overlay/trunk/
names_cache = ${location}/.cache/names
cache = ${ROOT}/var/empty
distdir = ${ROOT}/var/tmp/distfiles
write_cache = ${ROOT}/var/cache/paludis/metadata
format = ebuild
master_repository = gentoo
|
|
Thanks! I try to avoid overlays just because they pull in so many packages and sometimes the overlay ebuilds replace portage ebuilds that I don't them to (which really should be resolved with overlay priorities). A small, single-purpose overlay like this is the way to do it.
Also, the ebuilds are missing their manifests (not a problem to create them locally though).
Here's a layman definition for a local repository list:
Code: | <layman>
<overlay
type = "svn"
src = "https://boniek.homelinux.org/svn/repos/font-overlay/trunk/"
name = "font-overlay"
contact = "???">
<description>Font Overlay</description>
</overlay>
</layman> |
|
|
Back to top |
|
|
billydv l33t
Joined: 22 Dec 2006 Posts: 911 Location: Mount Vernon, NY
|
Posted: Sun Jan 13, 2008 3:01 am Post subject: |
|
|
Boniek, you need to manifest the ebuilds in your overlay!!!! _________________ Billy DeVincentis |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Sun Jan 13, 2008 3:31 am Post subject: |
|
|
billydv wrote: | Boniek, you need to manifest the ebuilds in your overlay!!!! |
Just digest them yourself.
Code: | ebuild <insert ebuild file name here> digest |
|
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Sun Jan 13, 2008 10:16 am Post subject: |
|
|
Many many thanks for your efforts boniek!!! This is simply brillant
Hugs
swimmer |
|
Back to top |
|
|
bosele Tux's lil' helper
Joined: 02 Apr 2005 Posts: 90
|
Posted: Mon Jan 14, 2008 12:00 am Post subject: |
|
|
thank you!
and please don't take this the wrong way but..
any chance of an ebuild for a patched cairo 1.5.*? [/glep] |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Mon Jan 14, 2008 3:49 am Post subject: |
|
|
They have the 1.5 patch with the modifications made by Ubuntu as mentioned on the previous page how it adds more options.
http://bugs.freedesktop.org/show_bug.cgi?id=10301
Cool. _________________ Nothing to read in this sig. Move along. |
|
Back to top |
|
|
bosele Tux's lil' helper
Joined: 02 Apr 2005 Posts: 90
|
Posted: Mon Jan 14, 2008 12:12 pm Post subject: |
|
|
great, thanks again! |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Jan 15, 2008 5:06 am Post subject: |
|
|
@boniek: Thanks again for taking the time to set this up. Since the actual guide is no longer available, would it be possible to post the text of the guide here in this thread? (assuming that you have a copy of the guide on your own machine) Or, since the thread has become lengthy with earlier posts out of date, perhaps just a summary of the basic steps?
I pulled a copy of the cairo and libXft ebuilds from your svn and have rebuilt both using the newspr USE flag. I ran revdep-rebuild afterwards, just in case, but everything was consistent. Do I need to manually re-emerge anything else?
Edit: Apparently not. Everything looks great now. |
|
Back to top |
|
|
billydv l33t
Joined: 22 Dec 2006 Posts: 911 Location: Mount Vernon, NY
|
Posted: Thu Jan 17, 2008 4:03 pm Post subject: |
|
|
Boniek, Cairo has been updated in the official tree. _________________ Billy DeVincentis |
|
Back to top |
|
|
pijalu Guru
Joined: 04 Oct 2004 Posts: 365
|
Posted: Thu Jan 17, 2008 6:54 pm Post subject: |
|
|
billydv wrote: | Boniek, Cairo has been updated in the official tree. |
copy ebuild and patch with new version and you should be set |
|
Back to top |
|
|
bosele Tux's lil' helper
Joined: 02 Apr 2005 Posts: 90
|
Posted: Fri Jan 18, 2008 12:22 pm Post subject: |
|
|
pijalu: would you mind sharing that ebuild which patches the new version? I am apparently completely inept at changing anything but typo's in ebuilds. |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Fri Jan 18, 2008 5:46 pm Post subject: |
|
|
It's up-to-date now. Unfortunately I won't be able to do 0day updates. I can only spend time working on overlay over the weekends (job, life etc )
If you are using paludis (it may be possible for portage as well) I recommend to mask cairo from gentoo repository:
Code: | echo "x11-libs/cairo::gentoo" >> /etc/paludis/package_mask |
That way you will only use cairo from overlay. _________________ [HOWTO]New freetype subpixel font rendering for lcd monitors |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Jan 18, 2008 10:56 pm Post subject: |
|
|
boniek, should use elog instead of einfo, in pkg_postinst() |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Sat Jan 19, 2008 4:04 pm Post subject: |
|
|
boniek wrote: | Thanks for tip Paul. Changed as per suggestion.
Cairo 1.5.x now in overlay (I have stolen the patch from this thread - my thanks goes to estar). |
Just tried to grab that and it fails to patch cleanly. Ebuild unpack fails.
Code: |
* Failed Patch: cairo-1.5.2-newspr.patch.bz2 !
* ( /var/tmp/portage/x11-libs/cairo-1.5.6/temp/381.patch )
|
|
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Sat Jan 19, 2008 4:28 pm Post subject: |
|
|
boniek wrote: | That's strange. It works fine for me. Both - in Portage and in Paludis. |
Code: |
PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/x11-libs/cairo-1.5.6/temp/13674.patch
========================================
patching file src/cairo-ft-font.c
Hunk #1 FAILED at 55.
Hunk #2 FAILED at 709.
Hunk #3 FAILED at 1015.
Hunk #4 FAILED at 1026.
Hunk #5 FAILED at 1056.
Hunk #6 FAILED at 1067.
Hunk #7 FAILED at 1087.
Hunk #8 FAILED at 1102.
Hunk #9 FAILED at 1138.
Hunk #10 FAILED at 1186.
Hunk #11 FAILED at 1208.
Hunk #12 FAILED at 1634.
12 out of 12 hunks FAILED -- saving rejects to file src/cairo-ft-font.c.rej
|
|
|
Back to top |
|
|
Occasus Apprentice
Joined: 22 Feb 2005 Posts: 158 Location: Italia
|
Posted: Sat Jan 19, 2008 4:53 pm Post subject: |
|
|
Hello.
Could you tell me how to add the new overlay to layman?
I've appended Code: | <overlay
type = "svn"
src = "https://boniek.homelinux.org/svn/repos/font-overlay/trunk/"
name = "font-overlay"
contact = "???">
<description>Font Overlay</description>
</overlay> |
to /usr/portage/local/layman/overlays.xml
And manually created a dir called font-overlay with the content of the overlay in it.
Code: | % layman -l
* custom-kernels [Subversion] (source: http://opensvn.csie.org/cu...)
* font-overlay [Subversion] (source: https://boniek.homelinux.o...)
* gentoo-china [Subversion] (source: http://gentoo-china-overla...)
* plan9 [Subversion] (source: http://overlays.gentoo.org...)
% eix x11-libs/cairo
[U] x11-libs/cairo
Available versions: 1.2.6 1.4.10 1.4.12 1.4.12[1] (~)1.4.14 [M](~)1.5.6 {X debug directfb doc glitz opengl svg test xcb}
Installed versions: 1.4.12[1](00:14:20 31/12/07)(X glitz newspr opengl svg -debug -directfb -doc -xcb)
Homepage: http://cairographics.org/
Description: A vector graphics library with cross-device output support
[1] "china" /usr/portage/local/layman/gentoo-china |
Why can't I get the updated version of cairo? _________________ Guru Meditation |
|
Back to top |
|
|
kallee n00b
Joined: 07 Sep 2004 Posts: 13
|
Posted: Sat Jan 19, 2008 7:44 pm Post subject: |
|
|
Occasus, you need to put the description of the overlay into a different file. The file overlays.xml is where layman saves installed overlays. Make a new file, say list.xml:
Code: | > cat /usr/portage/local/layman/list.xml
<?xml version="1.0" ?>
<overlays>
<overlay
type = "svn"
src = "https://boniek.homelinux.org/svn/repos/font-overlay/trunk"
name = "font-overlay"
contact = "???">
<description>Font Overlay</description>
</overlay>
</overlays>
|
Then use this file with -o switch. To see all available overlays:
Code: | > layman -o file:///usr/portage/local/layman/list.xml -L |
To add the font-overlay:
Code: | > layman -o file:///usr/portage/local/layman/list.xml -a font-overlay |
After that you need to add the PORTDIR_OVERLAY="/usr/portage/local/layman/font-overlay" to your /etc/make.conf and then emerge cairo. |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Sun Jan 20, 2008 3:58 am Post subject: |
|
|
I simple appended Code: | file:///usr/portage/local/layman/font-overlay.xml | to "overlays :" in /etc/layman/layman.cfg ...
HTH
swimmer
PS: My font-overlay.xml looks like this: Code: | <?xml version="1.0" ?>
<layman>
<overlay
type = "svn"
src = "https://boniek.homelinux.org/svn/repos/font-overlay/trunk/"
contact = "boniek"
name = "font-overlay">
<link>
https://boniek.homelinux.org/svn/repos/font-overlay/trunk/
</link>
<description>Just a simple overlay for the necessary packages to let fonts look good on LCD displays</description>
</overlay>
</layman>
|
|
|
Back to top |
|
|
Occasus Apprentice
Joined: 22 Feb 2005 Posts: 158 Location: Italia
|
Posted: Sun Jan 20, 2008 4:09 pm Post subject: |
|
|
Thank you for the help! _________________ Guru Meditation |
|
Back to top |
|
|
StephanX n00b
Joined: 29 Oct 2007 Posts: 19 Location: Germany
|
Posted: Tue Jan 22, 2008 9:51 pm Post subject: |
|
|
swimmer wrote: | I simple appended Code: | file:///usr/portage/local/layman/font-overlay.xml | to "overlays :" in /etc/layman/layman.cfg ...
|
Hmm, it first didn't work for me. Only when I changed the file /etc/layman/layman.cfg to include the following:
Now, I can do a
Code: | layman -a font-overlay |
and it works
Stephan |
|
Back to top |
|
|
|