diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2009-05-11 10:25:01 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2009-05-11 10:25:01 +0000 |
commit | 01cd529bce018978d51d31bca512b0815567ba6a (patch) | |
tree | 4cf4a4d2e52e98c199c2cb8a9e1bc8a2d915365c /sys-apps/qingy | |
parent | Introduce new USE flag trayicon wrt #267958 by marenz. (diff) | |
download | historical-01cd529bce018978d51d31bca512b0815567ba6a.tar.gz historical-01cd529bce018978d51d31bca512b0815567ba6a.tar.bz2 historical-01cd529bce018978d51d31bca512b0815567ba6a.zip |
Version bump. Closes bug #267704.
Package-Manager: portage-2.1.6.11/cvs/Linux i686
Diffstat (limited to 'sys-apps/qingy')
-rw-r--r-- | sys-apps/qingy/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/qingy/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/qingy/qingy-0.9.9.ebuild | 153 |
3 files changed, 162 insertions, 2 deletions
diff --git a/sys-apps/qingy/ChangeLog b/sys-apps/qingy/ChangeLog index d19759e72ff0..39bab2b256bd 100644 --- a/sys-apps/qingy/ChangeLog +++ b/sys-apps/qingy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/qingy # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/ChangeLog,v 1.58 2009/04/27 14:28:06 s4t4n Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/ChangeLog,v 1.59 2009/05/11 10:25:01 s4t4n Exp $ + +*qingy-0.9.9 (11 May 2009) + + 11 May 2009; Michele Noberasco <s4t4n@gentoo.org> +qingy-0.9.9.ebuild: + Version bump. Closes bug #267704. *qingy-0.9.8 (27 Apr 2009) diff --git a/sys-apps/qingy/Manifest b/sys-apps/qingy/Manifest index 8c36fdd722ed..8b0c6b4c00cb 100644 --- a/sys-apps/qingy/Manifest +++ b/sys-apps/qingy/Manifest @@ -3,10 +3,12 @@ AUX qingy-logrotate 75 RMD160 4a07170b5898315881dd19a5513336a766207def SHA1 113d DIST qingy-0.9.6.tar.bz2 596883 RMD160 558cca749a33ecc0859a5fcd2aed14eba8600eb8 SHA1 fa00ea1a6188defd2bc77dbab662800b03436c29 SHA256 496f67e043e675f9f7d92a42eb17e1038bb14d93975ff2c09887ddbd3e891822 DIST qingy-0.9.7.tar.bz2 601784 RMD160 780ef5212714d17a911a09a629ec878eef400c30 SHA1 99f10e06484975c662a9c15223496b5ee55743eb SHA256 2356e7e7049e2a32292800b69ae87e914b4cfbfcef1d6273b377503b64e10b0a DIST qingy-0.9.8.tar.bz2 607832 RMD160 b74b0a3e38352222f49d8cefdfc38c6d185103a1 SHA1 c4d06d1f70e9219bde5c1229d686d73c03eb86a5 SHA256 71d44357ba46bc78174ec28ea70ebdbb28f98b073634c8b8c1ce39c7bc8287d4 +DIST qingy-0.9.9.tar.bz2 611008 RMD160 7c5a168f5923a71aca1a5273ab82d88d9655254a SHA1 b4a09e61f91e46c42bc50024ec225a485edf385f SHA256 c9062c4ac6d34840f48a2bf58fd905dc1763c8c1c818ea4b95c7cc1f0e827026 DIST qingy-gentoo-theme-2.1.tar.bz2 150702 RMD160 24a6792753dbed00bfadcab47e7b048c2f7797b4 SHA1 f94c315ed0a3a52ca9d69afcbd648fba0a06e227 SHA256 1b770255577ed3fc89e1cfdf5019990bf4deffab26201e095084dd5bd97bf093 EBUILD qingy-0.9.6-r1.ebuild 4650 RMD160 c88a5fbfa106c460b9f50b6481608e89cc324178 SHA1 c149a21e07386dbfd2b0e7571eaec0a5c749aec9 SHA256 f9b3e8c764c442b4b2e8692c052a4b2727865e8d3e7293b49c3ac72e4f3352da EBUILD qingy-0.9.6-r3.ebuild 4773 RMD160 b3aa10ea98eb48d9e400767acf64c809c404152d SHA1 b6e2bcbeb2b05cefea68c83a51710da19828a1e4 SHA256 c9fc03f44e1b979b13e7984b83e9fc7473d54ba5c6671abeb192a12cbfab8306 EBUILD qingy-0.9.7.ebuild 4768 RMD160 b0d85fcbebeb5733a8905d5f31927d2205c2f032 SHA1 c8c46ad97729f77df8025c01d84cdf5ec1c57262 SHA256 40a0f210a5fc2c7803f9041a34f7e2ecbf172ed31f0a98e15f0e4154004fe0de EBUILD qingy-0.9.8.ebuild 4770 RMD160 c6fa51c44ed70126e5b3dcda2c2d38bccdb13c5f SHA1 b9a87a5fb0e7dfeea89a2c7225e3ab24f17b20a5 SHA256 8b62c21409b2d003e173e931eab4d678630bfaab0689ae061f0201f7eb9ad545 -MISC ChangeLog 9544 RMD160 74e4527e4e62e126edf601d57d7ef1db63c6f9a7 SHA1 2c11ae29ef15645522c00a3ccf00358bb214cd01 SHA256 ebac1fedc536aa950003f6825abccf06a48647894b2cf4f8bcb98f4a49167a42 +EBUILD qingy-0.9.9.ebuild 4770 RMD160 3c5a6300e05998b0deed399ff3a8bf7e47f57533 SHA1 c88138e71c38f3787851b6225f247a7fa2bf8361 SHA256 364e3e549ec85d139347726620f5ae0e07ba73e870b9c3699fe787ba84e6a019 +MISC ChangeLog 9682 RMD160 ef8a3e32e9edba6b845be2b7cb5c43e761635030 SHA1 fc7ac0d277e24ad74cffefd2d08fa1163f8e49a2 SHA256 0a6ccc4fdacb9a901e5017694c567ff960f9e6d4044228c7e5fb8aec3b3946a2 MISC metadata.xml 390 RMD160 ae9ef275de4ccb7a391d7ea2b8f61f3bf74ad959 SHA1 05687860ba228c04b4e0fd605379f0a60eea0f71 SHA256 6356b21936d7923ae85b5b6b9b4813e6e0401b2a88149b45768e02eb910f2175 diff --git a/sys-apps/qingy/qingy-0.9.9.ebuild b/sys-apps/qingy/qingy-0.9.9.ebuild new file mode 100644 index 000000000000..20afe957f953 --- /dev/null +++ b/sys-apps/qingy/qingy-0.9.9.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/qingy/qingy-0.9.9.ebuild,v 1.1 2009/05/11 10:25:01 s4t4n Exp $ + +inherit elisp-common eutils pam + +GENTOO_THEME_VERSION="2.1" + +DESCRIPTION="a DirectFB getty replacement" +HOMEPAGE="http://qingy.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 + mirror://gentoo/${PN}-gentoo-theme-${GENTOO_THEME_VERSION}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="crypt directfb emacs gpm opensslcrypt pam static X" + +RDEPEND=">=sys-libs/ncurses-5.4-r6 + opensslcrypt? ( >=dev-libs/openssl-0.9.7e ) + crypt? ( >=dev-libs/libgcrypt-1.2.1 ) + directfb? ( >=dev-libs/DirectFB-0.9.24 ) + emacs? ( virtual/emacs ) + pam? ( >=sys-libs/pam-0.75-r11 ) + X? ( x11-libs/libX11 + x11-libs/libXScrnSaver + x11-proto/scrnsaverproto )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.12.0 + >=sys-apps/sed-4.1.4-r1" +RDEPEND="${RDEPEND} + pam? ( sys-auth/pambase )" + +SITEFILE=50${PN}-gentoo.el + +src_unpack() +{ + if use crypt && use opensslcrypt; then + echo + eerror "You can have openssl or libgcrypt as a crypto library, not both." + eerror "Please check your USE flags..." + echo + die "USE flags check failed" + fi + + if use directfb; then + + if ! built_with_use -a dev-libs/DirectFB fbcon jpeg png truetype; then + echo + eerror "qingy expects DirectFB to provide certain capabilities." + eerror "It depends on the theme you use, but at least the following USE flags" + eerror "should be enabled in DirectFB: fbcon jpeg png truetype." + eerror "You must rebuild DirectFB those USE flags enabled!" + echo + die "USE flags check failed" + fi + + if has_version ">=dev-libs/DirectFB-1.2.6"; then + if built_with_use -a dev-libs/DirectFB X; then + echo + eerror "Detected DirectFB version >= 1.2.6." + eerror "For this version of DirectFB to work with qingy" + eerror "X USE flag must be disabled." + eerror "You must rebuild DirectFB with X USE flag disabled!" + echo + die "USE flags check failed" + fi + fi + + fi + + unpack ${A} +} + +src_compile() +{ + local crypto_support="--disable-crypto" + local emacs_support="--disable-emacs" + + use emacs && emacs_support="--enable-emacs --with-lispdir=${SITELISP}/${PN}" + use opensslcrypt && crypto_support="--enable-crypto=openssl" + use crypt && crypto_support="--enable-crypto=libgcrypt" + + econf \ + --sbindir=/sbin \ + --disable-optimizations \ + `use_enable pam` \ + `use_enable static static-build` \ + `use_enable gpm gpm-lock` \ + `use_enable X x-support` \ + `use_enable directfb DirectFB-support` \ + ${crypto_support} \ + ${emacs_support} \ + || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install() +{ + # Copy documentation manually as make install only installs info files + # INSTALL is left because it contains also configuration informations + dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO + + # Install the program + emake DESTDIR="${D}" install || die "Installation failed" + + # Set the settings file umask to 600, in case somebody + # wants to make use of the autologin feature + /bin/chmod 600 "${D}/etc/qingy/settings" + + # Install Gentoo theme + dodir /usr/share/${PN}/themes/gentoo + cp "${WORKDIR}"/gentoo/* "${D}/usr/share/${PN}/themes/gentoo" \ + || die "Gentoo theme installation failed" + + # Alter config file so that it uses our theme + sed -i 's/theme = "default"/theme = "gentoo"/' "${D}/etc/${PN}/settings" + + # Install log rotation policy + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}-logrotate" ${PN} || die "Log rotation policy installation failed" + + use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + pamd_mimic system-local-login qingy auth account password session +} + +pkg_postinst() +{ + einfo "In order to use qingy you must first edit your /etc/inittab" + einfo "Check the documentation at ${HOMEPAGE}" + einfo "for instructions on how to do that." + echo + einfo "Also, make sure to adjust qingy settings file (/etc/qingy/settings)" + einfo "to your preferences/machine configuration..." + + if use crypt; then + echo + einfo "You will have to create a key pair using 'qingy-keygen'" + echo + ewarn "Note that sometimes a generated key-pair may pass the internal tests" + ewarn "but fail to work properly. You will get a 'regenerate your keys'" + ewarn "message. If this is your case, please remove /etc/qingy/public_key" + ewarn "and /etc/qingy/private_key and run qingy-keygen again..." + fi + + use emacs && echo && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |