FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 11-02-2010, 12:12 AM
Matthias Clasen
 
Default coming libnotify bump

I am planning to push libnotify 0.7.0 into rawhide by the end of this
week; this is going to be a little painful, since there are some api
changes that will require minor adjustment of all users. And there's
quite a few of them (see below). I will hopefully be able to handle most
of the GNOME dependencies, for the rest I need to ask for some help.

Scratch builds of libnotify 0.7.0 rpms can be found here:
http://mclasen.fedorapeople.org/libnotify/

Here is an overview of the api changes:

notify_notification_new_with_status_icon is gone
notify_notification_attach_to_status_icon is gone
notify_notification_attach_to_widget is gone
notify_notification_set_geometry_hints is gone
notify_notification_new has lost its widget argument

A typical patch will look like this one:
https://bugzilla.gnome.org/review?bug=632327&attachment=172525

For some background on these changes, see
http://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility

Possibly affected packages:

NetworkManager-gnome-1:0.8.1-9.git20100831.fc15.x86_64
abrt-gui-0:1.1.13-2.fc15.x86_64
audacious-plugins-0:2.4.0-6.fc15.x86_64
awn-extras-applets-0:0.4.0-25.fc15.x86_64
balsa-0:2.4.7-2.fc14.x86_64
bognor-regis-0:0.6.11-1.fc15.x86_64
claws-mail-plugins-notification-0:3.7.6-7.fc15.x86_64
compiz-fusion-extras-0:0.8.6-1.fc14.x86_64
deja-dup-0:15.3-2.fc14.x86_64
eekboard-0:0.0.5-3.fc15.x86_64
ekiga-0:3.2.7-4.fc14.x86_64
empathy-0:2.91.0-4.fc15.x86_64
epiphany-1:2.31.5-2.fc15.x86_64
evolution-0:2.91.1-1.fc15.x86_64
evolution-pst-0:2.91.1-1.fc15.x86_64
exo-0:0.3.107-4.fc15.x86_64
florence-0:0.4.6-2.fc14.x86_64
gmpc-0:0.20.0-1.fc15.x86_64
gnome-applet-alarm-clock-0:0.3.1-2.fc15.x86_64
gnome-applet-globalmenu-0:0.7.8-1.fc13.x86_64
gnome-applet-sensors-0:2.2.7-3.fc15.x86_64
gnome-applets-1:2.32.0-2.fc15.x86_64
gnome-bluetooth-1:2.90.0-9.fc15.x86_64
gnome-color-manager-0:2.91.1-4.fc15.x86_64
gnome-disk-utility-0:2.32.0-1.fc15.x86_64
gnome-gmail-notifier-0:0.10.1-1.fc14.x86_64
gnome-packagekit-0:2.91.1-1.fc15.x86_64
gnome-packagekit-extra-0:2.91.1-1.fc15.x86_64
gnome-power-manager-0:2.91.1-1.fc15.x86_64
gnome-screensaver-0:2.30.2-5.fc15.x86_64
gnome-session-0:2.91.0-3.fc15.x86_64
gnome-settings-daemon-0:2.91.0-3.fc15.x86_64
gnome-user-share-0:2.30.1-3.fc15.x86_64
gshutdown-0:0.2-6.fc12.x86_64
gsql-0:0.2.1-4.fc12.x86_64
gwget-0:1.0.4-4.fc14.x86_64
gyachi-plugin-libnotify-0:1.2.10-3.fc14.x86_64
hornsey-0:1.5.2-0.3.fc15.x86_64
imsettings-0:0.108.1-2.fc15.x86_64
ircp-tray-0:0.7.4-1.fc14.x86_64
java-gnome-0:4.0.16-3.fc14.x86_64
krb5-auth-dialog-0:0.16-2.fc15.x86_64
libnotify-0:0.6.0-1.fc15.x86_64
libnotify-devel-0:0.6.0-1.fc15.x86_64
libnotifymm-0:0.6.1-8.fc14.x86_64
liferea-1:1.6.5-1.fc15.x86_64
lxmusic-0:0.4.4-1.fc14.x86_64
mail-notification-0:5.4-25.fc15.x86_64
meego-panel-datetime-0:0.3.2-2.fc15.x86_64
meego-panel-devices-0:0.2.4-4.fc15.x86_64
midori-0:0.2.8-2.fc15.x86_64
midori-0:0.2.9-1.fc15.x86_64
minbar-0:0.2.1-8.fc12.x86_64
nall-0:1.0-3.fc14.x86_64
network-manager-netbook-0:1.7.1-0.1.fc14.x86_64
nntpgrab-gui-0:0.6.90-3.fc15.x86_64
notify-python-0:0.1.1-15.fc15.x86_64
orage-0:4.7.5.16-2.fc15.x86_64
osmo-0:0.2.10-2.fc15.x86_64
padevchooser-0:0.9.4-0.11.svn20070925.fc13.x86_64
parole-0:0.2.0.2-4.fc15.x86_64
pcmanx-gtk2-0:0.3.9-6.20100618svn.fc14.x86_64
perl-Gtk2-Notify-0:0.05-8.fc14.x86_64
pidgin-gfire-0:0.9.2-2.fc15.x86_64
pidgin-libnotify-0:0.14-4.fc14.x86_64
pino-0:0.2.11-1.fc14.x86_64
qbittorrent-1:2.5.0-0.1.beta2.fc15.x86_64
rhythmbox-0:0.13.0-6.fc15.x86_64
rhythmbox-0:0.13.2-1.fc15.x86_64
rhythmbox-lirc-0:0.13.0-6.fc15.x86_64
rhythmbox-lirc-0:0.13.2-1.fc15.x86_64
seahorse-0:2.91.1-1.fc15.x86_64
seahorse-plugins-0:2.30.1-4.fc15.x86_64
setroubleshoot-0:3.0.1-1.fc15.x86_64
setroubleshoot-0:3.0.2-1.fc15.x86_64
setroubleshoot-server-0:3.0.1-1.fc15.x86_64
setroubleshoot-server-0:3.0.2-1.fc15.x86_64
sunbird-0:1.0-0.31.b2pre.fc15.x86_64
sunbird-0:1.0-0.32.b2pre.fc15.x86_64
synce-trayicon-0:0.15-1.fc14.x86_64
syncevolution-1:1.1-1.fc15.x86_64
systemd-gtk-0:11-1.fc15.x86_64
thunderbird-0:3.1.6-1.fc15.x86_64
torium-0:0.4.2-9.fc15.x86_64
transmission-gtk-0:2.11-1.fc15.x86_64
uget-0:1.6.1-1.fc15.x86_64
vino-0:2.32.0-1.fc15.x86_64
xchat-gnome-0:0.26.1-14.fc15.x86_64
xfce4-power-manager-0:0.8.5-1.fc13.x86_64
xfce4-sensors-plugin-0:1.0.0-1.fc14.x86_64
xfce4-settings-0:4.6.5-1.fc14.x86_64
xfce4-volumed-0:0.1.8-1.fc13.x86_64
xneur-0:0.10.0-5.fc15.x86_64
xnoise-plugins-core-0:0.1.6-2.fc14.x86_64
xulrunner-0:2.0-0.2b6.fc15.x86_64
zenity-0:2.32.0-1.fc15.x86_64



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-02-2010, 02:33 PM
"Tom "spot" Callaway"
 
