Subject: Re: pkg/36411: gnome2-applets PLIST problem on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: =?ISO-8859-2?Q?Ond=F8ej_T=F9ma?= <pkgsrc@blackmouse.biz>
List: pkgsrc-bugs
Date: 05/31/2007 12:25:03
The following reply was made to PR pkg/36411; it has been noted by GNATS.

From: =?ISO-8859-2?Q?Ond=F8ej_T=F9ma?= <pkgsrc@blackmouse.biz>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36411: gnome2-applets PLIST problem on Linux
Date: Thu, 31 May 2007 14:23:22 +0200

 Yes, the patch fix this problem, thanks, great work.
 
 On Wed, 30 May 2007 11:35:01 +0000 (UTC)
 OBATA Akio <obache@NetBSD.org> wrote:
 
 > The following reply was made to PR pkg/36411; it has been noted by GNATS.
 > 
 > From: OBATA Akio <obache@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: pkgsrc@blackmouse.biz
 > Subject: Re: pkg/36411: gnome2-applets PLIST problem on Linux
 > Date: Wed, 30 May 2007 20:32:51 +0900
 > 
 >  Following patch fix this problem?
 >  
 >  Index: Makefile
 >  ===================================================================
 >  RCS file: /cvsroot/pkgsrc/x11/gnome2-applets/Makefile,v
 >  retrieving revision 1.77
 >  diff -u -r1.77 Makefile
 >  --- Makefile	17 Apr 2007 17:59:06 -0000	1.77
 >  +++ Makefile	30 May 2007 11:25:21 -0000
 >  @@ -62,6 +62,16 @@
 >   PRINT_PLIST_AWK+=	/[Bb]attstat/ { print "$${BATTSTAT}"$$0; next; }
 >   PRINT_PLIST_AWK+=	/examples/ { print "$${BATTSTAT}"$$0; next; }
 >   
 >  +.if ${OPSYS} == "Linux" && exists(/usr/include/cpufreq.h)
 >  +GCONF2_SCHEMAS+=	cpufreq-applet.schemas
 >  +PLIST_SUBST+=		CPUFREQ=
 >  +.else
 >  +PLIST_SUBST+=		CPUFREQ="@comment "
 >  +CONFIGURE_ARGS+=	--disable-cpufreq
 >  +.endif
 >  +
 >  +PRINT_PLIST_AWK+=	/[Cc][Pp][Uu][Ff]req/ { print "$${CPUFREQ}"$$0; next; }
 >  +
 >   .include "../../devel/GConf2/schemas.mk"
 >   
 >   BUILDLINK_API_DEPENDS.glib2+=			glib2>=2.6.0
 >  Index: PLIST
 >  ===================================================================
 >  RCS file: /cvsroot/pkgsrc/x11/gnome2-applets/PLIST,v
 >  retrieving revision 1.22
 >  diff -u -r1.22 PLIST
 >  --- PLIST	17 Apr 2007 17:59:07 -0000	1.22
 >  +++ PLIST	30 May 2007 11:25:22 -0000
 >  @@ -1,4 +1,5 @@
 >   @comment $NetBSD: PLIST,v 1.22 2007/04/17 17:59:07 drochner Exp $
 >  +${CPUFREQ}bin/cpufreq-selector
 >   bin/invest-chart
 >   include/libgweather/gweather-gconf.h
 >   include/libgweather/gweather-prefs.h
 >  @@ -6,6 +7,7 @@
 >   lib/bonobo/servers/GNOME_AccessxStatusApplet.server
 >   ${BATTSTAT}lib/bonobo/servers/GNOME_BattstatApplet.server
 >   lib/bonobo/servers/GNOME_CDPlayerApplet.server
 >  +${CPUFREQ}lib/bonobo/servers/GNOME_CPUFreqApplet.server
 >   lib/bonobo/servers/GNOME_CharpickerApplet.server
 >   lib/bonobo/servers/GNOME_DriveMountApplet.server
 >   lib/bonobo/servers/GNOME_GWeatherApplet_Factory.server
 >  @@ -49,6 +51,7 @@
 >   libexec/accessx-status-applet
 >   ${BATTSTAT}libexec/battstat-applet-2
 >   libexec/charpick_applet2
 >  +${CPUFREQ}libexec/cpufreq-applet
 >   libexec/drivemount_applet2
 >   libexec/geyes_applet2
 >   libexec/gweather-applet-2
 >  @@ -62,6 +65,7 @@
 >   ${BATTSTAT}share/examples/gnome-applets/sound/events/battstat_applet.soundlist
 >   ${BATTSTAT}share/gconf/schemas/battstat.schemas
 >   share/gconf/schemas/charpick.schemas
 >  +${CPUFREQ}share/gconf/schemas/cpufreq-applet.schemas
 >   share/gconf/schemas/drivemount.schemas
 >   share/gconf/schemas/geyes.schemas
 >   share/gconf/schemas/gweather.schemas
 >  @@ -71,6 +75,7 @@
 >   share/gnome-2.0/ui/GNOME_AccessxApplet.xml
 >   ${BATTSTAT}share/gnome-2.0/ui/GNOME_BattstatApplet.xml
 >   share/gnome-2.0/ui/GNOME_CharpickerApplet.xml
 >  +${CPUFREQ}share/gnome-2.0/ui/GNOME_CPUFreqApplet.xml
 >   share/gnome-2.0/ui/GNOME_DriveMountApplet.xml
 >   share/gnome-2.0/ui/GNOME_GWeatherApplet.xml
 >   share/gnome-2.0/ui/GNOME_GeyesApplet.xml
 >  @@ -98,6 +103,7 @@
 >   share/gnome-applets/geyes/Tango/tango-eye.png
 >   share/gnome-applets/geyes/Tango/tango-pupil.png
 >   ${BATTSTAT}share/gnome-applets/glade/battstat_applet.glade
 >  +${CPUFREQ}share/gnome-applets/glade/cpufreq-preferences.glade
 >   share/gnome-applets/glade/financialchart.glade
 >   share/gnome-applets/glade/prefs-dialog.glade
 >   share/gnome-applets/glade/stickynotes.glade
 >  @@ -316,6 +322,87 @@
 >   share/gnome/help/char-palette/uk/figures/charpalette_chargroup.png
 >   share/gnome/help/char-palette/uk/figures/charpick-preferences.png
 >   share/gnome/help/char-palette/uk/figures/charpick_characters.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/cpufreq-applet.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-100.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-25.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-50.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-75.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-applet-preferences-smp.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-applet-preferences.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-applet-selector-both.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-applet-selector.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures/cpufreq-applet.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/legal.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/cpufreq-applet.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-100.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-25.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-50.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-75.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-applet-preferences-smp.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-applet-preferences.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-applet-selector-both.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-applet-selector.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures/cpufreq-applet.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/cpufreq-applet.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-100.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-25.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-50.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-75.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-applet-preferences-smp.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-applet-preferences.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-applet-selector-both.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-applet-selector.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures/cpufreq-applet.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/cpufreq-applet.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-100.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-25.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-50.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-75.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-applet-preferences-smp.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-applet-preferences.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-applet-selector-both.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-applet-selector.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures/cpufreq-applet.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/cpufreq-applet.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-100.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-25.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-50.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-75.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-applet-preferences-smp.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-applet-preferences.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-applet-selector-both.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-applet-selector.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures/cpufreq-applet.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/cpufreq-applet.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-100.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-25.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-50.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-75.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-applet-preferences-smp.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-applet-preferences.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-applet-selector-both.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-applet-selector.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures/cpufreq-applet.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/cpufreq-applet.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-100.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-25.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-50.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-75.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-applet-preferences-smp.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-applet-preferences.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-applet-selector-both.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-applet-selector.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures/cpufreq-applet.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/cpufreq-applet.xml
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-100.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-25.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-50.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-75.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-applet-preferences-smp.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-applet-preferences.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-applet-selector-both.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-applet-selector.png
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures/cpufreq-applet.png
 >   share/gnome/help/drivemount/C/drivemount.xml
 >   share/gnome/help/drivemount/C/figures/drivemount-applet_eject.png
 >   share/gnome/help/drivemount/C/figures/drivemount-applet_example.png
 >  @@ -633,16 +720,21 @@
 >   share/gnome/help/trashapplet/sv/trashapplet.xml
 >   share/gnome/help/trashapplet/uk/figures/trash-applet.png
 >   share/gnome/help/trashapplet/uk/trashapplet.xml
 >  +${CPUFREQ}share/icons/hicolor/16x16/apps/gnome-cpu-frequency-applet.png
 >   share/icons/hicolor/16x16/apps/gnome-eyes-applet.png
 >   share/icons/hicolor/16x16/apps/gnome-sticky-notes-applet.png
 >  +${CPUFREQ}share/icons/hicolor/22x22/apps/gnome-cpu-frequency-applet.png
 >   share/icons/hicolor/22x22/apps/gnome-eyes-applet.png
 >   share/icons/hicolor/22x22/apps/gnome-sticky-notes-applet.png
 >  +${CPUFREQ}share/icons/hicolor/24x24/apps/gnome-cpu-frequency-applet.png
 >   share/icons/hicolor/24x24/apps/gnome-eyes-applet.png
 >   share/icons/hicolor/24x24/apps/gnome-sticky-notes-applet.png
 >  +${CPUFREQ}share/icons/hicolor/32x32/apps/gnome-cpu-frequency-applet.png
 >   share/icons/hicolor/32x32/apps/gnome-eyes-applet.png
 >   share/icons/hicolor/32x32/apps/gnome-sticky-notes-applet.png
 >   share/icons/hicolor/48x48/apps/ax-applet.png
 >   share/icons/hicolor/48x48/apps/charpick.png
 >  +${CPUFREQ}share/icons/hicolor/scalable/apps/gnome-cpu-frequency-applet.svg
 >   share/icons/hicolor/scalable/apps/gnome-eyes-applet.svg
 >   share/icons/hicolor/scalable/apps/gnome-sticky-notes-applet.svg
 >   share/locale/am/LC_MESSAGES/gnome-applets-2.0.mo
 >  @@ -765,6 +857,14 @@
 >   share/omf/char-palette/char-palette-pt_BR.omf
 >   share/omf/char-palette/char-palette-sv.omf
 >   share/omf/char-palette/char-palette-uk.omf
 >  +${CPUFREQ}share/omf/cpufreq-applet/cpufreq-applet-C.omf
 >  +${CPUFREQ}share/omf/cpufreq-applet/cpufreq-applet-en_GB.omf
 >  +${CPUFREQ}share/omf/cpufreq-applet/cpufreq-applet-es.omf
 >  +${CPUFREQ}share/omf/cpufreq-applet/cpufreq-applet-fr.omf
 >  +${CPUFREQ}share/omf/cpufreq-applet/cpufreq-applet-nl.omf
 >  +${CPUFREQ}share/omf/cpufreq-applet/cpufreq-applet-sv.omf
 >  +${CPUFREQ}share/omf/cpufreq-applet/cpufreq-applet-uk.omf
 >  +${CPUFREQ}share/omf/cpufreq-applet/cpufreq-applet-zh_CN.omf
 >   share/omf/drivemount/drivemount-C.omf
 >   share/omf/drivemount/drivemount-en_GB.omf
 >   share/omf/drivemount/drivemount-es.omf
 >  @@ -862,6 +962,11 @@
 >   share/pixmaps/accessx-status-applet/sticky-super-latched.png
 >   share/pixmaps/accessx-status-applet/sticky-super-locked.png
 >   share/pixmaps/accessx-status-applet/sticky-super-none.png
 >  +${CPUFREQ}share/pixmaps/cpufreq-applet/cpufreq-100.png
 >  +${CPUFREQ}share/pixmaps/cpufreq-applet/cpufreq-25.png
 >  +${CPUFREQ}share/pixmaps/cpufreq-applet/cpufreq-50.png
 >  +${CPUFREQ}share/pixmaps/cpufreq-applet/cpufreq-75.png
 >  +${CPUFREQ}share/pixmaps/cpufreq-applet/cpufreq-na.png
 >   share/pixmaps/invest-big.png
 >   share/pixmaps/stickynotes/close.png
 >   share/pixmaps/stickynotes/locked.png
 >  @@ -956,6 +1061,7 @@
 >   share/xmodmap/xmodmap.yu
 >   @dirrm share/xmodmap
 >   @dirrm share/pixmaps/stickynotes
 >  +${CPUFREQ}@dirrm share/pixmaps/cpufreq-applet
 >   @dirrm share/pixmaps/accessx-status-applet
 >   @comment in xdg-dirs: @dirrm share/pixmaps
 >   @dirrm share/omf/trashapplet
 >  @@ -966,6 +1072,7 @@
 >   @dirrm share/omf/geyes
 >   @dirrm share/omf/drivemount
 >   @dirrm share/omf/char-palette
 >  +${CPUFREQ}@dirrm share/omf/cpufreq-applet
 >   ${BATTSTAT}@dirrm share/omf/battstat
 >   @dirrm share/omf/accessx-status
 >   @comment in scrollkeeper: @dirrm share/omf
 >  @@ -1105,6 +1212,23 @@
 >   @dirrm share/gnome/help/drivemount/C/figures
 >   @dirrm share/gnome/help/drivemount/C
 >   @dirrm share/gnome/help/drivemount
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN/figures
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/zh_CN
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk/figures
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/uk
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv/figures
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/sv
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl/figures
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/nl
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr/figures
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/fr
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es/figures
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/es
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB/figures
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/en_GB
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C/figures
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet/C
 >  +${CPUFREQ}share/gnome/help/cpufreq-applet
 >   @dirrm share/gnome/help/char-palette/uk/figures
 >   @dirrm share/gnome/help/char-palette/uk
 >   @dirrm share/gnome/help/char-palette/sv/figures
 >  
 > 
 
 
 -- 
 Ondrej Tuma
 
    Www: www.blackmouse.biz
    Icq: 107760454
 Jabber: mcbig@jabber.cz