[-]
[+]
|
Added |
libcaca.spec
|
|
[-]
[+]
|
Deleted |
libcaca0.spec
^
|
@@ -1,243 +0,0 @@
-# Packmangroup: Libraries
-# Packmanpackagename: libcaca0
-# Packman: Manfred Tremmel
-
-#
-# spec file for package libcaca0 (Version 0.99.beta16)
-#
-
-# norootforbuild
-
-%define major 0
-%define lib libcaca
-%define libname %{lib}%{major}
-
-Name: %{libname}
-Summary: Text mode graphics library
-Summary(de): Grafik Bibliothek für den Textmodus
-Version: 0.99.beta17
-Release: 1.pm.2.2
-Group: System/Libraries
-License: GPL v2 or later
-URL: http://libcaca.zoy.org
-Source0: libcaca-%{version}.tar.bz2
-Requires: xorg-x11-libs
-Requires: ncurses
-Requires: slang
-Requires: imlib2
-BuildRequires: psmisc
-BuildRequires: xorg-x11-devel
-BuildRequires: xorg-x11-libs
-BuildRequires: ncurses-devel
-BuildRequires: slang-devel
-BuildRequires: imlib2-devel
-BuildRequires: doxygen
-BuildRequires: t1lib
-BuildRequires: texinfo
-BuildRequires: texlive
-BuildRequires: texlive-bin
-BuildRequires: texlive-bin-latex
-BuildRequires: texlive-latex
-BuildRequires: gcc
-BuildRequires: gcc-c++
-BuildRequires: freetype2-devel
-BuildRequires: pkgconfig
-BuildRequires: ruby
-BuildRequires: ruby-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%ifarch x86_64 amd64 ia32e
-Provides: libcucul.so.%{major}()(64bit)
-Provides: libcucul++.so.%{major}()(64bit)
-%else
-Provides: libcucul.so.%{major}
-Provides: libcucul++.so.%{major}
-%endif
-Provides: libcaca = %{version}-%{release}
-Obsoletes: libcaca < %{version}-%{release}
-
-%description
-libcaca is the Colour AsCii Art library. It provides high level functions
-for colour text drawing, simple primitives for line, polygon and ellipse
-drawing, as well as powerful image to text conversion routines.
-
-%description -l de
-libcaca ist die Colour AsCii Art library. Sie stellt High Level Funktionen
-für Bilddarstellung als farbiger Text, zum Zeichnen einfacher Primitive,
-Polygone und Ellipsen, sowie mächtiger "Bild zu Text" Konvertierungsroutinen.
-
-
-%package -n %{lib}-devel
-Summary: Development package for libcaca
-Summary(de): Entwicklerpaket zur libcaca
-Group: Development/Libraries/C and C++
-Requires: %{libname} = %{version}-%{release}
-Requires: slang-devel
-Requires: ncurses-devel
-Requires: xorg-x11-libX11-devel
-Requires: zlib-devel
-
-%description -n %{lib}-devel
-This package contains the header files and documentation
-needed to develop applications with libcaca.
-
-%description -n %{lib}-devel -l de
-Dieses Paket enthält die Header-Datein und Dokumentationen
-die zur Entwicklung von Anwendungen benötigt werden, welche
-die libcaca verwenden.
-
-
-%package -n %{libname}-ruby
-Summary: Ruby bindings package for libcaca
-Summary(de): Ruby Anbindung zur libcaca
-Group: Development/Libraries/Other
-Requires: %{libname} = %{version}-%{release}
-
-%description -n %{libname}-ruby
-This package contains the ruby bindings
-
-%description -n %{libname}-ruby -l de
-Dieses Paket enthält die ruby Anbindung
-
-
-%package -n caca-utils
-Summary: Text mode graphics utilities
-Summary(de): Textmodus Grafik-Utilities
-Group: Productivity/Graphics/Other
-Requires: %{libname} = %{version}-%{release}
-Requires: freetype2
-Requires: ncurses
-Requires: slang
-
-%description -n caca-utils
-This package contains utilities and demonstration programs for libcaca, the
-Colour AsCii Art library.
-
-cacaview is a simple image viewer for the terminal. It opens most image
-formats such as JPEG, PNG, GIF etc. and renders them on the terminal using
-ASCII art. The user can zoom and scroll the image, set the dithering method
-or enable anti-aliasing.
-
-cacaball is a tiny graphic program that renders animated ASCII metaballs on
-the screen, cacafire is a port of AALib's aafire and displays burning ASCII
-art flames, cacamoir animates colourful moire circles and cacaplas displays
-an old school plasma effect.
-
-cacademo is a simple application that shows the libcaca rendering features
-such as line and ellipses drawing, triangle filling and sprite blitting.
-
-%description -n caca-utils -l de
-Dieses Paket enthält Utilities und Demonstrationsprogramme zur libcaca, der
-Colour AsCii Art library.
-
-cacaview ist ein einfacher Bildbetrachter für die Textkonsole. Es öffnet
-die meisten Bildformate wie JPEG, PNG, GIF usw. und rendert sie auf dem
-Terminal mit Hilfe von ASCII Art. Der Benutzer kann in das Bild hinein-
-zoomen und darin herumscrollen, die Ditheringmethode einstellund und
-Kantenglättung an oder abstellen.
-
-cacaball ist ein kleines Grafikprogramm, welches animierte ASCII Metaballs
-auf den Bildschirm zeichnet. cacafire ist eine Portierung port von AALibs
-aafire und zeigt eine brennende ASCII art Flamme. cacamoir animiert farbige
-Moire Kreise und cacaplas zeigt den Plasmaeffekt alter Schule.
-
-cacademo ist eine einfache Anwendung die die libcaca Rendering Features,
-wie das Zeichnen von Linien, Ellipsen zeichnen, Rechtecke füllen und
-Sprites einblenden.
-
-%debug_package
-
-%prep
-%setup -n libcaca-%{version}
-
-%build
-%configure --enable-slang --enable-ncurses --enable-x11 --enable-imlib2 --enable-doc
-%{__make} %{?jobs:-j%{jobs}}
-
-%install
-[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
-mkdir %{buildroot}
-%makeinstall
-%{__mkdir_p} %{buildroot}%{_docdir}/libcaca-devel/html
-mv %{buildroot}%{_datadir}/doc/libcucul-dev/html/* %{buildroot}%{_docdir}/libcaca-devel/html/
-%{__rm} -rf %{buildroot}%{_datadir}/doc/libcucul-dev
-%{__rm} -rf %{buildroot}%{_datadir}/doc/libcaca-dev
-%{__rm} -f %{buildroot}/cucul++.pc
-%{__rm} -f %{buildroot}/%{_libdir}/*.a
-#%{__rm} -f %{buildroot}%{_libdir}/libcucul++.so
-pushd %{buildroot}%{_libdir} && %{__ln_s} -f libcaca.so.%{major} libcucul.so.%{major} && popd
-pushd %{buildroot}%{_libdir} && %{__ln_s} -f libcaca++.so.%{major} libcucul++.so.%{major} && popd
-%{__rm} -f %{buildroot}%{_libdir}/ruby/site_ruby/*/*/c*.a
-
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%clean
-[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
-
-%files
-%defattr(-,root,root)
-%{_libdir}/lib*.so.*
-
-%files -n %{lib}-devel
-%defattr(-,root,root)
-%doc doc/html/*
-%doc doc/latex/libcaca.pdf
-%{_bindir}/caca-config
-%{_libdir}/lib*.*a
-%{_libdir}/lib*.so
-%{_includedir}/c*.h
-%{_mandir}/man3/*.3caca.gz
-%{_mandir}/man1/caca-config.*
-%{_libdir}/pkgconfig/*.pc
-
-%files -n %{libname}-ruby
-%defattr(-,root,root)
-%{_libdir}/ruby/site_ruby/*/caca.rb
-%{_libdir}/ruby/site_ruby/*/*/c*.*
-
-%files -n caca-utils
-%defattr(-,root,root)
|
[-]
[+]
|
Added |
caca-no-build-date.patch
^
|
@@ -0,0 +1,21 @@
+Index: src/img2txt.c
+===================================================================
+--- src/img2txt.c.orig 2011-01-29 13:45:16.663763404 +0200
++++ src/img2txt.c 2011-01-29 13:45:34.053759487 +0200
+@@ -79,14 +79,14 @@ static void version(void)
+ {
+ printf(
+ "img2txt Copyright 2006-2007 Sam Hocevar and Jean-Yves Lamoureux\n"
+- "Internet: <sam@hocevar.net> <jylam@lnxscene.org> Version: %s, date: %s\n"
++ "Internet: <sam@hocevar.net> <jylam@lnxscene.org> Version: %s\n"
+ "\n"
+ "img2txt, along with its documentation, may be freely copied and distributed.\n"
+ "\n"
+ "The latest version of img2txt is available from the web site,\n"
+ " http://caca.zoy.org/wiki/libcaca in the libcaca package.\n"
+ "\n",
+- caca_get_version(), __DATE__);
++ caca_get_version());
+ }
+ int main(int argc, char **argv)
+ {
|
[-]
[+]
|
Added |
libcaca-0.99-texbuild.patch
^
|
@@ -0,0 +1,13 @@
+Index: doc/doxygen.cfg.in
+===================================================================
+--- doc/doxygen.cfg.in.orig 2010-01-03 04:54:32.000000000 +0200
++++ doc/doxygen.cfg.in 2010-11-20 07:32:05.000000000 +0200
+@@ -1047,7 +1047,7 @@ USE_PDFLATEX = YES
+ # running if errors occur, instead of asking the user for help.
+ # This option is also used when generating formulas in HTML.
+
+-LATEX_BATCHMODE = YES
++LATEX_BATCHMODE = NO
+
+ # If LATEX_HIDE_INDICES is set to YES then doxygen will not
+ # include the index chapters (such as File Index, Compound Index, etc.)
|
[-]
[+]
|
Added |
libcaca-0.99.beta16-missing-GLU.patch
^
|
@@ -0,0 +1,13 @@
+Index: caca/Makefile.am
+===================================================================
+--- caca/Makefile.am.orig 2010-02-08 14:34:28.000000000 +0200
++++ caca/Makefile.am 2011-01-29 12:13:29.633631655 +0200
+@@ -54,7 +54,7 @@ libcaca_la_DEPENDENCIES = \
+ $(NULL)
+ libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@ -D__LIBCACA__
+ libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
+-libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS)
++libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS) -lGLU
+
+ codec_source = \
+ codec/import.c \
|
[-]
[+]
|
Added |
libcaca-X11_test.patch
^
|
@@ -0,0 +1,13 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig 2010-02-08 14:34:28.000000000 +0200
++++ configure.ac 2011-01-29 12:09:24.385753017 +0200
+@@ -213,7 +213,7 @@ if test "${enable_x11}" != "no"; then
+ AC_CHECK_LIB(X11, XOpenDisplay,
+ [ac_cv_my_have_x11="yes"
+ if test -n "${x_includes}"; then X_CFLAGS="-I${x_includes}"; fi
+- if test -n "${x_libraries}"; then X_LIBS="-L${x_libraries}"; fi
++ if test -n "${x_libraries}" -a "${x_libraries}" != "/usr"; then X_LIBS="-L${x_libraries}"; fi
+ AC_DEFINE(USE_X11, 1, Define to 1 to activate the X11 backend driver)
+ CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
+ X11_LIBS="${X11_LIBS} -lX11 ${X_LIBS}"
|
[-]
[+]
|
Added |
libcaca-ruby_am_cflags.patch
^
|
@@ -0,0 +1,13 @@
+Index: ruby/Makefile.am
+===================================================================
+--- ruby/Makefile.am.orig 2010-02-08 03:27:22.000000000 +0200
++++ ruby/Makefile.am 2010-11-20 07:31:50.000000000 +0200
+@@ -8,7 +8,7 @@ rubysite_DATA = lib/caca.rb
+ TESTS = test
+ endif
+
+-CFLAGS += -Wno-strict-prototypes -Wno-missing-prototypes
++AM_CFLAGS = -Wno-strict-prototypes -Wno-missing-prototypes
+
+ caca_la_CPPFLAGS = -I$(top_srcdir)/caca -I../caca $(RUBY_CFLAGS)
+ caca_la_SOURCES = caca.c \
|
[-]
[+]
|
Added |
libcaca-ruby_vendor_install.patch
^
|
@@ -0,0 +1,39 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig 2011-01-29 12:09:24.385753017 +0200
++++ configure.ac 2011-01-29 12:09:54.937754460 +0200
+@@ -471,12 +471,12 @@ if test "${enable_ruby}" != "no"; then
+ if test "${RUBY}" != "no"; then
+ RUBY_CFLAGS="-I$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"archdir"@:>@')"
+ RUBY_LIBS="-L$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"libdir"@:>@') -l$(ruby -r rbconfig -e 'print Config::CONFIG@<:@"RUBY_SO_NAME"@:>@')"
+- RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"sitearchdir"@:>@'`
+- RUBY_SITELIBDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"sitelibdir"@:>@'`
++ RUBY_VENDORARCHDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"vendorarchdir"@:>@'`
++ RUBY_VENDORLIBDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"vendorlibdir"@:>@'`
+ AC_SUBST(RUBY_CFLAGS)
+ AC_SUBST(RUBY_LIBS)
+- AC_SUBST(RUBY_SITEARCHDIR)
+- AC_SUBST(RUBY_SITELIBDIR)
++ AC_SUBST(RUBY_VENDORARCHDIR)
++ AC_SUBST(RUBY_VENDORLIBDIR)
+ CPPFLAGS="${CPPFLAGS} ${RUBY_CFLAGS}"
+ AC_CHECK_HEADERS([ruby.h],
+ [ac_cv_my_have_ruby="yes"
+Index: ruby/Makefile.am
+===================================================================
+--- ruby/Makefile.am.orig 2011-01-29 12:09:52.514753254 +0200
++++ ruby/Makefile.am 2011-01-29 12:09:54.938755226 +0200
+@@ -1,10 +1,10 @@
+
+-rubylibdir = $(RUBY_SITEARCHDIR)
+-rubysitedir = $(RUBY_SITELIBDIR)
++rubylibdir = $(RUBY_VENDORARCHDIR)
++rubyvendordir = $(RUBY_VENDORLIBDIR)
+
+ if USE_RUBY
+ rubylib_LTLIBRARIES = caca.la
+-rubysite_DATA = lib/caca.rb
++rubyvendor_DATA = lib/caca.rb
+ TESTS = test
+ endif
+
|