Skip to content
Commits on Source (73)
Benedikt Meurer <benny@xfce.org>
Brian Tarricone <bjt23@cornell.edu>
Jannis Pohlmann <jannis@xfce.org>
Jasper Huijsmans <jasper@xfce.org>
Nick Schermer <nick@xfce.org>
Olivier Fourdan <fourdan@xfce.org>
This diff is collapsed.
This diff is collapsed.
Installation Instructions
*************************
Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without warranty of any kind.
Basic Installation
==================
Briefly, the shell command './configure && make && make install'
should configure, build, and install this package. The following
more-detailed instructions are generic; see the 'README' file for
instructions specific to this package. Some packages provide this
'INSTALL' file but do not implement all of the features documented
below. The lack of an optional feature in a given package is not
necessarily a bug. More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.
The 'configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a 'Makefile' in each directory of the package.
It may also create one or more '.h' files containing system-dependent
definitions. Finally, it creates a shell script 'config.status' that
you can run in the future to recreate the current configuration, and a
file 'config.log' containing compiler output (useful mainly for
debugging 'configure').
It can also use an optional file (typically called 'config.cache' and
enabled with '--cache-file=config.cache' or simply '-C') that saves the
results of its tests to speed up reconfiguring. Caching is disabled by
default to prevent problems with accidental use of stale cache files.
If you need to do unusual things to compile the package, please try
to figure out how 'configure' could check whether to do them, and mail
diffs or instructions to the address given in the 'README' so they can
be considered for the next release. If you are using the cache, and at
some point 'config.cache' contains results you don't want to keep, you
may remove or edit it.
The file 'configure.ac' (or 'configure.in') is used to create
'configure' by a program called 'autoconf'. You need 'configure.ac' if
you want to change it or regenerate 'configure' using a newer version of
'autoconf'.
The simplest way to compile this package is:
1. 'cd' to the directory containing the package's source code and type
'./configure' to configure the package for your system.
Running 'configure' might take a while. While running, it prints
some messages telling which features it is checking for.
2. Type 'make' to compile the package.
3. Optionally, type 'make check' to run any self-tests that come with
the package, generally using the just-built uninstalled binaries.
4. Type 'make install' to install the programs and any data files and
documentation. When installing into a prefix owned by root, it is
recommended that the package be configured and built as a regular
user, and only the 'make install' phase executed with root
privileges.
5. Optionally, type 'make installcheck' to repeat any self-tests, but
this time using the binaries in their final installed location.
This target does not install anything. Running this target as a
regular user, particularly if the prior 'make install' required
root privileges, verifies that the installation completed
correctly.
6. You can remove the program binaries and object files from the
source code directory by typing 'make clean'. To also remove the
files that 'configure' created (so you can compile the package for
a different kind of computer), type 'make distclean'. There is
also a 'make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
7. Often, you can also type 'make uninstall' to remove the installed
files again. In practice, not all packages have tested that
uninstallation works correctly, even though it is required by the
GNU Coding Standards.
8. Some packages, particularly those that use Automake, provide 'make
distcheck', which can by used by developers to test that all other
targets like 'make install' and 'make uninstall' work correctly.
This target is generally not run by end users.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the 'configure' script does not know about. Run './configure --help'
for details on some of the pertinent environment variables.
You can give 'configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here is
an example:
./configure CC=c99 CFLAGS=-g LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU 'make'. 'cd' to the
directory where you want the object files and executables to go and run
the 'configure' script. 'configure' automatically checks for the source
code in the directory that 'configure' is in and in '..'. This is known
as a "VPATH" build.
With a non-GNU 'make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use 'make distclean' before
reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple '-arch' options to the
compiler but only a single '-arch' option to the preprocessor. Like
this:
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CPP="gcc -E" CXXCPP="g++ -E"
This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the 'lipo' tool if you have problems.
Installation Names
==================
By default, 'make install' installs the package's commands under
'/usr/local/bin', include files under '/usr/local/include', etc. You
can specify an installation prefix other than '/usr/local' by giving
'configure' the option '--prefix=PREFIX', where PREFIX must be an
absolute file name.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like '--bindir=DIR' to specify different values for particular
kinds of files. Run 'configure --help' for a list of the directories
you can set and what kinds of files go in them. In general, the default
for these options is expressed in terms of '${prefix}', so that
specifying just '--prefix' will affect all of the other directory
specifications that were not explicitly provided.
The most portable way to affect installation locations is to pass the
correct locations to 'configure'; however, many packages provide one or
both of the following shortcuts of passing variable assignments to the
'make install' command line to change installation locations without
having to reconfigure or recompile.
The first method involves providing an override variable for each
affected directory. For example, 'make install
prefix=/alternate/directory' will choose an alternate location for all
directory configuration variables that were expressed in terms of
'${prefix}'. Any directories that were specified during 'configure',
but not in terms of '${prefix}', must each be overridden at install time
for the entire installation to be relocated. The approach of makefile
variable overrides for each directory variable is required by the GNU
Coding Standards, and ideally causes no recompilation. However, some
platforms have known limitations with the semantics of shared libraries
that end up requiring recompilation when using this method, particularly
noticeable in packages that use GNU Libtool.
The second method involves providing the 'DESTDIR' variable. For
example, 'make install DESTDIR=/alternate/directory' will prepend
'/alternate/directory' before all installation names. The approach of
'DESTDIR' overrides is not required by the GNU Coding Standards, and
does not work on platforms that have drive letters. On the other hand,
it does better at avoiding recompilation issues, and works well even
when some directory options were not specified in terms of '${prefix}'
at 'configure' time.
Optional Features
=================
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving 'configure' the
option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
Some packages pay attention to '--enable-FEATURE' options to
'configure', where FEATURE indicates an optional part of the package.
They may also pay attention to '--with-PACKAGE' options, where PACKAGE
is something like 'gnu-as' or 'x' (for the X Window System). The
'README' should mention any '--enable-' and '--with-' options that the
package recognizes.
For packages that use the X Window System, 'configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the 'configure' options '--x-includes=DIR' and
'--x-libraries=DIR' to specify their locations.
Some packages offer the ability to configure how verbose the
execution of 'make' will be. For these packages, running './configure
--enable-silent-rules' sets the default to minimal output, which can be
overridden with 'make V=1'; while running './configure
--disable-silent-rules' sets the default to verbose, which can be
overridden with 'make V=0'.
Particular systems
==================
On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
HP-UX 'make' updates targets which have the same time stamps as their
prerequisites, which makes it generally unusable when shipped generated
files such as 'configure' are involved. Use GNU 'make' instead.
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its '<wchar.h>' header file. The option '-nodtk' can be used as a
workaround. If GNU CC is not installed, it is therefore recommended to
try
./configure CC="cc"
and if that doesn't work, try
./configure CC="cc -nodtk"
On Solaris, don't put '/usr/ucb' early in your 'PATH'. This
directory contains several dysfunctional programs; working variants of
these programs are available in '/usr/bin'. So, if you need '/usr/ucb'
in your 'PATH', put it _after_ '/usr/bin'.
On Haiku, software installed for all users goes in '/boot/common',
not '/usr/local'. It is recommended to use the following options:
./configure --prefix=/boot/common
Specifying the System Type
==========================
There may be some features 'configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
_same_ architectures, 'configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
'--build=TYPE' option. TYPE can either be a short name for the system
type, such as 'sun4', or a canonical name which has the form:
CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
OS
KERNEL-OS
See the file 'config.sub' for the possible values of each field. If
'config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
use the option '--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with '--host=TYPE'.
Sharing Defaults
================
If you want to set default values for 'configure' scripts to share,
you can create a site shell script called 'config.site' that gives
default values for variables like 'CC', 'cache_file', and 'prefix'.
'configure' looks for 'PREFIX/share/config.site' if it exists, then
'PREFIX/etc/config.site' if it exists. Or, you can set the
'CONFIG_SITE' environment variable to the location of the site script.
A warning: not all 'configure' scripts look for a site script.
Defining Variables
==================
Variables not defined in a site shell script can be set in the
environment passed to 'configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the 'configure' command line, using 'VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
causes the specified 'gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
Autoconf limitation. Until the limitation is lifted, you can use this
workaround:
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
'configure' Invocation
======================
'configure' recognizes the following options to control how it
operates.
'--help'
'-h'
Print a summary of all of the options to 'configure', and exit.
'--help=short'
'--help=recursive'
Print a summary of the options unique to this package's
'configure', and exit. The 'short' variant lists options used only
in the top level, while the 'recursive' variant lists options also
present in any nested packages.
'--version'
'-V'
Print the version of Autoconf used to generate the 'configure'
script, and exit.
'--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally 'config.cache'. FILE defaults to '/dev/null' to
disable caching.
'--config-cache'
'-C'
Alias for '--cache-file=config.cache'.
'--quiet'
'--silent'
'-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to '/dev/null' (any error
messages will still be shown).
'--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
'configure' can determine that directory automatically.
'--prefix=DIR'
Use DIR as the installation prefix. *note Installation Names:: for
more details, including other options available for fine-tuning the
installation locations.
'--no-create'
'-n'
Run the configure checks, but stop before creating any output
files.
'configure' also accepts some other, not widely useful, options. Run
'configure --help' for more details.
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = \
libxfce4ui \
libxfce4kbd-private \
xfce4-about \
glade \
icons \
docs \
po \
tests
distuninstallcheck_listfiles = \
find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache
distclean-local:
rm -rf *.cache *~
.PHONY: ChangeLog
ChangeLog: Makefile
(GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
&& mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
|| (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
dist-hook: ChangeLog
EXTRA_DIST = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
m4/introspection.m4 \
m4/vapigen.m4
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
DISTCHECK_CONFIGURE_FLAGS = \
--enable-gtk-doc \
--disable-gladeui \
--enable-introspection \
--enable-vala=no
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
This diff is collapsed.
4.13.4
======
- Fix missing gresource file in release tarball (Bug #13705)
- Add Vala support (Vidar Haarr)
- Fix gladeui2 path detection (Bug #13944)
- Fix make distcheck (Bug #14039)
- Fix incorrect use of AC_ARG_ENABLE(tests..) (Bug #13703)
- Use BOOLEAN instead of deprecated BOOL
- Allows to properly show some characters, such as ampersand (Bug #12715)
- Translation Updates: Amharic, Arabic, Asturian, Bulgarian, Catalan, Czech, Danish, German, Greek, English (Australia), English (United Kingdom), Spanish, Basque, Finnish, French, Galician, Hebrew, Croatian, Hungarian, Indonesian, Icelandic, Italian, Japanese, Kazakh, Korean, Lithuanian, Malay, Norwegian Bokmål, Dutch, Norwegian Nynorsk, Occitan (post 1500), Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Slovak, Slovenian, Serbian, Swedish, Telugu, Thai, Turkish, Uighur, Ukrainian, Chinese (China), Chinese (Hong Kong), Chinese (Taiwan)
4.13.3
======
- Fix make distcheck with gladeui2 install path
- Add an --enable-tests option
- Remove the filterout from introspection sources
- Move gresource building out of maintainer mode
- Fix condition in confirm dialog
- Add POTFILES.skip to appease gmake distcheck gods on OpenBSD
- ship libxfce4ui.gresource.xml in the tarball too
- Add libxfce4ui-marshal.list to EXTRA_DIST to fix
--enable-maintainer-mode on released tarballs
- Fix build error with --disable-gtk2
- Translation updates: bg, cs, fr, it, ca, hr, it, da, ru.
4.13.2
======
- Fix build error with --disable-gtk3 Bug #12648
- Improve layout of labels in xfce dialogs
- Set a reasonable default window width to make sure labels wrap
- Improve vertical alignment of primary and secondary label
- Bump the default dialog width to 500px
- Update libxfce4ui documentation
- Fix make docs compilation warning
- Fix xfce_dialog_show_help(_with_version) doc
- Remove Makefile.am space to fix autogen.sh warning
- Better documentation processing
- Change xfce_dialog_show_help(_with_version)
- Default debug to yes instead of full
- Remove exo dependancy Bug #13326
- fix: add libxfce4ui_get_resource to abi check symbols Bug #13326
- Let autotools find and invoke glib-compile-resources Bug #13326
- Add support for GOBJECT-INTROSPECTION Bug #13461
- Add GtkDoc checks
- Add missing introspection.m4 file
- fix: make distcheck
- fix: remove deprecation warnings
- feat: Switch to Gtk3 default, Gtk2 Optional
- Rename introspection GIR to 4ui-2.0 to match util
- Translation updates: am ast ca da el eu fi gl id it ko lt ms nn
oc pl pt ro ru sl sr th zh_CN zh_TW
4.13.1
======
- Better Gtk3.20 compatibility (fix XfceHeading style, drop deprecated call)
- Translation updates: Bulgarian, Catalan, Chinese (China), Chinese (Taiwan),
Croatian, Czech, Danish, Dutch (Flemish), English (Australia), French, German,
Hebrew, Japanese, Korean, Lithuanian, Norwegian Bokmål, Polish, Portuguese
(Brazilian), Russian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian
4.13.0
======
- Add xfce_widget_reparent to replace the deprecated gtk_widget_reparent
- Add xfce_titled_dialog_new_with_mixed_buttons to allow for setting
icon names, button label text and response id.
- Add xfce_gtk_menu_popup_until_mapped as a convenience function to fix
widespread problems with popping up menus (e.g. on keyboard shortcuts)
- Add dialog UI tests for Gtk2 and Gtk3
- Fix Glade Gtk3 support
- Fix a memory leak
- Translation updates: Asturian, Basque, Bulgarian, Catalan, Chinese
(Taiwan), Croatian, Danish, English (Australia), Finnish, French, Galician,
German, Greek, Hebrew, Hungarian, Icelandic, Korean, Lithuanian, Malay,
Norwegian Bokmål, Occitan, Portuguese, Russian, Slovak, Slovenian, Spanish,
Swedish
4.12.1
======
- Fix glade directory information in .pc file (bug #11353)
- Add shortcuts for xfwm4 to tile windows to corners (bug #11652)
- Remove unused 'has_member' variable in xfce4-about (bug #11654)
- Update .gitignore
- Increase xfce4-about default size
- Improve formatting of translators list
- Update translation contributors in xfce4-about
- Update contributors lists
- Translation updates: Bulgarian, Chinese (China), Croatian, Czech, Dutch
(Flemish), French, German, Hebrew, Indonesian, Italian, Japanese, Kazakh,
Korean, Malay, Polish, Portuguese, Russian, Serbian, Slovak, Spanish, Thai,
Turkish, Ukrainian
4.12.0
======
- Bump version
- Lots of translation updates
4.11.2
======
- Bump dependencies versions (autotools, Xfce libraries)
- Remove SVN $Id$ tags
- Properly quote AC_LANG_SOURCE
- Fix autoconf m4 directory warning
- Fix IT_PROG_INTLTOOL warning
- Fix build with --enable-debug=full and GTK3 (bug #11176)
- Add .gitignore
- Fix grabbing shortcuts with <Super> modifier (bug #10373)
- Avoid double forking when spawning external apps (bug #9373)
- Don't drop startup notify hint when resetting to defaults (bug #10630)
- Add <Ctrl><Alt>l shortcut for screen locking (xflock4) (bug #10728)
- Fix xfce_dialog_show_help()
4.11.1
======
- Add xfce_dialog_show_help_with_version() so applications can send
their own version number and not the desktop version.
- Translation updates: Arabic, Bulgarian, Bengali, Danish, German,
Greek, Finnish, Galician, Croatian, Icelandic, Japanese, Kazakh,
Korean, Lithuanian, Malay, Norwegian Bokmal, Norwegian Nynorsk,
Occitan (post 1500), Portuguese, Portuguese (Brazilian), Romanian,
Russian, Slovak, Slovenian, Serbian, Telugu, Ukrainian, Chinese
(China), Chinese (Hong Kong), Chinese (Taiwan).
4.11.0
======
- Compile GTK+-3 version of libxfce4ui when possible.
- Depend on GTK 2.24 and Glib 2.28.
- Only define distclean files in maintainer mode (bug #8974).
- Don't remove keyboard shortcut when entered twice (bug #8749).
- Fix keyboard shortcuts with Shift modifier (bug #8744).
- Fix alt + print being detected as SysReq (bug #7897).
- Use <Primary> instead of <Control> (bug #8200).
- Fix keyboard shortcuts with keypad (bug #4178).
- Autotools updates.
- Prefer exo-open for opening the manual pages.
- Add error domain for XfceSmClient.
- Translation updates: Amharic, Arabic, Asturian, Bulgarian, Bengali,
Catalan (Valencian), Czech, Danish, German, Greek, English (United
Kingdom), Spanish (Castilian), Basque, Finnish, French, Galician,
Hebrew, Croatian, Hungarian, Indonesian, Icelandic, Italian,
Japanese, Kazakh, Korean, Kurdish, Lithuanian, Latvian, Norwegian
Bokmal, Dutch (Flemish), Norwegian Nynorsk, Panjabi (Punjabi),
Polish, Portuguese, Portuguese (Brazilian), Romanian, Russian,
Sinhala, Slovak, Serbian, Swedish, Telugu, Thai, Tagalog, Tagalog
(Philippines), Turkish, Uyghur, Ukrainian, Urdu, Urdu (Pakistan),
Vietnamese, Chinese (China), Chinese (Taiwan).
4.10.0
======
- Update contributor credits.
- Update translators, week 15 and 16.
- Enable startup notification in xfce4-appfinder shortcuts.
- Check abicheck.sh to be more portable (bug #8702).
- Translation updates: English (United Kingdom), Spanish (Castilian),
Galician, Japanese, Kazakh, Korean, Dutch (Flemish), Portuguese,
Portuguese (Brazilian), Chinese (China).
4.9.2
=====
- Update translators, week 13 and 14.
- Increase gtk and glib versions.
- Bump 4util dependency.
- Remove unused function prototype.
- Translation updates: German, Greek, Galician, Japanese, Korean,
Dutch (Flemish), Polish, Portuguese, Russian, Turkish.
4.9.1
=====
- Open docs.xfce.org when Help in xfce4-about is clicked.
- Cache header icons and avoid large icons in XfceTitledDialog.
- Restore glade directory information in .pc file.
- Update translator credits.
- Translation updates (ar, ca, cs, da, de, es, eu, fi, fr, hu, id,
it, kk, ko, lt, nl, nn, pt, pt_BR, ru, sk, te, tr, uk, zh_CN, zh_TW).
4.9.0
=====
- A lot of improvements in the shortcuts code.
- Add Alt + F1 as a shortcut for applications menu.
- Remove unused code from the internal header widget.
- Add xfce4-about from xfce-utils package.
- Use xdt-csource instead of exo-csource, depend on xdt 4.9.0.
- Update to new xfce4-appfinder commands.
- Fix build against 3.9 Glade (bug #7334).
- Add shortcuts for XF86WWW and XF86Mail.
- Simplify the xfce_gdk_screen_get_active fucntion.
- Add xfce_dialog_show_help function.
4.8.1
=====
- Fix memory leak (bug #8079).
- Translation updates: ar, is, ko, ms, nl, ru, sk, te, tl, zh_CN.
4.8.0
=====
- Fix memory corruption in the register function (bug #5892).
- Translation updates: Romanian.
4.7.6
=====
- Fix ABI check in ppc (bug #7005).
- Update default shortcuts for xfce4-display-settings (bug #7036).
- Translation updates (pt, he, cs, en_BG, nb, ar).
4.7.5
=====
- Also request an interact for save-state-extended.
- Return a NULL state file is the sm-client is disabled.
- Fix the save-state signal.
- Translation updates (pt).
4.7.4
=====
- Add startup notification support for shortcuts.
- Translation updates (gl, sv, ja, it, ug).
4.7.3
=====
- Fix typo preventing shortcuts from working with new users.
- Make g_critical warning about exit(0) a DBG message.
- Translation updates (is, zh_TW, tr, hu, fr, sk, el, id, de).
4.7.2
=====
- Add key binding to popup Xfdesktop menu (bug #4994).
- Print warning before calling exit(0) in the session client.
- Test if working directory exists before spawning command.
- Allow icon names in xfce_gtk_button_new_mixed().
- Unset startup notification when launching in terminal.
- Make variable a volatile for thread safety.
- Fix bold labels in xfce_gtk_frame_box_new().
- Cleanup code comments.
- Translation updates (gl, de, nl, fi, ru, hu, uk, si, kk, pt, da,
es, hr, eu, pr_BR, bn, pa, zh_CN).
4.7.1
=====
- New function xfce_spawn_on_screen_with_child_watch().
- Don't generate enums for XfceSMClientPriority.
- Build ChangeLog during make dist.
- Add visibility/alias handing code.
- Rename configure.in.in to configure.ac.in.
- Some other small fixes.
- Translation updates (es, pt_BR, sv, pt, kk, ca, gl, sk, cs, lv, eu,
zh_CN, ja).
4.7.0
=====
Initial version of the library. The intention of this new library is a
cleanup of the old libxfcegui4 library to remove the deprecated code
and get rid of netk (since 4.6 we use libwnck for that).
Biggest changes compared to libxfcegui4:
- New session manager client.
- Improved code for spawing applications.
- New dialog functions.
- Support for glade-3's GtkBuilder implementation.
What is it?
===========
This is libxfce4ui, the replacement of the old libxfcegui4 library. It is used
to share commonly used Xfce widgets among the Xfce applications.
Required packages
=================
Libxfce4ui depends on the following packages:
- GTK+ 3.18.0 or above
- GLib 2.42.0 or above
- Libxfce4util 4.12.0 or above
Installation
============
The file 'INSTALL' contains generic installation instructions.
Debugging Support
=================
Libxfce4ui currently supports four different levels of debugging support, which
can be setup using the configure flag `--enable-debug' (check the output of
`configure --help'):
`full' Use this if you want to debug libxfce4ui to locate a bug. The
build will most probably be noticably slower. This is also
recommended for people that want to develop Xfce applications.
`yes' This is the default for SVN snapshot builds. It adds all
kinds of checks to the code, and is therefore likely to run
slower. Use this if you want to develop for Xfce.
`minimum' This is the default for release builds, and presents the
recommended behaviour.
`no' Disables all sanity checks. Don't use this unless you know
exactly what you do.
How to report bugs?
===================
Bugs should be reported to the Xfce bug tracking system
(http://bugzilla.xfce.org, product Libxfce4ui). You will need to
create an account for yourself.
Please read the HACKING file for information on where to send
changes or bugfixes for this package.
What's this file about?
=======================
This file lists all external people that have contributed to this project.
Testers (sorted by name):
-------------------------
These people have contributed to libxfce4ui by testing the software,
reporting problems and making useful suggestions.
Translators (sorted by language):
---------------------------------
These people have translated libxfce4ui to foreign languages.
Other contributers (sorted by name):
------------------------------------
* Implement the GtkBuildable interface into XfceTitleDialog
and add the needed code for GtkBuilder and Glade 3.5 to
recognize it.
This diff is collapsed.
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2016-01-11.22; # UTC
# Copyright (C) 1999-2017 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# 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 2, or (at your option)
# any later version.
#
# This program 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 <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl='
'
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent tools from complaining about whitespace usage.
IFS=" "" $nl"
file_conv=
# func_file_conv build_file lazy
# Convert a $build file to $host form and store it in $file
# Currently only supports Windows hosts. If the determined conversion
# type is listed in (the comma separated) LAZY, no conversion will
# take place.
func_file_conv ()
{
file=$1
case $file in
/ | /[!/]*) # absolute file, and not a UNC file
if test -z "$file_conv"; then
# lazily determine how to convert abs files
case `uname -s` in
MINGW*)
file_conv=mingw
;;
CYGWIN*)
file_conv=cygwin
;;
*)
file_conv=wine
;;
esac
fi
case $file_conv/,$2, in
*,$file_conv,*)
;;
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
file=`winepath -w "$file" || echo "$file"`
;;
esac
;;
esac
}
# func_cl_dashL linkdir
# Make cl look for libraries in LINKDIR
func_cl_dashL ()
{
func_file_conv "$1"
if test -z "$lib_path"; then
lib_path=$file
else
lib_path="$lib_path;$file"
fi
linker_opts="$linker_opts -LIBPATH:$file"
}
# func_cl_dashl library
# Do a library search-path lookup for cl
func_cl_dashl ()
{
lib=$1
found=no
save_IFS=$IFS
IFS=';'
for dir in $lib_path $LIB
do
IFS=$save_IFS
if $shared && test -f "$dir/$lib.dll.lib"; then
found=yes
lib=$dir/$lib.dll.lib
break
fi
if test -f "$dir/$lib.lib"; then
found=yes
lib=$dir/$lib.lib
break
fi
if test -f "$dir/lib$lib.a"; then
found=yes
lib=$dir/lib$lib.a
break
fi
done
IFS=$save_IFS
if test "$found" != yes; then
lib=$lib.lib
fi
}
# func_cl_wrapper cl arg...
# Adjust compile command to suit cl
func_cl_wrapper ()
{
# Assume a capable shell
lib_path=
shared=:
linker_opts=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
*.o | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
;;
*)
func_file_conv "$2"
set x "$@" -Fe"$file"
shift
;;
esac
;;
-I)
eat=1
func_file_conv "$2" mingw
set x "$@" -I"$file"
shift
;;
-I*)
func_file_conv "${1#-I}" mingw
set x "$@" -I"$file"
shift
;;
-l)
eat=1
func_cl_dashl "$2"
set x "$@" "$lib"
shift
;;
-l*)
func_cl_dashl "${1#-l}"
set x "$@" "$lib"
shift
;;
-L)
eat=1
func_cl_dashL "$2"
;;
-L*)
func_cl_dashL "${1#-L}"
;;
-static)
shared=false
;;
-Wl,*)
arg=${1#-Wl,}
save_ifs="$IFS"; IFS=','
for flag in $arg; do
IFS="$save_ifs"
linker_opts="$linker_opts $flag"
done
IFS="$save_ifs"
;;
-Xlinker)
eat=1
linker_opts="$linker_opts $2"
;;
-*)
set x "$@" "$1"
shift
;;
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
func_file_conv "$1"
set x "$@" -Tp"$file"
shift
;;
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
func_file_conv "$1" mingw
set x "$@" "$file"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -n "$linker_opts"; then
linker_opts="-link$linker_opts"
fi
exec "$@" $linker_opts
exit 1
}
eat=
case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand '-c -o'.
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file 'INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
ofile=
cfile=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
# So we strip '-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no '-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# '.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC0"
# time-stamp-end: "; # UTC"
# End:
This diff is collapsed.
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define for debugging support */
#undef DEBUG
/* Define for tracing support */
#undef DEBUG_TRACE
/* always defined to indicate that i18n is enabled */
#undef ENABLE_NLS
/* Prevent post 3.18 APIs */
#undef GDK_VERSION_MAX_ALLOWED
/* Ignore post 3.18 deprecations */
#undef GDK_VERSION_MIN_REQUIRED
/* Name of default gettext domain */
#undef GETTEXT_PACKAGE
/* Prevent post 2.42 APIs */
#undef GLIB_VERSION_MAX_ALLOWED
/* Ignore post 2.42 deprecations */
#undef GLIB_VERSION_MIN_REQUIRED
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
#undef HAVE_BIND_TEXTDOMAIN_CODESET
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
CoreFoundation framework. */
#undef HAVE_CFLOCALECOPYCURRENT
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
the CoreFoundation framework. */
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H
/* Define to 1 if you have the `dcgettext' function. */
#undef HAVE_DCGETTEXT
/* Define to 1 if you have the declaration of `environ', and to 0 if you
don't. */
#undef HAVE_DECL_ENVIRON
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <errno.h> header file. */
#undef HAVE_ERRNO_H
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define if gladeui-1.0 >= 3.5.0 present */
#undef HAVE_GLADEUI
/* Define if gladeui-2.0 >= 3.5.0 present */
#undef HAVE_GLADEUI2
/* Define if gtk+-2.0 >= 2.24.0 present */
#undef HAVE_GTK2
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
/* Define if libSM is available */
#undef HAVE_LIBSM
/* Define if libstartup-notification-1.0 >= 0.4 present */
#undef HAVE_LIBSTARTUP_NOTIFICATION
/* Define if libX11 is available */
#undef HAVE_LIBX11
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
/* Define to 1 if you have the <math.h> header file. */
#undef HAVE_MATH_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <signal.h> header file. */
#undef HAVE_SIGNAL_H
/* Define to 1 if you have the <stdarg.h> header file. */
#undef HAVE_STDARG_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the `_NSGetEnviron' function. */
#undef HAVE__NSGETENVIRON
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
/* Documentation website */
#undef MANUAL_WEBSITE
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
#endif
/* Additional vendor name and/or info */
#undef VENDOR_INFO
/* Version number of package */
#undef VERSION
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
/* Define to 1 if on MINIX. */
#undef _MINIX
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
#undef _POSIX_1_SOURCE
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
This diff is collapsed.
This diff is collapsed.
dnl
dnl This file was autogenerated from "configure.ac.in".
dnl Edit that file instead!
dnl
dnl
dnl Copyright (c) 2007-2017 The Xfce development team
dnl
dnl ***************************
dnl *** Version information ***
dnl ***************************
m4_define([libxfce4ui_verinfo], [0:0:0])
m4_define([libxfce4ui_version_api], [1])
m4_define([libxfce4ui_version_major], [4])
m4_define([libxfce4ui_version_minor], [13])
m4_define([libxfce4ui_version_micro], [4])
m4_define([libxfce4ui_version_nano], []) dnl leave this empty to have no nano version
m4_define([libxfce4ui_version_build], [bd25b4f])
m4_define([libxfce4ui_version_tag], [])
m4_define([libxfce4ui_version], [libxfce4ui_version_major().libxfce4ui_version_minor().libxfce4ui_version_micro()ifelse(libxfce4ui_version_nano(), [], [], [.libxfce4ui_version_nano()])ifelse(libxfce4ui_version_tag(), [git], [libxfce4ui_version_tag()-libxfce4ui_version_build()], [libxfce4ui_version_tag()])])
m4_define([libxfce4kbd_private_verinfo], [0:0:0])
m4_define([libxfce4kbd_private_version_api], [2])
dnl # DO NOT MODIFY ANYTHING BELOW THIS LINE, UNLESS YOU KNOW WHAT
dnl # YOU ARE DOING.
dnl ********************************************
dnl *** Full debug support for GIT snapshots ***
dnl ********************************************
m4_define([libxfce4ui_debug_default], [ifelse(libxfce4ui_version_tag(), [git], [yes], [minimum])])
dnl ***************************
dnl *** Initialize autoconf ***
dnl ***************************
AC_COPYRIGHT([Copyright (c) 2007-2017 The Xfce development team])
AC_INIT([libxfce4ui], [libxfce4ui_version], [http://bugzilla.xfce.org/], [libxfce4ui])
AC_PREREQ([2.60])
AC_CONFIG_MACRO_DIR([m4])
AC_REVISION([libxfce4ui_version_build])
AC_CANONICAL_TARGET()
dnl ***************************
dnl *** Initialize automake ***
dnl ***************************
AM_INIT_AUTOMAKE([1.11 dist-bzip2 tar-ustar no-dist-gzip])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE()
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl *******************************
dnl *** Check for UNIX variants ***
dnl *******************************
AC_AIX()
AC_ISC_POSIX()
AC_MSG_CHECKING([platform])
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform="win32"
NO_UNDEFINED=-no-undefined
;;
*-apple-darwin*)
platform="os x"
;;
*)
platform="unix"
;;
esac
AM_CONDITIONAL(PLATFORM_WIN32, test "$platform" = "win32")
AM_CONDITIONAL(PLATFORM_OSX, test "$platform" = "os x")
AC_SUBST(NO_UNDEFINED)
dnl ********************************
dnl *** Check for basic programs ***
dnl ********************************
AC_PROG_CC()
AC_PROG_LD()
AM_PROG_CC_C_O()
AC_PROG_INSTALL()
IT_PROG_INTLTOOL([0.35.0])
AC_CHECK_PROGS([PERL], [perl5 perl])
AC_PATH_PROG([GLIB_COMPILE_RESOURCES],[glib-compile-resources])
dnl **************************
dnl *** Initialize libtool ***
dnl **************************
LT_PREREQ([2.4])
LT_INIT([disable-static])
dnl **************************************
dnl *** Substitute version information ***
dnl **************************************
LIBXFCE4UI_VERINFO=libxfce4ui_verinfo()
LIBXFCE4UI_VERSION_API=libxfce4ui_version_api()
LIBXFCE4UI_VERSION_MAJOR=libxfce4ui_version_major()
LIBXFCE4UI_VERSION_MINOR=libxfce4ui_version_minor()
LIBXFCE4UI_VERSION_MICRO=libxfce4ui_version_micro()
LIBXFCE4KBD_PRIVATE_VERINFO=libxfce4kbd_private_verinfo()
LIBXFCE4KBD_PRIVATE_VERSION_API=libxfce4kbd_private_version_api()
AC_SUBST([LIBXFCE4UI_VERINFO])
AC_SUBST([LIBXFCE4UI_VERSION_API])
AC_SUBST([LIBXFCE4UI_VERSION_MAJOR])
AC_SUBST([LIBXFCE4UI_VERSION_MINOR])
AC_SUBST([LIBXFCE4UI_VERSION_MICRO])
AC_SUBST([LIBXFCE4KBD_PRIVATE_VERINFO])
AC_SUBST([LIBXFCE4KBD_PRIVATE_VERSION_API])
dnl ***************************************
dnl *** Check for standard header files ***
dnl ***************************************
AC_HEADER_STDC()
AC_CHECK_HEADERS([crt_externs.h errno.h fcntl.h limits.h locale.h math.h \
memory.h signal.h stdarg.h stdlib.h string.h unistd.h])
AC_CHECK_DECLS([environ])
AC_CHECK_FUNCS([_NSGetEnviron])
dnl ******************************
dnl *** Check for i18n support ***
dnl ******************************
XDT_I18N([am ar ast bg bn ca cs da de el en_AU en_GB es eu fi fr gl he hr hu id is it ja kk ko lt lv ms nb nl nn oc pa pl pt_BR pt ro ru si sk sl sr sv te th tr ug uk ur_PK ur vi zh_CN zh_HK zh_TW ])
dnl *******************************************
dnl *** Check for X Window System installed ***
dnl *******************************************
XDT_CHECK_LIBX11_REQUIRE()
XDT_CHECK_LIBSM()
dnl ***********************************
dnl *** Check for required packages ***
dnl ***********************************
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.42.0])
XDT_CHECK_PACKAGE([GTK3], [gtk+-3.0], [3.18.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.12.0])
dnl ***********************************************************
dnl *** Optional support for a GTK+2 version of the library ***
dnl ***********************************************************
XDT_CHECK_OPTIONAL_PACKAGE([GTK2],
[gtk+-2.0], [2.24.0], [gtk2],
[GTK+ 2 support])
AM_CONDITIONAL([ENABLE_GTK2_LIBRARY], [test "x$GTK2_FOUND" = "xyes"])
AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_42, [Ignore post 2.42 deprecations])
AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_42, [Prevent post 2.42 APIs])
AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_18, [Ignore post 3.18 deprecations])
AC_DEFINE(GDK_VERSION_MAX_ALLOWED, GDK_VERSION_3_18, [Prevent post 3.18 APIs])
dnl ***************************************
dnl *** Check for gobject-introspection ***
dnl ***************************************
GOBJECT_INTROSPECTION_CHECK([1.30.0])
dnl *************************
dnl *** Check for vapigen ***
dnl *************************
VAPIGEN_CHECK()
dnl *************************************************
dnl *** Optional support for startup notification ***
dnl *************************************************
XDT_CHECK_OPTIONAL_PACKAGE([LIBSTARTUP_NOTIFICATION],
[libstartup-notification-1.0],
[0.4], [startup-notification],
[startup notification library])
dnl **************************************************
dnl *** Check whether to build the keyboard libary ***
dnl **************************************************
AC_ARG_ENABLE([keyboard-library],
[AC_HELP_STRING([--disable-keyboard-library],
[Do not compile the keyboard library needed by xfwm4 and xfce4-settings (default=enabled)])],
[enable_keyboard_library=$enableval], [enable_keyboard_library=yes])
if test "x$enable_keyboard_library" = "xyes"; then
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.12.0])
fi
AM_CONDITIONAL([ENABLE_KEYBOARD_LIBRARY], [test "x$enable_keyboard_library" = "xyes"])
dnl *********************************************
dnl *** Check for vendor specific information ***
dnl *********************************************
AC_MSG_CHECKING([for additional vendor name and/or info])
AC_ARG_WITH([vendor-info],
AC_HELP_STRING([--with-vendor-info=NAME], [Specify an additional vendor name, optionally with a file in $prefix/share/xfce4/venderinfo]),
[with_vendor_info="$withval"], [with_vendor_info=""])
if test x"$with_vendor_info" != x""; then
AC_DEFINE_UNQUOTED([VENDOR_INFO], ["$with_vendor_info"], [Additional vendor name and/or info])
AC_MSG_RESULT([$vendorinfo])
else
AC_MSG_RESULT([not set])
fi
dnl *********************************************
dnl *** Check for vendor specific information ***
dnl *********************************************
AC_MSG_CHECKING([for a custom manual website location])
AC_ARG_WITH([manual-website],
AC_HELP_STRING([--with-manual-website=URI], [Specify an optional manual website, defaults to http://docs.xfce.org.]),
[with_manual_website="$withval"],
[with_manual_website="http://docs.xfce.org/help.php"])
AC_DEFINE_UNQUOTED([MANUAL_WEBSITE], ["$with_manual_website"], [Documentation website])
AC_MSG_RESULT([$with_manual_website])
dnl *********************************************************
dnl *** Optional support for the Glade Interface Designer ***
dnl *********************************************************
XDT_CHECK_OPTIONAL_PACKAGE([GLADEUI], [gladeui-1.0],
[3.5.0], [gladeui], [glade interface designer])
XDT_CHECK_OPTIONAL_PACKAGE([GLADEUI2], [gladeui-2.0],
[3.5.0], [gladeui2], [glade interface designer])
AC_ARG_WITH([gladeui-catalogdir],
[AC_HELP_STRING([--with-gladeui-catalogdir=PATH],
[Specify where to install glade designer catalog files (default=autodetect)])],
[gladeui_catalogdir="$withval"])
AC_ARG_WITH([gladeui-moduledir],
[AC_HELP_STRING([--with-gladeui-moduledir=PATH],
[Specify where to install glade designer modules (default=autodetect)])],
[gladeui_moduledir="$withval"])
AC_ARG_WITH([gladeui-pixmapdir],
[AC_HELP_STRING([--with-gladeui-pixmapdir=PATH],
[Specify where to install glade designer pixmaps (default=autodetect)])],
[gladeui_pixmapdir="$withval"])
if test x"$GLADEUI_FOUND" = x"yes"; then
if test x"$gladeui_catalogdir" = x""; then
GLADEUI_CATALOGDIR=`$PKG_CONFIG "--variable=catalogdir" "gladeui-1.0"`
else
GLADEUI_CATALOGDIR="$gladeui_catalogdir"
fi
if test x"$gladeui_moduledir" = x""; then
GLADEUI_MODULEDIR=`$PKG_CONFIG "--variable=moduledir" "gladeui-1.0"`
else
GLADEUI_MODULEDIR="$gladeui_moduledir"
fi
if test x"$gladeui_pixmapdir" = x""; then
GLADEUI_PIXMAPDIR=`$PKG_CONFIG "--variable=pixmapdir" "gladeui-1.0"`
else
GLADEUI_PIXMAPDIR="$gladeui_pixmapdir"
fi
fi
AC_SUBST([GLADEUI_CATALOGDIR])
AC_SUBST([GLADEUI_MODULEDIR])
AC_SUBST([GLADEUI_PIXMAPDIR])
AC_ARG_WITH([gladeui2-catalogdir],
[AC_HELP_STRING([--with-gladeui2-catalogdir=PATH],
[Specify where to install glade 3.0 designer catalog files (default=autodetect)])],
[gladeui2_catalogdir="$withval"])
AC_ARG_WITH([gladeui2-moduledir],
[AC_HELP_STRING([--with-gladeui2-moduledir=PATH],
[Specify where to install glade 3.0 designer modules (default=autodetect)])],
[gladeui2_moduledir="$withval"])
AC_ARG_WITH([gladeui2-pixmapdir],
[AC_HELP_STRING([--with-gladeui2-pixmapdir=PATH],
[Specify where to install glade 3.0 designer pixmaps (default=autodetect)])],
[gladeui2_pixmapdir="$withval"])
if test x"$GLADEUI2_FOUND" = x"yes"; then
if test x"$gladeui2_catalogdir" = x""; then
GLADEUI2_CATALOGDIR="${datarootdir}/glade/catalogs"
else
GLADEUI2_CATALOGDIR="$gladeui2_catalogdir"
fi
if test x"$gladeui2_moduledir" = x""; then
GLADEUI2_MODULEDIR="${libdir}/glade/modules"
else
GLADEUI2_MODULEDIR="$gladeui2_moduledir"
fi
if test x"$gladeui2_pixmapdir" = x""; then
GLADEUI2_PIXMAPDIR="${datarootdir}/glade/pixmaps"
else
GLADEUI2_PIXMAPDIR="$gladeui2_pixmapdir"
fi
fi
AC_SUBST([GLADEUI2_CATALOGDIR])
AC_SUBST([GLADEUI2_MODULEDIR])
AC_SUBST([GLADEUI2_PIXMAPDIR])
dnl *************************
dnl *** Check for gtk-doc ***
dnl *************************
GTK_DOC_CHECK([1.0])
dnl ***********************************
dnl *** Check for debugging support ***
dnl ***********************************
XDT_FEATURE_DEBUG([libxfce4ui_debug_default])
dnl **************************************
dnl *** Check for linker optimizations ***
dnl **************************************
XDT_FEATURE_LINKER_OPTS()
dnl ****************************************
dnl *** Check for ELF visibility support ***
dnl ****************************************
AC_ARG_ENABLE([visibility],
AC_HELP_STRING([--disable-visibility],
[Do not use ELF visibility attributes]),
[enable_visibility=$enableval], [enable_visibility=yes])
have_gnuc_visibility=no
if test "x$enable_visibility" != "xno"; then
XDT_SUPPORTED_FLAGS([xdt_vis_test_cflags], [-Wall -Werror -Wno-unused-parameter])
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $xdt_vis_test_cflags"
AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[
void test_default (void);
void test_hidden (void);
void __attribute__ ((visibility("default"))) test_default (void) {}
void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
int main (int argc, char **argv) {
test_default ();
test_hidden ();
return 0;
}
])],
[
have_gnuc_visibility=yes
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
])
CFLAGS="$saved_CFLAGS"
fi
if test "x$have_gnuc_visibility" = "xyes"; then
CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
fi
AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test "x$have_gnuc_visibility" = "xyes"])
dnl *************************************
dnl *** Compensate for broken gtk-doc ***
dnl *************************************
XDT_SUPPORTED_FLAGS([GTK_DOC_EXTRA_CFLAGS], [-Wno-sign-compare])
AC_SUBST([GTK_DOC_EXTRA_CFLAGS])
#
# Enable Tests
#
AC_ARG_ENABLE(tests,
[AS_HELP_STRING([--enable-tests],[enable validation test framework @<:@default=@<:@disabled@:>@@:>@])],
[enable_tests=$enableval], [enable_tests=no])
AC_MSG_CHECKING([whether to build the validation test framework])
AM_CONDITIONAL(BUILD_TESTS, test "x$enable_tests" = "xyes")
AC_MSG_RESULT($enable_tests)
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])
dnl *****************************
dnl *** Generate output files ***
dnl *****************************
AC_OUTPUT([
Makefile
docs/Makefile
docs/version.xml
glade/Makefile
glade/icons/Makefile
glade/icons/16x16/Makefile
glade/icons/22x22/Makefile
icons/Makefile
icons/48x48/Makefile
libxfce4kbd-private/libxfce4kbd-private-2.pc
libxfce4kbd-private/libxfce4kbd-private-3.pc
libxfce4kbd-private/Makefile
libxfce4ui/libxfce4ui-1.pc
libxfce4ui/libxfce4ui-2.pc
libxfce4ui/libxfce4ui-config.h
libxfce4ui/Makefile
xfce4-about/Makefile
po/Makefile.in
tests/Makefile
])
dnl ***************************
dnl *** Print configuration ***
dnl ***************************
echo
echo "Build Configuration:"
echo
if test x"$GTK2_FOUND" = x"yes"; then
echo "* GTK2 support: yes"
else
echo "* GTK2 support: no"
fi
if test x"$GLADEUI_FOUND" = x"yes"; then
echo "* Glade Interface Designer: yes"
echo " - Catalog directory: $GLADEUI_CATALOGDIR"
echo " - Module directory: $GLADEUI_MODULEDIR"
echo " - Pixmap directory: $GLADEUI_PIXMAPDIR"
else
echo "* Glade Interface Designer: no"
fi
if test x"$GLADEUI2_FOUND" = x"yes"; then
echo "* Glade 3.0 Interface Designer: yes"
echo " - Catalog directory: $GLADEUI2_CATALOGDIR"
echo " - Module directory: $GLADEUI2_MODULEDIR"
echo " - Pixmap directory: $GLADEUI2_PIXMAPDIR"
else
echo "* Glade 3.0 Interface Designer: no"
fi
if test x"$enable_keyboard_library" = x"yes"; then
echo "* Keyboard library support: yes"
else
echo "* Keyboard library support: no"
fi
if test x"$LIBSTARTUP_NOTIFICATION_FOUND" = x"yes"; then
echo "* Startup notification: yes"
else
echo "* Startup notification: no"
fi
if test x"$LIBSM_LIBS" = x""; then
echo "* X11 session management: no"
else
echo "* X11 session management: yes"
fi
echo "* Debug support: $enable_debug"
echo "* Build tests: $enable_tests"
echo "* GNU Visibility: $have_gnuc_visibility"
if test -n "$with_vendor_info"; then
echo "* Vendor: $with_vendor_info"
echo
echo "Note you can put additional info about the vendor"
echo "in this text file: \"${datarootdir}/xfce4/vendorinfo\""
else
echo "* Vendor: none"
fi
echo "* Manual website: $with_manual_website"
echo
libxfce4ui (4.12.1-4) UNRELEASED; urgency=medium
libxfce4ui (4.13.4-2) experimental; urgency=medium
* Moved the package to git on salsa.debian.org
* Updated the maintainer address to debian-xfce@lists.debian.org
closes: #899595
* d/control: drop Lionel from uploaders, thanks!
* d/control: update standards version to 4.3.0
* d/*.symbols: add relevant Build-Depends-Package fields
* d/copyright updated
-- Yves-Alexis Perez <corsac@debian.org> Thu, 27 Dec 2018 10:50:42 +0100
-- Yves-Alexis Perez <corsac@debian.org> Thu, 27 Dec 2018 11:56:37 +0100
libxfce4ui (4.13.4-1) experimental; urgency=medium
[ Unit 193 ]
* New upstream development release.
- Fix missing gresource file in release tarball closes: #880431
* d/changelog:
- Remove trailing whitespace from old entries.
* d/control, d/copyright, d/vendorinfo, d/xfce4-about.1, d/xfhelp4:
- Use https where possible.
* d/control:
- Drop the xfce-keyboard-shortcuts transitional package.
* d/watch:
- Use https now that it is available.
* Update Standards-Version to 4.1.2.
-- Yves-Alexis Perez <corsac@debian.org> Sun, 17 Dec 2017 15:56:42 +0100
libxfce4ui (4.13.3-1) experimental; urgency=medium
[ Yves-Alexis Perez ]
* Run wrap-and-sort.
* Update standards version to 4.0.0.
* debian/rules:
- use dh_missing instead of dh_install --list-missing
[ Unit 193 ]
* New upstream development release.
- Drop upstream patch.
* d/control:
- Add Multi-Arch classifiers to all qualifying packages. closes: #846902
- Remove duplicated 'Section' declaration.
- Drop the dbg packages.
* d/rules:
- Migrate to dbgsym packages.
- Replace --with-gtk3 with --with-gtk2, since gtk2 is now optional.
-- Yves-Alexis Perez <corsac@debian.org> Sat, 08 Jul 2017 15:06:39 +0200
libxfce4ui (4.13.1-1) experimental; urgency=medium
[ Mateusz Łukasik ]
* New upstream release.
* Add cherry-pick to fix build error with --disable-gtk3.
-- Yves-Alexis Perez <corsac@debian.org> Thu, 15 Sep 2016 21:38:52 +0200
libxfce4ui (4.13.0-1) experimental; urgency=medium
[ Mateusz Łukasik ]
* New upstream release.
* Update symbols files.
* debian/control:
- Bump standards-version to 3.9.8.
-- Yves-Alexis Perez <corsac@debian.org> Thu, 25 Aug 2016 13:00:39 +0200
libxfce4ui (4.12.1-3) unstable; urgency=medium
......@@ -67,7 +128,7 @@ libxfce4ui (4.11.0-1) experimental; urgency=low
* debian/rules:
- force disable gladeui. closes: #724037
* debian/control:
- update standards version to 3.9.5.
- update standards version to 3.9.5.
[ Lionel Le Folgoc ]
* New upstream development release.
......@@ -126,7 +187,7 @@ libxfce4ui (4.10.0-4) unstable; urgency=low
[ Jackson Doak ]
* debian/copyright: Convert to debian format 1.0
* debian/control:
* debian/control:
- Make VCS URLs point to trunk instead of experimental
* debian/rules: disable silent building
......@@ -140,7 +201,7 @@ libxfce4ui (4.10.0-3) unstable; urgency=low
- update standards version to 3.9.4.
* debian/rules:
- drop glade file removal.
- use autotools-dev addons to refresh config.{sub,guess}.
- use autotools-dev addons to refresh config.{sub,guess}.
-- Yves-Alexis Perez <corsac@debian.org> Sun, 16 Jun 2013 16:05:12 +0200
......@@ -198,10 +259,10 @@ libxfce4ui (4.9.1-1) experimental; urgency=low
-dev package depends on it.
* debian/rules:
- use hardening support in debhelper 9 and dpkg-dev 1.16.1
- multi-archify the paths.
- multi-archify the paths.
- build with --parallel.
* debian/*.install:
- multi-archify the paths.
- multi-archify the paths.
-- Lionel Le Folgoc <mrpouit@gmail.com> Sun, 08 Apr 2012 16:03:09 +0200
......
......@@ -2,14 +2,20 @@ Source: libxfce4ui
Priority: optional
Section: xfce
Maintainer: Debian Xfce Maintainers <debian-xfce@lists.debian.org>
Uploaders: Yves-Alexis Perez <corsac@debian.org>,
Lionel Le Folgoc <lionel@lefolgoc.net>
Build-Depends: debhelper (>= 9), intltool (>= 0.31), pkg-config,
libgtk2.0-dev, libgtk-3-dev, libstartup-notification0-dev, libglade2-dev,
autotools-dev, libxfce4util-dev (>= 4.12), libxfconf-0-dev (>= 4.12),
dpkg-dev (>= 1.16.1)
Standards-Version: 4.1.3
Homepage: http://www.xfce.org/
Uploaders: Yves-Alexis Perez <corsac@debian.org>
Build-Depends: autotools-dev,
debhelper (>= 9),
dpkg-dev (>= 1.16.1),
intltool (>= 0.31),
libglade2-dev,
libgtk-3-dev,
libgtk2.0-dev,
libstartup-notification0-dev,
libxfce4util-dev (>= 4.12),
libxfconf-0-dev (>= 4.12),
pkg-config
Standards-Version: 4.3.0
Homepage: https://www.xfce.org/
Vcs-Git: https://salsa.debian.org/xfce-team/desktop/libxfce4ui.git
Vcs-Browser: https://salsa.debian.org/xfce-team/desktop/libxfce4ui
......@@ -18,7 +24,7 @@ Section: libs
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, libxfce4ui-common (>= 4.11)
Depends: libxfce4ui-common (>= 4.11), ${misc:Depends}, ${shlibs:Depends}
Description: widget library for Xfce - Gtk+2 variant
libxfce4ui is used to share commonly used Xfce widgets among the Xfce
applications.
......@@ -29,32 +35,23 @@ Package: libxfce4ui-1-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libxfce4ui-1-0 (= ${binary:Version}), ${misc:Depends}, libgtk2.0-dev,
libxfce4util-dev (>= 4.10.0), libxfconf-0-dev (>= 4.10.0)
Depends: libgtk2.0-dev,
libxfce4ui-1-0 (= ${binary:Version}),
libxfce4util-dev (>= 4.10.0),
libxfconf-0-dev (>= 4.10.0),
${misc:Depends}
Description: Development files for libxfce4ui - Gtk+2 variant
This package contains the headers and the static library
for libxfce4ui.
.
This package provides development files for the Gtk+2 variant of libxfce4ui.
Package: libxfce4ui-1-dbg
Section: debug
Priority: optional
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, libxfce4ui-1-0 (= ${binary:Version}),
${misc:Depends}
Description: debugging symbols for libxfce4ui - Gtk+2 variant
This package contains debugging symbols and information for libxfce4ui.
.
This package provides debugging symbols for the Gtk+2 variant of libxfce4ui.
Package: libxfce4ui-2-0
Section: libs
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, libxfce4ui-common (>= 4.11)
Depends: libxfce4ui-common (>= 4.11), ${misc:Depends}, ${shlibs:Depends}
Description: widget library for Xfce - Gtk+3 variant
libxfce4ui is used to share commonly used Xfce widgets among the Xfce
applications.
......@@ -65,71 +62,38 @@ Package: libxfce4ui-2-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libxfce4ui-2-0 (= ${binary:Version}), ${misc:Depends}, libgtk-3-dev,
libxfce4util-dev (>= 4.10.0), libxfconf-0-dev (>= 4.10.0)
Depends: libgtk-3-dev,
libxfce4ui-2-0 (= ${binary:Version}),
libxfce4util-dev (>= 4.10.0),
libxfconf-0-dev (>= 4.10.0),
${misc:Depends}
Description: Development files for libxfce4ui - Gtk+3 variant
This package contains the headers and the static library
for libxfce4ui.
.
This package provides development files for the Gtk+3 variant of libxfce4ui.
Package: libxfce4ui-2-dbg
Section: debug
Priority: optional
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, libxfce4ui-2-0 (= ${binary:Version}),
${misc:Depends}
Description: debugging symbols for libxfce4ui - Gtk+3 variant
This package contains debugging symbols and information for libxfce4ui.
.
This package provides debugging symbols for the Gtk+3 variant of libxfce4ui.
Package: libxfce4ui-common
Section: xfce
Architecture: all
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}
Suggests: libxfce4ui-2-0 | libxfce4ui-1-0, devhelp
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: devhelp, libxfce4ui-2-0 | libxfce4ui-1-0
Provides: xfce-keyboard-shortcuts
Breaks: xfce-keyboard-shortcuts (<< 4.11), libxfce4ui-1-0 (<< 4.11),
libxfce4ui-1-dev (<< 4.11)
Replaces: xfce-keyboard-shortcuts (<< 4.11), libxfce4ui-1-0 (<< 4.11),
libxfce4ui-1-dev (<< 4.11)
Breaks: libxfce4ui-1-0 (<< 4.11),
libxfce4ui-1-dev (<< 4.11),
xfce-keyboard-shortcuts (<< 4.11)
Replaces: libxfce4ui-1-0 (<< 4.11),
libxfce4ui-1-dev (<< 4.11),
xfce-keyboard-shortcuts (<< 4.11)
Description: common files for libxfce4ui
This package contains the common files for both variants of libxfce4ui.
Package: libxfce4ui-utils
Section: xfce
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: xfce4-utils
Replaces: xfce4-utils
Description: Utility files for libxfce4ui
This package contains the Xfce settings plugin and the utility files for
libxfce4ui-1-0 which are:
- xfce4-about
Package: libxfce4ui-utils-dbg
Section: debug
Priority: optional
Architecture: any
Multi-Arch: same
Depends: libxfce4ui-utils (= ${binary:Version}), ${shlibs:Depends},
${misc:Depends}
Breaks: libxfce4ui-1-dbg (<< 4.10.0-4)
Replaces: libxfce4ui-1-dbg (<< 4.10.0-4)
Description: debugging symbols for libxfce4ui-utils
This package contains debugging symbols and information for libxfce4ui-utils.
Package: xfce-keyboard-shortcuts
Section: oldlibs
Priority: optional
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, libxfce4ui-common
Description: xfce keyboard shortcuts configuration (transitional package)
This package only contains the default shortcut configuration for Xfce.
.
This package ensures a smooth upgrades from previous versions of Debian.
It can safely be removed if no other packages depend on it.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libxfce4ui
Source: http://www.xfce.org
Source: https://www.xfce.org
Files: *
Copyright: The Xfce Development Team
License: LGPL-2+
Files: glade/libxfce4ui-glade.c
libxfce4ui/libxfce4ui-config.c
......@@ -72,7 +76,7 @@ License: GFDL-1.1+
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts.
.
On Debian systems, the complete text of the GNU Free Documentation
On Debian systems, the complete text of the GNU Free Documentation
License can be found in “/usr/share/common-licenses/GFDL-1.1”.
License: LGPL-2+
......@@ -84,5 +88,5 @@ License: LGPL-2.1+
License (version 2.1) can be found in `/usr/share/common-licenses/LGPL-2.1'.\
License: GPL-2+
On Debian systems, the complete text of the GNU General Public License
On Debian systems, the complete text of the GNU General Public License
(version 2) can be found in `/usr/share/common-licenses/GPL-2'.