Go to file
Lucas De Marchi b2a826a680 Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
data Remove .cvsignores. 2010-03-14 15:25:09 +00:00
debian Fixed debian stuff everywhere. 2009-05-04 17:36:48 +00:00
doc Remove .cvsignores. 2010-03-14 15:25:09 +00:00
src Remove unneeded code with notnull.cocci script 2010-07-14 02:05:47 +00:00
.gitignore Add .gitignore. 2010-02-20 11:50:59 +00:00
.indent.pro Add indent profile. 2007-05-20 13:24:59 +00:00
AUTHORS Patch from Dmitry Antipov: 2006-04-09 08:12:51 +00:00
COPYING fix the copying license to 2009-01-13 13:00:45 +00:00
COPYING-PLAIN and new much cleaner tree. 2004-11-01 09:45:31 +00:00
ChangeLog Update ChangeLog. 2010-05-05 18:25:17 +00:00
Doxyfile Update doxy style 2007-12-06 18:17:21 +00:00
INSTALL fix install 2004-11-02 03:30:28 +00:00
Makefile.am Add rule to generate ChangeLog. 2010-05-05 18:23:13 +00:00
README.ID3 Added documentation for tag id3-link-url 2005-08-22 09:50:50 +00:00
README.in auto-package imlib2... 2005-03-03 14:28:52 +00:00
TODO and new much cleaner tree. 2004-11-01 09:45:31 +00:00
autogen.sh No need for libtoolize twice? 2010-04-05 18:36:38 +00:00
configure.ac 1.4.4. 2010-05-05 18:23:19 +00:00
gendoc Update doxy style 2007-12-06 18:17:21 +00:00
imlib2-config.in Revert imlib2-config removal. There still may be systems without pkgconfig out there. 2008-10-22 18:48:55 +00:00
imlib2.c.in and new much cleaner tree. 2004-11-01 09:45:31 +00:00
imlib2.pc.in don't _require_ freetype2 2007-03-22 20:52:41 +00:00
imlib2.spec.in Fix build. 2010-02-07 23:47:46 +00:00

README.in

Imlib2 @VERSION@

This is the Imlib 2 library - a library that does image file loading and
saving as well as rendering, manipulation, arbitrary polygon support, etc.

It does ALL of these operations FAST. Imlib2 also tries to be highly
intelligent about doing them, so writing naive programs can be done
easily, without sacrificing speed.

This is a complete rewrite over the Imlib 1.x series. The architecture is
more modular, simple, and flexible. See index.html in the doc/ directory
for more information.

Imlib2 requires several libraries to be already installed. These are:

libjpeg          http://www.ijg.org/
libpng           http://www.libpng.org/pub/png/libpng.html
freetype 2.1.x   http://www.freetype.org/

For examples of this library in use, seek:

Eterm            http://www.eterm.org/ (CVS version only, currently)
feh              http://www.linuxbrit.co.uk/feh.html
geist            http://www.linuxbrit.co.uk/geist.html

------------------------------------------------------------------------------
COMPILING AND INSTALLING:

  ./configure
  make
(as root unless youa re installing in your users directories):
  make install
      
------------------------------------------------------------------------------
BUILDING PACKAGES:

RPM: To build rpm packages:
  
  sudo rpm -ta @PACKAGE@-@VERSION@.tar.gz

You will find rpm packages in your system /usr/src/redhat/* dirs (note you may
not need to use sudo or root if you have your own ~/.rpmrc. see rpm documents
for more details)

DEB: To build deb packages:

  tar zvf @PACKAGE@-@VERSION@.tar.gz
  cd @PACKAGE@-@VERSION@
  dpkg-buildpackage -us -uc -rfakeroot
  cd ..
  rm -rf @PACKAGE@-@VERSION@

You will find all the debian source, binary etc. packages put in the directory
where you first untarred the source tarball.