Browse Source

Update for 4.4beta1.

(Old svn revision: 20992)
upstream/xfce4-panel-4.10.1
Benedikt Meurer 17 years ago
parent
commit
072604f528
  1. 18
      Makefile.am
  2. 12
      configure.ac
  3. 16
      icons/Makefile.am
  4. 2
      panel/panel.c
  5. 56
      po/xfce4-panel.pot
  6. 49
      xfce4-panel.spec.in

18
Makefile.am

@ -1,4 +1,4 @@
@SET_MAKE@
# $Id$
EXTRA_DIST = \
intltool-extract.in \
@ -14,13 +14,13 @@ EXTRA_DIST = \
README \
README.Kiosk \
README.Plugins \
.indent.pro
.indent.pro \
xfce4-panel.spec
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
xfce4-panel.spec
intltool-update
# docs should be at the end to make sure the library is build before
# scanning it.
@ -33,6 +33,10 @@ SUBDIRS = \
po \
docs
AUTOMAKE_OPTIONS = \
1.8 \
dist-bzip2
distclean-local:
rm -rf *.cache *~
@ -40,8 +44,6 @@ rpm: dist
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
@rm -f $(PACKAGE)-$(VERSION).tar.gz
dist-bz2: dist
zcat $(PACKAGE)-$(VERSION).tar.gz | bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
distcheck-bz2: distcheck
zcat $(PACKAGE)-$(VERSION).tar.gz | bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:

12
configure.ac

@ -2,12 +2,12 @@ dnl configure.ac
dnl
dnl xfce4 - panel for the Xfce Desktop environment
dnl
dnl 2005 Jasper Huijsmans <jasper@xfce.org>
dnl 2005-2006 Jasper Huijsmans <jasper@xfce.org>
dnl
dnl version info
m4_define([xfce4_panel_version],[4.3.90.1])
m4_define([libxfce4panel_verinfo], [1:4:0])
m4_define([libxfce4panel_verinfo], [2:0:1])
dnl init autoconf
AC_COPYRIGHT([Copyright (c) 2002-2006
@ -56,9 +56,8 @@ XDT_CHECK_LIBX11_REQUIRE
XDT_CHECK_LIBSM
dnl Check for required packages
dnl XDT_CHECK_PACKAGE([LIBXFCE4MCS_CLIENT], [libxfce4mcs-client-1.0], [4.2.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.3.0])
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.6])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.3.90.1])
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.90.1])
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
dnl Check for optional packages
@ -70,9 +69,6 @@ XDT_CHECK_OPTIONAL_PACKAGE([LIBSTARTUP_NOTIFICATION],
dnl gtk-doc
GTK_DOC_CHECK([1.0])
dnl Configure the mcs plugin
dnl XDT_XFCE_MCS_PLUGIN([XFCE_MCS_MANAGER], [4.2.0])
dnl Check for debugging support
XDT_FEATURE_DEBUG()

16
icons/Makefile.am

@ -1,3 +1,5 @@
# $Id$
hicolor48dir = $(datadir)/icons/hicolor/48x48/apps
hicolor16dir = $(datadir)/icons/hicolor/16x16/apps
@ -30,3 +32,17 @@ hicolor16_DATA = \
EXTRA_DIST = $(hicolor48_DATA) $(hicolor16_DATA)
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. Remember to run:"; \
echo "***"; \
echo "*** $(gtk_update_icon_cache)"; \
echo "***"; \
fi
# vi:set ts=8 sw=8 noet ai nocindent:

2
panel/panel.c

@ -890,7 +890,7 @@ _panel_get_new_id (void)
static char id[30];
/* unique number: pseudo-random time() + counter */
g_snprintf (id, 30, "%ld%d", time (NULL), counter++);
g_snprintf (id, 30, "%ld%d", (glong) time (NULL), counter++);
return id;
}

