Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NotifyOSD (aka fancy Ubuntu bubbles) overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
thpani
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2006
Posts: 144
Location: Tulln, Austria

PostPosted: Fri May 08, 2009 9:58 am    Post subject: NotifyOSD (aka fancy Ubuntu bubbles) overlay Reply with quote

For your excitement I've set up an overlay for NotifyOSD and related stuff at:

http://github.com/thpani/notify-osd-overlay/

For setup instructions, please refer to:
http://wiki.github.com/thpani/notify-osd-overlay

If you don't have an idea what NotifyOSD is about, see Mark Shuttleworth's mockup.

For the really interested, have a look at the NotifyOSD spec and the notification development guidelines.

NOTE: Please no discussion about how notification messages should be handled. Go and talk to Mark about that. ;)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri May 08, 2009 4:05 pm    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software.
overlay stuff, so moved here
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
DragonionS
n00b
n00b


Joined: 26 Jul 2008
Posts: 17
Location: Ukraine, Kyiv

PostPosted: Fri May 08, 2009 10:15 pm    Post subject: Reply with quote

I've found that notify-osd and notification-daemon couldn't be installed at the same time. I want to use notify-osd, but a lot of packages (screenlets, rhythmbox, banshee and so on) need notification-daemon. :?
Back to top
View user's profile Send private message
M
Guru
Guru


Joined: 12 Dec 2006
Posts: 432

PostPosted: Sat May 09, 2009 10:42 am    Post subject: Reply with quote

I think those apps could use any notification daemon, xfce has its own and one can use that instead of gnome's if I am not mistaken, so this overlay could also have modified libnotify ebuild, right now libnotify has this:

PDEPEND="|| ( x11-misc/notification-daemon
x11-misc/notification-daemon-xfce
x11-misc/xfce4-notifyd )"

Also, notify-osd should then probably have this:
!x11-misc/notification-daemon

etc. but anyway I don't like this whole idea, notifications without actions, why should I need that. Sometimes it is good to have actions, like when you get new mail for example.
Back to top
View user's profile Send private message
DragonionS
n00b
n00b


Joined: 26 Jul 2008
Posts: 17
Location: Ukraine, Kyiv

PostPosted: Sat May 09, 2009 6:10 pm    Post subject: Reply with quote

Yes. That's what I am talking about. :) The user in Gentoo has a freedom to choose what he prefer more. But for now ebuilds in the official tree are looking for notification-daemon and that's not right. 8)
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Sat May 09, 2009 10:16 pm    Post subject: Reply with quote

If you report bugs into bugzilla with requests to support it, then the devs can make the changes to the ebuilds.

Or you can change them yourself and put them in your local repository.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Thu Jul 02, 2009 11:13 pm    Post subject: Reply with quote

Hi,
I synced your repository, renamed the ebuild to notify-osd-0.9.14.1, corrected the download link, tried to build but his is what I get:

Quote:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -fprofile-arcs -ftest-coverage -Wall -Werror -std=c99 -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DWNCK_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/libwnck-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/startup-notification-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I../src -march=k8 -O2 -pipe -fPIC -lm -Wall -Werror -std=c99 -MT test_modules-egg-timeline.o -MD -MP -MF .deps/test_modules-egg-timeline.Tpo -c -o test_modules-egg-timeline.o `test -f '../egg/egg-timeline.c' || echo './'`../egg/egg-timeline.c
cc1: warnings being treated as errors
../egg/egg-timeline.c: In function 'timeout_add':
../egg/egg-timeline.c:183: warning: 'res' may be used uninitialized in this function
make[2]: Leaving directory `/var/tmp/paludis/x11-misc-notify-osd-0.9.14.1/work/notify-osd-0.9.14.1/tests'
make[2]: *** [test_modules-egg-timeline.o] Error 1
make[1]: Leaving directory `/var/tmp/paludis/x11-misc-notify-osd-0.9.14.1/work/notify-osd-0.9.14.1'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Can you help me fixing that? Thanks
Back to top
View user's profile Send private message
scary
n00b
n00b


Joined: 17 Apr 2004
Posts: 47

PostPosted: Sat Jul 04, 2009 11:17 am    Post subject: Reply with quote

well at first sight the problem seems to be the -Werror flag, which causes
Code:
cc1: warnings being treated as errors

and so the simple warning stops your entire compilation
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Sat Jul 04, 2009 11:19 am    Post subject: Reply with quote

scary wrote:
well at first sight the problem seems to be the -Werror flag, which causes
Code:
cc1: warnings being treated as errors

and so the simple warning stops your entire compilation