Default coming libnotify bump

On 11/01/2010 09:12 PM, Matthias Clasen wrote:
> I am planning to push libnotify 0.7.0 into rawhide by the end of this
> week; this is going to be a little painful, since there are some api
> changes that will require minor adjustment of all users. And there's
> quite a few of them (see below). I will hopefully be able to handle most
> of the GNOME dependencies, for the rest I need to ask for some help.
>
> Scratch builds of libnotify 0.7.0 rpms can be found here:
> http://mclasen.fedorapeople.org/libnotify/
>
> Here is an overview of the api changes:
>
> notify_notification_new_with_status_icon is gone
> notify_notification_attach_to_status_icon is gone
> notify_notification_attach_to_widget is gone
> notify_notification_set_geometry_hints is gone
> notify_notification_new has lost its widget argument

Matthias, this seems like it will break the python bindings... will you
be fixing them at the same time?

Things that repoquery thinks depend on notify-python:

ailurus-0:10.10.3-1.fc14.noarch
audio-convert-mod-0:3.46.0b-3.fc14.noarch
batti-0:0.3.7-3.fc14.noarch
blueman-0:1.21-6.fc14.x86_64
coda-gcodacon-0:6.9.5-3.fc14.x86_64
decibel-audio-player-0:1.05-1.fc14.noarch
deluge-0:1.3.0-1.fc14.noarch
earcandy-0:0.5.1-7.fc14.noarch
emesene-0:1.6.3-2.fc14.x86_64
fmtools-tkradio-0:2.0.1-2.fc13.noarch
fwbackups-0:1.43.3-0.10.rc5.fc14.noarch
gajim-0:0.14-4.fc14.noarch
gbirthday-0:0.6.5-2.fc14.noarch
genesis-0:0.4.3-3.fc14.noarch
gestikk-0:0.6.1-6.fc14.noarch
gget-0:0.0.4-13.fc14.x86_64
gnome-applet-music-0:2.5.1-5.fc14.x86_64
gnome-applet-timer-0:2.1.3-2.fc14.x86_64
guake-0:0.4.2-2.fc14.x86_64
gwibber-1:2.33.0-12.894bzr.fc14.noarch
ibus-0:1.3.7-11.fc14.x86_64
nicotine+-0:1.2.15-3.fc14.noarch
phatch-cli-0:0.2.7-2.fc14.noarch
prelude-notify-0:0.9-0.5.20080814svn10860.fc14.noarch
rapid-photo-downloader-0:0.3.2-1.fc14.noarch
revisor-cli-0:2.2-2.fc14.noarch
setroubleshoot-0:2.2.102-1.fc14.x86_64
specto-0:0.3.1-2.fc14.noarch
synce-gnome-0:0.11-4.fc12.noarch
system-config-printer-0:1.2.4-2.fc14.x86_64
wuja-0:0.0.8-8.fc14.noarch

