Switch to README.md and foreign automake mode
This commit is contained in:
parent
83d8d5c73b
commit
b883d736e3
2 changed files with 35 additions and 53 deletions
|
|
@ -1,58 +1,41 @@
|
||||||
XFCE4-EYES-PLUGIN
|
## What is it?
|
||||||
==========================================================================
|
|
||||||
You can always find up-to-date information at the plugin homepage:
|
|
||||||
https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin
|
|
||||||
|
|
||||||
|
|
||||||
CONTENTS
|
|
||||||
==========================================================================
|
|
||||||
* ABOUT
|
|
||||||
* USAGE
|
|
||||||
* DEBUGGING AND REPORTING BUGS
|
|
||||||
* REQUIREMENTS AND DEPENDENCIES
|
|
||||||
* EASY BUILD INSTRUCTIONS
|
|
||||||
* TRANSLATING THE PLUGIN FOR YOUR LANGUAGE
|
|
||||||
|
|
||||||
|
|
||||||
ABOUT
|
|
||||||
==========================================================================
|
|
||||||
xfce4-eyes-plugin is a xfce4 panel plugin that adds eyes which watch
|
xfce4-eyes-plugin is a xfce4 panel plugin that adds eyes which watch
|
||||||
your every step. Scary!
|
your every step. Scary!
|
||||||
|
|
||||||
Portions of the xfce4-eyes code were taken from geyes. These, and the rest of
|
Portions of the xfce4-eyes code were taken from geyes. These, and the rest of
|
||||||
the code are licensed under the terms of the GNU General public license; see
|
the code are licensed under the terms of the GNU General public license; see
|
||||||
the COPYING file.
|
the [`COPYING`](COPYING) file.
|
||||||
|
|
||||||
|
|
||||||
USAGE
|
## Usage
|
||||||
==========================================================================
|
|
||||||
Simply add the plugin to the panel and select a theme in the
|
Simply add the plugin to the panel and select a theme in the
|
||||||
configuration dialog. Depending on how big the eyes are and where on
|
configuration dialog. Depending on how big the eyes are and where on
|
||||||
the panel you want the eyes to appear, you might find changing the
|
the panel you want the eyes to appear, you might find changing the
|
||||||
single-row option useful. It becomes effective only in multi-row mode.
|
single-row option useful. It becomes effective only in multi-row mode.
|
||||||
|
|
||||||
|
|
||||||
DEBUGGING AND REPORTING BUGS
|
## Installation
|
||||||
==========================================================================
|
|
||||||
Before reporting bugs or asking for new features, please consolidate
|
The file [`INSTALL`](INSTALL) contains generic installation instructions.
|
||||||
the Xfce bug tracker at https://bugzilla.xfce.org, because your issue
|
|
||||||
or request might have been reported already or be in planning.
|
|
||||||
|
|
||||||
|
|
||||||
BUILD REQUIREMENTS AND DEPENDENCIES
|
## How to report bugs?
|
||||||
==========================================================================
|
|
||||||
If you have installed Xfce, you already have all required dependencies
|
Before reporting bugs or asking for new features, please review existing
|
||||||
installed.
|
issues at https://gitlab.xfce.org/panel-plugins/xfce4-eyes-plugin, because
|
||||||
|
your issue or request might have been reported already or be in planning.
|
||||||
|
|
||||||
|
|
||||||
EASY BUILD INSTRUCTIONS
|
## Easy build instructions
|
||||||
==========================================================================
|
|
||||||
If you're interesting in building the plugin yourself, these
|
If you're interesting in building the plugin yourself, these
|
||||||
instructions provided here will work for most users. If not, please
|
instructions provided here will work for most users. If not, please
|
||||||
look at the INSTALL file or ask at a forum for your linux distribution
|
look at the INSTALL file or ask at a forum for your linux distribution
|
||||||
or try the methods explained on http://www.xfce.org/community. Make
|
or try the methods explained on https://www.xfce.org/community. Make
|
||||||
sure you have installed the needed dependencies (see previous section
|
sure you have installed the needed dependencies (if you have installed
|
||||||
BUILD REQUIREMENTS AND DEPENDENCIES).
|
Xfce, you already have all required dependencies installed).
|
||||||
|
|
||||||
For the panel being able to find the plugin, it is important to set
|
For the panel being able to find the plugin, it is important to set
|
||||||
the proper prefix. The prefix is the place in the filesystem where the
|
the proper prefix. The prefix is the place in the filesystem where the
|
||||||
|
|
@ -66,16 +49,16 @@ If you want to install the current version from git, execute the
|
||||||
following command in the plugin project directory (make sure you have
|
following command in the plugin project directory (make sure you have
|
||||||
GNU automake installed!):
|
GNU automake installed!):
|
||||||
|
|
||||||
1a) ./autogen.sh --prefix=/usr
|
a) `./autogen.sh --prefix=/usr`
|
||||||
|
|
||||||
If an error about a missing ltmain.sh occurs, try "autoreconf -i".
|
If an error about a missing `ltmain.sh` occurs, try `autoreconf -i`.
|
||||||
|
|
||||||
Otherwise, if you've downloaded the tarball from e.g.
|
Otherwise, if you've downloaded the tarball from e.g.
|
||||||
http://archive.xfce.org/, issue the following command:
|
https://archive.xfce.org/, issue the following command:
|
||||||
|
|
||||||
1b) ./configure --prefix=/usr
|
b) `./configure --prefix=/usr`
|
||||||
|
|
||||||
If 1a) or 1b) fail, you should receive an error message telling you
|
If a) or b) fail, you should receive an error message telling you
|
||||||
the cause for the failure (e.g. missings libraries). If you're missing
|
the cause for the failure (e.g. missings libraries). If you're missing
|
||||||
a dependency you need to install it using the package management
|
a dependency you need to install it using the package management
|
||||||
system of your distribution. Distributions commonly have two versions
|
system of your distribution. Distributions commonly have two versions
|
||||||
|
|
@ -87,29 +70,27 @@ is not, so better check this.
|
||||||
Note: To solve distribution-specific problems the most efficient way
|
Note: To solve distribution-specific problems the most efficient way
|
||||||
is to ask at a forum for your distribution, not on a general forum.
|
is to ask at a forum for your distribution, not on a general forum.
|
||||||
|
|
||||||
Then for both cases:
|
Then for both cases: `make`
|
||||||
2) make
|
|
||||||
|
|
||||||
If this fails, file a bug on https://bugzilla.xfce.org, or send a mail
|
If this fails, create an issue on
|
||||||
|
https://gitlab.xfce.org/panel-plugins/xfce4-eyes-plugin, or send a mail
|
||||||
to the xfce mailing list and provide make output.
|
to the xfce mailing list and provide make output.
|
||||||
|
|
||||||
Finally, and usually as root:
|
Finally, and usually as root: `make install`
|
||||||
3) make install
|
|
||||||
|
|
||||||
Note: Depending on your prefix, this might overwrite an existing
|
Note: Depending on your prefix, this might overwrite an existing
|
||||||
version of the plugin.
|
version of the plugin.
|
||||||
|
|
||||||
You can later uninstall the plugin (as root) with
|
You can later uninstall the plugin (as root) with: `make uninstall`
|
||||||
4) make uninstall
|
|
||||||
|
|
||||||
The panel should then recognize the new plugin, if it doesn't try to
|
The panel should then recognize the new plugin, if it doesn't try to
|
||||||
restart it using xfce4-panel -r. If it still doesn't work after that
|
restart it using `xfce4-panel -r`. If it still doesn't work after that
|
||||||
try to ask for help somewhere (forums, mailing lists, #xfce on
|
try to ask for help somewhere (forums, mailing lists, #xfce on
|
||||||
IRC). Please do not report such problems on the bug tracker.
|
IRC). Please do not report such problems on the bug tracker.
|
||||||
|
|
||||||
|
|
||||||
TRANSLATING THE PLUGIN FOR YOUR LANGUAGE
|
## Translating the plugin for your language
|
||||||
==========================================================================
|
|
||||||
If you need help getting started with translating the plugin into your
|
If you need help getting started with translating the plugin into your
|
||||||
language, please visit this wiki page for a start:
|
language, please visit this wiki page for a start:
|
||||||
https://wiki.xfce.org/translations/translation_guidance_in_xfce
|
https://wiki.xfce.org/translations/translation_guidance_in_xfce
|
||||||
|
|
@ -118,4 +99,5 @@ TRANSLATORS, PLEASE MAKE SURE YOU CHECK YOUR FILE FOR ERRORS BEFORE
|
||||||
UPLOADING IT! Otherwise, it will break compilation of the plugin. It
|
UPLOADING IT! Otherwise, it will break compilation of the plugin. It
|
||||||
is easy to do this with the following command (where file.po is the po
|
is easy to do this with the following command (where file.po is the po
|
||||||
file of your language):
|
file of your language):
|
||||||
msgfmt -c --check-accelerators=_ -v -o /dev/null <file.po>
|
|
||||||
|
`msgfmt -c --check-accelerators=_ -v -o /dev/null <file.po>`
|
||||||
|
|
@ -14,8 +14,8 @@ m4_define([eyes_version], [eyes_version_major().eyes_version_minor().eyes_versio
|
||||||
dnl ***************************
|
dnl ***************************
|
||||||
dnl *** Initialize autoconf ***
|
dnl *** Initialize autoconf ***
|
||||||
dnl ***************************
|
dnl ***************************
|
||||||
AC_COPYRIGHT([Copyright (c) 2006-2016 The Xfce development team])
|
AC_COPYRIGHT([Copyright (c) 2006-2020 The Xfce development team])
|
||||||
AC_INIT([xfce4-eyes-plugin], [eyes_version], [http://bugzilla.xfce.org/], [xfce4-eyes-plugin])
|
AC_INIT([xfce4-eyes-plugin], [eyes_version], [https://gitlab.xfce.org/panel-plugins/xfce4-eyes-plugin/], [xfce4-eyes-plugin])
|
||||||
AC_PREREQ([2.60])
|
AC_PREREQ([2.60])
|
||||||
AC_CONFIG_MACRO_DIRS([m4])
|
AC_CONFIG_MACRO_DIRS([m4])
|
||||||
AC_CANONICAL_TARGET()
|
AC_CANONICAL_TARGET()
|
||||||
|
|
@ -23,7 +23,7 @@ AC_CANONICAL_TARGET()
|
||||||
dnl ***************************
|
dnl ***************************
|
||||||
dnl *** Initialize automake ***
|
dnl *** Initialize automake ***
|
||||||
dnl ***************************
|
dnl ***************************
|
||||||
AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip])
|
AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip foreign])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AM_MAINTAINER_MODE()
|
AM_MAINTAINER_MODE()
|
||||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
|
|
|
||||||
Reference in a new issue