OK
Rating:
4.04
Thread Listing » AWN Applets
Affinity revived
#18719 by Timon (1.0000) posted on 3:48pm Saturday, December 29th, 2007
Hello all,
[Q]



I have been away for a while, but now I have some time on my hands.
I decided to give Affinity a shot again.
With some hacks, I was able to create an applet that shows/hides (thus controls) Affinity (see the screenshot below).
[Q]



I could put it in the repo, but it has some things left to do:
* it does not subclass awn-applet-dialog (this one is tricky; I tried it but had issues with the inputshape)
* the applet ships with the full source code of Affinity; so it is a fat lady
[Q]



So, if other developers are interested as well, I can put this applet up to bazaar. It works perfect like this, only it needs some future work.
[Q]



[Q]



*Edited at 3:50pm, 12/29/07
Score: 0 points
Any particular reason?
#18720 by moonbeam (1.0000) posted on 5:27pm Saturday, December 29th, 2007
( no avatar )
Timon said:
I have been away for a while, but now I have some time on my hands.
I decided to give Affinity a shot again.
With some hacks, I was able to create an applet that shows/hides (thus controls) Affinity (see the screenshot below).
[Q]



Looks nice.
[Q]




Timon said:
I could put it in the repo, but it has some things left to do:
* it does not subclass awn-applet-dialog (this one is tricky; I tried it but had issues with the inputshape)
* the applet ships with the full source code of Affinity; so it is a fat lady
[Q]



Sometimes awn-applet-dialog isn't worth the effort.
[Q]



The source code itself rarely is the biggest contributor to the size of the application :-)
[Q]




Timon said:
So, if other developers are interested as well, I can put this applet up to bazaar. It works perfect like this, only it needs some future work.
[Q]



Sounds like a plan. Once you put it into bazaar I'll probably shove it into my branch also.
[Q]



Score: 0 points
Any particular reason?
#18722 by rgdg (0.6549) posted on 9:14pm Saturday, December 29th, 2007
( no avatar )
I'd love to get it - whether it's in bzr or whatever.
Looks great!
[Q]

Score: 0 points
Any particular reason?
#18724 by MrDowntempo (0.1721) posted on 10:24pm Saturday, December 29th, 2007
( no avatar )
I'd really like to play with the source too :)
[Q]

Score: 0 points
Any particular reason?
#18726 by Timon (1.0000) posted on 2:53am Sunday, December 30th, 2007
moonbeam said:
Sounds like a plan. Once you put it into bazaar I'll probably shove it into my branch also.
[Q]



Well I just put it in the bazaar repo.
Please report if any bugs still found their way in...
[Q]



Don't hesitate to improve the code and commit it to the tree.
[Q]

Score: 0 points
Any particular reason?
#18727 by chatgris (0.4012) posted on 3:05am Sunday, December 30th, 2007
Timon said:
Well I just put it in the bazaar repo.<br />Please report if any bugs still found their way in...
[Q]



Rev 292.
[Q]



 
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
/bin/sh /home/timon/System/awn-extras/awn-applets/awn-extras-applets/install-sh -d /usr/local/share/locale
/bin/sh: /home/timon/System/awn-extras/awn-applets/awn-extras-applets/install-sh: Aucun fichier ou répertoire de ce type
make[3]: *** [install-data-yes] Erreur 127
make[3]: quittant le répertoire « /home/chatgris/Pack/awn/awn-extras/awn-applets/awn-extras-applets/src/affinity/po »
[Q]

--
http://www.petite-madame.fr

*Edited at 3:06am, 12/30/07
Score: 0 points
Any particular reason?
#18728 by thpani (0.3471) posted on 4:03am Sunday, December 30th, 2007
( no avatar )
chatgris said:
Rev 292.
[Q]



yep, same error for me... seems there are some absolute paths in the makefile: http://rafb.net/p/i4E7AX70.html
[Q]

Score: 0 points
Any particular reason?
#18731 by Timon (1.0000) posted on 6:00am Sunday, December 30th, 2007
Well, I am not an expert on creating Makefiles and stuff, but running "autogen.sh" in the "affinity" directory should do the trick, I guess...
[Q]



I do not know how to correctly integrate this source code into the applets tree.
[Q]

Score: 0 points
Any particular reason?
#18733 by moonbeam (1.0000) posted on 7:44am Sunday, December 30th, 2007
( no avatar )
Timon said:
Well, I am not an expert on creating Makefiles and stuff, but running "autogen.sh" in the "affinity" directory should do the trick, I guess...
[Q]