Some/all of these will probably need to be adjusted as well, but they
will be less obvious as they won't have broken deps, but will likely
stop working. :/

~spot
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-02-2010, 03:11 PM
Adam Jackson
 
Default coming libnotify bump

On Tue, 2010-11-02 at 11:33 -0400, Tom "spot" Callaway wrote:
> On 11/01/2010 09:12 PM, Matthias Clasen wrote:
> > I am planning to push libnotify 0.7.0 into rawhide by the end of this
> > week; this is going to be a little painful, since there are some api
> > changes that will require minor adjustment of all users. And there's
> > quite a few of them (see below). I will hopefully be able to handle most
> > of the GNOME dependencies, for the rest I need to ask for some help.
> >
> > Scratch builds of libnotify 0.7.0 rpms can be found here:
> > http://mclasen.fedorapeople.org/libnotify/
> >
> > Here is an overview of the api changes:
> >
> > notify_notification_new_with_status_icon is gone
> > notify_notification_attach_to_status_icon is gone
> > notify_notification_attach_to_widget is gone
> > notify_notification_set_geometry_hints is gone
> > notify_notification_new has lost its widget argument
>
> Matthias, this seems like it will break the python bindings... will you
> be fixing them at the same time?

python-notify exposes only the attach_to_{status_icon,widget} methods
and implicitly exposes the new method through the constructor. The
constructor allows you to pass a GtkWidget* as an optional named
argument, so we need only look for ctors that say attach=something.

Of the packages mentioned:

