--- gnome-applets-2.16.1.orig/debian/README.Debian +++ gnome-applets-2.16.1/debian/README.Debian @@ -0,0 +1,16 @@ +gnome-applets for Debian +------------------------ + + +--- cpufreq --- + + You have the option of installing a component of the CPU Frequency Scaling + Monitor (cpufreq-selector) with the SUID bit set. This package ships + cpufreq-selector with SUID bit unset by default for security reasons. + + For more information and to change this setting, run : + dpkg-reconfigure gnome-applets + + + -- Marc Dequènes (Duck) Wed, 22 Jun 2005 18:33:27 +0200 + --- gnome-applets-2.16.1.orig/debian/changelog +++ gnome-applets-2.16.1/debian/changelog @@ -0,0 +1,1161 @@ +gnome-applets (2.16.1-0ubuntu3) edgy; urgency=low + + * debian/patches/17_fix_mute_icon.patch: + - patch by Marius Gedminas, makes the mute icon being used again + (Ubuntu: #64539) + * debian/patches/18_fix_keyboard_indicator_crasher.patch: + - patch from fedora, fix keyboard indicator crasher (GNOME: #356536) + + -- Sebastien Bacher Wed, 11 Oct 2006 10:05:56 +0200 + +gnome-applets (2.16.1-0ubuntu2) edgy; urgency=low + + * debian/control.in: + - Buid-Depends on liboobs-1-dev + * debian/patches/07_modemlights_applet_use_new_gst.patch: + - patch by Carlos Garnacho, make modemlights applet use the new gst + * debian/patches/11_modemapplet-sudo.patch: + - not required with new g-s-t + * debian/patches/99_automake.patch: + - configure update, Makefile.in change required to the modemlights change + + -- Sebastien Bacher Wed, 4 Oct 2006 17:04:38 +0200 + +gnome-applets (2.16.1-0ubuntu1) edgy; urgency=low + + * New upstream release "Codename Shiny Disco Balls": + - ensure we link against D-BUS even when we don't use HAL + - battstat: do less polling + - gswitchit: gcc295 fixes + - mixer, trashapplet: icon resizing fixes + - stickynotes: do less polling + - Translations: ko, nn, ja, zh_HK, zh_TW, et, en_GB, ka, el, et, dz, + pt_BR, ca, bg, sl, it, bn. + - Fixed "Duplicated word in keyboard accessibility monitor doc" (Malone: + #62074) + * debian/control.in: + - bumped libdbus-glib-1-dev requirement. + + -- Daniel Holbach Mon, 2 Oct 2006 19:29:06 +0200 + +gnome-applets (2.16.0.1-0ubuntu1) edgy; urgency=low + + * New upstream release "Codename Chinny Racoon": + - fix stickynotes pixmap path + - catch possible infinite loop in stickynotes + - Translations: zh_HK, zh_TW. + + -- Daniel Holbach Tue, 5 Sep 2006 10:42:39 +0200 + +gnome-applets (2.16.0-0ubuntu1) edgy; urgency=low + + * New upstream release: + - reenable stickynotes + - geyes: new Tango based theme + - modemlights: latest icons + * debian/control.in: + - dropped Command Line description. + + -- Daniel Holbach Mon, 4 Sep 2006 19:02:29 +0200 + +gnome-applets (2.15.90-0ubuntu2) edgy; urgency=low + + * Rebuild against dbus 0.90 + + -- Sebastian Dröge Thu, 24 Aug 2006 16:36:02 +0200 + +gnome-applets (2.15.90-0ubuntu1) edgy; urgency=low + + * New upstream releases "Codename Kinetica Perpetua": + - Stickynotes transparently upgrades to Tomboy + - new icons for everything except GSwitchit and Invest Applet + - Multiload: compiler compatibility fixes + - CpuFreq: reduce numb er of file reads + - CpuFreq: plugged memory leak + - Gweather: remove dead locations from Locations DB + - Invest: fix bugs and installation problems + - Invest: fix localisation + - mixer: plug memory leak + - transapplet: plug memory leak + * debian/patches/04_applets_categories.patch: + - updated. + * debian/patches/10_invest_applet_libexecdir_fixed.patch, + debian/patches/09_invest_applet_shared_data_directory.patch: + - dropped, fixed upstream. + + -- Daniel Holbach Tue, 22 Aug 2006 11:37:51 +0200 + +gnome-applets (2.15.3-0ubuntu1) edgy; urgency=low + + * New upstream version: + Changes: + - Fix trashapplet/drivemount .server files + - gswitchit fixes + - libgweather: check for NULL pointers + - mixer: set ATK names + - multiload: update tooltip only when needed + - multiload: use inbuild panel transparency API + - drivemount: use GNOME-VFS to determine if a drive needs ejecting or + unmounting + - gweather: make applet display properly on vertical panels + (Ubuntu: #27812) + * debian/patches/05_no_invest_menu_item.patch: + - don't create an invest-applet menu item by default since that's not + really a desktop user application + * debian/patches/06_fix_invest_gconf_definition.patch: + - fix GCONF_CLIENT not being defined + * debian/patches/07_system_tools_pc_update.patch: + - new patch, fix the system-tools-backend pc file name + * debian/patches/09_invest_applet_shared_data_directory.patch: + - fixed some issues with that patch (Ubuntu: #54701) + * debian/patches/15_gnomevfs_query_eject.patch: + - fixed with the new version + + -- Sebastien Bacher Mon, 7 Aug 2006 19:56:03 +0200 + +gnome-applets (2.15.2-0ubuntu1) edgy; urgency=low + + * New upstream version + * debian/control.in: + - Build-Depends on gnome-control-center-dev and gnome-icon-theme according + to configure + * debian/patches/04_applets_categories.patch: + - updated + + -- Sebastien Bacher Fri, 28 Jul 2006 00:19:34 +0200 + +gnome-applets (2.15.1.1-0ubuntu4) edgy; urgency=low + + * debian/control.in: + - libgucharmap4-dev -> libgucharmap5-dev. + + -- Daniel Holbach Tue, 25 Jul 2006 19:52:49 +0200 + +gnome-applets (2.15.1.1-0ubuntu3) edgy; urgency=low + + * No-change upload because Launchpad ate 2.15.1.1-0ubuntu2 on powerpc. I + hope this still builds elsewhere... + + -- Matt Zimmerman Sat, 15 Jul 2006 14:24:54 -0700 + +gnome-applets (2.15.1.1-0ubuntu2) edgy; urgency=low + + * debian/control.in: + - Build-Depends on python-dev too + + -- Sebastien Bacher Wed, 12 Jul 2006 21:07:21 +0200 + +gnome-applets (2.15.1.1-0ubuntu1) edgy; urgency=low + + * Sync with Debian + * New upstream versions: + - fix build to make gswitchit buildable + - cpufreq: libcpufreq support, reworked selector + - mixer: fix up some GObject macros + - invest-applet replaces gtik + - switch to using po/LINUAS + - cpufreq: add support for libcpufreq + - gswitchit: update for new libxklavier + - refactor configure.in + - continued GWeather refactoring (makes GWeather more easily portable) + * debian/control.in: + - Build-Depends on python-gtk2-dev, python-gobject-dev, python-gnome2-dev, + python-gnome2-desktop-dev, python + - don't use type-handling + - gnome-applets Depends on ${python:Depends}, python-gnome2-desktop, + python-gnome2-extras + - updated requirements on gtk and libxklavier + * debian/gnome-applets.install: + - install python directory for the new invest applet + * debian/patches/04_applets_categories.patch: + - set categories for the applets + * debian/patches/09_invest_applet_shared_data_directory.patch: + - fix the data directory used by the invest-applet + * debian/patches/10_invest_applet_libexecdir_fixed.patch: + - fix libexecdir directory + * debian/patches/11_modemapplet-sudo.patch: + - fix some sudo problems (fixes #7761) + * debian/patches/13_battstat_measuring_more_appropriate.patch: + - Ryan workaround problems + * debian/patches/14_battstat_enable_pmi.patch: + - LaptopMission + * debian/patches/15_gnomevfs_query_eject.patch: + - Use gnome-vfs2's new gnome_vfs_drive_needs_eject() function instead of + just looking at the drive type. This keeps unmount vs. eject consistent + across the UI and keeps it configurable with our hal policy. + * debian/patches/16_driveapplet_unmountprogress.patch: + - Add an unmount progress dialog (the same as in nautilus) + * debian/rules: + - run dh_python + + -- Sebastien Bacher Sun, 9 Jul 2006 15:39:58 +0200 + +gnome-applets (2.14.2-1) unstable; urgency=low + + [ Josselin Mouette ] + * Recommend deskbar-applet (closes: #368528). + + [ Loic Minier ] + * Remove dup build-dep on xlibs-static-dev. + [debian/control, debian/control.in] + * Drop all xlibs-static-dev build-deps altogether. + [debian/control, debian/control.in] + * New upstream release. + + -- Loic Minier Wed, 31 May 2006 17:00:42 +0200 + +gnome-applets (2.14.1-1) unstable; urgency=low + + [ Loic Minier ] + * Fix GNU/kFreeBSD build-deps (libhal-dev) and dependencies + (gstreamer0.8-alsa versus -oss), thanks Robert Millan. (Closes: #353170) + [debian/control, debian/control.in, debian/rules] + + [ Josselin Mouette ] + * Make the package binNMU-safe. + + Build-depend on dpkg-dev 1.13.19. + + Use ${source:Version} and ${binary:Version}. + * New upstream release. + * Update build-dependencies. + * Use debhelper mode 5. + * Switch to gstreamer 0.10. + * Use type-handling for build-dependencies. + * Remove unnecessary hacks for generating dependencies. + * gnome-applets-data.{install,postinst}: remove the horrible defaults + added to the system default source. + * 08_gweather_locations.patch: updated. + * 09_gweather_translation.patch,stickynotes-utf-8-date-title.patch, + 10_kfreebsd.patch: removed, integrated upstream. + * Enable gstreamer for hurd-i386 but don't depend on an audiosink as + there isn't one available. + * Cleanup *.install. + * gnome-applets{,-data}.install: ship libgweather. + * Add a shlibs statement about libgweather. + + -- Josselin Mouette Fri, 19 May 2006 18:45:10 +0200 + +gnome-applets (2.12.3-1) unstable; urgency=low + + * New upstream release: updated translations. + * [debian/control.in, debian/rules] The square brackets syntax for + architecture-specific dependencies is only defined for build-time + relationships, not for run time relationships like "Suggests". Use + dpkg-architecture and a sed construct to make the 'acpid' suggestion on + architectures where it is available. + + -- J.H.M. Dassen (Ray) Sun, 12 Feb 2006 17:40:59 +0100 + +gnome-applets (2.12.2-4) unstable; urgency=low + + [ Gustavo Noronha Silva ] + * Upload to unstable + + [ Josselin Mouette ] + * 03_battstat_default.patch, 07_drivemount_mediamount.patch: removed. + * gnome-applets.gconf-defaults: set the defaults here. + * control.in: require debhelper 5.0.13. + + -- Josselin Mouette Sun, 8 Jan 2006 11:41:52 +0100 + +gnome-applets (2.12.2-3) experimental; urgency=low + + * Build against dbus >= 0.60 + + -- Sjoerd Simons Sun, 18 Dec 2005 21:19:57 +0100 + +gnome-applets (2.12.2-2) experimental; urgency=low + + * Minor cleanups in debian/rules. + * Add patch from Ryuichi Arafune to convert date_title + from the current locale to UTF-8 in stickynotes. (Closes: #319127) + [debian/patches/stickynotes-utf-8-date-title.patch] + + -- Loic Minier Tue, 13 Dec 2005 10:07:29 +0100 + +gnome-applets (2.12.2-1) experimental; urgency=low + + * New upstream release + + -- Guilherme de S. Pastore Wed, 30 Nov 2005 14:35:57 -0200 + +gnome-applets (2.12.1-2) experimental; urgency=low + + * debian/control.in: + - eliminated circular dependency by removing the dependency of + gnome-applets-data on gnome-applets (Closes: #339912) + * debian/patches/10_kfreebsd.patch: + - apply patch from Aurelien Jarno to allow + build on kfreebsd-gnu. Thanks! (Closes: #320962) + * debian/po/pt_BR.po: updated/fixed. + + -- Guilherme de S. Pastore Thu, 17 Nov 2005 14:23:57 -0200 + +gnome-applets (2.12.1-1) experimental; urgency=low + + [ Guilherme de S. Pastore ] + * New maintainer + Thanks a lot for all your work, Marc! + + * New upstream release + - Fixes crash with sticky notes properties dialog (Closes: #318517) + - Displays last update time in gweather in local time (Closes: #319471) + - Keyboard indicator now includes disambiguations for layouts with + equal short descriptions (Closes: #319605) + + * Dropped the following patches; issues fixed upstream: + - 01_battstat_update.patch + - 02_battstat_icon.patch + - 04_battstat_no_suspend.patch + - 05_gtik_3decimalplaces.patch + - 06_stickynotes_docs_dupe_id.patch + - 09_cpufreq_handle_missing_scaling_available_frequencies_file.patch + + * New or updated debconf templates translations: + - fr; thanks to Jean-Luc (Closes: #317529) + - pt_PT; thanks to Rui Branco (Closes: #330381) + - sv; thanks to Daniel Nylander (Closes: #333319) + + * debian/patches: + - 09_gweather_translation.patch: get fix for German translation from + upstream CVS (Closes: #338374) + + * debian/control.in: + - dropped double build dependency on debhelper + - updated build dependencies for the new version + - tighten dependencies and recommendations for 2.12 versions + - dropped versioning for dependencies and build-dependencies on + cdbs and scrollkeeper, stable already has greater versions + + * debian/copyright: + - added note about the maintainer change + - changed downloaded-from URL to use HTTP instead of FTP + + * debian/gnome-applets.{config,postinst}: + - applied patch from Robert Millan to allow + installation on kfreebsd-gnu. Thanks! + + * debian/watch: + - updated + + [ Loic Minier ] + * Update Czech translation of debconf templates. (Closes: #321735) + + [ Josselin Mouette ] + * Pass --as-needed to ld. + + [ Gustavo Noronha Silva ] + * debian/rules, debian/gnome-applets-dev.install: + - no longer build on the debian/build directory, since it breaks + the building of gnome-doc-utils stuff and causes no dirty on the + Debian diff + + -- Guilherme de S. Pastore Wed, 16 Nov 2005 16:49:11 -0200 + +gnome-applets (2.10.1-5) unstable; urgency=low + + * Added necessary build-deps for Xorg transition. + + -- Marc Dequènes (Duck) Wed, 13 Jul 2005 15:30:39 +0200 + +gnome-applets (2.10.1-4) unstable; urgency=low + + * Recommends : s/gnome-netstatus/gnome-netstatus-applet/ + (Closes: #314176) + * Fixed override disparities for gnome-applets-dbg + (s/optional/extra/). + * Disabled gstreamer support on Hurd (thanks to Michael Banck). + * Now building in 'debian/build/' directory (cleaner). + * Applied patch for cpufreq to "handle missing scaling available + frequencies file" from Johannes Berg (Closes: #314331). + * Suggests 'cpufreqd | cpudyn | powernowd' for cpufreq applet. + * Added SUID handling via debconf for cpufreq-applet (Closes: #311109) + with updated French, Brazilian Portuguese and Czech translations + (Closes: #312436). + * Removed clean rule hack to work around #299010. + * Increased Standards-Version (no changes needed). + * Removed obsolete Conflicts/Replaces. + * Use type-handling Provides intead of this once again fucked utility + directly (Thanks to Np23[79] for advice). + + -- Marc Dequènes (Duck) Mon, 27 Jun 2005 23:50:32 +0200 + +gnome-applets (2.10.1-3) unstable; urgency=low + + * Upload to unstable. + + -- Marc Dequènes (Duck) Fri, 10 Jun 2005 21:17:02 +0200 + +gnome-applets (2.10.1-2) experimental; urgency=low + + * Get rid of buggy mc-install-default-macros ; made a .entries file to + be loaded with gconftool-2 as replacement. + * Added necessary Conflicts/Replaces/Provices for trashapplet to ease + migration from Sarge (trashapplet is now included into applets) + (Closes: #306871). + + -- Marc Dequènes (Duck) Thu, 5 May 2005 13:51:55 +0200 + +gnome-applets (2.10.1-1) experimental; urgency=low + + * New upstream release + * Mass build-depends and depends update (Closes: #292679). + * Added Replaces/Conflicts/Provides on gnome-cpufreq-applet. + * Now depending on gnome-icon-theme where several applet icons lies. + * Defaulting to 'gstreamer0.8-alsa' dependency instead of + 'gstreamer0.8-oss' (OSS is DEPRECATED and must die). + * Removed the following patches now included upstream : + + 06_gweather_utf8.patch + + 11_batstat_ui_fix.patch + * Removed the following patches now obsolete : + + 01_keep_keyprop.patch + + 02_gkb_xmmap.patch + + 03_modemlights_ppp_commands.patch + + 07_inboxmonitor_ssl.patch + + 10_batstat_transparent_background.patch + + 12_buildsys_relibtoolized.patch + * Regenerated patches : + + 08_gweather_locations.patch + + 09_drivemount_mediamount.patch + * Removed obsolete Indian & Latvian language support files. + * Fixed 'debian/gnome-keyboard-layout.xml' man page source typo + (Closes: #302733). + * Fixed in 2.10 branch : + + gkb disables VT switching in XFree86 4.3 (Closes: #233702). + + gweather: would be nice to show a moon during night-time clear sky + (Closes: #201984). + + include NYC Central Park (Closes: #304137). + + xml parsing errors during upgrade (Closes: #286125). + + gnome-keyboard-applet no longer show flag icon (flags removed) + (Closes: #285478) (see the "NO Flags Policy" thread : + http://mail.gnome.org/archives/desktop-devel-list/2003-November/ \ + msg00267.html ) + * Invalidated by major upstream changes : + + mailcheck removed (Closes: #285331, #89940, #82874, #292349, #207355, + #245142, #286360, #89940, #184186). + + cdplayer removed (Closes: #280436). + + wireless removed (no bugs). + + modemlights rewritten (Closes: #247209, #273429, #220796, #115732, + #173420). + + drivemount rewritten (Closes: #70456, #173545). + * Added 'gnome-applets-dbg.' binary package. + * Renamed 'postinst' to 'gnome-applets.postinst'. + * Added 'debian/README.Debian' with information about cpufreq applet + SUID parameter. + * Patch stolen from Ubuntu package (thanks to seb128's work) : + + 05_battstat-icon.patch : patch from Ryan Lortie to + fix some refresh issue with battstat. + + 06_battstat-default.patch : changed the default configuration for the + battstat applet (show battery activated by default). + + 08_battstat-no-suspend.patch : disable the suspend-on-double-click, + which is not yet working. + + 13_stickynotes-docs-dupe-id.patch : documentation fix. + * Reindexed patches. + * Removed extra cleanup rules (buildsys has learned hygiene). + * Fixed stupid cut-and-paste mistake in 'debian/copyright'. + * Updated 'debian/watch'. + * Temporarily reverted 'debian/control' generation to please ftpmasters + before a real solution is found and accepted. + + -- Marc Dequènes (Duck) Sun, 17 Apr 2005 02:57:49 +0200 + +gnome-applets (2.8.2-1) unstable; urgency=low + + * New upstream release. + * Suggests 'acpid' only on available architectures. + * Updated policy to 3.6.1.1 (no changes needed). + * Regenerated relibtoolize patch. + + -- Marc Dequènes (Duck) Sun, 12 Dec 2004 01:05:40 +0100 + +gnome-applets (2.8.1.1-4) unstable; urgency=low + + * Makes 'gstreamer0.8-oss' the default audiosink, as we have the OSS + burden in Sarge (Closes: #282745). + * Applied patch from CVS to add transparent background (Closes: + #272895). + * Applied patch from CVS to fix UI padding and key shortcut typo. + * CDBS Tweaks. + + -- Marc Dequènes (Duck) Sun, 28 Nov 2004 16:19:33 +0100 + +gnome-applets (2.8.1.1-3) unstable; urgency=low + + * Upload to unstable. + + -- Sebastien Bacher Fri, 19 Nov 2004 19:50:04 +0100 + +gnome-applets (2.8.1.1-2) experimental; urgency=low + + * Applied fixes : + + [inbox_monitor] patch from gnomezilla to add SSL support to + applet (Closes: #216324). + + [gweather] corrected Dulles zone (DCZ013->VAZ042), Washington DC + zone was corrected upstream (Closes: #278143). + + [drivemount] FHS compliance fix : mount point for removeable + media is /media and not /mnt (Closes: #265184). + * Regenerated relibtoolize patch. + + -- Marc Dequènes (Duck) Sun, 14 Nov 2004 00:14:52 +0100 + +gnome-applets (2.8.1.1-1) experimental; urgency=low + + * New upstream release : + + fix sticky notes not remembering hidden status + (Closes: #275819). + * 'libapm-dev' build-dep now restricted to linux architectures + (Closes: #272773). + + -- Marc Dequènes (Duck) Thu, 14 Oct 2004 23:14:28 +0200 + +gnome-applets (2.8.0-1) experimental; urgency=low + + * New upstream release : + + corrected tabs titles (Closes: #264293). + + gswitchit help added (Closes: #241892). + + modemlights connect time and throughtput not shown is obsolete + bug (Closes: #114524). + + gkb is now setxkbmap-compatible (Closes: #255680). + * Removed '05_gkb_swedish_dollar.patch' now included upstream. + * Regenerated relibtoolize patch. + * 'debian/control.in' : using more ${misc:Depends} and updated + versions. + * Added gtik patch from Jason Thomas to get 3 + decimal places instead of 2 to comply with Yahoo behavior (Closes: + #267526). + * Added gweather patch from Gareth Owen in + gnomezilla to correct UTF-8 problems (Closes: #205303). + + -- Marc Dequènes (Duck) Wed, 15 Sep 2004 00:16:05 +0200 + +gnome-applets (2.7.0-1) unstable; urgency=low + + * New upstream release + * Removed now included patch '05_cvs_gweather_windspeed.patch'. + * Removed now included patch '06_cvs_gweather_size.patch'. + * Regenerated relibtoolize patch. + + -- Marc Dequènes (Duck) Wed, 21 Jul 2004 22:13:31 +0200 + +gnome-applets (2.6.2-1) unstable; urgency=low + + * The 'Bughunt party release'. + * New upstream release, fix the following : + + [mixer] restore saved channel on startup (Closes: #253232) + + [gweather] fixed memory leaks (Closes: #171743) + * Gstreamer support is back. + * Moved Gstreamer Audio output pluggins to Depends as too many people + complains Mixer applet is not working and not looking carefully at + pkg information (Closes: #250393). + * Added watch file (Thx to seb128). + * Applied patches from CVS : + + [gweather] (corrected) get windspeed mesurement in m/s + (Closes: #169699) + + [gweather] size follow panel size (Closes: #217087) + * Applied patch to add dollar sign for swedish keyboard (Closes: + #234103). + * Added Latvian language support in gkb provided by Aigars Mahinovs + (Closes: #220451). + * Removed APM PPC patch as the problem is now fixed upstream. + * Regenerated relibtoolize patch (now much lighter : 2.9MB -> 60KB + uncompressed, upstream stopped using prehistoric tools ;-). + * Added 'autotools-dev' to build dependencies to take advantage of the + CDBS magic feature for updating autostuff files. + * Updated some Build-Depends/Depends versions. + + -- Marc Dequènes (Duck) Sun, 4 Jul 2004 20:03:12 +0200 + +gnome-applets (2.6.1-7) unstable; urgency=high + + * Urgency high because needed in testing. + * Gstreamer support temporarily deactivated to allow applets to enter + testing (gst-plugins0.8 not available in testing yet). + * Added missing Recommends on 'gnome-system-monitor' (in addition to + the rebuild with libgtop2 in -6, Closes: #246567). + * Added missing Builddep on 'sharutils'. + * Added Conflict/Replace on 'gnome-core' needed for woody transition + (Closes: #252474). + * Added 'gnome-media' to Recommends (Closes: #252435). + + -- Marc Dequènes (Duck) Tue, 22 Jun 2004 11:10:06 +0200 + +gnome-applets (2.6.1-6) unstable; urgency=low + + * Updated Build-dep on 'libgtop2-dev' because new pkg correct + important shlibdeps problems (and would perhaps correct #246567). + + -- Marc Dequènes (Duck) Sun, 30 May 2004 18:03:42 +0200 + +gnome-applets (2.6.1-5) unstable; urgency=low + + * Added Gstreamer Audio output pluggins to Recommends, needed by the + Mixer applet (Closes: #250393). + * Added Indian Languages support (GKB flag & keyprops) created by the + IndLinux project (Thx to Jaldhar H. Vyas) (files licensed under GPL) + (Closes: #250694). + * Added patch for battstat applet from Ludovic Rousseau (should + Closes: #234889). + + -- Marc Dequènes (Duck) Sat, 29 May 2004 17:33:39 +0200 + +gnome-applets (2.6.1-4) unstable; urgency=low + + * GNOME Team Upload. + * Upload in unstable. + + -- Sebastien Bacher Wed, 26 May 2004 19:53:56 +0200 + +gnome-applets (2.6.1-3) experimental; urgency=low + + * Added missing build-dep on 'xlibs-static-dev' (Closes: #250365). + * Now building against gstreamer 0.8. + * gtk-doc generation disabled. + + -- Marc Dequènes (Duck) Sun, 23 May 2004 12:44:09 +0200 + +gnome-applets (2.6.1-2) experimental; urgency=low + + * Readded 04_apm_ppc.patch still necessary (Closes: #249622). + * Improved gnome-applets-data dependencies (Closes: #247060). + * s/2.6.0/2.6.1/ on all Depends/Build-Depends. + + -- Marc Dequènes (Duck) Thu, 20 May 2004 16:36:04 +0200 + +gnome-applets (2.6.1-1) experimental; urgency=low + + * New upstream release + * Removed 03_gweather_fix_meteo_condition.patch now included upstream. + * Relibtoolized to avoid inflated dependencies ('Makefile.in' files + regenerated too to build correctly => fat patch). + * Added some more cleanups in 'clean' rule. + * Removed 04_apm_ppc.patch not needed anymore. + + -- Marc Dequènes (Duck) Sat, 15 May 2004 04:05:07 +0200 + +gnome-applets (2.6.0-4) experimental; urgency=low + + * Corrected a silly mistake in Build-Depends. + + -- Marc Dequènes (Duck) Fri, 9 Apr 2004 04:59:26 +0200 + +gnome-applets (2.6.0-3) experimental; urgency=low + + * Added improved patch from Arnaud Patard to correct parsing of meteo + condition. + * Added missing Build-Depends on libxklavier. + * Rebuilt using libgstreamer needed by the mixer applet. + * Activated IPv6 support. + * Added patch for APM on PPC from Thom May. + + -- Marc Dequènes (Duck) Wed, 31 Mar 2004 01:49:30 +0200 + +gnome-applets (2.6.0-2) experimental; urgency=low + + * Reactivated mini-commander default macros generation. + * Created new binary pkg 'gnome-applets-dev' containing materials to + build extensions for some applets. + * Added patch from Arnaud Patard to correct parsing of meteo + condition. + * Reapplied old patch for modemlights using bad commands : + s/pppon/pon/ & s/pppoff/poff/. + * Added missing manpages for 'gnome-keyboard-layout' and 'gswitchit- + plugins-capplet'. + * Rebuild against new libgtop2-2. + * Updated Build-Depends. + * Improved 'debian/copyright'. + * 'debian/control', 'debian/changelog' and 'debian/copyright' are now + UTF-8 encoded. + + -- Marc Dequènes (Duck) Sun, 28 Mar 2004 23:02:47 +0200 + +gnome-applets (2.6.0-1) experimental; urgency=low + + * New maintainer (Closes: 238880). + * New upstream release + * Fixed in new release : + + sticky-notes is working again (Closes: 238445). + + gweather now display '--' when temperature not available (Closes: + 239113). + + Disk Mounter USB stick icon available (Closes: 225122). + + 'debian/prerm' typo error obsoleted by new packaging (Closes: + 235685). + * Switched to compatility level 4. + * Now using CDBS. + * Removed obsolete 'prerm' & 'postrm' and cleaned 'postinst'. + * Removed silly CM 'README.Debian'. + + -- Marc Dequènes (Duck) Sat, 27 Mar 2004 23:20:58 +0100 + +gnome-applets (2.4.2-5) unstable; urgency=low + + * debian/control set Maintainer to Debian QA Group + + -- Christian Marillat Sat, 20 Mar 2004 09:48:44 +0100 + +gnome-applets (2.4.2-4) unstable; urgency=low + + * all my + + -- Christian Marillat Fri, 19 Mar 2004 15:25:44 +0100 + +gnome-applets (2.4.2-3) unstable; urgency=low + + * Split the package in two packages one package with binaries another one + with data (Closes: #233362) + * Fix typo in prerm script. + + -- Christian Marillat Sun, 22 Feb 2004 16:01:03 +0100 + +gnome-applets (2.4.2-2) unstable; urgency=low + + * Add acpid in suggests (Closes: #230867) + * Remove DTD hack and update scrollkeeper dependency to 0.3.14-5 + + -- Christian Marillat Sun, 8 Feb 2004 10:47:48 +0100 + +gnome-applets (2.4.2-1) unstable; urgency=low + + * New upstream release. + * Call mc-install-default-macros in postinst to install default macros for + mini-commander. + * Remove 03_acpi and 05_omf patches included by upstream + + -- Christian Marillat Fri, 16 Jan 2004 22:23:56 +0100 + +gnome-applets (2.4.0-5) unstable; urgency=low + + * debian/prerm Unregister schemas file from the database. + + -- Christian Marillat Fri, 9 Jan 2004 15:46:37 +0100 + +gnome-applets (2.4.0-4) unstable; urgency=low + + * Update depends on gnome-panel to 2.4.0 + * Rewrote patch 04_modemlights, was broken in -3 (Closes: #224198) + + -- Christian Marillat Tue, 30 Dec 2003 22:52:41 +0100 + +gnome-applets (2.4.0-3) unstable; urgency=low + + * New patch to fix build problem with later kernel-headers package + (Closes: #221874) + * New patch to fix broken omf file (Closes: #218916) + + -- Christian Marillat Sun, 7 Dec 2003 12:03:17 +0100 + +gnome-applets (2.4.0-2) unstable; urgency=low + + * Update Build-Depends to GNOME 2.4 packages (Closes: #217580) + * Patch from bugzilla to fix acpi in batstat applet (CLoses: #212969) + + -- Christian Marillat Sun, 26 Oct 2003 09:20:02 +0100 + +gnome-applets (2.4.0-1) unstable; urgency=low + + * New upstream release. + * Imporve description for new applets (Stickynotes, accessx-status and mailcheck) + + -- Christian Marillat Sat, 18 Oct 2003 15:36:53 +0200 + +gnome-applets (2.2.3-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Wed, 24 Sep 2003 15:10:51 +0200 + +gnome-applets (2.2.2-2) unstable; urgency=low + + * Improve battstats description (Closes: #201268) + * For now, remove broken omf files (unmaintained by upstream) (Closes: #195939) + + -- Christian Marillat Tue, 22 Jul 2003 16:05:16 +0200 + +gnome-applets (2.2.2-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Sun, 18 May 2003 19:28:21 +0200 + +gnome-applets (2.2.1-2) unstable; urgency=low + + * Fix wrong install path (Closes: #184876, #184658) + * Update libgnomeui-dev build-dependency to 2.2.0.1-2 (Closes: #185104) + + -- Christian Marillat Mon, 17 Mar 2003 08:25:38 +0100 + +gnome-applets (2.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 10 Mar 2003 21:20:48 +0100 + +gnome-applets (2.2.0-1) unstable; urgency=low + + * New upstream release. + * Move mc-install-default-macros in /usr/lib/gnome-panel + * Remove mixer patch included by upstream. + * Need to Build-Depends on libapm-dev + * Weather applet apply changes immediately (Closes: #135788) + + -- Christian Marillat Sun, 26 Jan 2003 19:52:42 +0100 + +gnome-applets (2.1.3-1) unstable; urgency=low + + * New upstream release. + * Bump Standards-Version to 3.5.8 + * Remove acpi patche included by upstream. + * Move applets binaries in /usr/lib/gnome-panel + * Update description, new wireless applet. + + -- Christian Marillat Fri, 17 Jan 2003 22:14:25 +0100 + +gnome-applets (2.0.4-1) unstable; urgency=low + + * New upstream release. + * Remove previous acpi patche and acpi dependency. Add a new patche from + http://cvs.gentoo.org/~hanno/ + Should (Closes: #168283, #169496, #169753, #169944) + + -- Christian Marillat Fri, 22 Nov 2002 14:16:40 +0100 + +gnome-applets (2.0.3-7) unstable; urgency=low + + * Patch from Itay Ben-Yaacov to use the acpi backend instead of the broken + acpi code in the battstat applet (Closes: #168283) + + -- Christian Marillat Fri, 15 Nov 2002 17:53:24 +0100 + +gnome-applets (2.0.3-6) unstable; urgency=low + + * Add a conflicts for battstat-applet (Closes: #167871) + + -- Christian Marillat Tue, 5 Nov 2002 16:02:01 +0100 + +gnome-applets (2.0.3-5) unstable; urgency=low + + * Upload to unstable + * Mixer applet work with devfs (Closes: #146028) + * No more problem with the mini-commander and focus (Closes: #115704, #116986) + * The gnotes applet has been removed (Closes: #143353) + * The tick-a-stat applet has been removed (Closes: #149408, #105225) + * Now you can add an URL for radar map in the gweather applet (Closes: #111974) + * ACPI support for battstat applet (Closes: #144604) + * Diskusage applet has been removed (Closes: #147074) + * gweather now display pressure in the right unit (Closes: #97137) + * No more redraw problem with battstat (Closes: #99488) + * Same as above but for the gweather applet (Closes: #106290, #126256) + * Typo fixed in German translation for modemlights (Closes: #111906) + * Gweather should uses non-blocking network I/O (Closes: #131624) + * mini-commander properties box can be resized (Closes: #83068) + + -- Christian Marillat Mon, 28 Oct 2002 15:17:22 +0100 + +gnome-applets (2.0.3-4) experimental; urgency=low + + * Apply patch from Chris Hanson to not reset the speaker volume in the + mixer applet (Closes: #164949) + * Apply patche from James D Strandboge to fix ACPI in battstat applet + (Closes: #152183) + + -- Christian Marillat Wed, 23 Oct 2002 20:25:12 +0200 + +gnome-applets (2.0.3-3) experimental; urgency=low + + * Upload with original tarball + + -- Christian Marillat Sun, 29 Sep 2002 17:54:44 +0200 + +gnome-applets2 (2.0.3-2) experimental; urgency=low + + * Upload without the 2 suffix + + -- Christian Marillat Sat, 28 Sep 2002 19:02:48 +0200 + +gnome-applets2 (2.0.3-1) experimental; urgency=low + + * New upstream release. + * Update to standards version 3.5.7 + + -- Christian Marillat Sun, 15 Sep 2002 17:15:42 +0200 + +gnome-applets2 (2.0.2-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Tue, 27 Aug 2002 11:18:15 +0200 + +gnome-applets2 (2.0.1-4) experimental; urgency=low + + * Build against the latest libgnomevfs2-dev 2.0.2-4 + + -- Christian Marillat Fri, 16 Aug 2002 17:50:58 +0200 + +gnome-applets2 (2.0.1-3) experimental; urgency=low + + * Replace pppon/pppoff by pon/poff in modemlights applet. + * Rebuild against the latest libgtk 2.0.6 + + -- Christian Marillat Tue, 13 Aug 2002 15:45:20 +0200 + +gnome-applets2 (2.0.1-2) experimental; urgency=low + + * Cleanup the diff (remove omf, server.in, server files) (Closes: #154120) + + -- Christian Marillat Tue, 23 Jul 2002 15:51:03 +0200 + +gnome-applets2 (2.0.1-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Sun, 21 Jul 2002 19:53:44 +0200 + +gnome-applets2 (2.0.0-2) experimental; urgency=low + + * Fix broken omf files (Closes: #153659) + + -- Christian Marillat Sat, 20 Jul 2002 19:09:27 +0200 + +gnome-applets2 (2.0.0-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Tue, 11 Jun 2002 16:18:18 +0200 + +gnome-applets2 (1.105.0-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 3 Jun 2002 16:53:17 +0200 + +gnome-applets2 (1.104.0-1) experimental; urgency=low + + * New upstream release. + * Remove call Internet DTD. + + -- Christian Marillat Tue, 28 May 2002 20:35:15 +0200 + +gnome-applets2 (1.103.0-2) experimental; urgency=low + + * debian/rules Add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 in install target. + * debian/postinst check if schemas files are present before calling + gconftool-2 + + -- Christian Marillat Mon, 27 May 2002 15:53:46 +0200 + +gnome-applets2 (1.103.0-1) experimental; urgency=low + + * new upstream release. + + -- Christian Marillat Tue, 21 May 2002 14:38:17 +0200 + +gnome-applets2 (1.102.1-1) experimental; urgency=low + + * New upstream release. + * Add support for DEB_HOST_GNU_TYPE DEB_BUILD_GNU_TYPE and + DEB_BUILD_OPTIONS + + -- Christian Marillat Wed, 15 May 2002 21:53:06 +0200 + +gnome-applets2 (1.101.0-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Sun, 12 May 2002 14:41:55 +0200 + +gnome-applets2 (1.100.0-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 29 Apr 2002 21:14:09 +0200 + +gnome-applets2 (1.99.0-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Wed, 17 Apr 2002 16:23:56 +0200 + +gnome-applets2 (1.98.0-1) experimental; urgency=low + + * News upstream release. + + -- Christian Marillat Sun, 14 Apr 2002 18:12:50 +0200 + +gnome-applets2 (1.96.0-1) experimental; urgency=low + + * New upstream release. + * Added scrollkeeper support in postinst/postrm + + -- Christian Marillat Mon, 11 Mar 2002 14:16:12 +0100 + +gnome-applets2 (1.95.0-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Tue, 5 Mar 2002 16:48:38 +0100 + +gnome-applets2 (1.94.0-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 25 Feb 2002 14:21:04 +0100 + +gnome-applets2 (1.93.0-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 18 Feb 2002 14:30:43 +0100 + +gnome-applets2 (1.92.2-1) experimental; urgency=low + + * New upstream release + + -- Christian Marillat Fri, 15 Feb 2002 00:33:38 +0100 + +gnome-applets2 (1.90.1-1) experimental; urgency=low + + * New upstream release. + + -- Christian Marillat Sun, 20 Jan 2002 15:49:42 +0100 + +gnome-applets (1.4.0.4-2) unstable; urgency=low + + * debian/control replace xml-i18n-tools by intltool + * debian/control Spell check (Closes: #124683) + * Clicking on gweather brings up detailed forecast (Closes: #90911) + * New patch against the battery applet to enable ACPI support. Thanks to + Matthew Danish (Closes: #116467) + + -- Christian Marillat Sat, 22 Dec 2001 19:23:35 +0100 + +gnome-applets (1.4.0.4-1) unstable; urgency=low + + * New upstream release. + * Fix typo in description (Closes: #110464) + * Fix some typos in sgml files + + -- Christian Marillat Wed, 5 Sep 2001 17:33:10 +0200 + +gnome-applets (1.4.0.3-1) unstable; urgency=low + + * New upstream release. + * debian/*.sgml Use docbook 4.1 + + -- Christian Marillat Fri, 10 Aug 2001 16:50:00 +0200 + +gnome-applets (1.4.0.2-1) unstable; urgency=low + + * New upstream release. + * Switch to debhelper V3 + * Removed mixer patch included by upstream. + * Update config.{guess,sub} we never know :) + * Patch against cpumemusage/proc.c to call the right libgtop function (Closes: #102466) + * slash_applet background not harcoded (Closes: #96113) + * In multiload_applet speed is replaced by interval (Closes: #75780) + + -- Christian Marillat Thu, 12 Jul 2001 23:14:09 +0200 + +gnome-applets (1.4.0.1-2) unstable; urgency=low + + * Add replace sound-monitor (Closes: #97791) + + -- Christian Marillat Thu, 17 May 2001 14:55:25 +0200 + +gnome-applets (1.4.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Wed, 9 May 2001 16:37:10 +0200 + +gnome-applets (1.4.0-2) unstable; urgency=low + + * Build depends on scrollkeeper (Closes: #93979) + + -- Christian Marillat Sat, 14 Apr 2001 20:48:23 +0200 + +gnome-applets (1.4.0-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Mon, 19 Mar 2001 12:11:23 +0100 + +gnome-applets (1.3.1-1) unstable; urgency=low + + * New upstream release + * debian/control Add xml-i18n-tools and scrollkeeper in build-depends + * debian/control Add scrollkeeper in depends + * debian/{postinst,prerm} Call scrollkeeper-update. + * New patch applet-docs.make for scrollkeeper + * gweather doesn't eats up cpu time (Closes: #87370) + * mini commander doesn't hangs on empty command line (Closes: #84293) + * mini commander now save its properties (Closes: #81602) + * The mixer applet works on PPC (Closes: #71681) + * New patch, make slashdot the default for the slashapp applet (Closes: #88459) + * I wrote 31 manpages then add docbook-to-man in build depends (Closes: #86974) + + -- Christian Marillat Tue, 6 Mar 2001 19:08:52 +0100 + +gnome-applets (1.2.4-5) unstable; urgency=low + + * Add libzvt-dev in build-depends (Closes: #87065) + + -- Christian Marillat Fri, 23 Feb 2001 09:38:02 +0100 + +gnome-applets (1.2.4-4) unstable; urgency=low + + * Build against the latest gnome-libs 1.2.11 + + -- Christian Marillat Wed, 14 Feb 2001 14:12:29 +0100 + +gnome-applets (1.2.4-3) unstable; urgency=low + + * debian/control Add recommends imagemagick (Closes: #82955, #83229) + + -- Christian Marillat Sat, 20 Jan 2001 15:02:46 +0100 + +gnome-applets (1.2.4-2) unstable; urgency=low + + * Apply patch for mixer on PPC (Closes: #78268) + + -- Christian Marillat Wed, 6 Dec 2000 21:54:49 +0100 + +gnome-applets (1.2.4-1) unstable; urgency=low + + * New upstream release. + * Corrected spanish locale (Closes: #74536) + * Disk usage applet show correct free space (Closes: #75407) + + -- Christian Marillat Thu, 16 Nov 2000 01:37:57 +0100 + +gnome-applets (1.2.3-1) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Tue, 24 Oct 2000 11:35:12 +0200 + +gnome-applets (1.2.2-1) unstable; urgency=low + + * New upstream release + * Switch to debhelper V2 + * gkb_applet now save his state between session (Closes: #71070) + + -- Christian Marillat Tue, 26 Sep 2000 15:22:22 +0200 + +gnome-applets (1.2.1-1) unstable; urgency=low + + * New upstream release (Closes: #69690). + * Add modemlights patch. + * Rewrote debian/control (Closes: #68035). + * debian/control add asclock-themes in the depends field. + + -- Christian Marillat Tue, 22 Aug 2000 13:05:10 +0200 + +gnome-applets (1.2.0-1) unstable; urgency=low + + * Initial Release. + * This package close all these bugs in gnome-core: + Closes: #46253, #63561, #46251, #36537, #38434, #45286, #45791, #49718, + #52609, #53125, #54865, #54866, #59080, #60057, #60938, #61611, #62114, + #63215, #64350, #64475, #66666, #66840, #59292, #65858, #57414 + + -- Christian Marillat Wed, 26 Jul 2000 11:35:25 +0200 + + --- gnome-applets-2.16.1.orig/debian/control.in +++ gnome-applets-2.16.1/debian/control.in @@ -0,0 +1,80 @@ +Source: gnome-applets +Section: gnome +Priority: optional +Maintainer: Guilherme de S. Pastore +Uploaders: @GNOME_TEAM@ +Standards-Version: 3.7.2 +Build-Depends: cdbs, autotools-dev, debhelper (>= 5.0.13), patchutils, libgtk2.0-dev (>= 2.6.0), libgtop2-dev (>= 2.11.92), intltool, libpanel-applet2-dev (>= 2.13.4), liborbit2-dev (>= 1:2.12.1-1), scrollkeeper, libgail-dev (>= 1.1.0), libwnck-dev (>= 2.9.3), libgconf2-dev (>= 2.8.0), libglade2-dev (>= 1:2.5.1-1), libapm-dev, libgnome2-dev (>= 2.8.0), libgnomeui-dev (>= 2.8.0), libgnome-keyring-dev (>= 0.4.2-1) , libxklavier-dev (>= 2.91), gnome-pkg-tools, dpkg-dev (>= 1.13.19), xsltproc, docbook-xsl, sharutils, libgstreamer-plugins-base0.10-dev (>= 0.10.2), libgnomevfs2-dev (>= 2.8.0), libgucharmap5-dev (>= 1:1.4.2-1), system-tools-backends-dev (>= 1.1.3), libxkbfile-dev, libgnome-desktop-dev (>= 2.11.1), libhal-dev (>= 0.5.3), libdbus-1-dev (>= 0.92), gnome-doc-utils (>= 0.3.2), libxres-dev, libnotify-dev (>= 0.3.2), python-gtk2-dev, python-gobject-dev, python-gnome2-dev, python-gnome2-desktop-dev, python-dev, python, gnome-control-center-dev, gnome-icon-theme (>= 2.15.3), liboobs-1-dev + +Package: gnome-applets-data +Architecture: all +Depends: scrollkeeper, ${misc:Depends} +Replaces: gnome-cpufreq-applet, trashapplet +Description: Various applets for GNOME 2 panel - data files + This package contains data files (pixmaps, icons, documentations) needed by + the gnome-applets package. + +Package: gnome-applets +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gnome2-desktop, python-gnome2-extras, gnome-applets-data (= ${source:Version}), gnome-panel (>= 2.12.1-1), gnome-icon-theme (>= 2.12.1-1), gstreamer0.10-alsa | gstreamer0.10-plugins-good +Conflicts: gnome-cpufreq-applet, trashapplet +Replaces: gnome-cpufreq-applet, trashapplet +Provides: gnome-cpufreq-applet, trashapplet +Recommends: imagemagick, gnome-system-monitor, gnome-media, gnome-netstatus-applet, deskbar-applet +Suggests: acpid, cpufreqd | cpudyn | powernowd +Description: Various applets for GNOME 2 panel - binary files + accessx-status: shows you the status of the keyboard accessibility + features, including the current state of the keyboard, if those features + are in use. + . + Battstat: (battery applet) shows the status of the power subsystem in your + laptop. + . + Character palette: provides a convenient way to access non-standard + characters, such as accented characters, mathematical symbols, special + symbols, and punctuation marks. + . + GNOME CPUFreq Applet: is a CPU Frequency Scaling Monitor for GNOME Panel. + . + Drivemount: Allows you to quickly and easily mount and unmount various + types of drives and filesystems on your computer. + . + Geyes: Is a pair of eyes which follow your mouse pointer around the screen. + . + Keyboard layout switcher: enables you to assign different layouts to your + keyboard to suit different locales. + . + Mixer: enables you to control the sound volume on your system. + . + Modemlights: Monitor your modem while it is working. + . + Sticky notes: enables you to create, view, and manage sticky notes on the + GNOME Desktop. + . + Stock ticker: downloads current stock quotes from the Internet and displays + the quotes in a scrolling display in the applet. The applet downloads the + stock information from Yahoo! Finance. + . + System monitor: CPU, memory, network, swap file and resource. + . + Trash: ou can drag items from Nautilus onto this applet to move them to your + trash folder. + . + Weather report: downloads weather information from the U.S National Weather + Service (NWS) servers, including the Interactive Weather Information + Network (IWIN). + +Package: gnome-applets-dbg +Architecture: any +Priority: extra +Depends: ${shlibs:Depends}, gnome-applets (= ${binary:Version}) +Description: Various applets for GNOME 2 panel - binary files with debugging symbols + This package contains unstripped binaries used for debugging. + +Package: gnome-applets-dev +Architecture: any +Depends: ${shlibs:Depends}, gnome-applets (= ${binary:Version}) +Description: Various applets for GNOME 2 panel - development files + This package contains development materials needed to build extensions for + some applets. + --- gnome-applets-2.16.1.orig/debian/gnome-keyboard-layout.xml +++ gnome-applets-2.16.1/debian/gnome-keyboard-layout.xml @@ -0,0 +1,100 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + Marc"> + Dequènes"> + + 2004-03-28"> + + 1"> + Duck@DuckCorp.org"> + + GNOME-KEYBOARD-LAYOUT"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Keyboard layout selector for the GNOME desktop. + + + + &dhpackage; + + + + DESCRIPTION + + &dhpackage; is a customisable keyboard + layout selector. + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ --- gnome-applets-2.16.1.orig/debian/gswitchit-plugins-capplet.xml +++ gnome-applets-2.16.1/debian/gswitchit-plugins-capplet.xml @@ -0,0 +1,105 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + Marc"> + Dequènes"> + + 2004-03-28"> + + 1"> + Duck@DuckCorp.org"> + + GSWITCHIT-PLUGINS-CAPPLET"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Keyboard Indicator plugin manager for the GNOME + desktop. + + + + &dhpackage; + + + + DESCRIPTION + + &dhpackage; is a plugin manager for the + Keyboard Indicator (formerly known as GSwitchIt), an Applet for + the GNOME desktop. + + To add this applet to a Panel, right‐click on the Panel and + choose Applets‐>Utility‐>Keyboard Indicator. + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ --- gnome-applets-2.16.1.orig/debian/gnome-applets.templates +++ gnome-applets-2.16.1/debian/gnome-applets.templates @@ -0,0 +1,17 @@ +Template: gnome-applets/cpufreq_SUID_bit +Type: boolean +Default: false +_Description: Install cpufreq-selector with SUID root? + You have the option of installing a component of the CPU Frequency Scaling + Monitor (cpufreq-selector) with the SUID bit set. + . + If you make cpufreq-selector SUID, any user can then set the CPU's clock + frequency without needing any additional privileges. This could, however, + potentially allow it to be used during a security attack on your computer. If + in doubt, it is suggested that you install it without SUID. + . + The applet will continue to work if you choose to disable SUID for + cpufreq-selector, but only for monitoring the CPU clock frequency. You may + need to restart this applet before this decision takes effect. + . + If you change your mind later, run "dpkg-reconfigure gnome-applets" --- gnome-applets-2.16.1.orig/debian/gnome-applets.gconf-defaults +++ gnome-applets-2.16.1/debian/gnome-applets.gconf-defaults @@ -0,0 +1,2 @@ +/apps/battstat-applet/prefs/show_battery false +/apps/drivemount-applet/prefs/mount_point /media/floppy --- gnome-applets-2.16.1.orig/debian/gnome-applets.manpages +++ gnome-applets-2.16.1/debian/gnome-applets.manpages @@ -0,0 +1 @@ +man/*.1 --- gnome-applets-2.16.1.orig/debian/gnome-applets-data.postinst +++ gnome-applets-2.16.1/debian/gnome-applets-data.postinst @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +if [ "$1" = "configure" ]; then + GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + TMP_HOME=`mktemp -d /tmp/gconf.XXXXXX` + HOME=${TMP_HOME} gconftool-2 --direct \ + --config-source=${GCONF_CONFIG_SOURCE} --recursive-unset \ + /apps/mini-commander /apps/mini-commander-global \ + /schemas/apps/mini-commander \ + /schemas/apps/mini-commander-global >/dev/null + rm -rf ${TMP_HOME} +fi + +exit 0 --- gnome-applets-2.16.1.orig/debian/gnome-applets.postrm +++ gnome-applets-2.16.1/debian/gnome-applets.postrm @@ -0,0 +1,23 @@ +#!/bin/sh +# postrm script for gnome-cpufreq-selector + +set -e + +prog=/usr/bin/cpufreq-selector + +case "$1" in + purge) + if dpkg-statoverride --list $prog > /dev/null; then + dpkg-statoverride --remove $prog + fi; + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 +esac + +#DEBHELPER# + +exit 0 --- gnome-applets-2.16.1.orig/debian/gnome-applets.postinst +++ gnome-applets-2.16.1/debian/gnome-applets.postinst @@ -0,0 +1,33 @@ +#!/bin/sh +# postinst script for gnome-cpufreq-selector + +set -e + +. /usr/share/debconf/confmodule +db_version 2.0 + +prog=/usr/bin/cpufreq-selector + +case "$1" in + configure) + if test -e $prog; then + db_get gnome-applets/cpufreq_SUID_bit + if [ "$RET" = "false" ]; then + chmod 0755 $prog + fi; + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- gnome-applets-2.16.1.orig/debian/gnome-applets-dev.install +++ gnome-applets-2.16.1/debian/gnome-applets-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include +debian/tmp/usr/lib/pkgconfig +debian/tmp/usr/lib/*.so +debian/tmp/usr/lib/*.a +libgswitchit/libgswitchit.a usr/lib/ --- gnome-applets-2.16.1.orig/debian/po/templates.pot +++ gnome-applets-2.16.1/debian/po/templates.pot @@ -0,0 +1,56 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: guilherme.pastore@terra.com.br\n" +"POT-Creation-Date: 2006-07-15 14:25-0700\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "Install cpufreq-selector with SUID root?" +msgstr "" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"You have the option of installing a component of the CPU Frequency Scaling " +"Monitor (cpufreq-selector) with the SUID bit set." +msgstr "" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"If you make cpufreq-selector SUID, any user can then set the CPU's clock " +"frequency without needing any additional privileges. This could, however, " +"potentially allow it to be used during a security attack on your computer. " +"If in doubt, it is suggested that you install it without SUID." +msgstr "" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"The applet will continue to work if you choose to disable SUID for cpufreq-" +"selector, but only for monitoring the CPU clock frequency. You may need to " +"restart this applet before this decision takes effect." +msgstr "" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "If you change your mind later, run \"dpkg-reconfigure gnome-applets\"" +msgstr "" --- gnome-applets-2.16.1.orig/debian/po/POTFILES.in +++ gnome-applets-2.16.1/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] gnome-applets.templates --- gnome-applets-2.16.1.orig/debian/po/ja.po +++ gnome-applets-2.16.1/debian/po/ja.po @@ -0,0 +1,74 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: gnome-applets 0.3.1-4\n" +"Report-Msgid-Bugs-To: guilherme.pastore@terra.com.br\n" +"POT-Creation-Date: 2006-07-15 14:25-0700\n" +"PO-Revision-Date: 2005-05-20 23:10-1000\n" +"Last-Translator: Atsushi Shimono \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "Install cpufreq-selector with SUID root?" +msgstr "cpufreq-selector root SUID ƥ󥹥ȡ뤷ޤ" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"You have the option of installing a component of the CPU Frequency Scaling " +"Monitor (cpufreq-selector) with the SUID bit set." +msgstr "" +"CPU ȿĴ˥ (cpufreq-selector) Υץե SUID bit ͭ" +"ˤƥ󥹥ȡ뤹뤫ɤǤޤ" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"If you make cpufreq-selector SUID, any user can then set the CPU's clock " +"frequency without needing any additional privileges. This could, however, " +"potentially allow it to be used during a security attack on your computer. " +"If in doubt, it is suggested that you install it without SUID." +msgstr "" +"cpufreq-selector SUID bit ͭˤ硢ɤΥ桼Ǥ CPU ȿ" +"ø¤ʤǤޤʤ顢ϥƥѤ" +"ǽޤΤϡSUID ̵ˤƥ󥹥ȡ뤹뤳Ȥ" +"ޤ" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"The applet will continue to work if you choose to disable SUID for cpufreq-" +"selector, but only for monitoring the CPU clock frequency. You may need to " +"restart this applet before this decision takes effect." +msgstr "" +"cpufreq-selector SUID bit ̵ˤƥ󥹥ȡ뤷Ƥ⡢ץåȤư" +"ޤCPU ȿ˥뤳ȤǤʤʤޤͭˤ" +"뤿ˤϡץåȤƵưɬפޤ" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "If you change your mind later, run \"dpkg-reconfigure gnome-applets\"" +msgstr "" +"ѹˤϡ\"dpkg-reconfigure gnome-applets\" ¹ԤƤ" --- gnome-applets-2.16.1.orig/debian/po/sv.po +++ gnome-applets-2.16.1/debian/po/sv.po @@ -0,0 +1,71 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-applets 2.10.1-5\n" +"Report-Msgid-Bugs-To: guilherme.pastore@terra.com.br\n" +"POT-Creation-Date: 2006-07-15 14:25-0700\n" +"PO-Revision-Date: 2005-10-12 13:10+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "Install cpufreq-selector with SUID root?" +msgstr "Installera cpufreq-selector med SUID root?" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"You have the option of installing a component of the CPU Frequency Scaling " +"Monitor (cpufreq-selector) with the SUID bit set." +msgstr "" +"Du har mjligheten att installera en komponent av CPU Frekvens Skalnings " +"Monitorn(cpufreq-selector) med SUID-biten satt." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"If you make cpufreq-selector SUID, any user can then set the CPU's clock " +"frequency without needing any additional privileges. This could, however, " +"potentially allow it to be used during a security attack on your computer. " +"If in doubt, it is suggested that you install it without SUID." +msgstr "" +"Om du gr cpufreq-selector SUID kan alla anvndare stta CPU'ns " +"klockfrekvens utan att behva extra rttigheter. Detta kan innebra att " +"denna kan anvndas i en attack mot din dator. Om du r osker frsls det " +"att du installerar den utan SUID." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"The applet will continue to work if you choose to disable SUID for cpufreq-" +"selector, but only for monitoring the CPU clock frequency. You may need to " +"restart this applet before this decision takes effect." +msgstr "" +"Denna applet kommer att fortstta fungera om du vljer att stnga av SUID " +"fr cpufreq-selector men bara fr monitorering av CPU-klockfrekvensen. Du " +"kan behva att starta om appleten fre detta beslut blir aktivt." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "If you change your mind later, run \"dpkg-reconfigure gnome-applets\"" +msgstr "Om du ndrar dig senare, kr \"dpkg-reconfigure gnome-applets\"" --- gnome-applets-2.16.1.orig/debian/po/fr.po +++ gnome-applets-2.16.1/debian/po/fr.po @@ -0,0 +1,76 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-applets 2.10.1\n" +"Report-Msgid-Bugs-To: guilherme.pastore@terra.com.br\n" +"POT-Creation-Date: 2006-07-15 14:25-0700\n" +"PO-Revision-Date: 2005-06-07 20:47+0200\n" +"Last-Translator: Jean-Luc Coulon (f5ibh) \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "Install cpufreq-selector with SUID root?" +msgstr "" +"Faut-il excuter cpufreq-selector avec les privilges du superutilisateur?" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"You have the option of installing a component of the CPU Frequency Scaling " +"Monitor (cpufreq-selector) with the SUID bit set." +msgstr "" +"Un composant GNOME de contrle de la frquence du processeur (cpufreq-" +"selector) peut tre install pour s'excuter avec les privilges du " +"superutilisateur (suid root)." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"If you make cpufreq-selector SUID, any user can then set the CPU's clock " +"frequency without needing any additional privileges. This could, however, " +"potentially allow it to be used during a security attack on your computer. " +"If in doubt, it is suggested that you install it without SUID." +msgstr "" +"Si vous choisissez cette option, un utilisateur pourra modifier la frquence " +"de l'horloge du processeur sans avoir besoin d'autres droits. Cependant, " +"cela peut permettre de dtourner cet outil pour compromettre la scurit de " +"votre systme. En cas de doute, il est recommand de faire l'installation " +"sans ces droits." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"The applet will continue to work if you choose to disable SUID for cpufreq-" +"selector, but only for monitoring the CPU clock frequency. You may need to " +"restart this applet before this decision takes effect." +msgstr "" +"Si vous choisissez de ne pas utiliser cette option, l'outil continuera de " +"fonctionner mais seule la fonction d'affichage de la frquence de l'horloge " +"du processeur sera active. Vous devrez redmarrer l'application pour que " +"cette dcision devienne effective." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "If you change your mind later, run \"dpkg-reconfigure gnome-applets\"" +msgstr "" +"Si vous changez d'avis par la suite, il suffira d'utiliser la commande " +"dpkg-reconfigure gnome-applets" --- gnome-applets-2.16.1.orig/debian/po/es.po +++ gnome-applets-2.16.1/debian/po/es.po @@ -0,0 +1,95 @@ +# +# gnome-applets translation to spanish +# Copyright (C) 2005 Software in the Public Interest, SIP Inc. +# This file is distributed under the same license as the gnome-applets +# package. +# +# Changes: +# - Initial translation +# Carlos Parra Camargo, 2005 +# +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentacin de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traduccin al espaol, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traduccin de Debian al espaol +# http://www.debian.org/intl/spanish/coordinacion +# especialmente las notas y normas de traduccin en +# http://www.debian.org/intl/spanish/notas +# +# - La gua de traduccin de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Si tiene dudas o consultas sobre esta traduccin consulte con el ltimo +# traductor (campo Last-Translator) y ponga en copia a la lista de +# traduccin de Debian al espaol () +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-applets\n" +"Report-Msgid-Bugs-To: guilherme.pastore@terra.com.br\n" +"POT-Creation-Date: 2006-07-15 14:25-0700\n" +"PO-Revision-Date: 2005-04-04 00:10+0200\n" +"Last-Translator: Carlos Parra Camargo \n" +"Language-Team: Debian Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "Install cpufreq-selector with SUID root?" +msgstr "Instalar cpufreq-selector con SUID root?" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"You have the option of installing a component of the CPU Frequency Scaling " +"Monitor (cpufreq-selector) with the SUID bit set." +msgstr "" +"Tiene la opcin de instalar un componente del monitor de control de " +"frecuencia de la CPU frecuencia de la CPU (cpufreq-selector) con el bit SUID " +"seleccionado." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"If you make cpufreq-selector SUID, any user can then set the CPU's clock " +"frequency without needing any additional privileges. This could, however, " +"potentially allow it to be used during a security attack on your computer. " +"If in doubt, it is suggested that you install it without SUID." +msgstr "" +"Si instala cpufreq-selector con SUID, cualquier usuario puede establecer la " +"frecuencia del reloj de la CPU sin necesitar permisos adicionales. Esto " +"podra, sin embargo, permitir su uso en un ataque de seguridad en su " +"ordenador. Si duda, le sugerimos que lo instale sin SUID" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"The applet will continue to work if you choose to disable SUID for cpufreq-" +"selector, but only for monitoring the CPU clock frequency. You may need to " +"restart this applet before this decision takes effect." +msgstr "" +"El applet continuar funcionando si escoge deshabilitar el SUID a cpufreg-" +"selector, pero slo para monitorizar la frecuencia del reloj de la CPU. " +"Tendr que reiniciar este applet para que la decisin tenga efecto." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "If you change your mind later, run \"dpkg-reconfigure gnome-applets\"" +msgstr "" +"Si cambia de idea ms adelante, ejecute dpkg-reconfigure gnome-cpufreq-" +"applet" --- gnome-applets-2.16.1.orig/debian/po/pt_BR.po +++ gnome-applets-2.16.1/debian/po/pt_BR.po @@ -0,0 +1,66 @@ +# Brazilian Portuguese translation of gnome-applets debconf templates. +# This file is distributed under the same license as the Atomix package. +# Copyright (C) 2005 Free Software Foundation, Inc. +# Guilherme de S. Pastore +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-applets 2.12.1-1\n" +"Report-Msgid-Bugs-To: guilherme.pastore@terra.com.br\n" +"POT-Creation-Date: 2006-07-15 14:25-0700\n" +"PO-Revision-Date: 2005-11-23 11:25-0200\n" +"Last-Translator: Guilherme de S. Pastore \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "Install cpufreq-selector with SUID root?" +msgstr "Instalar o cpufreq-selector com SUID root?" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"You have the option of installing a component of the CPU Frequency Scaling " +"Monitor (cpufreq-selector) with the SUID bit set." +msgstr "" +"Você tem a opção de instalar um componente do Monitor de Freqüência da CPU " +"(cpufreq-selector) com o bit \"set user ID\" (SUID) habilitado." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"If you make cpufreq-selector SUID, any user can then set the CPU's clock " +"frequency without needing any additional privileges. This could, however, " +"potentially allow it to be used during a security attack on your computer. " +"If in doubt, it is suggested that you install it without SUID." +msgstr "" +"Se você tornar o cpufreq-selector SUID, qualquer usuário poderá definir a " +"freqüência do clock da CPU sem necessidade de privilégios adicionais. Isso " +"pode, no entanto, ser usado durante um ataque de segurança ao seu " +"computador. Em caso de dúvida, sugere-se que você o instale sem SUID." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"The applet will continue to work if you choose to disable SUID for cpufreq-" +"selector, but only for monitoring the CPU clock frequency. You may need to " +"restart this applet before this decision takes effect." +msgstr "" +"O applet continuará funcionando se você escolher desabilitar o SUID para o " +"cpufreq-selector, mas somente monitorando a freqüência do clock da CPU. Você " +"pode precisar reiniciar esse applet para que esta decisão faça efeito." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "If you change your mind later, run \"dpkg-reconfigure gnome-applets\"" +msgstr "" +"Se você mudar de idéia mais tarde, execute \"dpkg-reconfigure gnome-applets\"" --- gnome-applets-2.16.1.orig/debian/po/cs.po +++ gnome-applets-2.16.1/debian/po/cs.po @@ -0,0 +1,73 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-applets\n" +"Report-Msgid-Bugs-To: guilherme.pastore@terra.com.br\n" +"POT-Creation-Date: 2006-07-15 14:25-0700\n" +"PO-Revision-Date: 2005-07-21 12:17+0200\n" +"Last-Translator: Jan Outrata \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "Install cpufreq-selector with SUID root?" +msgstr "Instalovat cpufreq-selector s nastavenm SUID bitem?" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"You have the option of installing a component of the CPU Frequency Scaling " +"Monitor (cpufreq-selector) with the SUID bit set." +msgstr "" +"Mte monost instalovat soust CPU Frequency Scaling Monitoru (cpufreq-" +"selector) s nastavenm SUID bitem." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"If you make cpufreq-selector SUID, any user can then set the CPU's clock " +"frequency without needing any additional privileges. This could, however, " +"potentially allow it to be used during a security attack on your computer. " +"If in doubt, it is suggested that you install it without SUID." +msgstr "" +"Pokud nastavte programu cpufreq-selector SUID bit, bude moci kad uivatel " +"nastavit frekvenci CPU bez poteby jakchkoliv dalch prv. To ale me " +"umonit zneuit bhem bezpenostnho toku na v pota. Pokud si nejste " +"jisti, doporuuji instalovat jej bez SUID bitu." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"The applet will continue to work if you choose to disable SUID for cpufreq-" +"selector, but only for monitoring the CPU clock frequency. You may need to " +"restart this applet before this decision takes effect." +msgstr "" +"Aplet bude fungovat i kdy programu cpufreq-selector SUID bit nenastavte, " +"ale jen pro sledovn frekvence CPU. Mon bude poteba aplet restartovat, " +"ne toto rozhodnut nabyde platnosti." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "If you change your mind later, run \"dpkg-reconfigure gnome-applets\"" +msgstr "" +"Pokud si to pozdji rozmyslte, spuste \"dpkg-reconfigure gnome-applets\"" --- gnome-applets-2.16.1.orig/debian/po/pt.po +++ gnome-applets-2.16.1/debian/po/pt.po @@ -0,0 +1,66 @@ +# Portuguese translation of gnome-applets's debconf messages. +# 2005, Rui Branco > +# +# 2005-09-26 - Rui Branco +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-applets 2.10.1-5\n" +"Report-Msgid-Bugs-To: guilherme.pastore@terra.com.br\n" +"POT-Creation-Date: 2006-07-15 14:25-0700\n" +"PO-Revision-Date: 2005-09-26 14:34+0100\n" +"Last-Translator: Rui Branco \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "Install cpufreq-selector with SUID root?" +msgstr "Instalar o cpufreq-selector com SUID root?" + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"You have the option of installing a component of the CPU Frequency Scaling " +"Monitor (cpufreq-selector) with the SUID bit set." +msgstr "" +"Tem a opção de instalar um componente de monitorização de escalamento da " +"frequência do CPU (cpufreq-selector) com o bit SUID definido." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"If you make cpufreq-selector SUID, any user can then set the CPU's clock " +"frequency without needing any additional privileges. This could, however, " +"potentially allow it to be used during a security attack on your computer. " +"If in doubt, it is suggested that you install it without SUID." +msgstr "" +"Se criar o cpufreq-selector SUID, qualquer utilizador poderá então definir a " +"frequência de relógio do CPU sem necessitar de privilégios adicionais. Isto " +"pode no entanto ser potencialmente usado durante um ataque à segurança do " +"seu computador. Se tiver dúvidas, é sugerido que o instale sem SUID." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "" +"The applet will continue to work if you choose to disable SUID for cpufreq-" +"selector, but only for monitoring the CPU clock frequency. You may need to " +"restart this applet before this decision takes effect." +msgstr "" +"Este 'applet' continuará a funcionar se escolher descativar o SUID para o " +"cpufreq-selector, mas apenas monitorizará a frequência de relógio do CPU. " +"Poderá necessitar deste 'applet' antes que a decisão surta efeito." + +#. Type: boolean +#. Description +#: ../gnome-applets.templates:1001 +msgid "If you change your mind later, run \"dpkg-reconfigure gnome-applets\"" +msgstr "" +"Se decidir mudar de ideias mais tarde, corra \"dpkg-reconfigure gnome-applets" +"\"" --- gnome-applets-2.16.1.orig/debian/watch +++ gnome-applets-2.16.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.gnome.org/pub/GNOME/sources/gnome-applets/2.14/gnome-applets-(.*)\.tar\.gz --- gnome-applets-2.16.1.orig/debian/gnome-applets-data.install +++ gnome-applets-2.16.1/debian/gnome-applets-data.install @@ -0,0 +1,3 @@ +debian/tmp/etc/ +debian/tmp/usr/lib/bonobo/ +debian/tmp/usr/share/ --- gnome-applets-2.16.1.orig/debian/copyright +++ gnome-applets-2.16.1/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Christian Marillat on +Mon, 31 Jan 2000 13:15:27 +0100. +Taken over by Marc Dequènes (Duck) on 2003-03-28. +Taken over by Guilherme de S. Pastore +on 2005-11-08 + +It was downloaded from http://ftp.gnome.org/pub/GNOME/sources/gnome-applets/ + +Upstream Authors: too many, see '/usr/share/doc/gnome-panel/AUTHORS' + for details + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + --- gnome-applets-2.16.1.orig/debian/patches/17_fix_mute_icon.patch +++ gnome-applets-2.16.1/debian/patches/17_fix_mute_icon.patch @@ -0,0 +1,17 @@ +Fix for https://launchpad.net/distros/ubuntu/+source/gnome-applets/+bug/64539 +aka http://bugzilla.gnome.org/show_bug.cgi?id=360507 + +patch generated by mg on Tue Oct 10 02:31:12 EEST 2006 + +diff -up ./mixer/applet.c.orig ./mixer/applet.c +--- ./mixer/applet.c.orig 2006-10-10 02:29:25.000000000 +0300 ++++ ./mixer/applet.c 2006-10-10 02:29:34.000000000 +0300 +@@ -1079,7 +1079,7 @@ gnome_volume_applet_refresh (GnomeVolume + volume = gnome_volume_applet_get_volume (applet->mixer, first_track); + mute = GST_MIXER_TRACK_HAS_FLAG (first_track, + GST_MIXER_TRACK_MUTE); +- if (volume <= 0) { ++ if (volume <= 0 || mute) { + mute = TRUE; + n = 0; + } --- gnome-applets-2.16.1.orig/debian/patches/18_fix_keyboard_indicator_crasher.patch +++ gnome-applets-2.16.1/debian/patches/18_fix_keyboard_indicator_crasher.patch @@ -0,0 +1,30 @@ +--- gnome-applets-2.16.0.1/libgswitchit/gnome-kbd-indicator.c.keyboard-indicator-segfault 2006-08-12 21:26:53.000000000 -0400 ++++ gnome-applets-2.16.0.1/libgswitchit/gnome-kbd-indicator.c 2006-09-18 09:23:54.000000000 -0400 +@@ -410,18 +410,22 @@ + xkl_engine_get_num_groups (globals.engine); + globals.full_group_names = + g_new0 (char *, total_groups + 1); ++ globals.short_group_names = ++ g_new0 (char *, total_groups + 1); + + if (xkl_engine_get_features (globals.engine) & + XKLF_MULTIPLE_LAYOUTS_SUPPORTED) { + GSList *lst = globals.kbd_cfg.layouts; +- for (i = 0; lst; lst = lst->next) { +- globals.full_group_names[i++] = +- g_strdup ((char *) lst->data); ++ for (i = 0; lst; lst = lst->next,i++) { ++ globals.short_group_names[i] = ++ globals.full_group_names[i] = ++ g_strdup ((char *) lst->data); + } + } else { + for (i = total_groups; --i >= 0;) { +- globals.full_group_names[i] = +- g_strdup_printf ("Group %d", i); ++ globals.short_group_names[i] = ++ globals.full_group_names[i] = ++ g_strdup_printf ("Group %d", i); + } + } + } --- gnome-applets-2.16.1.orig/debian/patches/99_automake.patch +++ gnome-applets-2.16.1/debian/patches/99_automake.patch @@ -0,0 +1,527 @@ +diff -Nur gnome-applets-2.16.1/configure gnome-applets-2.16.1.new/configure +--- gnome-applets-2.16.1/configure 2006-10-02 15:55:08.000000000 +0200 ++++ gnome-applets-2.16.1.new/configure 2006-10-04 17:47:14.000000000 +0200 +@@ -1006,8 +1006,7 @@ + HAVE_XKB + APPLET_ACCESSX_TRUE + APPLET_ACCESSX_FALSE +-SU_TOOL +-STB_SCRIPTS_DIR ++MODEMLIGHTS_CFLAGS + MODEMLIGHTS_LIBS + APPLET_MODEMLIGHTS_TRUE + APPLET_MODEMLIGHTS_FALSE +@@ -1094,7 +1093,9 @@ + GDU_MODULE_VERSION_CHECK_CFLAGS + GDU_MODULE_VERSION_CHECK_LIBS + MIXER_CFLAGS +-MIXER_LIBS' ++MIXER_LIBS ++MODEMLIGHTS_CFLAGS ++MODEMLIGHTS_LIBS' + + + # Initialize some variables set by options. +@@ -1811,6 +1812,10 @@ + MIXER_CFLAGS + C compiler flags for MIXER, overriding pkg-config + MIXER_LIBS linker flags for MIXER, overriding pkg-config ++ MODEMLIGHTS_CFLAGS ++ C compiler flags for MODEMLIGHTS, overriding pkg-config ++ MODEMLIGHTS_LIBS ++ linker flags for MODEMLIGHTS, overriding pkg-config + + Use these variables to override the choices made by `configure' or to help + it to find libraries and programs with nonstandard names/locations. +@@ -2730,6 +2735,7 @@ + PYGOBJECT_REQUIRED=2.6 + GNOME_PYTHON_REQUIRED=2.10 + GNOME_ICON_THEME_REQUIRED=2.15.91 ++LIBOOBS_REQUIRED=0.2.0 + + { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 + echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } +@@ -5707,7 +5713,7 @@ + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 5710 "configure"' > conftest.$ac_ext ++ echo '#line 5716 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +@@ -8216,11 +8222,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8219: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8225: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:8223: \$? = $ac_status" >&5 ++ echo "$as_me:8229: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -8484,11 +8490,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8487: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8493: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:8491: \$? = $ac_status" >&5 ++ echo "$as_me:8497: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -8588,11 +8594,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8591: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8597: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:8595: \$? = $ac_status" >&5 ++ echo "$as_me:8601: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -11029,7 +11035,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < conftest.$ac_ext <&5) ++ (eval echo "\"\$as_me:13506: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:13504: \$? = $ac_status" >&5 ++ echo "$as_me:13510: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -13601,11 +13607,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:13604: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:13610: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:13608: \$? = $ac_status" >&5 ++ echo "$as_me:13614: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -15162,11 +15168,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:15165: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:15171: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:15169: \$? = $ac_status" >&5 ++ echo "$as_me:15175: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -15266,11 +15272,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:15269: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:15275: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:15273: \$? = $ac_status" >&5 ++ echo "$as_me:15279: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -17485,11 +17491,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17488: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:17494: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:17492: \$? = $ac_status" >&5 ++ echo "$as_me:17498: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -17753,11 +17759,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17756: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:17762: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:17760: \$? = $ac_status" >&5 ++ echo "$as_me:17766: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -17857,11 +17863,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17860: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:17866: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:17864: \$? = $ac_status" >&5 ++ echo "$as_me:17870: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -27817,214 +27823,80 @@ + CPPFLAGS=$savecppflags + + +-SU_TOOL= +-P_MODEMLIGHTS= +-HAVE_LIBUTIL= ++MODEMLIGHTS_LIBS= ++MODEMLIGHTS_CFLAGS= + +-# Extract the first word of "su", so it can be a program name with args. +-set dummy su; ac_word=$2 +-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +-if test "${ac_cv_path_SU_TOOL+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- case $SU_TOOL in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_SU_TOOL="$SU_TOOL" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then +- ac_cv_path_SU_TOOL="$as_dir/$ac_word$ac_exec_ext" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS + +- ;; +-esac +-fi +-SU_TOOL=$ac_cv_path_SU_TOOL +-if test -n "$SU_TOOL"; then +- { echo "$as_me:$LINENO: result: $SU_TOOL" >&5 +-echo "${ECHO_T}$SU_TOOL" >&6; } +-else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +-fi +- +- +-{ echo "$as_me:$LINENO: checking for forkpty in -lutil" >&5 +-echo $ECHO_N "checking for forkpty in -lutil... $ECHO_C" >&6; } +-if test "${ac_cv_lib_util_forkpty+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lutil $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++pkg_failed=no ++{ echo "$as_me:$LINENO: checking for MODEMLIGHTS" >&5 ++echo $ECHO_N "checking for MODEMLIGHTS... $ECHO_C" >&6; } + +-/* Override any GCC internal prototype to avoid an error. +- Use char because int might match the return type of a GCC +- builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-char forkpty (); +-int +-main () +-{ +-return forkpty (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (ac_try="$ac_link" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +- (eval "$ac_link") 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' +- { (case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +- (eval "$ac_try") 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +- (eval "$ac_try") 2>&5 ++if test -n "$PKG_CONFIG"; then ++ if test -n "$MODEMLIGHTS_CFLAGS"; then ++ pkg_cv_MODEMLIGHTS_CFLAGS="$MODEMLIGHTS_CFLAGS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liboobs-1 >= \$LIBOOBS_REQUIRED\"") >&5 ++ ($PKG_CONFIG --exists --print-errors "liboobs-1 >= $LIBOOBS_REQUIRED") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_util_forkpty=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_cv_lib_util_forkpty=no +-fi +- +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_forkpty" >&5 +-echo "${ECHO_T}$ac_cv_lib_util_forkpty" >&6; } +-if test $ac_cv_lib_util_forkpty = yes; then +- HAVE_LIBUTIL=true ++ (exit $ac_status); }; then ++ pkg_cv_MODEMLIGHTS_CFLAGS=`$PKG_CONFIG --cflags "liboobs-1 >= $LIBOOBS_REQUIRED" 2>/dev/null` + else +- HAVE_LIBUTIL=false ++ pkg_failed=yes + fi +- +- +- # Extract the first word of "pkg-config", so it can be a program name with args. +-set dummy pkg-config; ac_word=$2 +-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 ++ fi + else +- case $PKG_CONFIG in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then +- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS +- +- test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" +- ;; +-esac ++ pkg_failed=untried + fi +-PKG_CONFIG=$ac_cv_path_PKG_CONFIG + if test -n "$PKG_CONFIG"; then +- { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +-echo "${ECHO_T}$PKG_CONFIG" >&6; } ++ if test -n "$MODEMLIGHTS_LIBS"; then ++ pkg_cv_MODEMLIGHTS_LIBS="$MODEMLIGHTS_LIBS" ++ else ++ if test -n "$PKG_CONFIG" && \ ++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liboobs-1 >= \$LIBOOBS_REQUIRED\"") >&5 ++ ($PKG_CONFIG --exists --print-errors "liboobs-1 >= $LIBOOBS_REQUIRED") 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then ++ pkg_cv_MODEMLIGHTS_LIBS=`$PKG_CONFIG --libs "liboobs-1 >= $LIBOOBS_REQUIRED" 2>/dev/null` + else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } ++ pkg_failed=yes + fi +- +- +- stb="system-tools-backends" +- +- if test x$PKG_CONFIG != xno ; then +- if $PKG_CONFIG --atleast-pkgconfig-version 0.12 ; then +- min_version=$SYSTEM_TOOLS_BACKENDS_REQUIRED +- { echo "$as_me:$LINENO: checking for $stb >= $min_version" >&5 +-echo $ECHO_N "checking for $stb >= $min_version... $ECHO_C" >&6; } +- +- if $PKG_CONFIG --atleast-version $min_version $stb ; then +- STB_SCRIPTS_DIR=`$PKG_CONFIG --variable=backenddir $stb` +- { echo "$as_me:$LINENO: result: yes ($STB_SCRIPTS_DIR)" >&5 +-echo "${ECHO_T}yes ($STB_SCRIPTS_DIR)" >&6; } +- P_MODEMLIGHTS=modemlights +- else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- : +- fi +- else +- echo "*** pkg-config too old; version 0.12 or better required." + fi +- fi +- +- +- ++else ++ pkg_failed=untried ++fi + +-if test "x$HAVE_LIBUTIL" = "xtrue" -a "x$P_MODEMLIGHTS" = "xmodemlights" -a "x$HAVE_GNOME_SETTINGS_DAEMON" = "xyes"; then +- MODEMLIGHTS_LIBS=" -lutil" + + +-cat >>confdefs.h <<_ACEOF +-#define STB_SCRIPTS_DIR "$STB_SCRIPTS_DIR" +-_ACEOF ++if test $pkg_failed = yes; then + ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ MODEMLIGHTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "liboobs-1 >= $LIBOOBS_REQUIRED"` ++ else ++ MODEMLIGHTS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "liboobs-1 >= $LIBOOBS_REQUIRED"` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$MODEMLIGHTS_PKG_ERRORS" >&5 + +-cat >>confdefs.h <<_ACEOF +-#define SU_PATH "${SU_TOOL}" +-_ACEOF ++ HAVE_LIBOOBS=no ++elif test $pkg_failed = untried; then ++ HAVE_LIBOOBS=no ++else ++ MODEMLIGHTS_CFLAGS=$pkg_cv_MODEMLIGHTS_CFLAGS ++ MODEMLIGHTS_LIBS=$pkg_cv_MODEMLIGHTS_LIBS ++ { echo "$as_me:$LINENO: result: yes" >&5 ++echo "${ECHO_T}yes" >&6; } ++ HAVE_LIBOOBS=yes ++fi + ++if test "x$HAVE_LIBOOBS" = "xyes" -a "x$HAVE_GNOME_SETTINGS_DAEMON" = "xyes"; then + BUILD_MODEM_LIGHTS=yes + else + { echo "$as_me:$LINENO: WARNING: *** modemlights applet will not be built ***" >&5 +@@ -28034,6 +27906,8 @@ + + + ++ ++ + if test "x$BUILD_MODEM_LIGHTS" = "xyes"; then + APPLET_MODEMLIGHTS_TRUE= + APPLET_MODEMLIGHTS_FALSE='#' +@@ -30265,8 +30139,7 @@ + HAVE_XKB!$HAVE_XKB$ac_delim + APPLET_ACCESSX_TRUE!$APPLET_ACCESSX_TRUE$ac_delim + APPLET_ACCESSX_FALSE!$APPLET_ACCESSX_FALSE$ac_delim +-SU_TOOL!$SU_TOOL$ac_delim +-STB_SCRIPTS_DIR!$STB_SCRIPTS_DIR$ac_delim ++MODEMLIGHTS_CFLAGS!$MODEMLIGHTS_CFLAGS$ac_delim + MODEMLIGHTS_LIBS!$MODEMLIGHTS_LIBS$ac_delim + APPLET_MODEMLIGHTS_TRUE!$APPLET_MODEMLIGHTS_TRUE$ac_delim + APPLET_MODEMLIGHTS_FALSE!$APPLET_MODEMLIGHTS_FALSE$ac_delim +@@ -30299,7 +30172,7 @@ + LTLIBOBJS!$LTLIBOBJS$ac_delim + _ACEOF + +- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +diff -Nur gnome-applets-2.16.1/modemlights/Makefile.in gnome-applets-2.16.1.new/modemlights/Makefile.in +--- gnome-applets-2.16.1/modemlights/Makefile.in 2006-10-02 15:55:21.000000000 +0200 ++++ gnome-applets-2.16.1.new/modemlights/Makefile.in 2006-10-04 17:47:14.000000000 +0200 +@@ -180,6 +180,7 @@ + GNOMELOCALEDIR = @GNOMELOCALEDIR@ + GNOME_APPLETS_CFLAGS = @GNOME_APPLETS_CFLAGS@ + GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@ ++MODEMLIGHTS_CFLAGS = @MODEMLIGHTS_CFLAGS@ + GNOME_GLADEDIR = @GNOME_GLADEDIR@ + GNOME_ICONDIR = @GNOME_ICONDIR@ + GNOME_LIBS2_CFLAGS = @GNOME_LIBS2_CFLAGS@ +@@ -372,6 +373,7 @@ + target_alias = @target_alias@ + INCLUDES = -I. -I$(srcdir) \ + $(GNOME_APPLETS_CFLAGS) \ ++ $(MODEMLIGHTS_CFLAGS) \ + $(LIBGLADE_CFLAGS) + + modem_applet_SOURCES = \ --- gnome-applets-2.16.1.orig/debian/patches/05_no_invest_menu_item.patch +++ gnome-applets-2.16.1/debian/patches/05_no_invest_menu_item.patch @@ -0,0 +1,9 @@ +diff -Nur gnome-applets-2.15.3/invest-applet/data/invest-chart.desktop.in gnome-applets-2.15.3.new/invest-applet/data/invest-chart.desktop.in +--- gnome-applets-2.15.3/invest-applet/data/invest-chart.desktop.in 2006-04-13 17:11:24.000000000 +0200 ++++ gnome-applets-2.15.3.new/invest-applet/data/invest-chart.desktop.in 2006-08-08 17:35:08.000000000 +0200 +@@ -7,4 +7,5 @@ + Type=Application + Icon=invest-big.png + StartupNotify=true ++NoDisplay=true + Categories=Application;Office;Spreadsheet; --- gnome-applets-2.16.1.orig/debian/patches/07_modemlights_applet_use_new_gst.patch +++ gnome-applets-2.16.1/debian/patches/07_modemlights_applet_use_new_gst.patch @@ -0,0 +1,1328 @@ +diff -Nur gnome-applets-2.16.1/configure.in gnome-applets-2.16.1.new/configure.in +--- gnome-applets-2.16.1/configure.in 2006-10-02 15:54:42.000000000 +0200 ++++ gnome-applets-2.16.1.new/configure.in 2006-10-04 17:04:20.000000000 +0200 +@@ -34,6 +34,7 @@ + PYGOBJECT_REQUIRED=2.6 + GNOME_PYTHON_REQUIRED=2.10 + GNOME_ICON_THEME_REQUIRED=2.15.91 ++LIBOOBS_REQUIRED=0.2.0 + dnl *************************************************************************** + + AM_MAINTAINER_MODE +@@ -530,25 +531,21 @@ + dnl *** modemlights applet check *** + dnl *************************************************************************** + +-SU_TOOL= +-P_MODEMLIGHTS= +-HAVE_LIBUTIL= +- +-AC_PATH_PROG(SU_TOOL, su) +-AC_CHECK_LIB(util, forkpty, HAVE_LIBUTIL=true, HAVE_LIBUTIL=false) +-AM_PATH_SYSTEM_TOOLS_BACKENDS($SYSTEM_TOOLS_BACKENDS_REQUIRED, P_MODEMLIGHTS=modemlights) +- +-if test "x$HAVE_LIBUTIL" = "xtrue" -a "x$P_MODEMLIGHTS" = "xmodemlights" -a "x$HAVE_GNOME_SETTINGS_DAEMON" = "xyes"; then +- MODEMLIGHTS_LIBS=" -lutil" +- AC_SUBST(MODEMLIGHTS_LIBS) +- AC_DEFINE_UNQUOTED(STB_SCRIPTS_DIR, "$STB_SCRIPTS_DIR", [System tools backends]) +- AC_DEFINE_UNQUOTED(SU_PATH, "${SU_TOOL}", [su executable path]) ++MODEMLIGHTS_LIBS= ++MODEMLIGHTS_CFLAGS= ++ ++PKG_CHECK_MODULES(MODEMLIGHTS, liboobs-1 >= $LIBOOBS_REQUIRED, ++ HAVE_LIBOOBS=yes, HAVE_LIBOOBS=no) ++ ++if test "x$HAVE_LIBOOBS" = "xyes" -a "x$HAVE_GNOME_SETTINGS_DAEMON" = "xyes"; then + BUILD_MODEM_LIGHTS=yes + else + AC_MSG_WARN([*** modemlights applet will not be built ***]) + BUILD_MODEM_LIGHTS=no + fi + ++AC_SUBST(MODEMLIGHTS_LIBS) ++AC_SUBST(MODEMLIGHTS_CFLAGS) + AM_CONDITIONAL(APPLET_MODEMLIGHTS, test "x$BUILD_MODEM_LIGHTS" = "xyes") + + dnl *************************************************************************** +diff -Nur gnome-applets-2.16.1/modemlights/Makefile.am gnome-applets-2.16.1.new/modemlights/Makefile.am +--- gnome-applets-2.16.1/modemlights/Makefile.am 2006-09-04 15:48:17.000000000 +0200 ++++ gnome-applets-2.16.1.new/modemlights/Makefile.am 2006-10-04 17:04:20.000000000 +0200 +@@ -1,7 +1,8 @@ + #SUBDIRS = docs + +-INCLUDES = -I. -I$(srcdir) \ +- $(GNOME_APPLETS_CFLAGS) \ ++INCLUDES = -I. -I$(srcdir) \ ++ $(GNOME_APPLETS_CFLAGS) \ ++ $(MODEMLIGHTS_CFLAGS) \ + $(LIBGLADE_CFLAGS) + + libexec_PROGRAMS = modem_applet +diff -Nur gnome-applets-2.16.1/modemlights/modem-applet.c gnome-applets-2.16.1.new/modemlights/modem-applet.c +--- gnome-applets-2.16.1/modemlights/modem-applet.c 2006-08-22 04:24:58.000000000 +0200 ++++ gnome-applets-2.16.1.new/modemlights/modem-applet.c 2006-10-04 17:04:20.000000000 +0200 +@@ -1,5 +1,5 @@ +-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 2 -*- */ +-/* Copyright (C) 2004 Carlos Garnacho ++/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */ ++/* Copyright (C) 2004-2006 Carlos Garnacho + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as +@@ -23,31 +23,13 @@ + #endif + + #include +-#include +-#ifdef HAVE_PTY_H +-#include +-#endif +-#include +-#include +-#include +-#include ++#include + #include +- +-#ifdef __FreeBSD__ +-#include +-#include +-#include +-#endif +- + #include "modem-applet.h" + + #define MODEM_APPLET_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TYPE_MODEM_APPLET, ModemAppletPrivate)) + #define NETWORK_TOOL "network-admin" +-#define END_OF_REQUEST "\n" +-#define BUF_SIZE 1024 + +-typedef void (*DirectiveCallback) (ModemApplet*, xmlDoc*); +-typedef struct _BackendDirective BackendDirective; + typedef struct _ModemAppletPrivate ModemAppletPrivate; + + struct _ModemAppletPrivate +@@ -59,47 +41,19 @@ + GtkWidget *image; + GtkTooltips *tooltips; + +- /* auth dialog */ +- GtkWidget *auth_dialog; +- GtkWidget *auth_dialog_label; +- GtkWidget *auth_dialog_entry; +- + /* report window */ + GtkWidget *report_window; + GtkWidget *report_window_image; + GtkWidget *report_window_progress; + +- guint directives_id; +- guint progress_id; +- guint tooltip_id; +- guint info_id; +- guint timeout_id; +- +- /* for communicating with the backend */ +- gint config_id; +- gint pid; +- int read_fd; +- int write_fd; +- FILE *read_stream; +- FILE *write_stream; +- GSList *directives; +- gboolean directive_running; +- +- /* interface data */ +- gboolean configured; /* is configured? */ +- gboolean enabled; /* is enabled? */ +- gboolean is_isdn; /* is an isdn device? */ +- gchar *dev; /* device name */ +- gchar *lock_file; /* lock file */ ++ /* configuration */ ++ OobsSession *session; ++ OobsObject *config; ++ OobsIface *iface; ++ gchar *lock_file; + +- gboolean has_root; +-}; +- +-struct _BackendDirective +-{ +- DirectiveCallback callback; +- GSList *directive; +- gboolean show_report; ++ guint pulse_id; ++ guint tooltip_id; + }; + + static void modem_applet_class_init (ModemAppletClass *class); +@@ -139,8 +93,6 @@ + gboolean backend_alive, + gboolean already_waiting); + +-static gpointer parent_class; +- + static const BonoboUIVerb menu_verbs[] = { + BONOBO_UI_UNSAFE_VERB ("Activate", on_modem_applet_activate), + BONOBO_UI_UNSAFE_VERB ("Deactivate", on_modem_applet_deactivate), +@@ -150,32 +102,8 @@ + BONOBO_UI_VERB_END + }; + +-static GType +-modem_applet_get_type (void) +-{ +- static GType type = 0; ++G_DEFINE_TYPE (ModemApplet, modem_applet, PANEL_TYPE_APPLET); + +- if (!type) +- { +- static const GTypeInfo info = +- { +- sizeof (ModemAppletClass), +- NULL, /* base_init */ +- NULL, /* base_finalize */ +- (GClassInitFunc) modem_applet_class_init, +- NULL, /* class_finalize */ +- NULL, /* class_data */ +- sizeof (ModemApplet), +- 0, /* n_preallocs */ +- (GInstanceInitFunc) modem_applet_init, +- }; +- +- type = g_type_register_static (PANEL_TYPE_APPLET, "ModemApplet", +- &info, 0); +- } +- +- return type; +-} + + static void + modem_applet_class_init (ModemAppletClass *class) +@@ -185,7 +113,6 @@ + + object_class = G_OBJECT_CLASS (class); + applet_class = PANEL_APPLET_CLASS (class); +- parent_class = g_type_class_peek_parent (class); + + object_class->finalize = modem_applet_finalize; + applet_class->change_size = modem_applet_change_size; +@@ -194,6 +121,56 @@ + g_type_class_add_private (object_class, sizeof (ModemAppletPrivate)); + } + ++static OobsIface* ++get_modem_iface (OobsIfacesConfig *config) ++{ ++ OobsList *list; ++ OobsListIter iter; ++ gboolean valid; ++ ++ /* First try the modem ifaces */ ++ list = oobs_ifaces_config_get_ifaces (config, OOBS_IFACE_TYPE_MODEM); ++ valid = oobs_list_get_iter_first (list, &iter); ++ ++ if (valid) ++ return (OobsIface *) oobs_list_get (list, &iter); ++ ++ /* no modem? try the isdn ifaces */ ++ list = oobs_ifaces_config_get_ifaces (config, OOBS_IFACE_TYPE_ISDN); ++ valid = oobs_list_get_iter_first (list, &iter); ++ ++ if (valid) ++ return (OobsIface *) oobs_list_get (list, &iter); ++ ++ return NULL; ++} ++ ++static gchar* ++get_lock_file (OobsIface *iface) ++{ ++ gchar *lock_file; ++ ++ if (!iface) ++ return NULL; ++ ++ if (OOBS_IS_IFACE_MODEM (iface)) ++ { ++ const gchar *serial_port, *str; ++ ++ serial_port = oobs_iface_modem_get_serial_port (OOBS_IFACE_MODEM (iface)); ++ ++ if (serial_port) ++ { ++ str = strchr (serial_port, '/'); ++ lock_file = g_strdup_printf ("/var/lock/LCK..%s", str + 1); ++ } ++ } ++ else if (OOBS_IS_IFACE_ISDN (iface)) ++ lock_file = g_strdup ("/var/lock/LCK..capi_0"); ++ ++ return lock_file; ++} ++ + static void + modem_applet_init (ModemApplet *applet) + { +@@ -208,9 +185,10 @@ + priv->image = gtk_image_new (); + priv->tooltips = gtk_tooltips_new (); + +- priv->auth_dialog = glade_xml_get_widget (priv->xml, "auth_dialog"); +- priv->auth_dialog_label = glade_xml_get_widget (priv->xml, "auth_dialog_label"); +- priv->auth_dialog_entry = glade_xml_get_widget (priv->xml, "auth_dialog_entry"); ++ priv->session = oobs_session_get (); ++ priv->config = oobs_ifaces_config_get (priv->session); ++ priv->iface = get_modem_iface (OOBS_IFACES_CONFIG (priv->config)); ++ priv->lock_file = get_lock_file (priv->iface); + + priv->report_window = glade_xml_get_widget (priv->xml, "report_window"); + priv->report_window_image = glade_xml_get_widget (priv->xml, "report_window_image"); +@@ -222,20 +200,8 @@ + pixbuf = gtk_icon_theme_load_icon (priv->icon_theme, "gnome-modem-monitor-applet", 48, 0, NULL); + gtk_image_set_from_pixbuf (GTK_IMAGE (priv->report_window_image), pixbuf); + gdk_pixbuf_unref (pixbuf); +- +- priv->configured = FALSE; +- priv->enabled = FALSE; +- priv->dev = NULL; +- priv->lock_file = NULL; +- +- priv->has_root = FALSE; +- +- priv->directives = NULL; +- priv->directives_id = g_timeout_add (250, (GSourceFunc) dispatch_directives, applet); +- priv->directive_running = FALSE; ++ + priv->tooltip_id = g_timeout_add (1000, (GSourceFunc) update_tooltip, applet); +- +- launch_backend (applet, FALSE); + gtk_container_add (GTK_CONTAINER (applet), priv->image); + } + +@@ -246,18 +212,25 @@ + + if (priv) + { +- shutdown_backend (MODEM_APPLET (object), TRUE, TRUE); +- +- gtk_widget_destroy (priv->auth_dialog); +- gtk_widget_destroy (priv->report_window); ++ g_object_unref (priv->xml); + g_object_unref (priv->icon); ++ gtk_widget_destroy (priv->image); ++ ++ if (priv->pulse_id) ++ { ++ g_source_remove (priv->pulse_id); ++ priv->pulse_id = 0; ++ } + +- g_free (priv->dev); +- g_free (priv->lock_file); ++ if (priv->tooltip_id) ++ { ++ g_source_remove (priv->tooltip_id); ++ priv->tooltip_id = 0; ++ } + } + +- if (G_OBJECT_CLASS (parent_class)->finalize) +- (* G_OBJECT_CLASS (parent_class)->finalize) (object); ++ if (G_OBJECT_CLASS (modem_applet_parent_class)->finalize) ++ (* G_OBJECT_CLASS (modem_applet_parent_class)->finalize) (object); + } + + static void +@@ -312,401 +285,26 @@ + } + } + +-static gboolean +-pulse_progressbar (GtkWidget *progressbar) +-{ +- gtk_progress_bar_pulse (GTK_PROGRESS_BAR (progressbar)); +- return TRUE; +-} +- +-/* XML manipulation functions */ +-static xmlNodePtr +-get_root_node (xmlDoc *doc) +-{ +- return xmlDocGetRootElement (doc); +-} +- +-static xmlNodePtr +-find_first_element (xmlNodePtr node, const gchar *name) +-{ +- xmlNodePtr n; +- +- g_return_val_if_fail (node != NULL, NULL); +- g_return_val_if_fail (name != NULL, NULL); +- +- for (n = node->children; n; n = n->next) +- if (n->name && (strcmp (name, (char *) n->name) == 0)) +- break; +- +- return n; +-} +- +-static xmlNodePtr +-find_next_element (xmlNodePtr node, const gchar *name) +-{ +- xmlNodePtr n; +- +- g_return_val_if_fail (node != NULL, NULL); +- g_return_val_if_fail (name != NULL, NULL); +- +- for (n = node->next; n; n = n->next) +- if (n->name && (strcmp (name, (char *) n->name) == 0)) +- break; +- +- return n; +-} +- +-static guchar * +-element_get_attribute (xmlNodePtr node, const gchar *attribute) +-{ +- xmlAttrPtr a; +- +- g_return_val_if_fail (node != NULL, NULL); +- a = node->properties; +- +- while (a) +- { +- if (a->name && (strcmp ((char *) a->name, attribute) == 0)) +- return xmlNodeGetContent (a->children); +- +- a = a->next; +- } +- +- return NULL; +-} +- +-static guchar * +-element_get_child_content (xmlNodePtr node, const gchar *tag) +-{ +- xmlNodePtr child, n; +- +- child = find_first_element (node, tag); +- if (!child) +- return NULL; +- +- for (n = child->children; n; n = n->next) +- if (n->type == XML_TEXT_NODE) +- return xmlNodeGetContent (n); +- +- return NULL; +-} +- +-static xmlNodePtr +-find_dialup_interface_node (xmlNodePtr root) +-{ +- xmlNodePtr node; +- gchar *type; +- +- node = find_first_element (root, "interface"); +- +- while (node) +- { +- type = (char *) element_get_attribute (node, "type"); +- +- if (type && (strcmp (type, "modem") == 0 || strcmp (type, "isdn") == 0)) +- { +- g_free (type); +- return node; +- } +- +- g_free (type); +- node = find_next_element (node, "interface"); +- } +- +- return NULL; +-} +- +-/* backend communication functions */ +-static gchar * +-compose_directive_string (GSList *directive) +-{ +- GString *dir; +- gchar *arg, *s, *str; +- GSList *elem; +- +- elem = directive; +- dir = g_string_new (""); +- +- while (elem) +- { +- arg = elem->data; +- +- for (s = arg; *s; s++) +- { +- /* escape needed chars */ +- if ((*s == '\\') || +- ((*s == ':') && (* (s + 1) == ':'))) +- g_string_append_c (dir, '\\'); +- +- g_string_append_c (dir, *s); +- } +- +- g_string_append (dir, "::"); +- elem = elem->next; +- } +- +- g_string_append_c (dir, '\n'); +- +- str = dir->str; +- g_string_free (dir, FALSE); +- +- return str; +-} +- +-static void +-poll_backend (ModemAppletPrivate *priv) +-{ +- struct pollfd fd; +- +- fd.fd = priv->read_fd; +- fd.events = POLLIN || POLLPRI; +- +- while (poll (&fd, 1, 100) <= 0) +- { +- while (gtk_events_pending ()) +- gtk_main_iteration (); +- } +-} +- +-static xmlDoc* +-read_xml (ModemApplet *applet, gboolean show_report) +-{ +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- gchar buffer[BUF_SIZE], *s; +- GString *str; +- xmlDoc *doc = NULL; +- gboolean backend_alive; +- +- str = g_string_new (""); +- backend_alive = (waitpid (priv->pid, NULL, WNOHANG) == 0); +- +- /* if show_report, create pulse timeout and show window */ +- if (show_report) +- { +- priv->progress_id = gtk_timeout_add (200, (GSourceFunc) pulse_progressbar, priv->report_window_progress); +- gtk_window_set_screen (GTK_WINDOW (priv->report_window), gtk_widget_get_screen (GTK_WIDGET (applet))); +- gtk_widget_show (priv->report_window); +- } +- +- while (backend_alive && !g_strrstr (str->str, END_OF_REQUEST)) +- { +- poll_backend (priv); +- fgets (buffer, BUF_SIZE, priv->read_stream); +- g_string_append (str, buffer); +- +- while (gtk_events_pending ()) +- gtk_main_iteration (); +- +- backend_alive = (waitpid (priv->pid, NULL, WNOHANG) == 0); +- } +- +- /* if show_report, hide window and so */ +- if (show_report) +- { +- g_source_remove (priv->progress_id); +- priv->progress_id = 0; +- gtk_widget_hide (priv->report_window); +- } +- +- s = str->str; +- +- while (*s && (*s != '<')) +- s++; +- +- if (strcmp (s, END_OF_REQUEST) != 0) +- doc = xmlParseDoc ((xmlChar *) s); +- +- g_string_free (str, TRUE); +- +- return doc; +-} +- +-static void +-queue_directive (ModemApplet *applet, +- DirectiveCallback callback, +- gboolean show_report, +- const gchar *dir, +- ...) +-{ +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- BackendDirective *directive; +- GSList *list = NULL; +- va_list ap; +- gchar *arg; +- +- list = g_slist_prepend (list, g_strdup (dir)); +- va_start (ap, dir); +- +- while ((arg = va_arg (ap, gchar *)) != NULL) +- list = g_slist_prepend (list, g_strdup (arg)); +- +- va_end (ap); +- list = g_slist_reverse (list); +- +- directive = g_new0 (BackendDirective, 1); +- directive->callback = callback; +- directive->directive = list; +- directive->show_report = show_report; +- +- priv->directives = g_slist_append (priv->directives, directive); +-} +- +-static gboolean +-dispatch_directives (ModemApplet *applet) +-{ +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- BackendDirective *directive; +- xmlDoc *doc; +- gchar *dir; +- GSList *elem; +- +- if (priv->directive_running) +- return TRUE; +- +- priv->directive_running = TRUE; +- elem = priv->directives; +- +- while (elem) +- { +- directive = elem->data; +- +- dir = compose_directive_string (directive->directive); +- fputs (dir, priv->write_stream); +- g_free (dir); +- +- doc = read_xml (applet, directive->show_report); +- +- if (directive->callback) +- directive->callback (applet, doc); +- +- if (doc) +- xmlFreeDoc (doc); +- +- g_slist_foreach (directive->directive, (GFunc) g_free, NULL); +- g_slist_free (directive->directive); +- +- elem = elem->next; +- } +- +- g_slist_foreach (priv->directives, (GFunc) g_free, NULL); +- g_slist_free (priv->directives); +- priv->directives = NULL; +- priv->directive_running = FALSE; +- +- return TRUE; +-} +- +-static void +-shutdown_backend (ModemApplet *applet, gboolean backend_alive, gboolean already_waiting) +-{ +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- +- if (priv->info_id) +- { +- g_source_remove (priv->info_id); +- priv->info_id = 0; +- } +- +- if (priv->timeout_id) +- { +- g_source_remove (priv->timeout_id); +- priv->timeout_id = 0; +- } +- +- if (priv->tooltip_id) +- { +- g_source_remove (priv->tooltip_id); +- priv->tooltip_id = 0; +- } +- +- if (backend_alive) +- kill (priv->pid, 9); +- +- if (!already_waiting) +- { +- /* don't leave zombies */ +- while (waitpid (priv->pid, NULL, WNOHANG) <= 0) +- { +- usleep (2000); +- +- while (gtk_events_pending ()) +- gtk_main_iteration (); +- } +- } +- +- /* close remaining streams and fds */ +- fclose (priv->read_stream); +- fclose (priv->write_stream); +- close (priv->read_fd); +- close (priv->write_fd); +-} +- +-/* functions for extracting the interface information from the XML */ + static void + update_popup_buttons (ModemApplet *applet) + { + BonoboUIComponent *component; + ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); ++ gboolean enabled; + + component = panel_applet_get_popup_component (PANEL_APPLET (applet)); ++ enabled = (priv->iface && oobs_iface_get_active (priv->iface)); + + bonobo_ui_component_set_prop (component, + "/commands/Activate", +- "sensitive", (priv->configured && !priv->enabled) ? "1" : "0", ++ "sensitive", (enabled) ? "1" : "0", + NULL); + bonobo_ui_component_set_prop (component, + "/commands/Deactivate", +- "sensitive", (priv->configured && priv->enabled) ? "1" : "0", ++ "sensitive", (enabled) ? "1" : "0", + NULL); + } + +-static void +-get_interface_data (ModemApplet *applet, xmlNodePtr iface) +-{ +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- xmlNodePtr configuration; +- gchar *text, *device; +- +- g_return_if_fail (iface != NULL); +- +- text = (char *) element_get_child_content (iface, "enabled"); +- priv->enabled = (*text == '1'); +- g_free (text); +- +- g_free (priv->dev); +- priv->dev = (char *) element_get_child_content (iface, "dev"); +- +- g_free (priv->lock_file); +- configuration = find_first_element (iface, "configuration"); +- +- if (configuration) +- { +- priv->configured = TRUE; +- text = (char *) element_get_child_content (configuration, "serial_port"); +- +- if (text) +- { +- /* Modem device */ +- device = strrchr (text, '/'); +- priv->lock_file = g_strdup_printf ("/var/lock/LCK..%s", device + 1); +- g_free (text); +- +- priv->is_isdn = FALSE; +- } +- else +- { +- /* isdn device */ +- priv->lock_file = g_strdup ("/var/lock/LCK..capi_0"); +- priv->is_isdn = TRUE; +- } +- } +- else +- { +- priv->lock_file = NULL; +- priv->configured = FALSE; +- } +-} +- + static gint + get_connection_time (const gchar *lock_file) + { +@@ -725,30 +323,30 @@ + gchar *text; + gint t, t1, t2; + +- if (priv->enabled) ++ if (!priv->lock_file) ++ text = g_strdup (_("Could not get connection time")); ++ else + { +- if (!priv->lock_file) +- text = g_strdup (_("Connection active, but could not get connection time")); +- else +- { +- t = get_connection_time (priv->lock_file); ++ t = get_connection_time (priv->lock_file); + +- if (t < (60 * 60 * 24)) +- { +- t1 = t / 3600; /* hours */ +- t2 = (t - (t1 * 3600)) / 60; /* minutes */ +- } +- else +- { +- t1 = t / (3600 * 24); /* days */ +- t2 = (t - (t1 * 3600 * 24)) / 3600; /* hours */ +- } ++ if (t == 0) ++ text = g_strdup (_("Not connected")); ++ else ++ { ++ if (t < (60 * 60 * 24)) ++ { ++ t1 = t / 3600; /* hours */ ++ t2 = (t - (t1 * 3600)) / 60; /* minutes */ ++ } ++ else ++ { ++ t1 = t / (3600 * 24); /* days */ ++ t2 = (t - (t1 * 3600 * 24)) / 3600; /* hours */ ++ } + +- text = g_strdup_printf (_("Time connected: %.1d:%.2d"), t1, t2); +- } ++ text = g_strdup_printf (_("Time connected: %.1d:%.2d"), t1, t2); ++ } + } +- else +- text = g_strdup (_("Not connected")); + + gtk_tooltips_set_tip(priv->tooltips, GTK_WIDGET (applet), text, NULL); + g_free(text); +@@ -756,165 +354,8 @@ + return TRUE; + } + +-static void +-rerun_backend_callback (ModemApplet *applet, xmlDoc *doc) +-{ +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- gchar *text, *password; +- gint response; +- gboolean enable; +- +- shutdown_backend (applet, FALSE, FALSE); +- launch_backend (applet, TRUE); +- +- enable = !priv->enabled; +- +- text = (enable) ? +- _("To connect to your Internet service provider, you need administrator privileges") : +- _("To disconnect from your Internet service provider, you need administrator privileges"); +- +- gtk_label_set_text (GTK_LABEL (priv->auth_dialog_label), text); +- gtk_window_set_screen (GTK_WINDOW (priv->auth_dialog), +- gtk_widget_get_screen (GTK_WIDGET (applet))); +- +- gtk_widget_grab_focus (priv->auth_dialog_entry); +- response = gtk_dialog_run (GTK_DIALOG (priv->auth_dialog)); +- gtk_widget_hide (priv->auth_dialog); +- password = (gchar *) gtk_entry_get_text (GTK_ENTRY (priv->auth_dialog_entry)); +- +- if (response == GTK_RESPONSE_OK) +- { +- +- password = (gchar *) gtk_entry_get_text (GTK_ENTRY (priv->auth_dialog_entry)); +- fputs (password, priv->write_stream); +- fputs ("\n", priv->write_stream); +- +- while (fflush (priv->write_stream) != 0); +- +- queue_directive (applet, NULL, enable, +- "enable_iface", priv->dev, (enable) ? "1" : "0", NULL); +- } +- else +- { +- shutdown_backend (applet, TRUE, FALSE); +- launch_backend (applet, FALSE); +- } +- +- /* stab the root password */ +- memset (password, ' ', sizeof (password)); +- gtk_entry_set_text (GTK_ENTRY (priv->auth_dialog_entry), ""); +-} +- +-static void +-update_info_callback (ModemApplet *applet, xmlDoc *doc) +-{ +- xmlNodePtr iface; +- +- if (!doc) +- return; +- +- iface = find_dialup_interface_node (get_root_node (doc)); +- if (!iface) +- return; +- +- get_interface_data (applet, iface); +- update_popup_buttons (applet); +-} +- +-static gboolean +-update_info (ModemApplet *applet) +-{ +- queue_directive (applet, update_info_callback, +- FALSE, "get", NULL); +- return TRUE; +-} +- +-static gboolean +-check_backend (ModemApplet *applet) +-{ +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- gint status, pid = -1; +- GtkWidget *dialog; +- +- pid = waitpid (priv->pid, &status, WNOHANG); +- +- if (pid != 0) +- { +- if (errno == ECHILD || ((WIFEXITED (status)) && (WEXITSTATUS (status)) && (WEXITSTATUS(status) < 255))) +- { +- dialog = gtk_message_dialog_new (NULL, +- GTK_DIALOG_MODAL, +- GTK_MESSAGE_WARNING, +- GTK_BUTTONS_CLOSE, +- _("The entered password is invalid")); +- gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), +- _("Check that you have typed it correctly and that " +- "you haven't activated the \"caps lock\" key")); +- gtk_dialog_run (GTK_DIALOG (dialog)); +- gtk_widget_destroy (dialog); +- } +- +- priv->timeout_id = 0; +- shutdown_backend (applet, FALSE, TRUE); +- launch_backend (applet, FALSE); +- +- return FALSE; +- } +- +- return TRUE; +-} +- +-static void +-launch_backend (ModemApplet *applet, gboolean root_auth) +-{ +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- gchar *non_auth_args[] = { STB_SCRIPTS_DIR "/network-conf", NULL }; +- gchar *auth_args[] = { SU_PATH, "-c", STB_SCRIPTS_DIR "/network-conf", NULL }; +- gchar **args; +- int p[2]; +- +- pipe (p); +- priv->pid = forkpty (&priv->write_fd, NULL, NULL, NULL); +- args = (root_auth) ? auth_args : non_auth_args; +- +- if (priv->pid < 0) +- g_warning ("Could not spawn GST backend"); +- else +- { +- if (priv->pid == 0) +- { +- /* child process */ +- unsetenv("LC_ALL"); +- unsetenv("LC_MESSAGES"); +- unsetenv("LANG"); +- unsetenv("LANGUAGE"); +- +- dup2 (p[1], 1); +- dup2 (p[1], 2); +- close (p[0]); +- +- execv (args[0], args); +- exit (255); +- } +- else +- { +- close (p[1]); +- +- priv->read_fd = p[0]; +- priv->timeout_id = g_timeout_add (1000, (GSourceFunc) check_backend, applet); +- priv->info_id = g_timeout_add (2500, (GSourceFunc) update_info, applet); +- priv->read_stream = fdopen (priv->read_fd, "r"); +- priv->write_stream = fdopen (priv->write_fd, "w"); +- priv->has_root = root_auth; +- +- setvbuf (priv->read_stream, NULL, _IONBF, 0); +- fcntl (priv->read_fd, F_SETFL, 0); +- } +- } +-} +- + static gboolean +-launch_config_tool (GdkScreen *screen, gboolean is_isdn) ++launch_config_tool (GdkScreen *screen, OobsIface *iface) + { + gchar *argv[4], *application; + gboolean ret; +@@ -925,8 +366,8 @@ + return FALSE; + + argv[0] = application; +- argv[1] = "--configure-type"; +- argv[2] = (is_isdn) ? "isdn" : "modem"; ++ argv[1] = "--configure"; ++ argv[2] = (gchar*) oobs_iface_get_device_name (iface); + argv[3] = NULL; + + ret = gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, +@@ -935,52 +376,48 @@ + return ret; + } + ++static gboolean ++pulse_progressbar (GtkProgressBar *progressbar) ++{ ++ gtk_progress_bar_pulse (progressbar); ++ return TRUE; ++} ++ + static void +-toggle_interface_non_root (ModemApplet *applet, gboolean enable) ++show_report_window (ModemApplet *applet) + { +- queue_directive (applet, rerun_backend_callback, +- FALSE, "end", NULL); ++ ModemAppletPrivate *priv; ++ ++ priv = MODEM_APPLET_GET_PRIVATE (applet); ++ gtk_widget_show (priv->report_window); ++ priv->pulse_id = g_timeout_add (300, (GSourceFunc) pulse_progressbar, priv->report_window_progress); + } + + static void +-toggle_interface_root (ModemApplet *applet, gboolean enable) ++hide_report_window (ModemApplet *applet) + { +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); +- GtkWidget *dialog; +- gchar *text; ++ ModemAppletPrivate *priv; + +- text = (enable) ? +- _("Do you want to connect?") : +- _("Do you want to disconnect?"); +- +- dialog = gtk_message_dialog_new (NULL, +- GTK_DIALOG_MODAL, +- GTK_MESSAGE_QUESTION, +- GTK_BUTTONS_NONE, +- text); +- gtk_dialog_add_buttons (GTK_DIALOG (dialog), +- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, +- (enable) ? _("C_onnect") : _("_Disconnect"), +- GTK_RESPONSE_OK, NULL); +- gtk_window_set_screen (GTK_WINDOW (dialog), +- gtk_widget_get_screen (GTK_WIDGET (applet))); +- +- if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) +- queue_directive (applet, NULL, enable, +- "enable_iface", priv->dev, (enable) ? "1" : "0", NULL); ++ priv = MODEM_APPLET_GET_PRIVATE (applet); ++ gtk_widget_hide (priv->report_window); + +- gtk_widget_destroy (dialog); ++ if (priv->pulse_id != 0) ++ { ++ g_source_remove (priv->pulse_id); ++ priv->pulse_id = 0; ++ } + } + + static void +-toggle_interface (ModemApplet *applet, gboolean enable) ++on_config_committed (OobsObject *object, ++ OobsResult result, ++ gpointer data) + { +- ModemAppletPrivate *priv = MODEM_APPLET_GET_PRIVATE (applet); ++ ModemApplet *applet = MODEM_APPLET (data); + +- if (priv->has_root) +- toggle_interface_root (applet, enable); +- else +- toggle_interface_non_root (applet, enable); ++ hide_report_window (applet); ++ gtk_widget_set_sensitive (GTK_WIDGET (applet), FALSE); ++ update_popup_buttons (applet); + } + + static void +@@ -988,7 +425,14 @@ + ModemApplet *applet, + const gchar *verb) + { +- toggle_interface (applet, TRUE); ++ ModemAppletPrivate *priv; ++ ++ gtk_widget_set_sensitive (GTK_WIDGET (applet), FALSE); ++ show_report_window (applet); ++ ++ priv = MODEM_APPLET_GET_PRIVATE (applet); ++ oobs_iface_set_active (priv->iface, TRUE); ++ oobs_object_commit_async (priv->config, on_config_committed, applet); + } + + static void +@@ -996,7 +440,12 @@ + ModemApplet *applet, + const gchar *verb) + { +- toggle_interface (applet, FALSE); ++ ModemAppletPrivate *priv; ++ ++ priv = MODEM_APPLET_GET_PRIVATE (applet); ++ oobs_iface_set_active (priv->iface, FALSE); ++ gtk_widget_set_sensitive (GTK_WIDGET (applet), FALSE); ++ oobs_object_commit_async (priv->config, on_config_committed, applet); + } + + static void +@@ -1010,7 +459,7 @@ + + screen = gtk_widget_get_screen (GTK_WIDGET (applet)); + +- if (!launch_config_tool (screen, priv->is_isdn)) ++ if (!launch_config_tool (screen, priv->iface)) + { + dialog = gtk_message_dialog_new (NULL, + GTK_DIALOG_DESTROY_WITH_PARENT, +diff -Nur gnome-applets-2.16.1/modemlights/modemlights.glade gnome-applets-2.16.1.new/modemlights/modemlights.glade +--- gnome-applets-2.16.1/modemlights/modemlights.glade 2005-01-24 12:59:09.000000000 +0100 ++++ gnome-applets-2.16.1.new/modemlights/modemlights.glade 2006-10-04 17:04:20.000000000 +0200 +@@ -2,222 +2,6 @@ + + + +- +- +- +- Enter password +- GTK_WINDOW_TOPLEVEL +- GTK_WIN_POS_CENTER +- True +- False +- False +- True +- False +- False +- GDK_WINDOW_TYPE_HINT_DIALOG +- GDK_GRAVITY_NORTH_WEST +- False +- +- +- +- True +- False +- 0 +- +- +- +- True +- GTK_BUTTONBOX_END +- +- +- +- True +- True +- True +- gtk-cancel +- True +- GTK_RELIEF_NORMAL +- True +- -6 +- +- +- +- +- +- True +- True +- True +- True +- gtk-ok +- True +- GTK_RELIEF_NORMAL +- True +- -5 +- +- +- +- +- 0 +- False +- True +- GTK_PACK_END +- +- +- +- +- +- 7 +- True +- False +- 12 +- +- +- +- True +- gnome-stock-authentication +- 6 +- 0 +- 0 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- False +- 6 +- +- +- +- True +- <span weight="bold" size="larger">Root password required</span> +- False +- True +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- PANGO_ELLIPSIZE_NONE +- -1 +- False +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- True +- True +- 0 +- 0.5 +- 0 +- 0 +- PANGO_ELLIPSIZE_NONE +- -1 +- False +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- False +- 12 +- +- +- +- True +- Password: +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- PANGO_ELLIPSIZE_NONE +- -1 +- False +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- True +- False +- 0 +- +- True +- * +- True +- +- +- 0 +- True +- True +- +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- True +- True +- +- +- +- +- 0 +- False +- False +- +- +- +- +- + + + +@@ -231,6 +15,8 @@ + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST ++ True ++ False + + + --- gnome-applets-2.16.1.orig/debian/patches/06_fix_invest_gconf_definition.patch +++ gnome-applets-2.16.1/debian/patches/06_fix_invest_gconf_definition.patch @@ -0,0 +1,13 @@ +diff -Nur gnome-applets-2.15.3/invest-applet/invest/applet.py gnome-applets-2.15.3.new/invest-applet/invest/applet.py +--- gnome-applets-2.15.3/invest-applet/invest/applet.py 2006-07-22 05:01:51.000000000 +0200 ++++ gnome-applets-2.15.3.new/invest-applet/invest/applet.py 2006-08-08 17:15:50.000000000 +0200 +@@ -16,7 +16,8 @@ + # Retreive this applet's pref folder + path = applet.get_preferences_key() + if path != None: +- self.GCONF_APPLET_DIR = path ++ self.GCONF_APPLET_DIR = path ++ self.GCONF_CLIENT = gconf.client_get_default() + print 'Using per-applet gconf key:', self.GCONF_APPLET_DIR + gtik_settings = self.GCONF_CLIENT.get_string(self.GCONF_APPLET_DIR+"/prefs/tik_syms") + if gtik_settings != None and gtik_settings != "": --- gnome-applets-2.16.1.orig/debian/patches/04_applets_categories.patch +++ gnome-applets-2.16.1/debian/patches/04_applets_categories.patch @@ -0,0 +1,165 @@ +diff -Nur gnome-applets-2.15.90/accessx-status/GNOME_AccessxStatusApplet.server.in.in gnome-applets-2.15.90.new/accessx-status/GNOME_AccessxStatusApplet.server.in.in +--- gnome-applets-2.15.90/accessx-status/GNOME_AccessxStatusApplet.server.in.in 2005-02-08 15:58:48.000000000 +0100 ++++ gnome-applets-2.15.90.new/accessx-status/GNOME_AccessxStatusApplet.server.in.in 2006-08-22 12:04:39.000000000 +0200 +@@ -24,6 +24,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/battstat/GNOME_BattstatApplet.server.in.in gnome-applets-2.15.90.new/battstat/GNOME_BattstatApplet.server.in.in +--- gnome-applets-2.15.90/battstat/GNOME_BattstatApplet.server.in.in 2006-07-22 05:01:44.000000000 +0200 ++++ gnome-applets-2.15.90.new/battstat/GNOME_BattstatApplet.server.in.in 2006-08-22 12:04:39.000000000 +0200 +@@ -24,6 +24,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/charpick/GNOME_CharpickerApplet.server.in.in gnome-applets-2.15.90.new/charpick/GNOME_CharpickerApplet.server.in.in +--- gnome-applets-2.15.90/charpick/GNOME_CharpickerApplet.server.in.in 2004-08-10 04:52:05.000000000 +0200 ++++ gnome-applets-2.15.90.new/charpick/GNOME_CharpickerApplet.server.in.in 2006-08-22 12:04:39.000000000 +0200 +@@ -24,6 +24,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/cpufreq/GNOME_CPUFreqApplet.server.in.in gnome-applets-2.15.90.new/cpufreq/GNOME_CPUFreqApplet.server.in.in +--- gnome-applets-2.15.90/cpufreq/GNOME_CPUFreqApplet.server.in.in 2006-08-22 04:23:28.000000000 +0200 ++++ gnome-applets-2.15.90.new/cpufreq/GNOME_CPUFreqApplet.server.in.in 2006-08-22 12:05:08.000000000 +0200 +@@ -25,6 +25,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/drivemount/GNOME_DriveMountApplet.server.in.in gnome-applets-2.15.90.new/drivemount/GNOME_DriveMountApplet.server.in.in +--- gnome-applets-2.15.90/drivemount/GNOME_DriveMountApplet.server.in.in 2006-08-22 04:23:35.000000000 +0200 ++++ gnome-applets-2.15.90.new/drivemount/GNOME_DriveMountApplet.server.in.in 2006-08-22 12:05:38.000000000 +0200 +@@ -16,6 +16,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/geyes/GNOME_GeyesApplet.server.in.in gnome-applets-2.15.90.new/geyes/GNOME_GeyesApplet.server.in.in +--- gnome-applets-2.15.90/geyes/GNOME_GeyesApplet.server.in.in 2006-08-22 04:23:37.000000000 +0200 ++++ gnome-applets-2.15.90.new/geyes/GNOME_GeyesApplet.server.in.in 2006-08-22 12:06:11.000000000 +0200 +@@ -26,6 +26,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/gswitchit/GNOME_KeyboardApplet.server.in.in gnome-applets-2.15.90.new/gswitchit/GNOME_KeyboardApplet.server.in.in +--- gnome-applets-2.15.90/gswitchit/GNOME_KeyboardApplet.server.in.in 2006-02-17 12:42:03.000000000 +0100 ++++ gnome-applets-2.15.90.new/gswitchit/GNOME_KeyboardApplet.server.in.in 2006-08-22 12:04:39.000000000 +0200 +@@ -24,6 +24,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/gweather/GNOME_GWeatherApplet_Factory.server.in.in gnome-applets-2.15.90.new/gweather/GNOME_GWeatherApplet_Factory.server.in.in +--- gnome-applets-2.15.90/gweather/GNOME_GWeatherApplet_Factory.server.in.in 2006-08-22 04:23:45.000000000 +0200 ++++ gnome-applets-2.15.90.new/gweather/GNOME_GWeatherApplet_Factory.server.in.in 2006-08-22 12:06:34.000000000 +0200 +@@ -25,6 +25,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/mini-commander/src/GNOME_MiniCommanderApplet.server.in.in gnome-applets-2.15.90.new/mini-commander/src/GNOME_MiniCommanderApplet.server.in.in +--- gnome-applets-2.15.90/mini-commander/src/GNOME_MiniCommanderApplet.server.in.in 2004-08-10 04:52:05.000000000 +0200 ++++ gnome-applets-2.15.90.new/mini-commander/src/GNOME_MiniCommanderApplet.server.in.in 2006-08-22 12:04:39.000000000 +0200 +@@ -24,6 +24,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/mixer/GNOME_MixerApplet.server.in.in gnome-applets-2.15.90.new/mixer/GNOME_MixerApplet.server.in.in +--- gnome-applets-2.15.90/mixer/GNOME_MixerApplet.server.in.in 2006-07-22 05:01:52.000000000 +0200 ++++ gnome-applets-2.15.90.new/mixer/GNOME_MixerApplet.server.in.in 2006-08-22 12:04:39.000000000 +0200 +@@ -24,6 +24,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/modemlights/GNOME_ModemLights.server.in.in gnome-applets-2.15.90.new/modemlights/GNOME_ModemLights.server.in.in +--- gnome-applets-2.15.90/modemlights/GNOME_ModemLights.server.in.in 2006-08-22 04:24:56.000000000 +0200 ++++ gnome-applets-2.15.90.new/modemlights/GNOME_ModemLights.server.in.in 2006-08-22 12:06:54.000000000 +0200 +@@ -25,6 +25,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/multiload/GNOME_MultiLoadApplet_Factory.server.in.in gnome-applets-2.15.90.new/multiload/GNOME_MultiLoadApplet_Factory.server.in.in +--- gnome-applets-2.15.90/multiload/GNOME_MultiLoadApplet_Factory.server.in.in 2006-08-22 04:24:58.000000000 +0200 ++++ gnome-applets-2.15.90.new/multiload/GNOME_MultiLoadApplet_Factory.server.in.in 2006-08-22 12:07:21.000000000 +0200 +@@ -25,6 +25,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/null_applet/GNOME_Panel_WirelessApplet.server.in gnome-applets-2.15.90.new/null_applet/GNOME_Panel_WirelessApplet.server.in +--- gnome-applets-2.15.90/null_applet/GNOME_Panel_WirelessApplet.server.in 2005-01-06 16:52:27.000000000 +0100 ++++ gnome-applets-2.15.90.new/null_applet/GNOME_Panel_WirelessApplet.server.in 2006-08-22 12:04:39.000000000 +0200 +@@ -12,6 +12,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/stickynotes/GNOME_StickyNotesApplet.server.in.in gnome-applets-2.15.90.new/stickynotes/GNOME_StickyNotesApplet.server.in.in +--- gnome-applets-2.15.90/stickynotes/GNOME_StickyNotesApplet.server.in.in 2006-08-22 04:28:18.000000000 +0200 ++++ gnome-applets-2.15.90.new/stickynotes/GNOME_StickyNotesApplet.server.in.in 2006-08-22 12:07:38.000000000 +0200 +@@ -16,6 +16,7 @@ + + + ++ + + + +diff -Nur gnome-applets-2.15.90/trashapplet/GNOME_Panel_TrashApplet.server.in.in gnome-applets-2.15.90.new/trashapplet/GNOME_Panel_TrashApplet.server.in.in +--- gnome-applets-2.15.90/trashapplet/GNOME_Panel_TrashApplet.server.in.in 2006-08-07 15:07:40.000000000 +0200 ++++ gnome-applets-2.15.90.new/trashapplet/GNOME_Panel_TrashApplet.server.in.in 2006-08-22 12:04:39.000000000 +0200 +@@ -21,6 +21,7 @@ + + + ++ + + + --- gnome-applets-2.16.1.orig/debian/patches/16_driveapplet_unmountprogress.patch +++ gnome-applets-2.16.1/debian/patches/16_driveapplet_unmountprogress.patch @@ -0,0 +1,160 @@ +diff -Nur gnome-applets-2.14.0/drivemount/drive-button.c gnome-applets-2.14.0.new/drivemount/drive-button.c +--- gnome-applets-2.14.0/drivemount/drive-button.c 2006-03-16 17:52:02.000000000 +0100 ++++ gnome-applets-2.14.0.new/drivemount/drive-button.c 2006-03-16 17:52:23.000000000 +0100 +@@ -27,6 +27,8 @@ + #include "drive-button.h" + #include + #include ++#include ++#include + #include + + #include +@@ -38,6 +40,11 @@ + CMD_EJECT + }; + ++typedef struct { ++ int mode; ++ GtkWindow* progress; ++} mount_callback_data; ++ + #define GCONF_ROOT_AUTOPLAY "/desktop/gnome/volume_manager/" + + /* type registration boilerplate code */ +@@ -544,9 +551,15 @@ + { + GtkWidget *dialog, *hbox, *vbox, *image, *label; + char *title, *str; ++ mount_callback_data* cbd = (mount_callback_data*) data; ++ int mode = cbd->mode; ++ ++ if (cbd->progress) ++ gtk_widget_destroy (GTK_WIDGET(cbd->progress)); ++ g_free (cbd); + + if (!succeeded) { +- switch (GPOINTER_TO_INT(data)) { ++ switch (mode) { + case CMD_MOUNT_OR_PLAY: + title = _("Mount Error"); + break; +@@ -751,12 +764,59 @@ + g_free (device_path); + } + ++static int unmount_progress_timer (const void* data) ++{ ++ if (!GTK_IS_PROGRESS_BAR (data)) ++ return FALSE; ++ ++ gtk_progress_bar_pulse (GTK_PROGRESS_BAR (data)); ++ return TRUE; ++} ++ ++static GtkWindow* ++create_unmount_progress_window (const char* name) ++{ ++ GtkWidget *window, *vbox, *label, *progress; ++ ++ window = gtk_window_new (GTK_WINDOW_TOPLEVEL); ++ gtk_window_set_title (GTK_WINDOW (window), _("Removing device")); ++ gtk_container_set_border_width (GTK_CONTAINER (window), 6); ++ gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER_ALWAYS); ++ ++ vbox = gtk_vbox_new (FALSE, 6); ++ gtk_container_add (GTK_CONTAINER (window), vbox); ++ ++ label = gtk_label_new (g_strdup_printf (_("Writing data to storage device %s"), name)); ++ gtk_label_set_use_markup (GTK_LABEL(label), TRUE); ++ gtk_misc_set_alignment (GTK_MISC(label), 0, 0.5); ++ gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0); ++ ++ progress = gtk_progress_bar_new(); ++ gtk_widget_show (progress); ++ gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress), " "); ++ gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (progress), 0.2); ++ gtk_box_pack_start (GTK_BOX (vbox), progress, FALSE, FALSE, 6); ++ ++ g_timeout_add (200, (GtkFunction) unmount_progress_timer, progress); ++ ++ label = gtk_label_new (_("Please do not remove the device while" ++ " this operation is in progress.")); ++ gtk_label_set_line_wrap (GTK_LABEL(label), FALSE); ++ gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0); ++ ++ gtk_widget_show_all (window); ++ ++ return GTK_WINDOW(window); ++} ++ + static void + mount_drive (DriveButton *self, GtkWidget *item) + { + if (self->drive) { +- gnome_vfs_drive_mount (self->drive, mount_result, +- GINT_TO_POINTER(CMD_MOUNT_OR_PLAY)); ++ mount_callback_data *cbd = g_new (mount_callback_data, 1); ++ cbd->mode = CMD_MOUNT_OR_PLAY; ++ cbd->progress = NULL; ++ gnome_vfs_drive_mount (self->drive, mount_result, cbd); + } else { + g_return_if_reached(); + } +@@ -764,26 +824,48 @@ + static void + unmount_drive (DriveButton *self, GtkWidget *item) + { ++ mount_callback_data *cbd = g_new (mount_callback_data, 1); ++ cbd->mode = CMD_UNMOUNT; ++ cbd->progress = NULL; ++ + if (self->drive) { +- gnome_vfs_drive_unmount (self->drive, mount_result, +- GINT_TO_POINTER(CMD_UNMOUNT)); ++ GnomeVFSDeviceType t = gnome_vfs_drive_get_device_type (self->drive); ++ if (t == GNOME_VFS_DEVICE_TYPE_HARDDRIVE || t == GNOME_VFS_DEVICE_TYPE_FLOPPY || ++ t == GNOME_VFS_DEVICE_TYPE_ZIP || t == GNOME_VFS_DEVICE_TYPE_JAZ || ++ t == GNOME_VFS_DEVICE_TYPE_CAMERA || t == GNOME_VFS_DEVICE_TYPE_MEMORY_STICK || ++ t == GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER) ++ cbd->progress = create_unmount_progress_window (gnome_vfs_drive_get_display_name (self->drive)); ++ gnome_vfs_drive_unmount (self->drive, mount_result, cbd); + } else if (self->volume) { +- gnome_vfs_volume_unmount (self->volume, mount_result, +- GINT_TO_POINTER(CMD_UNMOUNT)); ++ if (!gnome_vfs_volume_is_read_only (self->volume)) ++ cbd->progress = create_unmount_progress_window (gnome_vfs_volume_get_display_name (self->volume)); ++ gnome_vfs_volume_unmount (self->volume, mount_result, cbd); + } else { ++ g_free (cbd); + g_return_if_reached(); + } + } + static void + eject_drive (DriveButton *self, GtkWidget *item) + { ++ mount_callback_data *cbd = g_new0 (mount_callback_data, 1); ++ cbd->mode = CMD_EJECT; ++ cbd->progress = NULL; ++ + if (self->drive) { +- gnome_vfs_drive_eject (self->drive, mount_result, +- GINT_TO_POINTER(CMD_EJECT)); ++ GnomeVFSDeviceType t = gnome_vfs_drive_get_device_type (self->drive); ++ if (t == GNOME_VFS_DEVICE_TYPE_HARDDRIVE || t == GNOME_VFS_DEVICE_TYPE_FLOPPY || ++ t == GNOME_VFS_DEVICE_TYPE_ZIP || t == GNOME_VFS_DEVICE_TYPE_JAZ || ++ t == GNOME_VFS_DEVICE_TYPE_CAMERA || t == GNOME_VFS_DEVICE_TYPE_MEMORY_STICK || ++ t == GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER) ++ cbd->progress = create_unmount_progress_window (gnome_vfs_drive_get_display_name (self->drive)); ++ gnome_vfs_drive_eject (self->drive, mount_result, cbd); + } else if (self->volume) { +- gnome_vfs_volume_eject (self->volume, mount_result, +- GINT_TO_POINTER(CMD_EJECT)); ++ if (!gnome_vfs_volume_is_read_only (self->volume)) ++ cbd->progress = create_unmount_progress_window (gnome_vfs_volume_get_display_name (self->volume)); ++ gnome_vfs_volume_eject (self->volume, mount_result, cbd); + } else { ++ g_free (cbd); + g_return_if_reached(); + } + } --- gnome-applets-2.16.1.orig/debian/patches/14_battstat_enable_pmi.patch +++ gnome-applets-2.16.1/debian/patches/14_battstat_enable_pmi.patch @@ -0,0 +1,12 @@ +diff -Nur gnome-applets-2.13.1/battstat/battstat_applet.c gnome-applets-2.13.1.new/battstat/battstat_applet.c +--- gnome-applets-2.13.1/battstat/battstat_applet.c 2005-12-09 02:13:10.000000000 +0100 ++++ gnome-applets-2.13.1.new/battstat/battstat_applet.c 2005-12-13 12:14:24.000000000 +0100 +@@ -492,7 +492,7 @@ + /* Determine if suspend is unsupported. For the time being this involves + * distribution-specific magic :( + */ +-/* #define HAVE_PMI */ ++#define HAVE_PMI + static gboolean + is_suspend_unavailable( void ) + { --- gnome-applets-2.16.1.orig/debian/patches/13_battstat_measuring_more_appropriate.patch +++ gnome-applets-2.16.1/debian/patches/13_battstat_measuring_more_appropriate.patch @@ -0,0 +1,38 @@ +diff -Nur gnome-applets-2.12.1/battstat/battstat-hal.c gnome-applets-2.12.1.new/battstat/battstat-hal.c +--- gnome-applets-2.12.1/battstat/battstat-hal.c 2005-08-03 18:54:02.000000000 +0200 ++++ gnome-applets-2.12.1.new/battstat/battstat-hal.c 2005-10-04 12:06:40.000000000 +0200 +@@ -487,6 +487,24 @@ + remaining_time = battery->status.remaining_time; + } + ++ /* For each power adaptor... */ ++ for( item = adaptors; item; item = item->next ) ++ { ++ struct adaptor_info *adaptor = item->data; ++ ++ if( adaptor->present == TRUE ) ++ { ++ if( on_ac_power == FALSE ) /* some battery has report discharging */ ++ { ++ /* bad ACPI! no cookie. */ ++ on_ac_power = TRUE; ++ remaining_time = 0; ++ rate_total = 0; // on wall power, therefore NOT discharging! ++ } ++ } ++ } ++ ++ + if( !present || full_capacity_total <= 0 || (charging && !on_ac_power) ) + { + /* Either no battery is present or something has gone horribly wrong. +@@ -512,7 +530,8 @@ + status->percent = ( ((double) current_charge_total) / + ((double) full_capacity_total) ) * 100.0 + 0.5; + +- if( present == 1 ) ++ /* disabling */ ++ if( present == 1 && 0 ) + { + /* In the case of exactly one battery, report the time remaining figure + * from HAL directly since it might have come from an authorative source --- gnome-applets-2.16.1.orig/debian/patches/08_gweather_locations.patch +++ gnome-applets-2.16.1/debian/patches/08_gweather_locations.patch @@ -0,0 +1,11 @@ +--- gweather/Locations.xml.orig 2005-04-15 00:59:25.000000000 +0200 ++++ gweather/Locations.xml 2005-04-15 01:01:47.275163840 +0200 +@@ -130918,7 +130918,7 @@ + Chantilly-Dulles 國際機場 + Chantilly-Dulles 國際機場 + KIAD +- DCZ013 ++ VAZ042 + dca + + --- gnome-applets-2.16.1.orig/debian/compat +++ gnome-applets-2.16.1/debian/compat @@ -0,0 +1 @@ +5 --- gnome-applets-2.16.1.orig/debian/control +++ gnome-applets-2.16.1/debian/control @@ -0,0 +1,80 @@ +Source: gnome-applets +Section: gnome +Priority: optional +Maintainer: Guilherme de S. Pastore +Uploaders: Debian GNOME Maintainers , Andrew Lau , Clément Stenac , Dafydd Harries , Guilherme de S. Pastore , Gustavo Franco , Gustavo Noronha Silva , J.H.M. Dassen (Ray) , Jordi Mallach , Jose Carlos Garcia Sogo , Josselin Mouette , Loic Minier , Marc 'HE' Brockschmidt , Marco Cabizza , Oystein Gisnas , Ondřej Surý , Ross Burton , Sebastien Bacher , Sjoerd Simons +Standards-Version: 3.7.2 +Build-Depends: cdbs, autotools-dev, debhelper (>= 5.0.13), patchutils, libgtk2.0-dev (>= 2.6.0), libgtop2-dev (>= 2.11.92), intltool, libpanel-applet2-dev (>= 2.13.4), liborbit2-dev (>= 1:2.12.1-1), scrollkeeper, libgail-dev (>= 1.1.0), libwnck-dev (>= 2.9.3), libgconf2-dev (>= 2.8.0), libglade2-dev (>= 1:2.5.1-1), libapm-dev, libgnome2-dev (>= 2.8.0), libgnomeui-dev (>= 2.8.0), libgnome-keyring-dev (>= 0.4.2-1) , libxklavier-dev (>= 2.91), gnome-pkg-tools, dpkg-dev (>= 1.13.19), xsltproc, docbook-xsl, sharutils, libgstreamer-plugins-base0.10-dev (>= 0.10.2), libgnomevfs2-dev (>= 2.8.0), libgucharmap5-dev (>= 1:1.4.2-1), system-tools-backends-dev (>= 1.1.3), libxkbfile-dev, libgnome-desktop-dev (>= 2.11.1), libhal-dev (>= 0.5.3), libdbus-1-dev (>= 0.92), gnome-doc-utils (>= 0.3.2), libxres-dev, libnotify-dev (>= 0.3.2), python-gtk2-dev, python-gobject-dev, python-gnome2-dev, python-gnome2-desktop-dev, python-dev, python, gnome-control-center-dev, gnome-icon-theme (>= 2.15.3), liboobs-1-dev + +Package: gnome-applets-data +Architecture: all +Depends: scrollkeeper, ${misc:Depends} +Replaces: gnome-cpufreq-applet, trashapplet +Description: Various applets for GNOME 2 panel - data files + This package contains data files (pixmaps, icons, documentations) needed by + the gnome-applets package. + +Package: gnome-applets +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gnome2-desktop, python-gnome2-extras, gnome-applets-data (= ${source:Version}), gnome-panel (>= 2.12.1-1), gnome-icon-theme (>= 2.12.1-1), gstreamer0.10-alsa | gstreamer0.10-plugins-good +Conflicts: gnome-cpufreq-applet, trashapplet +Replaces: gnome-cpufreq-applet, trashapplet +Provides: gnome-cpufreq-applet, trashapplet +Recommends: imagemagick, gnome-system-monitor, gnome-media, gnome-netstatus-applet, deskbar-applet +Suggests: acpid, cpufreqd | cpudyn | powernowd +Description: Various applets for GNOME 2 panel - binary files + accessx-status: shows you the status of the keyboard accessibility + features, including the current state of the keyboard, if those features + are in use. + . + Battstat: (battery applet) shows the status of the power subsystem in your + laptop. + . + Character palette: provides a convenient way to access non-standard + characters, such as accented characters, mathematical symbols, special + symbols, and punctuation marks. + . + GNOME CPUFreq Applet: is a CPU Frequency Scaling Monitor for GNOME Panel. + . + Drivemount: Allows you to quickly and easily mount and unmount various + types of drives and filesystems on your computer. + . + Geyes: Is a pair of eyes which follow your mouse pointer around the screen. + . + Keyboard layout switcher: enables you to assign different layouts to your + keyboard to suit different locales. + . + Mixer: enables you to control the sound volume on your system. + . + Modemlights: Monitor your modem while it is working. + . + Sticky notes: enables you to create, view, and manage sticky notes on the + GNOME Desktop. + . + Stock ticker: downloads current stock quotes from the Internet and displays + the quotes in a scrolling display in the applet. The applet downloads the + stock information from Yahoo! Finance. + . + System monitor: CPU, memory, network, swap file and resource. + . + Trash: ou can drag items from Nautilus onto this applet to move them to your + trash folder. + . + Weather report: downloads weather information from the U.S National Weather + Service (NWS) servers, including the Interactive Weather Information + Network (IWIN). + +Package: gnome-applets-dbg +Architecture: any +Priority: extra +Depends: ${shlibs:Depends}, gnome-applets (= ${binary:Version}) +Description: Various applets for GNOME 2 panel - binary files with debugging symbols + This package contains unstripped binaries used for debugging. + +Package: gnome-applets-dev +Architecture: any +Depends: ${shlibs:Depends}, gnome-applets (= ${binary:Version}) +Description: Various applets for GNOME 2 panel - development files + This package contains development materials needed to build extensions for + some applets. + --- gnome-applets-2.16.1.orig/debian/gnome-applets.config +++ gnome-applets-2.16.1/debian/gnome-applets.config @@ -0,0 +1,34 @@ +#!/bin/sh + +# Debconf config script for gnome-applets +prog=/usr/bin/cpufreq-selector + +test -e $prog || exit 0 + +# Load Debconf +. /usr/share/debconf/confmodule +db_version 2.0 + +# Set default value to match current state of file +if [ -u $prog ]; then + db_set gnome-applets/cpufreq_SUID_bit true +else + db_set gnome-applets/cpufreq_SUID_bit false +fi + +# Prompt for user input +db_input low gnome-applets/cpufreq_SUID_bit || true +db_go + +# Update statoverrides as necessary +db_get gnome-applets/cpufreq_SUID_bit +if [ "$RET" = "true" ]; then + if ! dpkg-statoverride --list $prog > /dev/null; then + dpkg-statoverride --add --update \ + root root 4755 $prog > /dev/null 2>&1 + fi; +else + if dpkg-statoverride --list $prog > /dev/null; then + dpkg-statoverride --remove $prog + fi; +fi; --- gnome-applets-2.16.1.orig/debian/gnome-applets.install +++ gnome-applets-2.16.1/debian/gnome-applets.install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin/ +debian/tmp/usr/lib/gnome-applets/ +debian/tmp/usr/lib/python2.4/site-packages/invest +debian/tmp/usr/lib/lib*.so.* --- gnome-applets-2.16.1.orig/debian/rules +++ gnome-applets-2.16.1/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f + +# Gnome Team +include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk + +include /usr/share/cdbs/1/rules/debhelper.mk +# Including this file gets us a simple patch system. You can just +# drop patches in debian/patches, and they will be automatically +# applied and unapplied. +include /usr/share/cdbs/1/rules/simple-patchsys.mk +# Including this gives us a number of rules typical to a GNOME +# program, including setting GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1. +# Note that this class inherits from autotools.mk and docbookxml.mk, +# so you don't need to include those too. +include /usr/share/cdbs/1/class/gnome.mk + +DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-z,defs -Wl,-O1 -Wl,--as-needed" +DEB_CONFIGURE_EXTRA_FLAGS += --disable-gtk-doc --disable-scrollkeeper --enable-ipv6 --enable-suid=no --enable-gstreamer=0.10 + +MANPAGES += debian/gnome-keyboard-layout.1 debian/gswitchit-plugins-capplet.1 +DEB_INSTALL_MANPAGES_gnome-applets = $(MANPAGES) + +DEB_DH_STRIP_ARGS += --dbg-package=gnome-applets-dbg + +DEB_DH_MAKESHLIBS_ARGS_gnome-applets := -V 'gnome-applets (>= 2.14)' + +# Build manual pages +build/gnome-applets:: $(MANPAGES) + cd mixer/docs; make pot + cd drivemount/help; make pot + cd charpick/help; make pot + cd geyes/docs; make pot + cd mini-commander/help; make pot + cd battstat/docs; make pot + cd multiload/docs; make pot + cd gweather/docs; make pot + cd accessx-status/docs; make pot + cd stickynotes/docs; make pot + cd gswitchit/help; make pot + cd trashapplet/docs; make pot + cd cpufreq/help; make pot + +%.1: %.xml + xsltproc -nonet -o $@ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $< + +binary-install/gnome-applets:: + rm -rf debian/gnome-applets/usr/lib/gnome-applets/gnome-applets/ + chmod a+x debian/gnome-applets/usr/bin/* debian/gnome-applets/usr/lib/gnome-applets/* + dh_python + +binary-install/gnome-applets-data:: + find debian/gnome-applets-data/usr/share -type f -exec chmod -R a-x {} \; + +clean:: + rm -f $(MANPAGES) + -make distclean + debconf-updatepo