-- 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: 57eaa26754b6dfa76406629be5fdde4673e92b66:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 57eaa26754b6dfa76406629be5fdde4673e92b66
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Tue Oct 1 13:30:04 2013 +0000

    Fix build with --disable-transparency --disable-perl.

diff --git a/src/rxvt.h b/src/rxvt.h

index fbaa8292433fa94f090dfc0ac9d5c495da31d597..

index ..7c2e6418071ef48c22e20baa06a9ce6ac29a4692 100644

--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -79,6 +79,7 @@ typedef  int32_t tlen_t_; // specifically for use in the line_t structure

 #if XRENDER && (HAVE_PIXBUF || ENABLE_TRANSPARENCY)
 # define HAVE_BG_PIXMAP 1
+# define HAVE_IMG 1
 #endif

 #if HAVE_BG_PIXMAP
diff --git a/src/rxvtimg.h b/src/rxvtimg.h

index fbd99d6608877f15acffcd141efbab6cb29482e4..

index ..ea03e402c85be46e6f2e1231ea707183f0ce619f 100644

--- a/src/rxvtimg.h
+++ b/src/rxvtimg.h
@@ -24,10 +24,6 @@
 #ifndef IMG_H
 #define IMG_H

-#if HAVE_BG_PIXMAP
-  #define HAVE_IMG 1
-#endif
-
 #if HAVE_IMG

 #define float_to_component(d) (int32_t)((d) * 65535.99)
diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C

index ce9bf569a208507e7a0f8c5c7953c7b32692ef46..

index ..b5d2c123d620eb659fde0a2f70d04f4eae2c87e2 100644

--- a/src/rxvttoolkit.C
+++ b/src/rxvttoolkit.C
@@ -68,7 +68,7 @@ static const char *const xa_names[] =
   "WM_LOCALE_NAME",
   "XIM_SERVERS",
 #endif
-#if BG_IMAGE_FROM_ROOT || ENABLE_PERL
+#if HAVE_IMG || ENABLE_PERL
   "_XROOTPMAP_ID",
   "ESETROOT_PMAP_ID",
 #endif
diff --git a/src/rxvttoolkit.h b/src/rxvttoolkit.h

index 369d8e7afdc99d7e193cbf83c785cbc698faaad2..

index ..91ad7e29890104599d9cadf6e6e2cd3f88195ca8 100644

--- a/src/rxvttoolkit.h
+++ b/src/rxvttoolkit.h
@@ -68,7 +68,7 @@ enum {
   XA_WM_LOCALE_NAME,
   XA_XIM_SERVERS,
 #endif
-#if BG_IMAGE_FROM_ROOT || ENABLE_PERL
+#if HAVE_IMG || ENABLE_PERL
   XA_XROOTPMAP_ID,
   XA_ESETROOT_PMAP_ID,
 #endif

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

-- Response ended

-- Page fetched on Sun Jun 2 11:37:36 2024