You are not logged in.

#1 2004-09-17 11:23:08

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

[X11] aterm-dropsh

this is a PKGBUILD that checks out the last aterm source from CVS (it is now unmaintained) and applies a patch that has been floating around that adds drop shadows to text when aterm is transparent.

this is basically as stable as the last stable version of aterm so i think it may be safe to make a permenent switch - hence the installation to /usr.

the package is built in a separate dir to keep the CVS clean (why if it is unmaintained?)

the patch is hosted - but not created - by me.  if anyone finds it's original source location please let me know.

# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=aterm-dropsh
pkgver=current
pkgrel=1
pkgdesc="An xterm replacement with transparency support, this version from CVS, patched with drop-shadows"
url="http://aterm.sourceforge.net/"
license=""
conflicts=(aterm)
source=(http://dtw.jiwe.org/share/downloads/aterm.diff)
md5sums=('4973b009cb9303b07b89b4c2c13d59e8')

build() {
  cd $startdir/src
  cvsmod=aterm

  touch ~/.cvspass
  msg "Connecting to $cvsmod.sourceforge.net CVS server...."
  cvs -d:pserver:anonymous:@cvs.$cvsmod.sourceforge.net:/cvsroot/$cvsmod co $cvsmod
  cd $cvsmod
  cvs update -dP
  msg "CVS checkout done or server timeout.  Press any key to continue"
  read X

  msg "Patching source.."
  cp $startdir/src/aterm.diff aterm.diff
  patch -p1 <aterm.diff

  msg "Starting make..."
  rm -r ../$cvsmod-build
  mkdir ../$cvsmod-build
  cd ../$cvsmod-build  
  ../$cvsmod/configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

screenie here

Offline

#2 2004-09-18 12:11:49

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: [X11] aterm-dropsh

The patch doesn't seem to work anymore.
Also CVS moved.

Do you have an update?

Offline

#3 2004-09-18 17:38:42

wickedlester
Member
From: Texas, USA
Registered: 2004-07-22
Posts: 144

Re: [X11] aterm-dropsh

works great here. Thanks dibblethewrecker big_smile

Offline

#4 2004-09-18 20:24:43

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

Fopref - dunno why it is not working for you - works perfectly for me.  If you cannot connect to the sourceforge CVS server try later - it is unreliable.  the patch only works against CVS as far as i know. YMMV.

Offline

#5 2004-09-18 21:07:00

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

PKGBUILD updated

Offline

#6 2004-09-18 21:21:03

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: [X11] aterm-dropsh

Hi

Ok, I'm trying again.

aterm.sf.net reads:
"I've moved development aterm CVS to AfterStep server as I'm having problems connecting to SourceForge via SSH through firewall.

cvs -d :pserver:anonymous@cvs.afterstep.org:/home/cvsroot co aterm"

So I tried that one. And with that version the diff failed. Probably it works with sourceforge cvs as there it isn't updated anymore.


I try to connect to sourceforge and get time outs again and again :-/


cu
Ford Prefect

Offline

#7 2004-09-18 21:26:05

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

well, what can i say?  i can post the package for you to try?

i don't think either cvs is updated anymore - besides - both cvs are "newer" than the last release, so should be "better" anyway - it's just stable aterm with dropshadows but the patch won't compile against non-CVS code.

not really much else to say  :?

Offline

#8 2004-09-18 21:35:26

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: [X11] aterm-dropsh

I would like to try it out, yes. I trust your skills in compiling stuff smile

I understand how the patch work so perhaps I could also write a patch for the release version, but I don't have time for such things these days hmm

So if I could work with your package I would be happy smile

Offline

#9 2004-09-18 22:03:38

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

um - right.  it is now in my package repo on my server - if you add my details to pacman.conf you can sync stuff straight from the dbase - i added the details to the main post in this thread

if you could do a patch for the current one that would be great!  if you could also do it so the shadows could be enabled with a switch that would be ideal!

Offline

#10 2004-09-18 22:40:23

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: [X11] aterm-dropsh

Thank you very much, the package out of your repo works great. It has problems with bold though.


Well, I don't want to make promises, but if I get the time, I will write it.

Offline

#11 2004-09-19 09:01:29

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: [X11] aterm-dropsh

This patch isn't very good, has serious flaws.
Shadows get cleared from other character's XClearArea, the extended XClearArea (to clear the shadow, too) clears parts of neighbour characters, shadows are drawn over neighbour characters and so on.

To fix this, neighbour characters must be redrawn on some events. But not the whole character but only the character without shadow. But there are also events on which parts oft he shadow would have to be redrawn. So you have to redraw neighbour shadows and the char itself, but without clearing...
It's getting a little bit complicated.

Offline

#12 2004-09-19 09:34:42

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

i think it was thrown together quite quickly as a favour for someone!

Offline

#13 2004-10-28 07:40:26

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

updated

Offline

#14 2004-10-28 12:49:37

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: [X11] aterm-dropsh

what did you change?

doing a clean patch seems to be much more afford as this one.. hmm

Offline

#15 2004-10-28 16:11:57

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

on advice i changed "replaces" to "conflicts" - no more changes expected now

no idea what your second comment is about smile

Offline

#16 2004-10-28 16:38:34

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: [X11] aterm-dropsh

about writing a clean patch that doesn't has the flaws this one obviously has..

Offline

#17 2004-10-28 18:00:37

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

go for it dude - as i have said - i didn't make the patch - your welcome to improve it!

Offline

#18 2005-02-04 04:51:50

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [X11] aterm-dropsh

moved some stuff on my server, updated PKGBUILD

Offline

Board footer

Powered by FluxBB