debian/0000755000000000000000000000000011772425221007171 5ustar debian/docs0000644000000000000000000000001611417541450010040 0ustar debian/README debian/menu0000644000000000000000000000022311417541450010054 0ustar ?package(fbpanel):needs="X11"\ section="Applications/System/Administration"\ title="fbpanel"\ hints="Panel,Tool"\ command="/usr/bin/fbpanel" debian/control0000644000000000000000000000132311772422516010577 0ustar Source: fbpanel Section: x11 Priority: optional Maintainer: Ulises Vitulli Build-Depends: debhelper (>= 6.0.7~), autotools-dev, libgtk2.0-dev, libxmu-dev, libxpm-dev, libx11-dev, dpkg-dev (>= 1.16.1.1~) Standards-Version: 3.9.3 Homepage: http://fbpanel.sourceforge.net/ Package: fbpanel Architecture: any Pre-Depends: dpkg (>= 1.15.7.2~) Depends: ${shlibs:Depends}, ${misc:Depends}, librsvg2-common Suggests: hicolor-icon-theme Description: lightweight X11 desktop panel FBPanel is a spinoff of the fspanel (f***ing small panel) with more eye candy. It provides a taskbar (list of all opened windows), desktop switcher, launchbar, clock, is EWMH/NETWM compliant, and has modest resource usage. debian/rules0000755000000000000000000000403411772425072010256 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # See lintian-override #export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-PIE DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif CFLAGS += $(CPPFLAGS) CXXFLAGS += $(CPPFLAGS) build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --libexecdir=\$${prefix}/lib/fbpanel \ --datadir=\$${prefix}/share \ --ldflagsx="$(LDFLAGS) -lglib-2.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 \ -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 \ -lglib-2.0 -lX11" $(MAKE) touch $@ clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f config.sub config.guess dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs usr/bin usr/share/fbpanel/images dh_install debian/terminal_color.svg debian/terminal_sketch.svg \ usr/share/fbpanel/images # Yeah, do it properly you bastard! $(MAKE) DESTDIR=$(CURDIR)/debian/fbpanel install binary-indep: build install # Nothing to see, keep walking :) binary-arch: build install dh_testdir dh_testroot dh_installchangelogs CHANGELOG dh_installdocs dh_installmenu dh_installman data/man/fbpanel.1 dh_link dh_strip dh_lintian dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary instal debian/watch0000644000000000000000000000033211417550722010221 0ustar version=3 opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ http://sf.net/fbpanel/fbpanel-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate debian/README0000644000000000000000000002474611417541450010065 0ustar Configuring =========== fbpanel stores its configurations in ~/.config/fbpanel directory. Every profile is represented by a single text file with a same name. Name of default profile is «default». Edit relevant file and restart fbpanel. You can also tell running fbpanel to reload its configuration by sending it USR1 signal. % vim ~/.config/fbpanel/default % killall -USR1 fbpanel # tell fbpanel to reload configuration In addition, there is configuration GUI that covers all panel's options, but not plugins yet. To get it, click Ctrl-Button2 anywhere in panel or run it with -C option. <<<< Configuration file structure >>>> ============================== Configuration file consists from one Global section, that covers panel options, and one or more Plugin sections. The syntax is following: * Spaces at the begining and at the end of a line are ignored * Lines strarting with '#' or blank lines are ignored. '#' in any other place is NOT treated as comment * Variable's name is NOT case sensitive * Variable's value IS case sensitive * Variable's value is a text from first non-blank char after '=' till the last non-blank char. * Section starts by its type (Global or Plugin) and "{' on a same line, then inner variables and sections, and ends with '}' on separate line. <<<<< Global section >>>>> It describes global panel parameters like position, size and some NETWM settings. If variable has default value, it can be omited. The full variable list is: * Edge - screen edge Legal values are left, right, top or bottom. Default is bottom. * Allign - allignment of a panel Legal values are left, right or center. Default is center. * WidthType - units of width Legal values are o pixel - width is number of pixels o percent - width is percent of an edge o request - follow widgets' size requests. can shrink or grow dynamically Default is percent. * Width - panel width in widthtype units Legal values are numbers. Default is 100. * HeightType - units of height Legal values are o pixel - height is number of pixels Default is pixel. * Height - panel height in heighttype units Legal values are numbers. Default is 26. * Margin - margin from screen edge for left or right allignment. Legal values are numbers. Default is 0. * SetDockType - set panel's NETWM window type to Dock Legal values are true or false. Default is true. * SetPartialStrut - ask NETWM compliant window manager to not cover panel by maximized windows. Legal values are true or false. Default is true. * Transparent - enable transparent background Legal values are true or false. Default is false. * TintColor - color to composite on root background Legal values are colors, eg 0xRRGGBB or red, black etc. Default is white. * Alpha - transparency of the tint color Legal values are numbers from 0 to 255. Default is 127. * Autohide - hide panel when mouse is far enough Legal values are true or false. Default is false. * RoundCorners - panel has rounded corners Legal values are true or false. Default is true. * RoundCornersRadius - radius of ronded corners. Legal values are numbers from 0 to 25. Default is 7. * Layer - stacking layer of a panel Legal values are above or below. Default is above. * SetLayer - set or not stacking layer of panel. If not, defaul WM policy is used. Legal values are true or false. Default is false. * MaxElemHeight - maximal height of plugins' lements, like icons, messages etc. If plugin has more space, it can place elements in multiple rows. Legal values are numbers from 10 to 200. Default is 200 For example: Global { edge = bottom allign = center margin = 0 widthtype = percent width = 92 height = 48 transparent = true tintcolor = #ffffff alpha = 32 setdocktype = true setpartialstrut = true autohide = false heightWhenHidden = 2 roundcorners = false roundcornersradius = 7 layer = above setlayer = false maxelemheight = 24 } <<<<< Plugin section >>>>> It describes which plugin to load, how to position it and has plugin specific configuration section. If variable has default value, it can be omited. The full variable list is: * type - plugin type Legal values are battery, cpu, dclock, deskno, deskno2, genmon, icons, image, launchbar, mem, menu, net, pager, separator, space, systray, taskbar, tclock, volume, wincmd Mandatory. * expand - expand plugin if extra space is available Legal values are true or false Default is false * padding - padding around plugin in pixels Legal values are numbers Default is 0 * config - a section with plugin specific configuration. For example: Plugin { type = space expand = false padding = 0 config { size = 2 } } Plugin { type = cpu } Plugins with additional configuration Cpu * color - chart color Legal values are colors eg 0xRRGGBB or red, black etc. Default is green. For example: Plugin { type = cpu config { Color = green } } Net * interface - interface to watch Legal values are network interface names. Default is eth0. * TxColor - color of Tx traffic Legal values are colors. Default is violet. * RxColor - color of Rx traffic Legal values are colors. Default is blue. * TxLimit - Tx limit of the connection, in KB/s. Used to scale chart properly Legal values are numbers. Default is 12. * RxLimit - Rx limit of the connection, in KB/s. Used to scale chart properly Legal values are numbers. Default is 120. For example: Plugin { type = net config { interface = eth0 TxLimit = 20 RxLimit = 190 TxColor = violet RxColor = blue } } Pager * ShowWallpaper - show desktop wallpaper in pager window or not Legal values are true or false. Default is true. For example: Plugin { type = pager config { showwallpaper = true } } Space * size - size of space to occupy in pixels Legal values are numbers. Default is 1. For example: Plugin { type = space config { size = 15 } } Mem * ShowSwap - show swap usage or not Legal values are true or false Default is false. For example: Plugin { type = mem config { ShowSwap = true } } dclock * ShowSeconds - show secondsor not Legal values are true or false Default is false. * HoursView - 24h or 12h hours view Legal values are 12 or 24 Default is 24. * TooltipFmt - tooltip content Legal values are strftime formats Default is %A %x. * Action - command to run on mouse click Legal values are bash commands Default is none. * Color - digits color Legal values are colors, eg 0xRRGGBB or red, black etc. Default is blue. For example: Plugin { type = dclock config { ShowSeconds = false HoursView = 24 Action = xmessage Please define some command } } tclock * ClockFmt - Clock format string. May contain strftime conversion specifications and Pango markup information. Legal values are strings Default is "%R". * TooltipFmt - Tooltip format string. May contain strftime conversion specifications and Pango markup information. Legal values are strings Default is "%A %x". * Action - command to run on mouse click Legal values are bash commands Default is none. * ShowCalendar - Show a GTK calendar widget when the clock is clicked. Only valid if Action is unset. Legal values are true or false Default is true. * ShowTooltip - Show tooltip for clock Legal values are true or false Default is true. Plugin { type = tclock config { # 2 line view, time in bold above and date below ClockFmt = %-l:%M %P %a %B %-e TooltipFmt = %A %x #Action = xmessage Please define some command ShowCalendar = false ShowTooltip = true } } Taskbar * TBD For example: plugin { type = taskbar expand = true config { ShowIconified = true ShowMapped = true ShowAllDesks = false tooltips = true IconsOnly = false MaxTaskWidth = 150 } } Launchbar * TBD For example: plugin { type = launchbar expand = false padding = 0 config { button { icon = gnome-terminal tooltip = Terminal action = xterm } button { image = /opt/google/chrome/product_logo_48.png tooltip = Google Chrome action = google-chrome } } } Menu * TBD For example: plugin { type = menu config { icon = start-here systemmenu { } separator { } menu { name = Computer icon = computer item { name = Terminal icon = terminal action = x-terminal } item { name = Lock Display icon = gnome-lockscreen action = xtrlock2 } separator { } item { name = Reboot icon = gnome-session-reboot action = sudo reboot } } } } Icons * TBD For example: plugin { type = icons expand = false padding = 0 config { DefaultIcon = /usr/share/fbpanel/images/default.xpm application { icon = gnome-terminal ClassName = XTerm } application { icon = gnome-terminal ClassName = mlterm } application { icon = gnome-terminal ClassName = URxvt } application { icon = gnome-emacs ClassName = Emacs } application { icon = mozilla-firefox ClassName = Firefox-bin } application { icon = mozilla-firefox ClassName = Firefox } application { image = /usr/share/icons/yasis/scalable/apps/gnome-ppp.svg AppName = minicom } } } -- Ulises Vitulli Tue, 06 Jul 2010 02:35:37 -0300 debian/changelog0000644000000000000000000002316111772425221011046 0ustar fbpanel (6.1-6) unstable; urgency=low * Fix local patched hintings on plugin/volume issue (ref: ALSA vs OSS). * Adopt dpkg-buildflags for hardening, build-dep on dpkg-dev (>= 1.16.1.1~). * Minor changes on building flags to work on a funny building suite. * Add lintian-overrides on unsupported hardening flags. -- Ulises Vitulli Tue, 26 Jun 2012 17:16:52 -0300 fbpanel (6.1-5) unstable; urgency=low * Provide hints on plugin/volume issue (ref: ALSA vs OSS) (Closes: #678522). * Drop suggestion on 'menu', thanks FrankLinPIAT (Closes: #647366). * Include some terminal icons, cortesy of FrancescoPoli (Closes: #585795). * Enabled gcc hardening flags, runtime depend on hardening-includes. * Runtime pre-depend on dpkg-dev, because of dpkg-maintscript-helper. * Bump up Standards-Version to 3.9.3 (no changes required). * Reformated debian/copyright following new format specification. -- Ulises Vitulli Mon, 25 Jun 2012 12:30:55 -0300 fbpanel (6.1-4) unstable; urgency=low * Fix FTBFS on hurd, patch by Samuel Thibault (Closes: #637550). * Bump up Standards-Version to 3.9.2 (no changes required). * Minor changes on pkg description. * Enhance porting targets on debian/rules. -- Ulises Vitulli Mon, 15 Aug 2011 10:55:16 -0300 fbpanel (6.1-3) unstable; urgency=low * The 'Third-time-lucky' dupload. * Fix FTBFS due to toolchain changes on X11, adds build-dep on libx11-dev (Closes: #618091). * Remove deprecated global configuration from etc (Closes: #588578). * Fix little typo on GUI (Closes: #590727). * Bump up Standards-Version to 3.9.1. -- Ulises Vitulli Sun, 27 Mar 2011 00:05:09 -0300 fbpanel (6.1-2) unstable; urgency=low * Fix FTBFS on kFreeBSD due to linux-specific features (Closes: #589466). -- Ulises Vitulli Sun, 18 Jul 2010 13:29:42 -0300 fbpanel (6.1-1) unstable; urgency=low * New upstream release (Closes: #587479, #589113). -- Ulises Vitulli Thu, 15 Jul 2010 05:13:47 -0300 fbpanel (6.0-2) unstable; urgency=low * Use a debian logo on default templates for menu list. * Use x-terminal-emulator instead of x-terminal (Closes: #585577). * Include upstream documentation (converted to plain text format). * Updated manpage options and description. * Bump up Standards-Version to 3.9.0. -- Ulises Vitulli Tue, 06 Jul 2010 02:35:37 -0300 fbpanel (6.0-1) unstable; urgency=low * New maintainer (Closes: #583245). * New upstream release (Closes: #436828, #506769, #538162, #554278). * Switched to 3.0 source format. * Mayor package modifications: - Rebuilt debian/rules. - Drop dpatch in the way, 3.0 source format rules! - Changed menu file to category to Applications/System/Administration. - Add Homepage field. - Update copyright file. - Bump up Standards-Version to 3.8.4. -- Ulises Vitulli Sat, 05 Jun 2010 12:04:34 -0300 fbpanel (4.12-1.1) unstable; urgency=low * Non-maintainer upload. * Remove old /etc/menu-methods/fbpanel on purge for upgrades from etch. (Closes: #455025) -- Peter Eisentraut Sun, 06 Apr 2008 16:14:43 +0200 fbpanel (4.12-1) unstable; urgency=low * New upstream release - removed net-wm-state.dpatch, now included in the upstream source * Debian patches: - splitted non-standard_makefile.dpatch for better handling of debian's default configuration (added default-config.dpatch) * Added dependency for librsvg2-common (Closes: #434698) * Updated menu structure. Moved to Applications/System. -- Davide Truffa Tue, 31 Jul 2007 19:37:05 +0200 fbpanel (4.9-2) unstable; urgency=low * Added genmon plugins. (Closes: #432355) (display the output of a program/script into the panel) * Fixed other minor issues: - transparency didn't work correctly with default configuration - wrong path in "fbpanel configurator" * Added information about dclock plugin. (Closes: #321030) -- Davide Truffa Tue, 10 Jul 2007 12:23:04 +0200 fbpanel (4.9-1) unstable; urgency=low * New upstream release. (Closes: #391890, #426948, #427114) * New Maintainer. * Add missing binary-indep target to debian/rules. (Closes: #395685) * Patch from CVS: WM_STATE usage is dropped, NET_WM_STATE is used instead. (Closes: #404703) -- Davide Truffa Wed, 04 Jul 2007 03:05:27 +0200 fbpanel (4.3-1) unstable; urgency=low * New upstream release. (Closes: #314472) - Menu image is now a reasonable size. (Closes: #295839) * Fixed typos in config/default.cfg. (Closes: #321029) * Fix path locations for config files in manpage. (Closes: #339017) * Use _NET_CLIENT_LIST instead _NET_CLIENT_LIST_STACKING in the taskbar. (Closes: #338275) * Remove bashism (I *really* wish {} globbing was POSIX) from debian/rules. (Closes: #374760) * Add -Wl,-export-dynamic to Makefile.common to fix up build failure. (Closes: #360144) -- Matthew Palmer Sat, 29 Jul 2006 19:52:09 +1000 fbpanel (4.1-2) unstable; urgency=low * Don't signal all fbpanels to restart, because that is a dirty hack that doesn't work so well. Instead, I've implemented a config file watcher. Closes: #299499. -- Matthew Palmer Mon, 28 Mar 2005 09:45:43 +1000 fbpanel (4.1-1) unstable; urgency=low * New upstream release. * Fix up a few minor error message inaccuracies. * Move the menu file to /var/lib/fbpanel for policy compliance. * Ship a default (but empty) /var/lib/fbpanel/menu so that fbpanel will still start. Closes: #288594. * Signal all fbpanel processes to reload the menu after running update-menu. Closes: #295201. -- Matthew Palmer Sat, 12 Mar 2005 20:45:06 +1100 fbpanel (4.0-1) unstable; urgency=low * New upstream release. -- Matthew Palmer Thu, 23 Dec 2004 19:53:00 +1100 fbpanel (3.16-2) unstable; urgency=low * Remove bollocks dpatch Build-dep * Fix a erroneous warning pointing users to an incorrect config location. Closes: #280648. -- Matthew Palmer Thu, 11 Nov 2004 21:45:09 +1100 fbpanel (3.16-1) unstable; urgency=low * New upstream release. (Closes: #279525) * Discontinued use of dpatch; we now use feature branches for that sort of thing. -- Matthew Palmer Sun, 7 Nov 2004 16:14:03 +1100 fbpanel (3.8-5) unstable; urgency=low * Fixed up another instance of explicit binary names in the default config file. -- Matthew Palmer Sat, 14 Aug 2004 13:49:59 +1000 fbpanel (3.8-4) unstable; urgency=low * Changed the XTerm tool item to run x-terminal-emulator, and the Emacs button to run x-www-browser instead. Closes: #264881. -- Matthew Palmer Fri, 13 Aug 2004 19:36:38 +1000 fbpanel (3.8-3) unstable; urgency=low * Added outputencoding="UTF-8" so that accented characters appear right in the generated menus. Closes: #263944. -- Matthew Palmer Sat, 7 Aug 2004 09:52:56 +1000 fbpanel (3.8-2) unstable; urgency=low * Fixed up the menu-method file so it builds it's menus in the right places. Closes: #263465. -- Matthew Palmer Fri, 6 Aug 2004 18:48:22 +1000 fbpanel (3.8-1) unstable; urgency=low * New upstream release. Closes: #252825. * Modified default config to not reference any image files in $HOME. Closes: #255412. * Removed the examples, because they're duplicated by the default config file and images in /usr/share/fbpanel/images. -- Matthew Palmer Fri, 25 Jun 2004 22:01:53 +1000 fbpanel (3.7-3) unstable; urgency=low * Applied a great patch from Vincenzo Demasi : - Added Debian menu support. - Added a new 'include' stanza for fbpanel config files, which is used by the Debian menu support. Thanks to Vincenzo for putting it all together. Closes: #249169. * Applied a patch from Shyamal Prasad : - Modified fbpanel.1 and panel.c for configs in /etc/fbpanel - Placed a default config file in /etc/fbpanel/default, in case there there is no user-specific one. Thanks to Shyamal for spending the time on this issue. Closes: #250562. This patch is extra-wonderful considering Vincenzo's, because we've now got a complete, no-user-intervention-required panel. -- Matthew Palmer Mon, 24 May 2004 18:44:55 +1000 fbpanel (3.7-2) unstable; urgency=low * We now copy the default images into their proper location. Closes: #248452. -- Matthew Palmer Tue, 11 May 2004 20:27:19 +1000 fbpanel (3.7-1) unstable; urgency=low * New upstream version. Closes: #247625. -- Matthew Palmer Mon, 10 May 2004 17:32:27 +1000 fbpanel (3.5-2) unstable; urgency=low * Added the manual page to the installation. Closes: #235353. -- Matthew Palmer Tue, 20 Apr 2004 21:20:36 +1000 fbpanel (3.5-1) unstable; urgency=low * New upstream release. Closes: #243495. -- Matthew Palmer Tue, 20 Apr 2004 20:49:20 +1000 fbpanel (2.2-1) unstable; urgency=low * New upstream release. Closes: #215871. * Changed the order of a couple of lines of code so that it build correctly on older versions of gcc (useful for backports). -- Matthew Palmer Wed, 19 Nov 2003 20:55:36 +1100 fbpanel (1.0-1) unstable; urgency=low * Initial Release. (Closes: #193612) -- Matthew Palmer Sat, 28 Jun 2003 13:36:52 +1000 debian/terminal_color.svg0000644000000000000000000001776611404644444012746 0ustar terminal icon image/svg+xml terminal color icon 2010 Francesco Poli Francesco Poli Copyright (c) 2010 Francesco Poli This work 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 work 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. debian/lintian-overrides0000644000000000000000000000037211772424672012565 0ustar # Unfortunately, we don't nicely build on -fPIE nor -fpie fbpanel: hardening-no-fortify-functions usr/lib/fbpanel/genmon.so fbpanel: hardening-no-fortify-functions usr/lib/fbpanel/mem.so fbpanel: hardening-no-fortify-functions usr/lib/fbpanel/net.so debian/postinst0000644000000000000000000000027611543557262011013 0ustar #!/bin/sh set -e # Reference: #588578 if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then dpkg-maintscript-helper rm_conffile /etc/fbpanel/default -- "$@" fi #DEBHELPER# debian/compat0000644000000000000000000000000211417541450010366 0ustar 5 debian/terminal_sketch.svg0000644000000000000000000001101611404265202013056 0ustar terminal icon image/svg+xml terminal sketch icon 2010 Francesco Poli Francesco Poli Copyright (c) 2010 Francesco Poli This work 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 work 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. debian/postrm0000644000000000000000000000040311543556413010441 0ustar #!/bin/sh set -e if [ "$1" = "purge" ]; then rm -f /etc/menu-methods/fbpanel fi # Reference: #588578 if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then dpkg-maintscript-helper rm_conffile /etc/fbpanel/default -- "$@" fi #DEBHELPER# debian/source/0000755000000000000000000000000011417541450010470 5ustar debian/source/format0000644000000000000000000000001411417541450011676 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011772413145010622 5ustar debian/patches/plugins_volume_oss+alsa_hint.patch0000644000000000000000000000214411772413145017536 0ustar Author: Ulises Vitulli Description: Drop some hints on plugin/volume handling for ALSA OSS emulation Bug-Debian: http://bugs.debian.org/678522 Index: fbpanel-6.1/plugins/volume/volume.c =================================================================== --- fbpanel-6.1.orig/plugins/volume/volume.c 2012-06-26 17:05:55.000000000 -0300 +++ fbpanel-6.1/plugins/volume/volume.c 2012-06-26 17:06:59.000000000 -0300 @@ -50,7 +50,7 @@ ENTER; if (ioctl(c->fd, MIXER_READ(c->chan), &volume)) { - ERR("volume: can't get volume from /dev/mixer\n"); + ERR("volume: can't get volume from /dev/mixer\n\n"); RET(0); } volume &= 0xFF; @@ -254,6 +254,9 @@ c = (volume_priv *) p; if ((c->fd = open ("/dev/mixer", O_RDWR, 0)) < 0) { ERR("volume: can't open /dev/mixer\n"); + ERR("HINT: Do you have ALSA-OSS emulation loaded?\n"); + ERR("HINT: Check out for 'snd-mixer-oss' kernel module loaded.\n"); + ERR("HINT: Or disable 'volume' plugin at ~/.config/fbpanel/default.\n"); RET(0); } k->set_icons(&c->meter, names); debian/patches/gui-typo.patch0000644000000000000000000000132611543527347013430 0ustar Bug-Debian: http://bugs.debian.org/590727 Author: Dererk Last-Update: <2011-03-27> Trivial patch to handle a typo in the GUI. Configuration templates still sets this typo'ed since the issue involves its parser too, affecting users modifications, possibly breaking the config blocks. --- fbpanel-6.1.orig/panel/gconf_panel.c +++ fbpanel-6.1/panel/gconf_panel.c @@ -233,7 +233,7 @@ mk_geom_block(xconf *xc) w = gconf_edit_enum(geom_block, xconf_get(xc, "allign"), allign_enum); - gconf_block_add(geom_block, gtk_label_new("Allignment"), TRUE); + gconf_block_add(geom_block, gtk_label_new("Alignment"), TRUE); gconf_block_add(geom_block, w, FALSE); allign_opt = w; debian/patches/manpage-enhance.patch0000644000000000000000000001215311622220405014641 0ustar Description: Fix some encoding issues and update documentation and paths. Author: Dererk Last-Update: <2010-07-06> Index: fbpanel-6.0/data/man/fbpanel.1.in =================================================================== --- fbpanel-6.0.orig/data/man/fbpanel.1.in 2010-07-06 03:20:59.000000000 -0300 +++ fbpanel-6.0/data/man/fbpanel.1.in 2010-07-06 03:21:34.000000000 -0300 @@ -1,5 +1,5 @@ .\" man page originally for the Debian/GNU Linux system -.TH FBPANEL "1" "May 2005" "fbpanel %%version%%" "User Commands" +.TH FBPANEL "1" "Jul 2010" "fbpanel %%version%%" "User Commands" .SH NAME fbpanel \- a NETWM compliant lightweight GTK2-based panel for UNIX desktop. .SH SYNOPSIS @@ -48,42 +48,42 @@ \-- open configuration dialog .TP \fB\--profile \fR -\-- use specified profile. The profile is loaded from the file ~/.fbpanel/. -If that fails, fbpanel will load @DATADIR@/. -No -p option is equivalent to -p default +\-- use specified profile. The profile is loaded from the file ~/.config/fbpanel/. +If that fails, fbpanel will load /usr/share/fbpanel/default. +No \-p option is equivalent to \-p default .TP \fB\-h\fR -\-- same as --help +\-- same as \-\-help .TP \fB\-p\fR -\-- same as --profile +\-- same as \-\-profile .TP \fB\-v\fR -\-- same as --version +\-- same as \-\-version .TP \fB\-C\fR -\-- same as --configure +\-- same as \-\-configure .SH CUSTOMIZATION -To change default settings, copy profile file to your home directory -.br - mkdir -p ~/.fbpanel - cp @DATADIR@/default ~/.fbpanel -.br -and edit it. Default profile file contains comments and explanation inside, -so it should be easy. For full list of options please visit fbpanel's home page. + +fbpanel will create a default profile file in case there noone exists already. +Default profile file contains comments and explanation inside, +so it should be easy. + +For a complete list of options and examples, please read '/usr/share/doc/fbpanel/README'. .SH FILES .TP -@DATADIR@/ -Directory with system-wide resources and default settings -.TP -~/.fbpanel/ +~/.config/fbpanel/ Directory with the user's private profiles .TP -~/.fbpanel/default +~/.config/fbpanel/default The user's default profile. +.TP +/usr/share/doc/fbpanel/README +The fbpanel documentation. Contain a list of features and pretty useful examples of their funcionality. .SH AUTHOR fbpanel was written by Anatoly Asviyan . This manual page was originally written for the -Debian GNU/Linux system by Shyamal Prasad . +Debian GNU/Linux system by Shyamal Prasad and updated +by Ulises Vitulli . Index: fbpanel-6.0/data/man/fbpanel.1 =================================================================== --- fbpanel-6.1.orig/data/man/fbpanel.1 +++ fbpanel-6.1/data/man/fbpanel.1 @@ -1,5 +1,5 @@ .\" man page originally for the Debian/GNU Linux system -.TH FBPANEL "1" "May 2005" "fbpanel 6.1" "User Commands" +.TH FBPANEL "1" "Jul 2010" "fbpanel 6.1" "User Commands" .SH NAME fbpanel \- a NETWM compliant lightweight GTK2-based panel for UNIX desktop. .SH SYNOPSIS @@ -48,42 +48,42 @@ http://fbpanel.sf.net/ \-- open configuration dialog .TP \fB\--profile \fR -\-- use specified profile. The profile is loaded from the file ~/.fbpanel/. -If that fails, fbpanel will load @DATADIR@/. -No -p option is equivalent to -p default +\-- use specified profile. The profile is loaded from the file ~/.config/fbpanel/. +If that fails, fbpanel will load /usr/share/fbpanel/default. +No \-p option is equivalent to \-p default .TP \fB\-h\fR -\-- same as --help +\-- same as \-\-help .TP \fB\-p\fR -\-- same as --profile +\-- same as \-\-profile .TP \fB\-v\fR -\-- same as --version +\-- same as \-\-version .TP \fB\-C\fR -\-- same as --configure +\-- same as \-\-configure .SH CUSTOMIZATION -To change default settings, copy profile file to your home directory -.br - mkdir -p ~/.fbpanel - cp @DATADIR@/default ~/.fbpanel -.br -and edit it. Default profile file contains comments and explanation inside, -so it should be easy. For full list of options please visit fbpanel's home page. + +fbpanel will create a default profile file in case there noone exists already. +Default profile file contains comments and explanation inside, +so it should be easy. + +For a complete list of options and examples, please read '/usr/share/doc/fbpanel/README'. .SH FILES .TP -@DATADIR@/ -Directory with system-wide resources and default settings -.TP -~/.fbpanel/ +~/.config/fbpanel/ Directory with the user's private profiles .TP -~/.fbpanel/default +~/.config/fbpanel/default The user's default profile. +.TP +/usr/share/doc/fbpanel/README +The fbpanel documentation. Contain a list of features and pretty useful examples of their funcionality. .SH AUTHOR fbpanel was written by Anatoly Asviyan . This manual page was originally written for the -Debian GNU/Linux system by Shyamal Prasad . +Debian GNU/Linux system by Shyamal Prasad and updated +by Ulises Vitulli . debian/patches/debian-logo.patch0000644000000000000000000000121611622220404014007 0ustar Description: Use a nice Debian logo for the menu list ;-) Origin: Dererk Index: fbpanel-6.1/data/config/default.in =================================================================== --- fbpanel-6.1.orig/data/config/default.in 2010-07-15 05:54:48.000000000 -0300 +++ fbpanel-6.1/data/config/default.in 2010-07-15 05:55:08.000000000 -0300 @@ -142,7 +142,8 @@ config { IconSize = 22 #icon = start-here - icon = logo + # Use a nice Debian logo for the menu list ;-) + image = /usr/share/pixmaps/debian-logo.png systemmenu { } separator { debian/patches/series0000644000000000000000000000020511772106114012027 0ustar hardcoded-shortcuts.patch manpage-enhance.patch debian-logo.patch gui-typo.patch ftbfs-hurd.patch plugins_volume_oss+alsa_hint.patch debian/patches/hardcoded-shortcuts.patch0000644000000000000000000000243511622220404015604 0ustar Description: Don't set hardcoded apps and use Debian Alternatives system. Origin: Dererk Bug-Debian: http://bugs.debian.org/#585577 Last-Update: <2010-07-05> Index: fbpanel-6.1/exec/make_profile.in =================================================================== --- fbpanel-6.1.orig/exec/make_profile.in 2010-07-15 05:21:58.000000000 -0300 +++ fbpanel-6.1/exec/make_profile.in 2010-07-15 05:23:02.000000000 -0300 @@ -46,19 +46,11 @@ { [ -r "$spdir/$1" ] || return 1 - local browser terminal filer - for browser in x-www-browser firefox opera; do - if which $browser 2> /dev/null > /dev/null; then - opt="$opt -e s/x-www-browser/$browser/" - break - fi - done - for terminal in x-terminal urxvt gnome-terminal; do - if which $terminal 2> /dev/null > /dev/null; then - opt="$opt -e s/x-terminal/$terminal/" - break - fi - done + # Don't override this and use Debian Alternatives system (See #585577). + opt="$opt -e s/x-www-browser/x-www-browser/" + opt="$opt -e s/x-terminal/x-terminal-emulator/" + + local filer for filer in x-file-manager thunar pcmanfm rox; do if which $filer 2> /dev/null > /dev/null; then opt="$opt -e s/x-file-manager/$filer/" debian/patches/ftbfs-hurd.patch0000644000000000000000000000125211622217261013702 0ustar --- fbpanel-6.1.orig/plugins/volume/volume.c.orig 2011-08-12 11:42:20.000000000 +0000 +++ fbpanel-6.1/plugins/volume/volume.c 2011-08-12 11:42:31.000000000 +0000 @@ -9,9 +9,7 @@ #include #include #include -#if defined __linux__ -#include -#endif +#include //#define DEBUGPRN #include "dbg.h" --- fbpanel-6.1.orig/plugins/battery/battery.c.orig 2011-08-12 12:22:05.000000000 +0000 +++ fbpanel-6.1/plugins/battery/battery.c 2011-08-12 12:22:15.000000000 +0000 @@ -55,7 +55,7 @@ #include "os_linux.c" #else -static void +static gboolean battery_update_os(battery_priv *c) { c->exist = FALSE; debian/copyright0000644000000000000000000000413211772142046011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: fbpanel Upstream-Contact: Anatoly Asviyan Source: http://sourceforge.net/projects/fbpanel/files/ Files: * Copyright: 2010 Anatoly Asviyan (aka Arsen) 2000 Peter Zelezny License: GPL-2.0 Files: debian/terminal_color.svg debian/terminal_sketch.svg Copyright: 2011-2012 Francesco Poli License: GPL-2.0 Files: debian/* Copyright: 2003-2008 Matthew Palmer 2008-2012 Ulises Vitulli License: GPL-3.0+ License: GPL-2.0 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; either version 2 of the License, or (at your option) any later version. . 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: GPL-3.0+ This program 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, either version 3 of the License, or (at your option) any later version. . 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 program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/preinst0000644000000000000000000000027611543557272010615 0ustar #!/bin/sh set -e # Reference: #588578 if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then dpkg-maintscript-helper rm_conffile /etc/fbpanel/default -- "$@" fi #DEBHELPER#