XPKGTOOL - A Slackware Package Manager for X

* OVERVIEW *
XPKGTOOL is a GUI front-end for pkgtool - the Slackware Linux package manager.
It's designed to allow users to perform the common operations for package maintenance,
such install, remove and upgrade packages with ease, in a nice X-based user interface.
XPKGTOOL comes with a built-in update manager, called SlackGrade, that will help you
to keep your Slackware up to date, cheking, downloading and upgrading the system with
the latest packages available from the main Slackware distribution tree on the web.

 SlackGrade: The Slackware Update Wizard
Is distributed under GPL license and is available also as a stand-alone utility at:
http://slackgrade.sourceforge.net


* LICENSE *
xpkgtool is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This 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, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA  02111-1307  USA


* HOW TO BUILD XPKGTOOL FROM SOURCES *
No one configure script is included until this moment.
This way, make sure you have compiled and instaled the following software packages
before build XPKGTOOL:
- wxGTK* 2.4.0 or above (recommended: 2.4.2)
- wxxrc library, included with wxGTK sources, under WXDIR/contrib/src/xrc
* wxGTK is available for download at: http://www.wxwidgets.org

It's important to say that the Makefile included with XPKGTOOL source is pre-configured
to build a binary with a static version of wxGTK, but you can, if you prefer, 
build it with a shared version of wxGTK, as seen in the build instructions below.

To build XPKGTOOL, just run the following commands (assuming you're under the XPKGTOOL
root directory:
# cd src
# make
this will build a binary linked with the static wxGTK libraries. however, some build
tests using the wxGTK shared libraries were made with success without modifications
in the make script.
but if you're experiencing build problems with shared libraries you can try build it
using the makefile's SHARED environment variable:
# make SHARED=yes
by default, make script will build XPKGTOOL with the built-in SlackGrade tool but, if
you want, you can disable the SlackGrade build. do this through the command:
# make SLACKGRADE=no
as an extra option, if you want to use a compiler cache tool, such ccache, during the
compilation, you can pass it as an argument to the make script, through the EXTRA
environment variable. below, an example for ccache:
# make EXTRA=ccache
after this, if compilation succeds, the binary file will stay on the (XPKGTOOL_DIR)/bin
directory. You can reduce the final binary size with the 'strip' binutil and 'upx' tool
through the following command:
# make pack
to remove the intermediary object files created after the build process, just do:
# make clean
to remove object files, as well the binary file, do:
# make cleanall
to install XPKGTOOL, just do (as root):
# make install
this will copy the binary file to /usr/local/bin directory and other necessary files
to /usr/local/share/xpkgtool directory.
To launch XPKGTOOL, just type:
# xpkgtool
You can uninstall XPKGTOOL from the system by running:
# make uninstall


* CVS *
You can get the latest (unstable) development snapshots of XPKGTOOL through CVS:
# cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/xpkgtool login
When prompted for a password, just press <enter> key, then checkout for XPKGTOOL:
# cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/xpkgtool co xpkgtool
Done. A root tree containing the latest sources for XPKGTOOL is on the current directory.
You can now logout from CVS:
# cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/xpkgtool logout
Just enter XPKGTOOL root then just follow the build instructions above.
However, remember: development versions may not work well as expected.

To find for new versions and get other info please visit the XPKGTOOL web page at:
http://xpkgtool.sourceforge.net

Apologize my imperfect English.

Have fun :)

Marcelo A. B. Slomp
Brazil
mslomp@linuxmail.org