56
po/xfce4-panel.pot

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-04-09 11:13+0900\n"
"POT-Creation-Date: 2006-04-16 12:25+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -29,7 +29,7 @@ msgstr ""
#: ../libxfce4panel/xfce-panel-plugin-iface.c:575 ../panel/panel-app.c:734
#: ../panel/panel-app.c:766 ../panel/panel-app.c:799
#: ../panel/panel-dialogs.c:579 ../panel/panel-dialogs.c:1590
#: ../panel/panel-dialogs.c:579 ../panel/panel-dialogs.c:1594
#: ../plugins/launcher/launcher.c:412 ../plugins/launcher/launcher.c:438
#: ../plugins/launcher/launcher.c:474
msgid "Xfce Panel"
@ -159,107 +159,107 @@ msgstr ""
msgid "Available Items"
msgstr ""
#: ../panel/panel-dialogs.c:843 ../panel/panel-dialogs.c:1067
#: ../panel/panel-dialogs.c:847 ../panel/panel-dialogs.c:1071
msgid "Normal Width"
msgstr ""
#: ../panel/panel-dialogs.c:845 ../panel/panel-dialogs.c:1069
#: ../panel/panel-dialogs.c:849 ../panel/panel-dialogs.c:1073
msgid "Full Width"
msgstr ""
#: ../panel/panel-dialogs.c:851 ../panel/panel-dialogs.c:1075
#: ../panel/panel-dialogs.c:855 ../panel/panel-dialogs.c:1079
msgid "Span Monitors"
msgstr ""
#: ../panel/panel-dialogs.c:911 ../panel/panel-dialogs.c:1140
#: ../panel/panel-dialogs.c:915 ../panel/panel-dialogs.c:1144
msgid "Left"
msgstr ""
#: ../panel/panel-dialogs.c:913 ../panel/panel-dialogs.c:1142
#: ../panel/panel-dialogs.c:917 ../panel/panel-dialogs.c:1146
msgid "Right"
msgstr ""
#: ../panel/panel-dialogs.c:918 ../panel/panel-dialogs.c:1147
#: ../panel/panel-dialogs.c:922 ../panel/panel-dialogs.c:1151
msgid "Top"
msgstr ""
#: ../panel/panel-dialogs.c:920 ../panel/panel-dialogs.c:1149
#: ../panel/panel-dialogs.c:924 ../panel/panel-dialogs.c:1153
msgid "Bottom"
msgstr ""
#. position
#: ../panel/panel-dialogs.c:948
#: ../panel/panel-dialogs.c:952
msgid "Position"
msgstr ""
#: ../panel/panel-dialogs.c:962
#: ../panel/panel-dialogs.c:966
msgid "Fixed Position"
msgstr ""
#: ../panel/panel-dialogs.c:968
#: ../panel/panel-dialogs.c:972
msgid "Freely Moveable"
msgstr ""
#: ../panel/panel-dialogs.c:1083
#: ../panel/panel-dialogs.c:1087
msgid "Auto_hide"
msgstr ""
#: ../panel/panel-dialogs.c:1101
#: ../panel/panel-dialogs.c:1105
msgid "Orientation:"
msgstr ""
#: ../panel/panel-dialogs.c:1113
#: ../panel/panel-dialogs.c:1117
msgid "Horizontal"
msgstr ""
#: ../panel/panel-dialogs.c:1115
#: ../panel/panel-dialogs.c:1119
msgid "Vertical"
msgstr ""
#: ../panel/panel-dialogs.c:1124
#: ../panel/panel-dialogs.c:1128
msgid "Handle:"
msgstr ""
#: ../panel/panel-dialogs.c:1136
#: ../panel/panel-dialogs.c:1140
msgid "At both sides"
msgstr ""
#: ../panel/panel-dialogs.c:1217
#: ../panel/panel-dialogs.c:1221
msgid "Select Monitor"
msgstr ""
#: ../panel/panel-dialogs.c:1335 ../plugins/clock/clock.c:431
#: ../panel/panel-dialogs.c:1339 ../plugins/clock/clock.c:431
msgid "Appearance"
msgstr ""
#. size
#: ../panel/panel-dialogs.c:1346
#: ../panel/panel-dialogs.c:1350
msgid "Size (pixels):"
msgstr ""
#: ../panel/panel-dialogs.c:1369
#: ../panel/panel-dialogs.c:1373
msgid "Transparency (%):"
msgstr ""
#: ../panel/panel-dialogs.c:1393
#: ../panel/panel-dialogs.c:1397
msgid "Make active panel opaque"
msgstr ""
#: ../panel/panel-dialogs.c:1434 ../panel/panel-dialogs.c:1472
#: ../panel/panel-dialogs.c:1497
#: ../panel/panel-dialogs.c:1438 ../panel/panel-dialogs.c:1476
#: ../panel/panel-dialogs.c:1501
#, c-format
msgid "Panel %d"
msgstr ""
#: ../panel/panel-dialogs.c:1518
#: ../panel/panel-dialogs.c:1522
msgid "Remove Panel"
msgstr ""
#: ../panel/panel-dialogs.c:1531
#: ../panel/panel-dialogs.c:1535
msgid "New Panel"
msgstr ""
#: ../panel/panel-dialogs.c:1615
#: ../panel/panel-dialogs.c:1619
msgid "Panel Manager"
msgstr ""