It's not on my make.conf cause this doesn't happen when I build other things. How do I override it?
Back to top
View user's profile Send private message
scary
n00b
n00b


Joined: 17 Apr 2004
Posts: 47

PostPosted: Sat Jul 04, 2009 11:25 am    Post subject: Reply with quote

maybe it's in the ebuild ?
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Sat Jul 04, 2009 11:45 am    Post subject: Reply with quote

In the ebuild there's only

Quote:
append-flags -fno-strict-aliasing


which I removed with no success. You can see the original ebuild here.
Back to top
View user's profile Send private message
scary
n00b
n00b


Joined: 17 Apr 2004
Posts: 47

PostPosted: Sat Jul 04, 2009 12:25 pm    Post subject: Reply with quote

disclaimer: I have no idea of what I'm doing, I just try and mess things up :D

but, you could try adding something like
Code:
 filter-flags -Werror

to the src-configure part of the ebuild ? I got this by reading random stuff in the documentation, so I'm pretty sure it's not kosher :wink:
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Sat Jul 04, 2009 12:31 pm    Post subject: Reply with quote

scary wrote:
disclaimer: I have no idea of what I'm doing, I just try and mess things up :D

but, you could try adding something like
Code:
 filter-flags -Werror

to the src-configure part of the ebuild ? I got this by reading random stuff in the documentation, so I'm pretty sure it's not kosher :wink:


Thanks, I'll try next week when I get back to my city and my beloved Gentoo ;)
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Wed Jul 08, 2009 10:57 am    Post subject: Reply with quote

cerebro84 wrote:
scary wrote:
disclaimer: I have no idea of what I'm doing, I just try and mess things up :D

but, you could try adding something like
Code:
 filter-flags -Werror

to the src-configure part of the ebuild ? I got this by reading random stuff in the documentation, so I'm pretty sure it's not kosher :wink:


Thanks, I'll try next week when I get back to my city and my beloved Gentoo ;)


Didn't work :( this is what i got in the ebuild:
Quote:
src_configure() {
append-flags -fno-strict-aliasing # -Werror causes build to fail
filter-flags -Werror
default
}


Looks like they know that -Werror causes build to fail - but what they did against it was to append the -fno-strict-aliasing flag. And doesn't really looks like it works. What can I do now?
Back to top
View user's profile Send private message
scary
n00b
n00b


Joined: 17 Apr 2004
Posts: 47

PostPosted: Wed Jul 08, 2009 1:15 pm    Post subject: Reply with quote

erm, I was a bit out of ideas, but nonetheless I tried installing this notify-osd to see what was going on, and the thing is... it compiles just fine ! In the end it dies because of collisions with the notification daemon, but the compilation was flawless, even though I too have this -Werror popping out here and there. On which system are you building it? Here's mine
Code:

# emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.4.1-pre9999, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64)
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-O2 -pipe"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
Back to top
View user's profile Send private message
cerebro84
n00b
n00b


Joined: 20 Aug 2005
Posts: 64

PostPosted: Wed Jul 08, 2009 1:38 pm    Post subject: Reply with quote

Code:
ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-march=k8 -O2 -pipe -fPIC
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT=
        CONFIG_PROTECT_MASK=
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-march=k8 -O2 -pipe -fPIC
        DISTDIR=/usr/portage/distfiles
        FEATURES=sandbox sfperms
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,--as-needed
        LINGUAS=it
        MAKEOPTS=-j1
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_it userland_GNU video_cards_nv video_cards_nvidia amd64


Anyway i installed it compiling it by myself (after removing -Werror in Makefiles) and installed it. It works, but when notifications offer interaction, notify-osd pops out a window instead of a notification! (for example this happens in pidgin)
Back to top
View user's profile Send private message
tekknokrat
Apprentice
Apprentice


Joined: 17 Apr 2005
Posts: 278
Location: Magdeburg

PostPosted: Wed Oct 14, 2009 1:22 pm    Post subject: Reply with quote

New version of notify-osd overlay will refuse to install because version and download path changed.

To fix that the ebuild should be renamed to new version number:

Code:
notify-osd-0.9.22.ebuild


Other download url:

Code:
SRC_URI="http://launchpad.net/${PN}/trunk/ubuntu-9.10-beta-freeze/+download/${PN}-${PV}.tar.gz"


This may change when ubuntu/karmic gets released therefore have a watch at Launchpad URL : https://launchpad.net/notify-osd

I also vote for inserting conflict to notification-daemon in dependencies:

Code:
!x11-misc/notification-daemon


I would like to see the overlay updated.
_________________
Optimism is solely an absence of information. / Optimismus ist nur ein Mangel an Information.
(Arthur Schopenhauer)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum