- Completely rewritten launcher (Bugs 2336, 2365, 1323, 2262 and 1225) - Various improvements in libxfce4panel (memory leaks, G_GNUC_INTERNAL, GSList, canonical strings and fixed pedantic warnings). - Libxfce4panel does no longer depend on libxfcegui4. This might cause some problems with plugins. Plugin developers should add libxfcegui4 to the dependencies of their package (including cflags and libadd in the makefiles). (Old svn revision: 25077)upstream/xfce4-panel-4.10.1

@ -1,6 +1,3 @@ |
|||
This license applies to the libraries in this package, but not the |
|||
applications. See header comments in specific source files. |
|||
|
|||
GNU LIBRARY GENERAL PUBLIC LICENSE |
|||
Version 2, June 1991 |
|||
|
@ -1,58 +1,85 @@ |
|||
This file describes the coding style I prefer for the panel. If you want to |
|||
help out with panel development, please try to conform to these 'rules'. |
|||
-- Jasper |
|||
|
|||
* 2006-12-26 |
|||
|
|||
Nick prefers to align variable declarations, so here is an updated set of rules: |
|||
|
|||
- Coding style: |
|||
o Indentation is 4 spaces. Expand tabs, i.e. only use spaces for indentation. |
|||
o Braces are on a new line. For one-line if statements braces may be omitted. |
|||
o Return type of function definitions on a separate line. |
|||
o Function arguments on separate lines with the same alignment rules as |
|||
variable declarations. |
|||
o Variable declarations are aligned on the variable name. Short variable |
|||
declarations may be combined. Example: |
|||
|
|||
static gboolean |
|||
example_function (GtkWidget *widget, |
|||
Panel *panel, |
|||
int value) |
|||
{ |
|||
XfceHandleType type; |
|||
const char *string; |
|||
int important_value; |
|||
int i, n, x, y; |
|||
/* ... */ |
|||
} |
|||
|
|||
o In header files and for static prototypes, you may align functions names as |
|||
well as arguments. No need to limit the line length. Example: |
|||
|
|||
static gboolean xfce_panel_long_name_for_example_function (GtkWidget *widget, |
|||
Panel *panel, |
|||
int value); |
|||
|
|||
static void example_function_2 (Panel *panel, |
|||
const char *value); |
|||
|
|||
- ChangeLog: I use the svn2cl package to create the changelog from the SVN log |
|||
messages. |
|||
o Website: http://ch.tudelft.nl/~arthur/svn2cl/ . |
|||
o Current version: 0.8. |
|||
o Command line: svn2cl.sh --linelen=74 --break-before-msg . |
|||
Note: I don't care about linelen, but with this parameter the changes with |
|||
previous ChangeLog were smallest. |
|||
|
|||
- Patches: use 'svn diff' to create patches if possible, or 'diff -u'. |
|||
Bug tracking system |
|||
=================== |
|||
|
|||
To report bugs or file feature requests for xfce4-panel, please |
|||
use the Xfce bugzilla at http://bugzilla.xfce.org/. The product |
|||
is Xfce, component xfce4-panel. |
|||
Before reporting the bug, please search the bug tracker, to make |
|||
sure it wasn't reported already before. |
|||
|
|||
|
|||
Patches |
|||
======= |
|||
|
|||
Please submit patches to the Xfce bug tracking system or use the |
|||
xfce4-dev mailinglists. |
|||
|
|||
Please send a patch againts a recent version of xfce4-panel. Patches |
|||
against the Subversion trunk branch are most preferable. You can always |
|||
access the trunk branch from |
|||
|
|||
http://svn.xfce.org/svn/xfce/xfce4-panel/trunk |
|||
|
|||
or using an installed Subversion client |
|||
|
|||
svn co http://svn.xfce.org/svn/xfce/xfce4-panel/trunk xfce4-panel |
|||
|
|||
|
|||
Coding Style |
|||
============ |
|||
|
|||
- Always expand tabs, so the code is not dependent from a gives tab |
|||
setting. |
|||
- Braces are on a new line. For one-line if statements braces may be omitted. |
|||
- Return type of function definitions on a separate line. |
|||
- Function arguments on separate lines with the same alignment rules as |
|||
variable declarations. |
|||
- Use 3 empty lines between functions. |
|||
- Variable declarations are aligned on the variable name. Short variable |
|||
declarations may be combined. Example: |
|||
|
|||
static gboolean |
|||
example_function (GtkWidget *widget, |
|||
Panel *panel, |
|||
gint value) |
|||
{ |
|||
XfceHandleType type; |
|||
const gchar *string; |
|||
gint important_value; |
|||
gint i, n, x, y; |
|||
/* ... */ |
|||
} |
|||
|
|||
- In header files and for static prototypes, you may align functions names as |
|||
well as arguments. No need to limit the line length. Example: |
|||
|
|||
static gboolean xfce_panel_long_name_for_example_function (GtkWidget *widget, |
|||
Panel *panel, |
|||
gint value); |
|||
static void example_function_2 (Panel *panel, |
|||
const gchar *value); |
|||
- Write ChangeLog entries. |
|||
|
|||
|
|||
ChangeLogs |
|||
========== |
|||
|
|||
I use the svn2cl package to create the changelog from the SVN log messages. |
|||
|
|||
- Website: http://ch.tudelft.nl/~arthur/svn2cl/ . |
|||
- Current version: 0.8. |
|||
- Command line: svn2cl.sh --linelen=74 --break-before-msg. |
|||
|
|||
Note: I don't care about linelen, but with this parameter the changes with |
|||
previous ChangeLog were smallest. |
|||
|
|||
|
|||
Misc |
|||
==== |
|||
- If you have SVN access it is ok to commit trivial changes directly, but |
|||
please send a patch to the mailing list for discussion for any non-trivial |
|||
or non-obvious changes. |
|||
|
|||
- As an exception to the rule above, if you are managing an Xfce release, feel |
|||
free to do anything you need to achieve that goal. |
|||
|
|||
- Managing the po/ directory, including the ChangeLog found there is left |
|||
completely in the hands of the Xfce Translation Team. |
|||
|
@ -1,20 +0,0 @@ |
|||
The Xfce Panel supports the KIOSK mode introduced with libxfce4util 4.1.13. It |
|||
provides the following KIOSK capabilities: |
|||
|
|||
CustomizePanel Only users with this capability will be allowed |
|||
to customize their panel (add panel plugins, |
|||
configure panel plugins, add launchers, etc.). |
|||
This is similar to setting the environment va- |
|||
riable XFCE_DISABLE_USER_CONFIG with the old |
|||
panel. |
|||
|
|||
|
|||
So a sample xfce4-panel section in your kioskrc might look like this: |
|||
|
|||
--- snip --- |
|||
[xfce4-panel] |
|||
CustomizePanel=%powerusers,foo |
|||
--- snip --- |
|||
|
|||
This allows only users in the group powerusers and the user foo to customize |
|||
their panels. |
@ -1,4 +0,0 @@ |
|||
Information about the plugin system can be found on the Xfce wiki: |
|||
|
|||
http://wiki.xfce.org/panel_plugins_howto |
|||
|
@ -0,0 +1,46 @@ |
|||
General |
|||
======= |
|||
* Improve the code layout, so it is consistent and easy to read. We should also |
|||
add more comments inside functions. (Nick & Jasper) |
|||
|
|||
Launcher |
|||
======== |
|||
* Finish the orientation code. I have no idea what to do here, because we |
|||
have no solution for the customizable arrow direction yet. (Nick) |
|||
* We also need a good way to popup the launcher menu when we drag over the |
|||
button. (Nick) |
|||
|
|||
|
|||
Panel |
|||
===== |
|||
* Re-evaluate interfaces. Make sure not too much implementation detail is |
|||
visible between separate parts of the panel. |
|||
|
|||
|
|||
Libxfce4panel |
|||
============= |
|||
* In xfce-panel-plugin-iface we use g_object_{get,set} all over the place, |
|||
this should be changed to reduce the number of relocations. |
|||
* Create some macros for common used code in plugins. This should make writing |
|||
consistent plugins easier. |
|||
|
|||
|
|||
Tasklist |
|||
======== |
|||
* We're going to rewrite the tasklist, see bug #2680 for more information. (Nick) |
|||
|
|||
|
|||
--- End of sane plans --- |
|||
|
|||
Blue Sky |
|||
======== |
|||
|
|||
* Transparency. The way cairo is integrated into gtk means we will need to |
|||
write our own widgets for panel plugins, because every widget with a window |
|||
needs to handle this separately :( See |
|||
http://www.loculus.nl/xfce/files/panel-cairo-20070125.patch for a quick |
|||
hack. |
|||
It would be much nicer if transparency were a style property, configurable |
|||
by a gtkrc file, but I don't think that will happen any time soon... |
|||
|
|||
|
@ -1,18 +1,35 @@ |
|||
# $Id$
|
|||
|
|||
confdir = \
|
|||
$(sysconfdir)/xdg/xfce4/panel |
|||
|
|||
conf_in_files = \
|
|||
launcher-7.rc.in \
|
|||
launcher-8.rc.in \
|
|||
launcher-9.rc.in \
|
|||
launcher-10.rc.in |
|||
|
|||
conf_files = $(conf_in_files:.rc.in=.rc) |
|||
conf_files = \
|
|||
$(conf_in_files:.rc.in=.rc) |
|||
|
|||
confdir = $(sysconfdir)/xdg/xfce4/panel |
|||
conf_DATA = panels.xml systray-4.rc xfce4-menu-5.rc clock-14.rc $(conf_files) |
|||
conf_DATA = \
|
|||
panels.xml \
|
|||
systray-4.rc \
|
|||
xfce4-menu-5.rc \
|
|||
clock-14.rc \
|
|||
$(conf_files) |
|||
|
|||
# copied from INTLTOOL_DESKTOP_RULE
|
|||
%.rc: %.rc.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ |
|||
|
|||
EXTRA_DIST = panels.xml systray-4.rc xfce4-menu-5.rc clock-14.rc $(conf_in_files) |
|||
EXTRA_DIST = \
|
|||
panels.xml \
|
|||
systray-4.rc \
|
|||
xfce4-menu-5.rc \
|
|||
clock-14.rc \
|
|||
$(conf_in_files) |
|||
|
|||
distclean-local: |
|||
distclean-local: |
|||
rm -f $(conf_files) |
|||
|
|||
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
|
|||
|
@ -1,8 +1,11 @@ |
|||
[Global] |
|||
MoveFirst=false |
|||
|
|||
[Entry 0] |
|||
_Name=Web Browser |
|||
_Comment=Surf the internet |
|||
Icon=internet-web-browser |
|||
Exec=exo-open --launch WebBrowser |
|||
Terminal=false |
|||
StartupNotify=false |
|||
_Comment=Surf the internet |
|||
X-XFCE-IconCategory=7 |
|||
|
|||
|
@ -1,8 +1,11 @@ |
|||
[Global] |
|||
MoveFirst=false |
|||
|
|||
[Entry 0] |
|||
_Name=Editor |
|||
_Comment=Edit text files |
|||
Icon=accessories-text-editor |
|||
Exec=mousepad |
|||
Terminal=false |
|||
StartupNotify=true |
|||
_Comment=Edit text files |
|||
X-XFCE-IconCategory=1 |
|||
|
|||
|
@ -1,8 +1,11 @@ |
|||
[Global] |
|||
MoveFirst=false |
|||
|
|||
[Entry 0] |
|||
_Name=File Manager |
|||
_Comment=Manage files and folders |
|||
Icon=Thunar |
|||
Exec=thunar |
|||
Terminal=false |
|||
StartupNotify=true |
|||
_Comment=Manage files and folders |
|||
X-XFCE-IconCategory=2 |
|||
|
|||
|
@ -1,135 +0,0 @@ |
|||
dnl configure.ac |
|||
dnl |
|||
dnl xfce4 - panel for the Xfce Desktop environment |
|||
dnl |
|||
dnl 2005-2007 Jasper Huijsmans <jasper@xfce.org> |
|||
dnl |
|||
|
|||
dnl library version info |
|||
m4_define([libxfce4panel_verinfo], [2:2:1]) |
|||
|
|||
dnl panel version info |
|||
m4_define([xfce4_panel_version_major], [4]) |
|||
m4_define([xfce4_panel_version_minor], [4]) |
|||
m4_define([xfce4_panel_version_micro], [0]) |
|||
m4_define([xfce4_panel_version_nano], []) dnl leave this empty to have no nano version |
|||
m4_define([xfce4_panel_version_build], [@REVISION@]) |
|||
m4_define([xfce4_panel_version_tag], []) |
|||
|
|||
m4_define([xfce4_panel_version], [xfce4_panel_version_major().xfce4_panel_version_minor().xfce4_panel_version_micro()ifelse(xfce4_panel_version_nano(), [], [], [.xfce4_panel_version_nano()])ifelse(xfce4_panel_version_tag(), [svn], [xfce4_panel_version_tag()-xfce4_panel_version_build()], [xfce4_panel_version_tag()])]) |
|||
|
|||
|
|||
|
|||
dnl init autoconf |
|||
AC_COPYRIGHT([Copyright (c) 2002-2007 |
|||
The Xfce development team. All rights reserved. |
|||
|
|||
Written for Xfce by Jasper Huijsmans <jasper@xfce.org>.]) |
|||
AC_INIT([xfce4-panel], [xfce4_panel_version()], [xfce4-dev@xfce.org]) |
|||
|
|||
dnl init automake |
|||
XFCE4_PANEL_VERSION=xfce4_panel_version() |
|||
AM_INIT_AUTOMAKE([xfce4-panel], [$XFCE4_PANEL_VERSION]) |
|||
AM_CONFIG_HEADER([config.h]) |
|||
AM_MAINTAINER_MODE |
|||
|
|||
dnl Check for UNIX variants |
|||
AC_AIX |
|||
AC_ISC_POSIX |
|||
AC_MINIX |
|||
AM_CONDITIONAL([HAVE_CYGWIN], [test "`uname | grep \"CYGWIN\"`" != ""]) |
|||
|
|||
dnl disable static libs |
|||
AC_DISABLE_STATIC |
|||
|
|||
dnl Check for basic programs |
|||
AC_PROG_CC() |
|||
AC_PROG_INSTALL() |
|||
AC_PROG_LN_S() |
|||
AC_PROG_LIBTOOL() |
|||
|
|||
AC_PROG_INTLTOOL([0.31], [no-xml]) |
|||
|
|||
dnl patch intltool-update to support *.rc.in config files |
|||
AC_CONFIG_COMMANDS([intltool-update], |
|||
[(sed -e 's/^\("desktop.*".*\)/\1\n"rc(?:\\\\.in)+|"\./' intltool-update > intltool-update-tmp && |
|||
mv intltool-update-tmp intltool-update && chmod 755 intltool-update)]) |
|||
|
|||
LIBXFCE4PANEL_VERINFO=libxfce4panel_verinfo() |
|||
AC_SUBST([LIBXFCE4PANEL_VERINFO]) |
|||
|
|||
dnl Check for standard header files |
|||
AC_HEADER_STDC |
|||
AC_CHECK_HEADERS([signal.h stddef.h sys/wait.h time.h string.h sys/mman.h]) |
|||
AC_CHECK_FUNCS([sigaction]) |
|||
AC_FUNC_MMAP() |
|||
|
|||
dnl Check for i18n support |
|||
XDT_I18N([@LINGUAS@]) |
|||
|
|||
dnl Check for X11 installed |
|||
XDT_CHECK_LIBX11_REQUIRE |
|||
XDT_CHECK_LIBSM |
|||
|
|||
dnl Check for required packages |
|||
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0]) |
|||
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0]) |
|||
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0]) |
|||
XDT_CHECK_PACKAGE(LIBXFCE4MCS_MANAGER, libxfce4mcs-manager-1.0, 4.4.0) |
|||
XFCE_MCS_PLUGIN([XFCE_MCS_MANAGER], [4.4.0]) |
|||
|
|||
dnl Check for optional packages |
|||
XDT_CHECK_OPTIONAL_PACKAGE([LIBSTARTUP_NOTIFICATION], |
|||
[libstartup-notification-1.0], [0.5], |
|||
[startup-notification], |
|||
[startup notification library], [yes]) |
|||
|
|||
dnl install dummy scripts? |
|||
AC_ARG_ENABLE([dummy-scripts], |
|||
AC_HELP_STRING([--enable-dummy-scripts], |
|||
[Install empty scripts for the deprecated xftaskbar4 |
|||
and xfce4-iconbox (default=enabled)]), |
|||
[ac_cv_enable_dummy_scripts=$enableval], |
|||
[ac_cv_enable_dummy_scripts=yes]) |
|||
if test "x$ac_cv_enable_dummy_scripts" = "xno"; then |
|||
DUMMY_SCRIPTS="" |
|||
else |
|||
DUMMY_SCRIPTS="xftaskbar4 xfce4-iconbox" |
|||
fi |
|||
AC_SUBST(DUMMY_SCRIPTS) |
|||
|
|||
dnl gtk-doc |
|||
GTK_DOC_CHECK([1.0]) |
|||
|
|||
dnl Check for debugging support |
|||
XDT_FEATURE_DEBUG() |
|||
|
|||
AC_OUTPUT([ |
|||
xfce4-panel.spec |
|||
Makefile |
|||
config/Makefile |
|||
icons/Makefile |
|||
libxfce4panel/Makefile |
|||
libxfce4panel/libxfce4panel-1.0.pc |
|||
panel/Makefile |
|||
plugins/actions/Makefile |
|||
plugins/clock/Makefile |
|||
plugins/iconbox/Makefile |
|||
plugins/launcher/Makefile |
|||
plugins/Makefile |
|||
plugins/pager/Makefile |
|||
plugins/separator/Makefile |
|||
plugins/showdesktop/Makefile |
|||
plugins/systray/Makefile |
|||
plugins/tasklist/Makefile |
|||
plugins/windowlist/Makefile |
|||
mcs-plugin/Makefile |
|||
po/Makefile.in |
|||
docs/Makefile |
|||
docs/API/Makefile |
|||
docs/API/version.xml |
|||
docs/manual/Makefile |
|||
docs/manual/C/Makefile |
|||
docs/manual/C/images/Makefile |
|||
]) |
|||
|
@ -0,0 +1,205 @@ |
|||
dnl $Id$ |
|||
dnl |
|||
dnl Copyright (c) 2004-2006 |
|||
dnl The Xfce development team. All rights reserved. |
|||
dnl |
|||
dnl 2005-2007 Jasper Huijsmans <jasper@xfce.org> |
|||
dnl 2006-2007 Nick Schermer <nick@xfce.org> |
|||
dnl |
|||
|
|||
dnl *************************** |
|||
dnl *** Version information *** |
|||
dnl *************************** |
|||
m4_define([libxfce4panel_verinfo], [2:2:1]) |
|||
m4_define([xfce4_panel_version_major], [4]) |
|||
m4_define([xfce4_panel_version_minor], [5]) |
|||
m4_define([xfce4_panel_version_micro], [0]) |
|||
m4_define([xfce4_panel_version_nano], [2]) dnl leave this empty to have no nano version |
|||
m4_define([xfce4_panel_version_build], [r@REVISION@]) |
|||
m4_define([xfce4_panel_version_tag], [svn]) |
|||
m4_define([xfce4_panel_version], [xfce4_panel_version_major().xfce4_panel_version_minor().xfce4_panel_version_micro()ifelse(xfce4_panel_version_nano(), [], [], [.xfce4_panel_version_nano()])ifelse(xfce4_panel_version_tag(), [svn], [xfce4_panel_version_tag()-xfce4_panel_version_build()], [xfce4_panel_version_tag()])]) |
|||
|
|||
dnl *************************** |
|||
dnl *** Initialize autoconf *** |
|||
dnl *************************** |
|||
AC_COPYRIGHT([Copyright (c) 2002-2007 |
|||
The Xfce development team. All rights reserved. |
|||
|
|||
Written for Xfce by Jasper Huijsmans <jasper@xfce.org>.]) |
|||
AC_INIT([xfce4-panel], [xfce4_panel_version()], [http://bugzilla.xfce.org/], [xfce4-panel]) |
|||
AC_PREREQ([2.50]) |
|||
AC_REVISION([$Id$]) |
|||
|
|||
dnl *************************** |
|||
dnl *** Initialize automake *** |
|||
dnl *************************** |
|||
AM_CONFIG_HEADER([config.h]) |
|||
AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar]) |
|||
AM_MAINTAINER_MODE() |
|||
|
|||
dnl ******************************* |
|||
dnl *** Check for UNIX variants *** |
|||
dnl ******************************* |
|||
AC_AIX() |
|||
AC_ISC_POSIX() |
|||
AC_MINIX() |
|||
AM_CONDITIONAL([HAVE_CYGWIN], [test "`uname | grep \"CYGWIN\"`" != ""]) |
|||
|
|||
dnl ******************************** |
|||
dnl *** Check for basic programs *** |
|||
dnl ******************************** |
|||
AC_PROG_CC() |
|||
AC_PROG_INSTALL() |
|||
AC_PROG_LN_S() |
|||
AC_PROG_INTLTOOL([0.31], [no-xml]) |
|||
|
|||
dnl ************************** |
|||
dnl *** Initialize libtool *** |
|||
dnl ************************** |
|||
AC_DISABLE_STATIC() |
|||
AC_PROG_LIBTOOL() |
|||
|
|||
dnl **************************** |
|||
dnl *** Intltool-update hack *** |
|||
dnl **************************** |
|||
AC_CONFIG_COMMANDS([intltool-update], |
|||
[(sed -e 's/^\("desktop.*".*\)/\1\n"rc(?:\\\\.in)+|"\./' intltool-update > intltool-update-tmp && |
|||
mv intltool-update-tmp intltool-update && chmod 755 intltool-update)]) |
|||
|
|||
dnl ************************************** |
|||
dnl *** Substitute version information *** |
|||
dnl ************************************** |
|||
LIBXFCE4PANEL_VERINFO=libxfce4panel_verinfo() |
|||
AC_SUBST([LIBXFCE4PANEL_VERINFO]) |
|||
|
|||
dnl ********************************** |
|||
dnl *** Check for standard headers *** |
|||
dnl ********************************** |
|||
AC_HEADER_STDC() |
|||
AC_CHECK_HEADERS([stdlib.h unistd.h locale.h stdio.h fcntl.h errno.h \ |
|||
math.h signal.h stddef.h sys/wait.h sys/stat.h \ |
|||
sys/type.h sys/mman.h time.h string.h]) |
|||
|
|||
dnl ************************************ |
|||
dnl *** Check for standard functions *** |
|||
dnl ************************************ |
|||
AC_FUNC_MMAP() |
|||
AC_CHECK_FUNCS([sigaction]) |
|||
|
|||
dnl ****************************** |
|||
dnl *** Check for i18n support *** |
|||
dnl ****************************** |
|||
XDT_I18N([@LINGUAS@]) |
|||
|
|||
dnl ******************************* |
|||
dnl *** Check for X11 installed *** |
|||
dnl ******************************* |
|||
XDT_CHECK_LIBX11_REQUIRE() |
|||
XDT_CHECK_LIBSM() |
|||
|
|||
dnl *********************************** |
|||
dnl *** Check for required packages *** |
|||
dnl *********************************** |
|||
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0]) |
|||
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.4]) |
|||
XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.4]) |
|||
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0]) |
|||
XDT_CHECK_PACKAGE([LIBEXO], [exo-0.3], [0.3.1.11]) |
|||
|
|||
dnl *********************************** |
|||
dnl *** Check for optional packages *** |
|||
dnl *********************************** |
|||
XDT_CHECK_OPTIONAL_PACKAGE([XFCE_MCS_MANAGER], |
|||
[xfce-mcs-manager], |
|||
[4.4.0], [mcs-plugin], |
|||
[xfce-mcs-manager], [yes]) |
|||
|
|||
XDT_CHECK_OPTIONAL_PACKAGE([LIBSTARTUP_NOTIFICATION], |
|||
[libstartup-notification-1.0], |
|||
[0.5], [startup-notification], |
|||
[startup notification library], [yes]) |
|||
|
|||
dnl ******************************* |
|||
dnl *** Check for dummy scripts *** |
|||
dnl ******************************* |
|||
AC_ARG_ENABLE([dummy-scripts], |
|||
AC_HELP_STRING([--enable-dummy-scripts], |
|||
[Install empty scripts for the deprecated xftaskbar4 and xfce4-iconbox @<:@default=enabled@:>@]), |
|||
[enable_dummy_scripts=$enableval], |
|||
[enable_dummy_scripts=yes]) |
|||
AM_CONDITIONAL([ENABLE_DUMMY_SCRIPTS], [test x"$enable_dummy_scripts" = x"yes"]) |
|||
|
|||
|
|||
dnl ************************* |
|||
dnl *** Check for gtk-doc *** |
|||
dnl ************************* |
|||
GTK_DOC_CHECK([1.0]) |
|||
|
|||
dnl *********************************** |
|||
dnl *** Check for debugging support *** |
|||
dnl *********************************** |
|||
XDT_FEATURE_DEBUG() |
|||
|
|||
dnl ********************************* |
|||
dnl *** Substitute platform flags *** |
|||
dnl ********************************* |
|||
AC_MSG_CHECKING([PLATFORM_CPPFLAGS]) |
|||
AC_MSG_RESULT([$PLATFORM_CPPFLAGS]) |
|||
AC_SUBST([PLATFORM_CPPFLAGS]) |
|||
AC_MSG_CHECKING([PLATFORM_CFLAGS]) |
|||
AC_MSG_RESULT([$PLATFORM_CFLAGS]) |
|||
AC_SUBST([PLATFORM_CFLAGS]) |
|||
AC_MSG_CHECKING([PLATFORM_LDFLAGS]) |
|||
AC_MSG_RESULT([$PLATFORM_LDFLAGS]) |
|||
AC_SUBST([PLATFORM_LDFLAGS]) |
|||
|
|||
AC_OUTPUT([ |
|||
xfce4-panel.spec |
|||
Makefile |
|||
config/Makefile |
|||
icons/Makefile |
|||
icons/16x16/Makefile |
|||
icons/48x48/Makefile |
|||
libxfce4panel/Makefile |
|||
libxfce4panel/libxfce4panel-1.0.pc |
|||
panel/Makefile |
|||
plugins/actions/Makefile |
|||
plugins/clock/Makefile |
|||
plugins/iconbox/Makefile |
|||
plugins/launcher/Makefile |
|||
plugins/Makefile |
|||
plugins/pager/Makefile |
|||
plugins/separator/Makefile |
|||
plugins/showdesktop/Makefile |
|||
plugins/systray/Makefile |
|||
plugins/tasklist/Makefile |
|||
plugins/windowlist/Makefile |
|||
mcs-plugin/Makefile |
|||
po/Makefile.in |
|||
docs/Makefile |
|||
docs/API/Makefile |
|||
docs/API/version.xml |
|||
docs/manual/Makefile |
|||
docs/manual/C/Makefile |
|||
docs/manual/C/images/Makefile |
|||
]) |
|||
|
|||
dnl *************************** |
|||
dnl *** Print configuration *** |
|||
dnl *************************** |
|||
echo |
|||
echo "Build Configuration:" |
|||
echo |
|||
if test x"$LIBSTARTUP_NOTIFICATION_FOUND" = x"yes"; then |
|||
echo "* Startup Notification: yes" |
|||
else |
|||
echo "* Startup Notification: no" |
|||
fi |
|||
if test x"$XFCE_MCS_MANAGER_FOUND" = x"yes"; then |
|||
echo "* Xfce Settings Manager plugin: yes" |
|||
else |
|||
echo "* Xfce Settings Manager plugin: no" |
|||
fi |
|||
echo "* Debugging Support: $enable_debug" |
|||
echo "* Dummy Scripts: $enable_dummy_scripts" |
|||
echo |
@ -0,0 +1,15 @@ |
|||
# $Id$
|
|||
|
|||
iconsdir = $(datadir)/icons/hicolor/16x16/apps |
|||
|
|||
icons_DATA = \
|
|||
xfce-system-settings.png \
|
|||
xfce-system-lock.png \
|
|||
xfce-system-info.png \
|
|||
xfce-system-exit.png |
|||
|
|||
|
|||
EXTRA_DIST = \
|
|||
$(icons_DATA) |
|||
|
|||
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
|
Before Width: | Height: | Size: 688 B After Width: | Height: | Size: 688 B |
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 572 B After Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 652 B |
@ -0,0 +1,14 @@ |
|||
# $Id$
|
|||
|
|||
iconsdir = $(datadir)/icons/hicolor/48x48/apps |
|||
|
|||
icons_DATA = \
|
|||
xfce4-panel.png \
|
|||
xfce4-iconbox.png \
|
|||
xfce4-taskbar.png \
|
|||
xfce-mouse.png |
|||
|
|||
EXTRA_DIST = \
|
|||
$(icons_DATA) |
|||
|
|||
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.6 KiB |
@ -1,18 +1,11 @@ |
|||
prefix=@prefix@ |
|||
datadir=@datadir@ |
|||
exec_prefix=@exec_prefix@ |
|||
libdir=@libdir@ |
|||
libexecdir=@libexecdir@ |
|||
includedir=@includedir@ |
|||
localedir=@localedir@ |
|||
|
|||
internalplugindir=${libdir}/xfce4/panel-plugins |
|||
externalplugindir=${libexecdir}/xfce4/panel-plugins |
|||
desktopdatadir=${datadir}/xfce4/panel-plugins |
|||
|
|||
Name: libxfce4panel |
|||
Description: Library for the Xfce Panel |
|||
Requires: libxfcegui4-1.0 libxfce4util-1.0 |
|||
Version: @VERSION@ |
|||
Requires: libxfce4util-1.0 libxfcegui4-1.0 |
|||
Version: @PACKAGE_VERSION@ |
|||
Libs: -L${libdir} -lxfce4panel |
|||
Cflags: -I${includedir}/xfce4/ |
|||
|