/contrib/media/updf_newlib/opj_config.h |
---|
File deleted |
Property changes: |
Deleted: svn:executable |
-* |
\ No newline at end of property |
/contrib/media/updf_newlib/compile.sh |
---|
File deleted |
Property changes: |
Deleted: svn:executable |
-* |
\ No newline at end of property |
/contrib/media/updf_newlib/apps/Makefile |
---|
19,3 → 19,6 |
%.o : %.c Makefile $(APPS_SRC) |
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $< |
clean: |
rm *.o |
/contrib/media/updf_newlib/apps/kolibri.c |
---|
1,5 → 1,6 |
#include "kolibri.h" |
#include "string.h" |
#include <stdlib.h> |
extern char KOL_PATH[256]; |
/contrib/media/updf_newlib/apps/kolibri.h |
---|
1,5 → 1,7 |
#ifndef NULL |
#define NULL ((void*)0) |
#endif |
#define SHM_OPEN 0 |
#define SHM_OPEN_ALWAYS 0x04 |
46,7 → 48,7 |
{ |
unsigned p00; |
unsigned p04; |
unsigned p08; |
char *p08; |
unsigned p12; |
unsigned p16; |
char p20; |
143,3 → 145,6 |
char* kol_clip_get(int n); |
int kol_clip_set(int n, char buffer[]); |
void kos_blit(int dstx, int dsty, int w, int h, int srcx, |
int srcy,int srcw, int srch, int stride, char *d); |
int kos_random(int num); |
/contrib/media/updf_newlib/apps/kos_main.c |
---|
2,7 → 2,6 |
#include "resource.h" |
#include <menuet/os.h> |
#define _WIN32 |
#include "fitz.h" |
#include "mupdf.h" |
#include "pdfapp.h" |
56,6 → 55,13 |
}; |
/*==== CODE ====*/ |
// Prototypes // |
void RunApp(char app[], char param[]); |
void winblit(pdfapp_t *app); |
void DrawPagination(void); |
void HandleNewPageNumber(unsigned char key); |
void ApplyNewPageNumber(void); |
void DrawWindow(void); |
// not implemented yet |
/contrib/media/updf_newlib/apps/pdfapp.c |
---|
2,7 → 2,7 |
#include "mupdf.h" |
#include "pdfapp.h" |
// #include <ctype.h> /* for tolower() */ |
#include <ctype.h> /* for tolower() */ |
#define ZOOMSTEP 1.142857 |
#define BEYOND_THRESHHOLD 40 |
/contrib/media/updf_newlib/apps/resource.h |
---|
1,21 → 1,5 |
#ifndef __dj_include_sys_resource_h_ |
#define __dj_include_sys_resource_h_ |
#ifdef __cplusplus |
extern "C" { |
#endif |
#ifndef __dj_ENFORCE_ANSI_FREESTANDING |
#ifndef __STRICT_ANSI__ |
#ifndef _POSIX_SOURCE |
#include <time.h> |
#define RUSAGE_SELF 0 /* calling process */ |
#define RUSAGE_CHILDREN -1 /* terminated child processes */ |
struct rusage { |
struct timeval ru_utime; /* user time used */ |
struct timeval ru_stime; /* system time used */ |
35,36 → 19,5 |
long ru_nivcsw; /* involuntary context switches */ |
}; |
#define RLIMIT_CPU 0 /* cpu time in milliseconds */ |
#define RLIMIT_FSIZE 1 /* maximum file size */ |
#define RLIMIT_DATA 2 /* data size */ |
#define RLIMIT_STACK 3 /* stack size */ |
#define RLIMIT_CORE 4 /* core file size */ |
#define RLIMIT_RSS 5 /* resident set size */ |
#define RLIMIT_MEMLOCK 6 /* locked-in-memory address space */ |
#define RLIMIT_NPROC 7 /* number of processes */ |
#define RLIMIT_NOFILE 8 /* number of open files */ |
#define RLIM_NLIMITS 9 /* number of resource limits */ |
#define RLIM_INFINITY ((long) ((1UL << 31) - 1UL)) |
struct rlimit { |
long rlim_cur; /* current (soft) limit */ |
long rlim_max; /* maximum value for rlim_cur */ |
}; |
/// STUB /// |
int getrusage(int _who, struct rusage *_rusage) {}; |
#endif /* !_POSIX_SOURCE */ |
#endif /* !__STRICT_ANSI__ */ |
#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ |
#ifndef __dj_ENFORCE_FUNCTION_CALLS |
#endif /* !__dj_ENFORCE_FUNCTION_CALLS */ |
#ifdef __cplusplus |
} |
#endif |
#endif /* !__dj_include_sys_resource_h_ */ |
/contrib/media/updf_newlib/build_libs.sh |
---|
0,0 → 1,27 |
# BUILD ONLY LIBRARIES |
cd SYSCALL/src |
make |
cd ../.. |
cd fitz |
make |
cd .. |
cd pdf |
make |
cd .. |
cd libopenjpeg |
make |
cd .. |
cd libjbig2dec |
make |
cd .. |
cd draw |
make |
cd .. |
sleep 100 |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/contrib/media/updf_newlib/libopenjpeg/openjpeg.c |
---|
28,7 → 28,7 |
#include <windows.h> |
#endif /* _WIN32 */ |
#include "../opj_config.h" |
#include "opj_config.h" |
#include "opj_includes.h" |
/* ---------------------------------------------------------------------- */ |
/contrib/media/updf_newlib/libopenjpeg/opj_config.h |
---|
0,0 → 1,105 |
/* opj_config.h. Generated from opj_config.h.in by configure. */ |
/* opj_config.h.in. Generated from configure.ac by autoheader. */ |
/* Define if building universal (internal helper macro) */ |
/* #undef AC_APPLE_UNIVERSAL_BUILD */ |
/* Define to 1 if you have the <dlfcn.h> header file. */ |
#define HAVE_DLFCN_H 0 |
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ |
#define HAVE_FSEEKO 1 |
/* Define to 1 if you have the <inttypes.h> header file. */ |
#define HAVE_INTTYPES_H 0 |
/* Define to 1 if you have the `lcms' library (-llcms). */ |
#define HAVE_LIBLCMS 0 |
/* define to 1 if you have lcms version 1.x */ |
#define HAVE_LIBLCMS1 0 |
/* define to 1 if you have lcms version 2.x */ |
/* #undef HAVE_LIBLCMS2 */ |
/* define to 1 if you have libpng */ |
#define HAVE_LIBPNG 1 |
/* define to 1 if you have libtiff */ |
#define HAVE_LIBTIFF 0 |
/* Define to 1 if you have the <memory.h> header file. */ |
#define HAVE_MEMORY_H 1 |
/* Define to 1 if you have the <stdint.h> header file. */ |
#define HAVE_STDINT_H 1 |
/* Define to 1 if you have the <stdlib.h> header file. */ |
#define HAVE_STDLIB_H 1 |
/* Define to 1 if you have the <strings.h> header file. */ |
#define HAVE_STRINGS_H 0 |
/* Define to 1 if you have the <string.h> header file. */ |
#define HAVE_STRING_H 1 |
/* Define to 1 if you have the <sys/stat.h> header file. */ |
#define HAVE_SYS_STAT_H 1 |
/* Define to 1 if you have the <sys/types.h> header file. */ |
#define HAVE_SYS_TYPES_H 1 |
/* Define to 1 if you have the <unistd.h> header file. */ |
#define HAVE_UNISTD_H 1 |
/* Define to the sub-directory in which libtool stores uninstalled libraries. |
*/ |
#define LT_OBJDIR ".libs/" |
/* Name of package */ |
#define PACKAGE "openjpeg-1.4.0" |
/* Define to the address where bug reports for this package should be sent. */ |
#define PACKAGE_BUGREPORT "http://code.google.com/p/openjpeg/" |
/* Define to the full name of this package. */ |
#define PACKAGE_NAME "OpenJPEG" |
/* Define to the full name and version of this package. */ |
#define PACKAGE_STRING "OpenJPEG 1.4.0" |
/* Define to the one symbol short name of this package. */ |
#define PACKAGE_TARNAME "openjpeg-1.4.0" |
/* Define to the home page for this package. */ |
#define PACKAGE_URL "http://www.openjpeg.org/" |
/* Define to the version of this package. */ |
#define PACKAGE_VERSION "1.4.0" |
/* Define to 1 if you have the ANSI C header files. */ |
#define STDC_HEADERS 1 |
/* Version number of package */ |
#define VERSION "1.4.0" |
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
significant byte first (like Motorola and SPARC, unlike Intel). */ |
#if defined AC_APPLE_UNIVERSAL_BUILD |
# if defined __BIG_ENDIAN__ |
# define WORDS_BIGENDIAN 1 |
# endif |
#else |
# ifndef WORDS_BIGENDIAN |
/* # undef WORDS_BIGENDIAN */ |
# endif |
#endif |
/* Number of bits in a file offset, on hosts where this is settable. */ |
#define _FILE_OFFSET_BITS 64 |
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ |
/* #undef _LARGEFILE_SOURCE */ |
/* Define for large files, on AIX-style hosts. */ |
/* #undef _LARGE_FILES */ |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |