+ Some patches from Daniel Kobras, mainly to reenable load-scx.scm from the source directory
+ Bump the version number to 0.2
This commit is contained in:
		
							parent
							
								
									b8ddec939b
								
							
						
					
					
						commit
						abdae75b90
					
				| 
						 | 
					@ -1,2 +1,10 @@
 | 
				
			||||||
SUBDIRS = xlib
 | 
					SUBDIRS = xlib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					EXTRA_DIST= \
 | 
				
			||||||
 | 
						xt/resource.c \
 | 
				
			||||||
 | 
						xt/widget.c \
 | 
				
			||||||
 | 
						libs/xrender.c \
 | 
				
			||||||
 | 
						libs/xft.c \
 | 
				
			||||||
 | 
						libs/xft.h \
 | 
				
			||||||
 | 
						libs/xpm.c \
 | 
				
			||||||
 | 
						libs/xrender.h
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										16
									
								
								configure.in
								
								
								
								
							
							
						
						
									
										16
									
								
								configure.in
								
								
								
								
							| 
						 | 
					@ -1,24 +1,22 @@
 | 
				
			||||||
  #AC_DEFUN(
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
  define([SCX_PREPEND], [[$2]="$[$2] [$1]"])
 | 
					  define([SCX_PREPEND], [[$2]="$[$2] [$1]"])
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
  AC_INIT(scx, 0.1)
 | 
					  AC_INIT(scx, 0.2)
 | 
				
			||||||
  AC_CONFIG_SRCDIR(configure.in)
 | 
					  AC_CONFIG_SRCDIR(configure.in)
 | 
				
			||||||
  AM_INIT_AUTOMAKE
 | 
					  AM_INIT_AUTOMAKE
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
  AC_CONFIG_HEADERS(c/config.h)
 | 
					  AC_CONFIG_HEADERS(c/config.h)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          AC_PROG_LIBTOOL
 | 
					  AC_PROG_LIBTOOL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          AC_PROG_CC
 | 
					  AC_PROG_CC
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
          AC_PATH_XTRA
 | 
					  AC_PATH_XTRA
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          AC_ARG_WITH(scsh-includes, 
 | 
					  AC_ARG_WITH(scsh-includes, 
 | 
				
			||||||
                     AC_HELP_STRING([--with-scsh-includes=DIR],  
 | 
					                    AC_HELP_STRING([--with-scsh-includes=DIR],  
 | 
				
			||||||
                                    [scsh include files are in DIR [/usr/local/include]]),
 | 
					                                    [scsh include files are in DIR @<:@/usr/local/include@:>@]),
 | 
				
			||||||
                     scsh_includes=$withval, 
 | 
					                     scsh_includes=$withval, 
 | 
				
			||||||
                     scsh_includes=/usr/local/include)
 | 
					                     scsh_includes=/usr/local/include)
 | 
				
			||||||
          AC_SUBST(scsh_includes)
 | 
					          AC_SUBST(scsh_includes)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -45,10 +45,12 @@ CLEANFILES= load-scx.scm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
load-scx.scm: $(srcdir)/load-scx.scm.in
 | 
					load-scx.scm: $(srcdir)/load-scx.scm.in
 | 
				
			||||||
	sed -e "s|@scxschemedir@|`pwd`/$(srcdir)|g" \
 | 
						sed -e "s|@scxschemedir@|`pwd`/$(srcdir)|g" \
 | 
				
			||||||
	    -e "s|@scxlibdir@|`pwd`/../c/xlib/.libs|g" $< > $@ #won't work
 | 
						    -e "s|@scxhost@||g" \
 | 
				
			||||||
 | 
						    -e "s|@scxlibdir@|`pwd`/../c/xlib/.libs|g" $< > $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install-data-hook:
 | 
					install-data-hook:
 | 
				
			||||||
	sed -e "s|@scxschemedir@|$(schemedir)|g" \
 | 
						sed -e "s|@scxschemedir@|$(schemedir)|g" \
 | 
				
			||||||
 | 
						    -e "s|@scxhost@|(host)|g" \
 | 
				
			||||||
	    -e "s|@scxlibdir@|$(libdir)|g" \
 | 
						    -e "s|@scxlibdir@|$(libdir)|g" \
 | 
				
			||||||
		$(srcdir)/load-scx.scm.in \
 | 
							$(srcdir)/load-scx.scm.in \
 | 
				
			||||||
		> $(DESTDIR)/$(schemedir)/load-scx.scm
 | 
							> $(DESTDIR)/$(schemedir)/load-scx.scm
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,7 +7,7 @@
 | 
				
			||||||
(load-package 'configure)
 | 
					(load-package 'configure)
 | 
				
			||||||
(open 'configure)
 | 
					(open 'configure)
 | 
				
			||||||
(run '(let ((initializer-name "scx_init_xlib")
 | 
					(run '(let ((initializer-name "scx_init_xlib")
 | 
				
			||||||
            (module-file (string-append "@scxlibdir@/" (host) "/libscx.so")))
 | 
					            (module-file (string-append "@scxlibdir@/" @scxhost@ "/libscx.so")))
 | 
				
			||||||
        (dynamic-load module-file)
 | 
					        (dynamic-load module-file)
 | 
				
			||||||
        (call-external (get-external initializer-name))))
 | 
					        (call-external (get-external initializer-name))))
 | 
				
			||||||
(config)
 | 
					(config)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue