Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 251796
Collapse All | Expand All

(-)pdftk-1.41.orig/java_libs/com/lowagie/bc/asn1/Makefile (-2 / +1 lines)
Lines 25-32 Link Here
25
# the "$*" automatic variable, here
25
# the "$*" automatic variable, here
26
#
26
#
27
%.h : %.class
27
%.h : %.class
28
	$(GCJH) --classpath="." $*;
28
	$(GCJH) --classpath="$(java_libs_root):." $*;
29
	$(RM) $<
30
29
31
##
30
##
32
# targets
31
# targets
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/Makefile (-3 / +2 lines)
Lines 25-37 Link Here
25
# the "$*" automatic variable, here
25
# the "$*" automatic variable, here
26
#
26
#
27
%.h : %.class
27
%.h : %.class
28
	$(GCJH) --classpath="." $*;
28
	$(GCJH) --classpath="$(java_libs_root):." $*;
29
	$(RM) $<
30
29
31
##
30
##
32
# targets
31
# targets
33
32
34
all : $(library) $(headers)
33
all : $(library) $(headers) $(classes)
35
34
36
$(library) : $(objects)
35
$(library) : $(objects)
37
	$(AR) $(ARFLAGS) $(library) $(objects);
36
	$(AR) $(ARFLAGS) $(library) $(objects);
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/markup/Makefile (-2 / +1 lines)
Lines 25-32 Link Here
25
# the "$*" automatic variable, here
25
# the "$*" automatic variable, here
26
#
26
#
27
%.h : %.class
27
%.h : %.class
28
	$(GCJH) --classpath="." $*;
28
	$(GCJH) --classpath="$(java_libs_root):." $*;
29
	$(RM) $<
30
29
31
##
30
##
32
# targets
31
# targets
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/codec/Makefile (-2 / +1 lines)
Lines 25-32 Link Here
25
# the "$*" automatic variable, here
25
# the "$*" automatic variable, here
26
#
26
#
27
%.h : %.class
27
%.h : %.class
28
	$(GCJH) --classpath="." $*;
28
	$(GCJH) --classpath="$(java_libs_root):." $*;
29
	$(RM) $<
30
29
31
##
30
##
32
# targets
31
# targets
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/codec/postscript/Makefile (-2 / +1 lines)
Lines 25-32 Link Here
25
# the "$*" automatic variable, here
25
# the "$*" automatic variable, here
26
#
26
#
27
%.h : %.class
27
%.h : %.class
28
	$(GCJH) --classpath="." $*;
28
	$(GCJH) --classpath="$(java_libs_root):." $*;
29
	$(RM) $<
30
29
31
##
30
##
32
# targets
31
# targets
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/codec/wmf/Makefile (-2 / +1 lines)
Lines 25-32 Link Here
25
# the "$*" automatic variable, here
25
# the "$*" automatic variable, here
26
#
26
#
27
%.h : %.class
27
%.h : %.class
28
	$(GCJH) --classpath="." $*;
28
	$(GCJH) --classpath="$(java_libs_root):." $*;
29
	$(RM) $<
30
29
31
##
30
##
32
# targets
31
# targets
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/fonts/Makefile (-2 / +1 lines)
Lines 34-41 Link Here
34
# the "$*" automatic variable, here
34
# the "$*" automatic variable, here
35
#
35
#
36
%.h : %.class
36
%.h : %.class
37
	$(GCJH) --classpath="." $*;
37
	$(GCJH) --classpath="$(java_libs_root):." $*;
38
	$(RM) $<
39
38
40
##
39
##
41
# targets
40
# targets
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/Makefile (-2 / +1 lines)
Lines 25-32 Link Here
25
# the "$*" automatic variable, here
25
# the "$*" automatic variable, here
26
#
26
#
27
%.h : %.class
27
%.h : %.class
28
	$(GCJH) --classpath="." $*;
28
	$(GCJH) --classpath="$(java_libs_root):." $*;
29
	$(RM) $<
