[PATCH] gnome-session with session support (duh)

Michal Varga varga.michal at gmail.com
Mon Apr 13 17:48:18 UTC 2009


As noted in my previous email today (
http://lists.freebsd.org/pipermail/freebsd-gnome/2009-April/022096.html
), gnome-session 2.26.0.90 is out, with working session save/restore,
the one that has been exterminated with introduction of Gnome 2.24 and
created an usability nightmare for many desktop users. Since moments
later the ports tree has been frozen for the upcoming FreeBSD 7.2
release, here is a little local patch in case the new changes won't
make it there for a while:

(gmail will probably break the lines at 80 chars, does anyone know how
to prevent this?)
--snip---

--- Makefile 2009-04-10 07:56:18.000000000 +0200
+++ Makefile.new 2009-04-13 17:34:24.000000000 +0200
@@ -7,7 +7,7 @@
#

PORTNAME= gnome-session
-PORTVERSION= 2.26.0
+PORTVERSION= 2.26.0.90
CATEGORIES= x11 gnome
MASTER_SITES= GNOME \
http://www.marcuscom.com/downloads/:local
--- distinfo 2009-04-10 07:56:18.000000000 +0200
+++ distinfo.new 2009-04-13 18:18:05.000000000 +0200
@@ -1,6 +1,6 @@
-MD5 (gnome2/gnome-session-2.26.0.tar.bz2) = e17dbce7446b3e42fac2b1cea7dedffd
-SHA256 (gnome2/gnome-session-2.26.0.tar.bz2) =
0a161c419718b83e18200fe51e7e5f827b9b72a5ef055782c8c896c550a7881b
-SIZE (gnome2/gnome-session-2.26.0.tar.bz2) = 829541
+MD5 (gnome2/gnome-session-2.26.0.90.tar.bz2) = b715b1de0de24a49eb91b41a6731919b
+SHA256 (gnome2/gnome-session-2.26.0.90.tar.bz2) =
d13fd92dd85286eee8d322a9f4a91dbd464bff3507f3d300b7f829d45e31d9fb
+SIZE (gnome2/gnome-session-2.26.0.90.tar.bz2) = 834138
MD5 (gnome2/freebsd-splashes-gnome-2.18_1.tar) =
80eb8c52fcf9fe977e0bf8ed48b85fe5
SHA256 (gnome2/freebsd-splashes-gnome-2.18_1.tar) =
fcca0f6eb759a4ef0211ecd61340f84ce8ad4d7493f725ac8613724faadbb508
SIZE (gnome2/freebsd-splashes-gnome-2.18_1.tar) = 1630720

--snip---

I've been testing .90 for a while and it seems to be working "just
fine" (though, I guess anything could be considered fine in opposition
to the whole functionality missing). So far no problems encountered,
so those who can't wait for the proper introduction (be it 2.26.0.90
or 2.26.1) can use these steps to upgrade to the .90 version now:

# cd /usr/ports/x11/gnome-session
# fetch http://varga.stonehenge.sk/temp/gnome-session-2.26.0.90.patch
# patch < gnome-session-2.26.0.90.patch
# rm -fv *.orig gnome-session-2.26.0.90.patch
# portupgrade -vRu gnome-session

(portmaster users should replace the last step with proper portmaster
equivalent, of course)

Restart Gnome, start using the desktop as you did back in 2.22.


In case you find something seriously wrong with .90, you can go back
to original 2.26.0 any time later with basically the same steps, just
answer 'yes' when asked for patch reversal:

# cd /usr/ports/x11/gnome-session
# fetch http://varga.stonehenge.sk/temp/gnome-session-2.26.0.90.patch
# patch < gnome-session-2.26.0.90.patch
# rm -fv *.orig gnome-session-2.26.0.90.patch
# portupgrade -vfu gnome-session


m.


More information about the freebsd-ports mailing list