coda-gcodacon-0:6.9.5-3.fc14.x86_64
emesene-0:1.6.3-2.fc14.x86_64
genesis-0:0.4.3-3.fc14.noarch
gget-0:0.0.4-13.fc14.x86_64
ibus-0:1.3.7-11.fc14.x86_64
nicotine+-0:1.2.15-3.fc14.noarch
setroubleshoot-0:2.2.102-1.fc14.x86_64
system-config-printer-0:1.2.4-2.fc14.x86_64

call attach_to_status_icon; coda however goes out of its way to check
that the method exists first.

gajim-0:0.14-4.fc14.noarch
nicotine+-0:1.2.15-3.fc14.noarch
wuja-0:0.0.8-8.fc14.noarch

call attach_to_widget; nicotine+ does so in a (non-PEP-8-conformant) try
block so it's harmless.

As far as I can tell, none of the callers to pynotify.init() pass any
named arguments, so nothing should notice the lack of attach=. I only
searched for explicit calls to pynotify.init, if someone's doing like

foo = pynotify
foo.init("I'm far too clever", attach=my_bar_widget)

then they get what they deserve.

Everything else should be unaffected by any pynotify changes.

- ajax
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-02-2010, 03:13 PM
Matthias Clasen
 
Default coming libnotify bump

On Tue, 2010-11-02 at 11:33 -0400, Tom "spot" Callaway wrote:

> Matthias, this seems like it will break the python bindings... will you
> be fixing them at the same time?

I can certainly not do it all by myself. At least not in one day...
Looking at notify-python, it seems that running update-defs inside src/
seems enough to update the bindings. Of course, users of the old wrapped
api will still need to be updated.




--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-02-2010, 04:03 PM
"Tom "spot" Callaway"
 
Default coming libnotify bump

On 11/02/2010 12:13 PM, Matthias Clasen wrote:
> On Tue, 2010-11-02 at 11:33 -0400, Tom "spot" Callaway wrote:
>
>> Matthias, this seems like it will break the python bindings... will you
>> be fixing them at the same time?
>
> I can certainly not do it all by myself. At least not in one day...
> Looking at notify-python, it seems that running update-defs inside src/
> seems enough to update the bindings. Of course, users of the old wrapped
> api will still need to be updated.

FWIW, I meant "the python bindings" then I said "them". I'm not trying
to volunteer you to fix all packages.

~spot
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-02-2010, 04:54 PM
Adam Jackson
 
Default coming libnotify bump

On Tue, 2010-11-02 at 12:11 -0400, Adam Jackson wrote:

> As far as I can tell, none of the callers to pynotify.init() pass any
> named arguments, so nothing should notice the lack of attach=. I only
> searched for explicit calls to pynotify.init, if someone's doing like
>
> foo = pynotify
> foo.init("I'm far too clever", attach=my_bar_widget)
>
> then they get what they deserve.

I got the API wrong here, it's actually pynotify.Notification(), but it
still appears that callers never set attach-widget to anything.

- ajax
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-03-2010, 10:36 AM
Matthias Clasen
 
Default coming libnotify bump

On Mon, 2010-11-01 at 21:12 -0400, Matthias Clasen wrote:
> I am planning to push libnotify 0.7.0 into rawhide by the end of this
> week; this is going to be a little painful, since there are some api
> changes that will require minor adjustment of all users. And there's
> quite a few of them (see below). I will hopefully be able to handle most
> of the GNOME dependencies, for the rest I need to ask for some help.

I have built libnotify 0.7.0 in rawhide now. I have filed a number of
patches for affected modules, and I am going through some rebuilds now.
If your module uses libnotify or notify-python, please check if it needs
changes to work with the new libnotify.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-05-2010, 11:31 AM
Christoph Wickert
 
Default coming libnotify bump

Am Montag, den 01.11.2010, 21:12 -0400 schrieb Matthias Clasen:
> I am planning to push libnotify 0.7.0 into rawhide by the end of this
> week;

Next time you are making an update that affects a large number of
packages, please use devel-announce.

TIA,
Christoph

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 02:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org