diff options
author | Ioannis Aslanidis <deathwing00@gentoo.org> | 2006-11-05 02:24:09 +0000 |
---|---|---|
committer | Ioannis Aslanidis <deathwing00@gentoo.org> | 2006-11-05 02:24:09 +0000 |
commit | 99036eea3558c26bef28a16c218d31d00dc8345f (patch) | |
tree | fb71c0c112a180d891341a70b6d93836a63c1aae /kde-base/kdm | |
parent | Version bump (diff) | |
download | historical-99036eea3558c26bef28a16c218d31d00dc8345f.tar.gz historical-99036eea3558c26bef28a16c218d31d00dc8345f.tar.bz2 historical-99036eea3558c26bef28a16c218d31d00dc8345f.zip |
Regenerated and included a new grub-set-default patch as requested in bug #153544.
Package-Manager: portage-2.1.2_rc1-r3
Diffstat (limited to 'kde-base/kdm')
-rw-r--r-- | kde-base/kdm/ChangeLog | 9 | ||||
-rw-r--r-- | kde-base/kdm/Manifest | 25 | ||||
-rw-r--r-- | kde-base/kdm/files/digest-kdm-3.5.5-r1 | 6 | ||||
-rw-r--r-- | kde-base/kdm/files/kdm-3.5.5-grub-patch.diff | 35 | ||||
-rw-r--r-- | kde-base/kdm/kdm-3.5.5-r1.ebuild | 77 |
5 files changed, 144 insertions, 8 deletions
diff --git a/kde-base/kdm/ChangeLog b/kde-base/kdm/ChangeLog index fab2435f68ef..d9722e64e986 100644 --- a/kde-base/kdm/ChangeLog +++ b/kde-base/kdm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for kde-base/kdm # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.76 2006/10/07 16:46:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.77 2006/11/05 02:24:09 deathwing00 Exp $ + +*kdm-3.5.5-r1 (05 Nov 2006) + + 05 Nov 2006; Ioannis Aslanidis <deathwing00@gentoo.org> + +files/kdm-3.5.5-grub-patch.diff, +kdm-3.5.5-r1.ebuild: + Regenerated and included a new grub-set-default patch as requested in bug + #153544. 07 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> Manifest: Regenerate digest (this time hopefully..). diff --git a/kde-base/kdm/Manifest b/kde-base/kdm/Manifest index a9d9b5688417..df209c0fcc2d 100644 --- a/kde-base/kdm/Manifest +++ b/kde-base/kdm/Manifest @@ -21,6 +21,10 @@ AUX kdm-3.5.4-strict-aliasing.patch 402 RMD160 641395d16228df627ff16017f67ae4f17 MD5 10c1612d3d573ef3db770458da6a400d files/kdm-3.5.4-strict-aliasing.patch 402 RMD160 641395d16228df627ff16017f67ae4f17e0d7288 files/kdm-3.5.4-strict-aliasing.patch 402 SHA256 ad8e466afc748a15bc04750a9231f668de5c953d9ba0e25e73e79f89587acd55 files/kdm-3.5.4-strict-aliasing.patch 402 +AUX kdm-3.5.5-grub-patch.diff 941 RMD160 cec8ba370bc44c47c17ed3d12ffb42bcf5238344 SHA1 01b804deaffe0de66fe4c6843a21d1d0a87a4a2d SHA256 b8fdfe7df2bbc1854ce40f576e8310a95ef312c2749504caf7343c1c921d734b +MD5 f8645dc5d0044476a01c9c6a95c4853f files/kdm-3.5.5-grub-patch.diff 941 +RMD160 cec8ba370bc44c47c17ed3d12ffb42bcf5238344 files/kdm-3.5.5-grub-patch.diff 941 +SHA256 b8fdfe7df2bbc1854ce40f576e8310a95ef312c2749504caf7343c1c921d734b files/kdm-3.5.5-grub-patch.diff 941 AUX post-3.5.0-kdebase-kdm.diff 508 RMD160 0b223a8e364540d6c9e877e5f560fe855b50030f SHA1 327cd873bfeaea0665364b973245d744fa09c938 SHA256 95cc8feb448616e63eae37e3093bbdee690d04f8542f7f04aeab7926a6cffcf2 MD5 9daecff07d57dabba35da247e752916a files/post-3.5.0-kdebase-kdm.diff 508 RMD160 0b223a8e364540d6c9e877e5f560fe855b50030f files/post-3.5.0-kdebase-kdm.diff 508 @@ -52,14 +56,18 @@ EBUILD kdm-3.5.4.ebuild 2463 RMD160 227bb27a32170723e5e4a9fd350c9d8a8ccc32ac SHA MD5 7bd3e0e517fed89f2ef37a51aa16675e kdm-3.5.4.ebuild 2463 RMD160 227bb27a32170723e5e4a9fd350c9d8a8ccc32ac kdm-3.5.4.ebuild 2463 SHA256 22b68d441f5551992aa71965cf69a0400a24f77b37462fcd57667970d1f36e64 kdm-3.5.4.ebuild 2463 +EBUILD kdm-3.5.5-r1.ebuild 2541 RMD160 bb8486c6d85495c583c390036994291de093a3d2 SHA1 711a14fb6217fd7415b22bc63242a5431c13a3cd SHA256 f6005a08163a38347954aae0e37fb5611298b0196aae1329a08124be48980596 +MD5 75d8651dbd4c9c7f33a639a20d2010a3 kdm-3.5.5-r1.ebuild 2541 +RMD160 bb8486c6d85495c583c390036994291de093a3d2 kdm-3.5.5-r1.ebuild 2541 +SHA256 f6005a08163a38347954aae0e37fb5611298b0196aae1329a08124be48980596 kdm-3.5.5-r1.ebuild 2541 EBUILD kdm-3.5.5.ebuild 2492 RMD160 55fc017943bd593262cbf660a8fcf6a1123df193 SHA1 8dafc4228a4b8a5872e876c0c3c37ec053222761 SHA256 864b8217321739fc6aae44068539edb3aa519f46f2c3f4f49208d9718854cf1d MD5 d4159b0522ace1f9eb606b6f2a913d10 kdm-3.5.5.ebuild 2492 RMD160 55fc017943bd593262cbf660a8fcf6a1123df193 kdm-3.5.5.ebuild 2492 SHA256 864b8217321739fc6aae44068539edb3aa519f46f2c3f4f49208d9718854cf1d kdm-3.5.5.ebuild 2492 -MISC ChangeLog 10320 RMD160 ad3e99b1d47dc8577f5b86cfc883c9a4153ba278 SHA1 21f3f9a2519188890bb00dbd9c9183c459c52bda SHA256 63950c26ffa06d0cad27eee81470dbe310fb4ae4f914a263b1c3dcb7a15e5cb5 -MD5 42d4e38424018a5a98eea6f822bc762c ChangeLog 10320 -RMD160 ad3e99b1d47dc8577f5b86cfc883c9a4153ba278 ChangeLog 10320 -SHA256 63950c26ffa06d0cad27eee81470dbe310fb4ae4f914a263b1c3dcb7a15e5cb5 ChangeLog 10320 +MISC ChangeLog 10555 RMD160 2e094411707198700f88d8d2e6e1e7e8d5affd23 SHA1 33e496c5d1c8c10b27410705f9a67ad009949ac2 SHA256 9496032e36419f3168449cd4e8fe3c842bb22c68a9bfea7953b3264fc4b153dc +MD5 16020caf2a0017f8aca857ff7bdecdd8 ChangeLog 10555 +RMD160 2e094411707198700f88d8d2e6e1e7e8d5affd23 ChangeLog 10555 +SHA256 9496032e36419f3168449cd4e8fe3c842bb22c68a9bfea7953b3264fc4b153dc ChangeLog 10555 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 @@ -82,10 +90,13 @@ SHA256 57967b3edb5abfc41e2ac6b719634e3326019f8d3f65de0b0065ed4e8eb2d7e0 files/di MD5 4413bb62e0a3313d499ee48fb91adfaf files/digest-kdm-3.5.5 521 RMD160 4631b6a312d8f0a17d62d4a7f98bb92ab09fa8d1 files/digest-kdm-3.5.5 521 SHA256 f8d736f629130da8e0d90a8ebd0a550634334af2739900a17d0e04c688b248e2 files/digest-kdm-3.5.5 521 +MD5 4413bb62e0a3313d499ee48fb91adfaf files/digest-kdm-3.5.5-r1 521 +RMD160 4631b6a312d8f0a17d62d4a7f98bb92ab09fa8d1 files/digest-kdm-3.5.5-r1 521 +SHA256 f8d736f629130da8e0d90a8ebd0a550634334af2739900a17d0e04c688b248e2 files/digest-kdm-3.5.5-r1 521 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFJ9nuAiZjviIA2XgRAtylAJ46MF0mbl/PUllHGYbjTQ+oE7IFHgCg5R0x -qAqhQPsbiblNa2TVOGiCIO0= -=o44G +iD8DBQFFTUtUQVeVlgLp4x8RAoZyAJ0Scea9TGBeSAl341HxIbVktQ9iLQCfYJ3A +rOeE6Lu5/5YjNK1d+neAfjU= +=576T -----END PGP SIGNATURE----- diff --git a/kde-base/kdm/files/digest-kdm-3.5.5-r1 b/kde-base/kdm/files/digest-kdm-3.5.5-r1 new file mode 100644 index 000000000000..f51965cf1cbe --- /dev/null +++ b/kde-base/kdm/files/digest-kdm-3.5.5-r1 @@ -0,0 +1,6 @@ +MD5 420445e2dbddfd83ebc25e85a9b9cdda kdebase-3.5-patchset-03.tar.bz2 21409 +RMD160 941b919097d03347b10bccb51db2fa5e89d7ba16 kdebase-3.5-patchset-03.tar.bz2 21409 +SHA256 59c691754627f78daf7693e82496d808cf1cc31e2d6f32af829ec4ccfd776574 kdebase-3.5-patchset-03.tar.bz2 21409 +MD5 0c685af1cbca75f9c77b3ed231ba0468 kdebase-3.5.5.tar.bz2 23851886 +RMD160 6cf804de0487347a3e1d4ea6e5ba5114d23d9806 kdebase-3.5.5.tar.bz2 23851886 +SHA256 f77632e44214648e2d0adfe1a79dd61a6a738c21fe5abb0baff16b72432baaa0 kdebase-3.5.5.tar.bz2 23851886 diff --git a/kde-base/kdm/files/kdm-3.5.5-grub-patch.diff b/kde-base/kdm/files/kdm-3.5.5-grub-patch.diff new file mode 100644 index 000000000000..3dace6dd0677 --- /dev/null +++ b/kde-base/kdm/files/kdm-3.5.5-grub-patch.diff @@ -0,0 +1,35 @@ +diff -Naur kdm-3.5.5-orig/kdm/backend/bootman.c kdm-3.5.5/kdm/backend/bootman.c +--- kdm-3.5.5-orig/kdm/backend/bootman.c 2006-10-01 19:32:15.000000000 +0200 ++++ kdm-3.5.5/kdm/backend/bootman.c 2006-11-05 03:03:54.000000000 +0100 +@@ -82,7 +82,7 @@ + int len; + char line[1000]; + +- if (!grub && !(grub = locate( "grub" ))) ++ if (!grub && !(grub = locate( "grub-set-default" ))) + return BO_NOMAN; + + *def = 0; +@@ -132,19 +132,14 @@ + static void + commitGrub( void ) + { +- FILE *f; +- int pid; +- static const char *args[] = { 0, "--batch", "--no-floppy", 0 }; ++ char command[256]; + + if (sdRec.bmstamp != mTime( GRUB_MENU ) && + setGrub( sdRec.osname, &sdRec ) != BO_OK) + return; + +- args[0] = grub; +- if ((f = pOpen( (char **)args, 'w', &pid ))) { +- fprintf( f, "savedefault --default=%d --once\n", sdRec.osindex ); +- pClose( f, pid ); +- } ++ sprintf(command, "%s %d", grub, sdRec.osindex); ++ system(command); + } + + static char *lilo; diff --git a/kde-base/kdm/kdm-3.5.5-r1.ebuild b/kde-base/kdm/kdm-3.5.5-r1.ebuild new file mode 100644 index 000000000000..d294aba3ec74 --- /dev/null +++ b/kde-base/kdm/kdm-3.5.5-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-3.5.5-r1.ebuild,v 1.1 2006/11/05 02:24:09 deathwing00 Exp $ + +KMNAME=kdebase +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +SRC_URI="${SRC_URI} + mirror://gentoo/kdebase-3.5-patchset-03.tar.bz2" + +DESCRIPTION="KDE login manager, similar to xdm and gdm" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="pam elibc_glibc" + +KMEXTRA="kdmlib/" +# kioslave/thumbnail/configure.in.in is to have HAVE_LIBART. Can be dropped on +# 3.5_beta1. +KMEXTRACTONLY="libkonq/konq_defaults.h" +# kioslave/thumbnail/configure.in.in" +KMCOMPILEONLY="kcontrol/background" +DEPEND="pam? ( kde-base/kdebase-pam ) + $(deprange $PV $MAXKDEVER kde-base/kcontrol)" + # Requires the desktop background settings and kdm kcontrol modules +RDEPEND="${DEPEND} + || ( ( x11-apps/xinit x11-apps/xmessage ) + <virtual/x11-7 ) + kde-base/kdepasswd" +PDEPEND="$(deprange $PV $MAXKDEVER kde-base/kdesktop)" + +PATCHES="${FILESDIR}/${P}-grub-patch.diff" + +src_unpack() { + kde-meta_src_unpack + + # Avoid using imake (kde bug 114466) + epatch "${WORKDIR}/patches/kdebase-3.5.0_beta2-noimake.patch" +} + +src_compile() { + local myconf="--with-x-binaries-dir=/usr/bin $(use_with pam)" + + if ! use pam && use elibc_glibc; then + myconf="${myconf} --with-shadow" + fi + + export USER_LDFLAGS="${LDFLAGS}" + + kde-meta_src_compile myconf configure + kde_remove_flag kdm/kfrontend -fomit-frame-pointer + kde-meta_src_compile make +} + +src_install() { + kde-meta_src_install + cd ${S}/kdm && make DESTDIR=${D} GENKDMCONF_FLAGS="--no-old --no-backup --no-in-notice" install + + # Customize the kdmrc configuration + sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \ + ${D}/${KDEDIR}/share/config/kdm/kdmrc || die +} + +pkg_postinst() { + # set the default kdm face icon if it's not already set by the system admin + # because this is user-overrideable in that way, it's not in src_install + if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" ]; then + mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" + cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/default1.png" \ + "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" + fi + if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" ]; then + mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" + cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/root1.png" \ + "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" + fi +} |