49
xfce4-panel.spec.in

@ -1,22 +1,18 @@
Summary: Xfce Panel
Name: xfce4-panel
Version: @VERSION@
Name: @PACKAGE_TARNAME@
Version: @PACKAGE_VERSION@
Release: 1
License: GPL, LGPL
URL: http://www.xfce.org/
Source0: %{name}-%{version}.tar.gz
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-root
Requires: libxfce4util >= @LIBXFCEGUI4_REQUIRED_VERSION@
Requires: libxfcegui4 >= @LIBXFCEGUI4_REQUIRED_VERSION@
Requires: libxfce4mcs >= @LIBXFCE4MCS_CLIENT_REQUIRED_VERSION@
Requires: xfce-mcs-manager >= @XFCE_MCS_MANAGER_REQUIRED_VERSION@
BuildRequires: libxfce4util-devel >= @LIBXFCEGUI4_REQUIRED_VERSION@
BuildRequires: libxfcegui4-devel >= @LIBXFCEGUI4_REQUIRED_VERSION@
BuildRequires: libxfce4mcs-devel >= @LIBXFCE4MCS_CLIENT_REQUIRED_VERSION@
BuildRequires: xfce-mcs-manager-devel >= @XFCE_MCS_MANAGER_REQUIRED_VERSION@
#Requires: gtk2 >= @GTK_REQUIRED_VERSION@
#Requires: glib2 >= @GLIB_REQUIRED_VERSION@
#BuildRequires: gtk2-devel >= @GTK_REQUIRED_VERSION@
#BuildRequires: glib2-devel >= @GLIB_REQUIRED_VERSION@
Requires: gtk2 >= @GTK_REQUIRED_VERSION@
BuildRequires: gtk2-devel >= @GTK_REQUIRED_VERSION@
%description
xfce4-panel is the panel for the Xfce desktop environment
@ -24,7 +20,7 @@ xfce4-panel is the panel for the Xfce desktop environment
%package devel
Summary: developpment headers for xfce4-panel
Group: User Interface/Desktops
Requires: xfce4-panel >= @VERSION@
Requires: xfce4-panel >= @PACKAGE_VERSION@
%description devel
Header files to build plugins for xfce4-panel.
@ -33,7 +29,7 @@ Header files to build plugins for xfce4-panel.
%setup -q
%build
%configure
%configure --enable-final --enable-gtk-doc
make
%install
@ -43,21 +39,36 @@ make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root)
%doc README README.Kiosk ChangeLog NEWS INSTALL COPYING COPYING_LIBS AUTHORS HACKING
%{_sysconfdir}/xdg/xfce4/
%{_datadir}/xfce4/doc/
%config(noreplace) %{_sysconfdir}/xdg/xfce4/
%{_datadir}/icons/
%{_datadir}/locale/
%{_datadir}/applications
%{_datadir}/icons
%{_libdir}/xfce4/mcs-plugins/
%{_libdir}/
%{_datadir}/xfce4/
%{_bindir}/
%{_libdir}/lib*.so.*
%{_libdir}/xfce4/panel-plugins/
%{_libexecdir}/xfce4/panel-plugins/
%files devel
%defattr(-, root, root)
%{_libdir}/pkgconfig/
%{_libdir}/lib*.so
%{_libdir}/*a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/xfce4/
%{_datadir}/gtk-doc/

Loading…
Cancel
Save