Pham Ngoc Hai personal web site

Syndicate

Gentoo
FGLRX KDE4 slow resize/maximize window in composite patch for gentoo
 
Written by Pham Ngoc Hai, on 10-05-2010 18:23

I've been falling in love with KDE composite effects but this bug:

http://ati.cchtml.com/show_bug.cgi?id=1426

and this:

https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/351186?comments=all

really maked me feel like I'm pushing my i7 This e-mail address is being protected from spam bots, you need JavaScript enabled to view it too much.

Thanks to this: http://blog.jasondonenfeld.com/190

I'm able to make an ebuild for x11-base/xorg-server package. Now my windows movement are real smooth :)

For the ebuild, please check my overlay.

 

Last update: 10-05-2010 18:23

Published in : Computer stuff, Gentoo
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

red5-bin-0.8.0.ebuild
 
Written by Pham Ngoc Hai, on 20-10-2009 11:31

It has been sometime since I played with red5, many people asked me about my ebuild's errors :D.

I recently work with AS3 and Flex, so here comes the ebuild again.

 

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Open Source Flash Server written in Java"
HOMEPAGE="http://osflash.org/red5"
SRC_URI="http://www.red5.org/downloads/0_8/red5-${PV}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="~amd64 ~x86"
IUSE="doc source"
DEPEND=">=virtual/jdk-1.5
>=dev-java/ant-core-1.5"
RDEPEND=">=virtual/jdk-1.5"
RED5_HOME=/opt/red5
pkg_setup() {
enewgroup red5
enewuser red5 -1 -1 ${RED5_HOME} red5
}
src_install() {
newinitd "${FILESDIR}"/red5.initd red5
newconfd "${FILESDIR}"/red5.confd red5
doenvd "${FILESDIR}"/21red5
if use doc ; then
dodoc doc/*
else
rm -rf doc
fi
if ! use source ; then
rm src.zip
fi
dodir ${RED5_HOME}
cp -rp * ${D}${RED5_HOME}
fowners -R red5:red5 ${RED5_HOME}
fperms 0750 ${RED5_HOME}/red5.sh
dosym ${RED5_HOME}/webapps /var/lib/red5-webapps
}

 

Last update: 20-10-2009 11:32

Published in : Computer stuff, Gentoo
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

Linux Rapidshare grabber ebuild - lrg-0.2.0.ebuild
 
Written by Pham Ngoc Hai, on 09-11-2008 14:50

It has been some time since the first release of lrg, we just reached 0.2.0 and I think that's a good milestone for an ebuild. So here it is:

(This is available in my overlay as well)

==========================================

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit python distutils

DESCRIPTION="Python GUI tool for rapidshare premium member to download rapidshare links."
HOMEPAGE="http://www.phamngochai.net/linux-rapidshare-grabber/"
SRC_URI="mirror://sourceforge/lrg/${P}.tar.gz"

LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="virtual/python
                dev-python/wxpython
                dev-python/pycurl"
RDEPEND="${DEPEND}"

src_unpack() {
        unpack ${A}
}

src_compile() {
        cd "${PN}"
        distutils_src_compile
}
src_install() {
        cd "${PN}"
        distutils_src_install
}

Last update: 09-11-2008 14:51

Published in : Computer stuff, Gentoo
Keywords : Linux Rapidshare grabber ebuild
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

Updated audacious ebuild
 
Written by Pham Ngoc Hai, on 23-10-2008 15:22

The 2 ebuild audacious-9999.ebuild and audacious-plugins-9999.ebuild have been updated with the lastest hg repo. Please redownload it or update your overlay.

Last update: 23-10-2008 23:32

Published in : Computer stuff, Gentoo
Keywords : audacious-9999.ebuild, audacious-plugins-9999.ebuild, audacious mercurial hg ebuild
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

vhba 1.1.0 ebuild
 
Written by Pham Ngoc Hai, on 04-07-2008 09:24

cdemu 1.1.0 has been released a few days ago. They added a bash script in vhba module to test the kernel version, so no patch is needed anymore.

For the other packages, please take a look at my overlay.

 

==========

Updated July 18th 2008:

Fixed detecting kernel problem

==========

 

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit linux-info linux-mod eutils

DESCRIPTION="VHBA module provides Virtual (SCSI) Host Bus Adapter \
                        for the cdemu suite"
HOMEPAGE="http://cdemu.org"
SRC_URI="mirror://sourceforge/cdemu/vhba-module-${PV}.tar.bz2"

LICENSE="GPL-V2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~hppa ~ppc"
IUSE=""

DEPEND=">=virtual/linux-sources-2.6.19"
RDEPEND=""

S="${WORKDIR}/vhba-module-${PV}"
MODULE_NAMES="vhba(block:${S})"
BUILD_TARGETS="all"

pkg_setup() {
        CONFIG_CHECK="~BLK_DEV_SR ~CHR_DEV_SG"
        #check_extra_config
        linux-mod_pkg_setup
        BUILD_PARAMS="KDIR=${KV_DIR}"
        #linux-mod_pkg_setup
}

src_compile() {
        linux-mod_src_compile || die "Error: building module failed!"
}

src_install() {
        KV_OBJ="ko"
        linux-mod_src_install || die "Error: installing module failed!"
        UDEV_RULES="/etc/udev/rules.d/70-vhba.rules"
        einfo "Generating UDEV-rules ..."
        mkdir -p "${D}"/${UDEV_RULES%/*}
        echo -e "# do not edit this file, it will be overwritten on update\n#" \
                > "${D}"/${UDEV_RULES}
        echo -e "KERNEL==\"vhba_ctl\", NAME=\"%k\", MODE=\"0660\", OWNER=\"root\",GROUP=\"cdemu\"" >> "${D}"/${UDEV_RULES}
}

pkg_postinst() {
        einfo "Generating cdemu group ..."
        enewgroup cdemu

        elog "Don't forget to add yourself to the cdemu group "
        elog "if you want to be able to use virtual cdemu devices."
        linux-mod_pkg_postinst
}

pkg_postrm() {
        linux-mod_pkg_postrm
}

 

Last update: 18-07-2008 23:15

Published in : Computer stuff, Gentoo
Keywords : vhba-1.1.0.ebuild, vhba 1.1.0 ebuild
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

<< Start < Prev 1 2 Next > End >>

Results 1 - 10 of 20


Search

Calendar

 Aug   September 2010   Oct

SMTWTFS
   1  2  3  4
  5  6  7  8  91011
12131415161718
19202122232425
2627282930 
VLSI Behavioral Synthesis

Random Photos






Donate

Enter Amount:

Sponsored Links

Copyright © 2007 Joomla Templates By Joomladesigns.  Modified By Pham Ngoc Hai