-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 0b065f81945de35f2e706d9ca2f6498da5fb3c00:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 0b065f81945de35f2e706d9ca2f6498da5fb3c00
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Thu Sep 2 15:51:55 2010 +0000

    *** empty log message ***

diff --git a/config.h.in b/config.h.in

index 5a230be95c577d012d6de87e012bb01998f3bc9f..

index ..c5401dd333e594ae211a97df847610e3aea8edce 100644

--- a/config.h.in
+++ b/config.h.in
@@ -1,7 +1,6 @@
 /* config.h.in.  Generated from configure.ac by autoheader.  */

-/* Define if you want to have sexy-looking background pixmaps. Needs
-   libAfterImage */
+/* Define if you want to have sexy-looking background pixmaps. */
 #undef BG_IMAGE_FROM_FILE

 /* clone device filename */
@@ -106,6 +105,9 @@
 /* "" */
 #undef HAVE_OPENPTY

+/* Define if you want to use gdk-pixbuf for image processing */
+#undef HAVE_PIXBUF
+
 /* Define to 1 if you have the `poll' function. */
 #undef HAVE_POLL

diff --git a/configure b/configure

index acc017b07764b9bdc162d2b54d0eb8aa684db988..

index ..ad808c7dcff08020a7682fa4baa04662b88ba5b2 100755

--- a/configure
+++ b/configure
@@ -593,8 +593,6 @@ ac_includes_default="\

 ac_subst_vars='LTLIBOBJS
 LIBOBJS
-AFTERIMAGE_LIBS
-AFTERIMAGE_CFLAGS
 PERL_O
 IF_PERL
 PERLPRIVLIBEXP
@@ -602,8 +600,12 @@ PERLFLAGS
 PERLLIB
 PERL
 XFT_CONFIG
-PKG_CONFIG
+AFTERIMAGE_LIBS
+AFTERIMAGE_CFLAGS
 afterimage_config
+PIXBUF_LIBS
+PIXBUF_CFLAGS
+PKG_CONFIG
 X_EXTRA_LIBS
 X_LIBS
 X_PRE_LIBS
@@ -690,6 +692,7 @@ enable_xft
 enable_font_styles
 enable_afterimage
 with_afterimage_config
+enable_pixbuf
 enable_transparency
 enable_fading
 enable_rxvt_scroll
@@ -1339,11 +1342,6 @@ X features:
   --x-includes=DIR    X include files are in DIR
   --x-libraries=DIR   X library files are in DIR

-Program names:
-  --program-prefix=PREFIX            prepend PREFIX to installed program names
-  --program-suffix=SUFFIX            append SUFFIX to installed program names
-  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
-
 System types:
   --build=BUILD     configure for building on BUILD [guessed]
   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
@@ -1368,6 +1366,7 @@ Optional Features:
   --enable-xft            enable xft support on systems that have it
   --enable-font-styles    enable bold and italic support
   --enable-afterimage     enable integration with libAfterImage for background images
+  --enable-pixbuf         enable integration with gdk-pixbuf for background images
   --enable-transparency   enable transparent backgrounds
   --enable-fading         enable colors fading when off focus
   --enable-rxvt-scroll    enable rxvt style scrollbar
@@ -4850,6 +4849,14 @@ fi



+# Check whether --enable-pixbuf was given.
+if test "${enable_pixbuf+set}" = set; then :
+  enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then
+    support_pixbuf=$enableval
+  fi
+fi
+
+
 # Check whether --enable-transparency was given.
 if test "${enable_transparency+set}" = set; then :
   enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then
@@ -5009,7 +5016,6 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF


-RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`


 # Check whether --enable-swapscreen was given.
@@ -6229,6 +6235,79 @@ fi
 fi


+PIXBUF_CFLAGS=
+PIXBUF_LIBS=
+
+if test x$support_pixbuf = xyes; then
+  support_pixbuf=no
+  # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $PKG_CONFIG in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
+  ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5
+$as_echo_n "checking for gdk-pixbuf... " >&6; }
+  if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-xlib-2.0; then
+    PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-xlib-2.0 --cflags`"
+    PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-xlib-2.0 --libs`"
+    support_pixbuf=yes
+  fi
+
+  if test x$support_pixbuf = xyes; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+    support_afterimage=no
+
+$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h
+
+
+$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
+
+  else
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  fi
+fi
+
+
+
+
 AFTERIMAGE_CFLAGS=
 AFTERIMAGE_LIBS=
 AFTERIMAGE_VERSION=
@@ -6300,6 +6379,12 @@ $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; }
     if test "x$support_afterimage" = "xyes"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5
 $as_echo "$AFTERIMAGE_LIBS" >&6; }
+
+$as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h
+
+
+$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
+
     else
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
@@ -6307,6 +6392,9 @@ $as_echo "no" >&6; }
   fi
 fi

+
+
+
 for ac_header in \
 	sys/byteorder.h \
 	sys/ioctl.h \
@@ -7867,14 +7955,6 @@ if test x$support_mouseslipwheel = xyes; then

 $as_echo "#define MOUSE_SLIP_WHEELING 1" >>confdefs.h

-fi
-if test x$support_afterimage = xyes; then
-
-$as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h
-
-
-$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
-
 fi


@@ -8094,28 +8174,6 @@ fi



-
-
-
-
-
-
-
-
-
-
-
-test "$program_prefix" != NONE &&
-  program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
-  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"

 cat >confcache <<\_ACEOF

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 13:29:32 2024