30
29
31
##
30
##
32
# targets
31
# targets
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/PdfEncryption.java (-1 / +1 lines)
Lines 50-56 Link Here
50
50
51
package com.lowagie.text.pdf;
51
package com.lowagie.text.pdf;
52
52
53
import java_local.security.MessageDigest; // ssteward
53
import java.security.MessageDigest;
54
import com.lowagie.text.ExceptionConverter;
54
import com.lowagie.text.ExceptionConverter;
55
55
56
/**
56
/**
(-)pdftk-1.41.orig/java_libs/com/lowagie/text/xml/xmp/Makefile (-2 / +1 lines)
Lines 25-32 Link Here
25
# the "$*" automatic variable, here
25
# the "$*" automatic variable, here
26
#
26
#
27
%.h : %.class
27
%.h : %.class
28
	$(GCJH) --classpath="." $*;
28
	$(GCJH) --classpath="$(java_libs_root):." $*;
29
	$(RM) $<
30
29
31
##
30
##
32
# targets
31
# targets
(-)pdftk-1.41.orig/java_libs/Makefile (-14 / +2 lines)
Lines 13-25 Link Here
13
# append gcj flags
13
# append gcj flags
14
export GCJFLAGS+= --encoding=UTF-8 --classpath="$(java_libs_root)"
14
export GCJFLAGS+= --encoding=UTF-8 --classpath="$(java_libs_root)"
15
15
16
all : libgcj_local itext
16
all : itext
17
18
libgcj_local :
19
	$(MAKE) -C "$(java_libs_root)/gnu_local/java/security";
20
	$(MAKE) -C "$(java_libs_root)/gnu_local/java/security/provider";
21
	$(MAKE) -C "$(java_libs_root)/gnu/gcj/convert";
22
	$(MAKE) -C "$(java_libs_root)/java_local/security";
23
17
24
itext :
18
itext :
25
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text";
19
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text";
Lines 35-47 Link Here
35
	$(MAKE) -C "$(java_libs_root)/com/lowagie/bc/asn1";
29
	$(MAKE) -C "$(java_libs_root)/com/lowagie/bc/asn1";
36
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf/codec/postscript";
30
	$(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf/codec/postscript";
37
31
38
clean : libgcj_local_clean itext_clean
32
clean : itext_clean
39
40
libgcj_local_clean :
41
	$(MAKE) -iC "$(java_libs_root)/gnu_local/java/security" clean;
42
	$(MAKE) -iC "$(java_libs_root)/gnu_local/java/security/provider" clean;
43
	$(MAKE) -iC "$(java_libs_root)/gnu/gcj/convert" clean;
44
	$(MAKE) -iC "$(java_libs_root)/java_local/security" clean;
45
33
46
itext_clean :
34
itext_clean :
47
	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text" clean;
35
	$(MAKE) -iC "$(java_libs_root)/com/lowagie/text" clean;
(-)pdftk-1.41.orig/pdftk/Makefile.Base (-12 lines)
Lines 31-48 Link Here
31
afms= $(wildcard $(java_libs_root)/com/lowagie/text/pdf/fonts/*.afm)
31
afms= $(wildcard $(java_libs_root)/com/lowagie/text/pdf/fonts/*.afm)
32
afm_objects= $(patsubst %.afm, %.o, $(afms))
32
afm_objects= $(patsubst %.afm, %.o, $(afms))
33
33
34
# older versions of libgcj might not have the MD5 algorithm,
35
# so I added it here; these *_local java files were grabbed from
36
# libgcj CVS on March 7, 2004; diffed September 5, 2006 w/ gcc 4.1.1
37
#
38
# gnu/gcj/convert/Input_UnicodeBig.java was grabbed March 26, 2004; diffed September 5, 2006 w/ gcc 4.1.1
39
#
40
libgcj_local_libs = \
41
$(java_libs_root)/java_local/security/security.a \
42
$(java_libs_root)/gnu_local/java/security/provider/provider.a \
43
$(java_libs_root)/gnu_local/java/security/security.a \
44
$(java_libs_root)/gnu/gcj/convert/convert.a
45
46
# this must already be set according to your platform Makefile;
34
# this must already be set according to your platform Makefile;
47
# we're just appending to it, here
35
# we're just appending to it, here
48
#
36
#
(-)pdftk-1.41.orig/pdftk/Makefile.Generic (-1 / +1 lines)
Lines 28-34 Link Here
28
28
29
# itext compiler flags
29
# itext compiler flags
30
# -O3 might cause pdftk to segfault on cat operation (gcc 3.4.4)
30
# -O3 might cause pdftk to segfault on cat operation (gcc 3.4.4)
31
export GCJFLAGS= -O2
31
export GCJFLAGS= -O2 -w
32
32
33
#
33
#
34
export ARFLAGS= rs
34
export ARFLAGS= rs

Return to bug 251796