My suggestion is to remove it from the overall build process (configure.ac and src/Makefile.am) until that gets sorted out. Anyone who wants can go to it's src dir and build it... and someone who's just following the direction on the wiki etc to build awn-extras won't run into an error.
[Q]


Score: 0 points
Any particular reason?
#18734 by chatgris (0.4012) posted on 7:44am Sunday, December 30th, 2007
Timon said:
Well, I am not an expert on creating Makefiles and stuff, but running "autogen.sh" in the "affinity" directory should do the trick, I guess...
[Q]



It doesn't seem to do the trick.
[Q]
Score: 0 points
Any particular reason?
#18746 by Timon (1.0000) posted on 10:43am Sunday, December 30th, 2007
I altered the build system of affinity.
Can you all check if bzr 294 works for you?
[Q]



Thanks
[Q]

Score: 0 points
Any particular reason?
#18748 by moonbeam (1.0000) posted on 11:01am Sunday, December 30th, 2007
( no avatar )
Timon said:
I altered the build system of affinity.
Can you all check if bzr 294 works for you?
[Q]



seems to be ok after doing an autogen and make.
[Q]



I did a make distclean.
[Q]



and then
[Q]



sh autogen.sh
[Q]



gives:
make: *** No rule to make target `clean'. Stop.
moonbeam@localhost ~/src/bzr/awn-extras/awn-applets/awn-extras-applets $ sh autogen.sh
autoreconf-2.61: Entering directory `.'
autoreconf-2.61: configure.ac: not using Gettext
autoreconf-2.61: running: aclocal
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
/usr/share/aclocal/nspr.m4:8: run info '(automake)Extending aclocal'
/usr/share/aclocal/nspr.m4:8: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf-2.61: configure.ac: tracing
autoreconf-2.61: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
/usr/share/aclocal/nspr.m4:8: run info '(automake)Extending aclocal'
/usr/share/aclocal/nspr.m4:8: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf-2.61: running: /usr/bin/autoconf-2.61
autoreconf-2.61: running: /usr/bin/autoheader-2.61
autoreconf-2.61: running: automake --add-missing --copy --no-force
configure.ac:181: required file `po/Makefile.in' not found
autoreconf-2.61: automake failed with exit status: 1
[Q]




I have no idea if this is a something new from the recent commits for if it's been lurking for a bit. I'll try reverting back and see if I can find out when it happened.
[Q]





Score: 0 points
Any particular reason?
#18749 by moonbeam (1.0000) posted on 11:07am Sunday, December 30th, 2007
( no avatar )
moonbeam said:

I have no idea if this is a something new from the recent commits for if it's been lurking for a bit. I'll try reverting back and see if I can find out when it happened.
[Q]



I've reverted to 290
[Q]



autogen.sh seems ok.
[Q]




make distclean
[Q]



and
[Q]



autogen.sh looks ok.
[Q]



So... looking better. My guess is that the make distclean probably is the only major build system issue.
[Q]



Score: 0 points
Any particular reason?
#18750 by chatgris (0.4012) posted on 11:10am Sunday, December 30th, 2007
Timon said:
I altered the build system of affinity.
Can you all check if bzr 294 works for you?
[Q]



It works for me.
[Q]



Thanks Timon.
[Q]
Score: 0 points
Any particular reason?
#18752 by plunn (1.0000) posted on 11:37am Sunday, December 30th, 2007
Nope broken for me
[Q]



rev 294, clean download
[Q]



configure.ac:3: installing `./missing'
configure.ac:3: installing `./install-sh'
src/affinity/Makefile.am: installing `./depcomp'
configure.ac:181: required file `po/Makefile.in' not found
autoreconf: automake failed with exit status: 1
plun@dunder:~/awn-extras/awn-applets/awn-extras-applets$
[Q]




Score: 0 points
Any particular reason?
#18757 by gilir (0.9999) posted on 11:45am Sunday, December 30th, 2007
plunn said:
Nope broken for me
[Q]



me too ...
When you make such modification on the build system, do it in a separate branch !
[Q]





*Edited at 11:46am, 12/30/07
Score: 0.86 points
Any particular reason?
#18758 by malept (1.0000) posted on 11:50am Sunday, December 30th, 2007
( no avatar )
I'd revert the build system stuff in trunk for now. I was going to take a look at it later tonight and fix it in moonbeam's branch.
[Q]
Score: 0 points
Any particular reason?
#18763 by plunn (1.0000) posted on 12:26pm Sunday, December 30th, 2007
Well. noticed that moonbeam also had it in his branch, thanks
[Q]



Thanks Timon ! Affinity is back on dock :-)
[Q]



We hopefully can sort out this little challenge
with the build system. Just a little wish...
[Q]

Score: 0 points
Any particular reason?
#18765 by moonbeam (1.0000) posted on 12:30pm Sunday, December 30th, 2007
( no avatar )
plunn said:
Well. noticed that moonbeam also had it in his branch, thanks
[Q]



At this point it will not build in my branch. I've removed all the changes to the build system as the build system in my branch has been modified a fair amount by malept which would just be likely to make any issues worse.
[Q]



I will look into putting the standalone build system back into the src/affinity dir for the moment.
[Q]



If I can avoid trying to properly merge it in I will (I cringe at the thought of working with autotools) :-) malept will probably look at it tonight.
[Q]

--
http://moon-shiny.blogspot.com/

*Edited at 12:31pm, 12/30/07
Score: 0 points
Any particular reason?
#18773 by moonbeam (1.0000) posted on 12:23pm Monday, December 31st, 2007
( no avatar )
moonbeam said:
At this point it will not build in my branch. I've removed all the changes to the build system as the build system in my branch has been modified a fair amount by malept which would just be likely to make any issues worse.
[Q]



malept has worked his customary autotools magic and the affinity applet now integrated into the build system in my branch.
[Q]



Thanks Timon for putting this out there. I know a lot of people really are fond of affinity. And now it can get some more love.
[Q]



Thanks malept for the the build system. I'd just like to point out that malept has been doing a LOT of work on the build system in awn-extra-moonbeam and I think some consideration should be given to merging it into trunk.
[Q]



The commit can be viewed here(for anyone who wants to take a shot at getting it working with the current trunk build system):
http://codebrowse.launchpad.net/~rcryderman/awn-extras/awn-extra-moonbeam/revision/552
[Q]




Score: 0 points
Any particular reason?
#20441 by rdv (0.1986) posted on 6:59am Saturday, February 23rd, 2008
( no avatar )
I like the latest Affinity very much, but for the life of me I cannot figure out how to propagate the "Favourites" area of the pop-up panel. Drag-and-drop does not work. Right click does not display a "properties" dialog.
[Q]



I did get a "no name" icon to show when I placed a directory path in the "/apps/avant-window-navigator/applets/affinity/favourites" key with gconf-editor and it does launch a file browser to the path location. Unfortunately it does not work if the path includes an application to launch.
[Q]



Please describe the method of propogating the favorites area of Affinity.
[Q]



Also is there a way of changing Affinity's icon. I can change the icon that appears in Awn Manager applet list by changing the value of "/apps/avant-window-navigator/applets/affinity/applet/icon" key, but not the icon that appears in Awn itself. The current icon (search) is significantly smaller than my customized desktop theme.
[Q]



Thanks for any help provided.
[Q]

Score: 0 points
Any particular reason?
#20461 by Tempest (0.1828) posted on 1:15pm Saturday, February 23rd, 2008
( no avatar )
rdv said:
I like the latest Affinity very much, but for the life of me I cannot figure out how to propagate the "Favourites" area of the pop-up panel. Drag-and-drop does not work. Right click does not display a "properties" dialog.
[Q]



funny you should be asking this, as I only installed AWN last night with this applet and the favorite's area is the one I can't work out either.
[Q]



I'm running ubuntu 7.1 if that makes any difference.
[Q]



Score: 0 points
Any particular reason?
#20462 by rdv (0.1986) posted on 1:24pm Saturday, February 23rd, 2008
( no avatar )
I am also running Ubuntu 7.10 but with the Hardy kernel (2.6.24-8). I do not think this makes any difference either.
[Q]



I suspect getting the "Favourite" area working is simple if you know what the key should reference. May be something like a directory path to a directory with symlinks to the programs that you want to appear in the Affinity Applet. I have not tried that yet.
[Q]



Working on something else at the moment.
[Q]

Score: 0 points
Any particular reason?
Thread Listing » AWN Applets » Affinity revived

Post A Reply:

Anonymous posting has been disabled. Please register first before attempting to post.
Powered by Metaforum ©2004-2010
Get your own Free AJAX Forum Messageboard by visiting the offical site.
.