improved configure, handing of photos better in the place gallery
svn: r427
This commit is contained in:
@@ -205,7 +205,7 @@ class EditPlace:
|
||||
thumb = "%s%s.thumb%s%s" % (self.path,os.sep,os.sep,src)
|
||||
else:
|
||||
thumb = "%s%s.thumb%s%s.jpg" % (self.path,os.sep,os.sep,os.path.basename(src))
|
||||
RelImage.check_thumb(src,thumb,const.thumbScale)
|
||||
RelImage.check_thumb(phto.getPath(),thumb,const.thumbScale)
|
||||
self.photo_list.append(thumb,photo.getDescription())
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@@ -5,7 +5,8 @@ datadir = @datadir@/@PACKAGE@
|
||||
INSTALL = @INSTALL@
|
||||
srcdir = @top_srcdir@
|
||||
pycomp = ${srcdir}/py-compile
|
||||
CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@
|
||||
CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
|
||||
LDFLAGS = @LDFLAGS@ -L@libdir@ @LIBS@
|
||||
LANG = sv de fr es
|
||||
|
||||
@SET_MAKE@
|
||||
@@ -15,7 +16,7 @@ all: intl.so
|
||||
${pycomp} *.py
|
||||
|
||||
intl.so: intl.c
|
||||
$(CC) $(CFLAGS) -o intl.so intl.c
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o intl.so intl.c
|
||||
|
||||
install:
|
||||
${INSTALL} -d ${datadir}
|
||||
|
||||
Reference in New Issue
Block a user