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

(-)auto-multiple-choice-1.4.0.orig/Makefile.conf (-8 / +11 lines)
Lines 33-45 Link Here
33
# directory for executable
33
# directory for executable
34
BINDIR=/usr/bin
34
BINDIR=/usr/bin
35
# directory for perl modules
35
# directory for perl modules
36
PERLDIR=/usr/share/perl5
36
PERLDIR=$(VENDOR_LIB)
37
# directory for some AMC executables, not to be used by end-user
37
# directory for some AMC executables, not to be used by end-user
38
MODSDIR=/usr/lib/AMC
38
MODSDIR=/usr/lib/AMC
39
# directory for LaTeX style file
39
# directory for LaTeX style file
40
TEXDIR=/usr/share/texmf/tex/latex/AMC
40
TEXDIR=/usr/share/texmf-site/tex/latex/AMC
41
# directory for LaTeX doc
41
# directory for LaTeX doc
42
TEXDOCDIR=/usr/share/doc/texmf/AMC/
42
TEXDOCDIR=/usr/share/texmf-site/doc/AMC/
43
# directory for man (1) files
43
# directory for man (1) files
44
MAN1DIR=/usr/share/man/man1
44
MAN1DIR=/usr/share/man/man1
45
# directory for desktop file 
45
# directory for desktop file 
Lines 58-64 Link Here
58
# directory for AMC packaged models
58
# directory for AMC packaged models
59
MODELSDIR=/usr/share/auto-multiple-choice/models
59
MODELSDIR=/usr/share/auto-multiple-choice/models
60
# directory for documentation (will use html/auto-multiple-choice.* subdirs for HTML docs)
60
# directory for documentation (will use html/auto-multiple-choice.* subdirs for HTML docs)
61
DOCDIR=/usr/share/doc/auto-multiple-choice
61
DOCDIR=/usr/share/doc/$(PVR)
62
62
63
# directory for Shared MIME-info Database
63
# directory for Shared MIME-info Database
64
SHARED_MIMEINFO_DIR=/usr/share/mime/packages
64
SHARED_MIMEINFO_DIR=/usr/share/mime/packages
Lines 79-84 Link Here
79
79
80
GCC_NETPBM=-lnetpbm
80
GCC_NETPBM=-lnetpbm
81
81
82
GCC_OPENCV = -I/usr/include/opencv4
83
GCC_OPENCV_LIBS = -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs
84
82
# INFO IN DESKTOP FILE
85
# INFO IN DESKTOP FILE
83
86
84
DESKTOP_CAT=Education;
87
DESKTOP_CAT=Education;
Lines 95-102 Link Here
95
98
96
# INSTALL USER AND GROUP
99
# INSTALL USER AND GROUP
97
100
98
ifneq ($(SYSTEM_TYPE),rpm)
101
#ifneq ($(SYSTEM_TYPE),rpm)
99
INSTALL_USER=root
102
#INSTALL_USER=root
100
INSTALL_GROUP=root
103
#INSTALL_GROUP=root
101
endif
104
#endif
102
105
(-)auto-multiple-choice-1.4.0.orig/auto-multiple-choice.desktop.in (-2 / +2 lines)
Lines 10-14 Link Here
10
GenericName[fr]=QCM automatique
10
GenericName[fr]=QCM automatique
11
Comment=Manage multiple choice questionnaires, with automatic marking from papers' scans
11
Comment=Manage multiple choice questionnaires, with automatic marking from papers' scans
12
Comment[fr]=Conception et correction automatique de QCM en LaTeX
12
Comment[fr]=Conception et correction automatique de QCM en LaTeX
13
Keywords=multiple;choice;questionnaire;exam;grading;marking;MCQ;AMC
13
Keywords=multiple;choice;questionnaire;exam;grading;marking;MCQ;AMC;
14
Keywords[fr]=questionnaire;choix;multiple;examen;correction;QCM;AMC
14
Keywords[fr]=questionnaire;choix;multiple;examen;correction;QCM;AMC;
(-)auto-multiple-choice-1.4.0.orig/pdfformfields.c (-1 / +1 lines)
Lines 125-131 Link Here
125
        for (int i=0; i<g_list_length(list); i++) {
125
        for (int i=0; i<g_list_length(list); i++) {
126
            if (i > 0) printf("---\n");
126
            if (i > 0) printf("---\n");
127
127
128
            PopplerFormFieldMapping *f = g_list_nth_data(list, i);
128
            PopplerFormFieldMapping *f = (PopplerFormFieldMapping *)g_list_nth_data(list, i);
129
            // printf("field found, id: %d, name: %s\n",poppler_form_field_get_id(f->field),poppler_form_field_get_name(f->field));
129
            // printf("field found, id: %d, name: %s\n",poppler_form_field_get_id(f->field),poppler_form_field_get_name(f->field));
130
            PopplerFormFieldType type = poppler_form_field_get_field_type(f->field);
130
            PopplerFormFieldType type = poppler_form_field_get_field_type(f->field);
131
131

Return to bug 734244