Skip to content

Commit f6ec950

Browse files
committed
initialize all setup and template resources
1 parent d19530c commit f6ec950

File tree

1,947 files changed

+597231
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,947 files changed

+597231
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
setup/sources/plexmediaserver_0\.9\.17\.3\.2239-fe07491_amd64\.deb
1.1 MB
Binary file not shown.

setup/sources/rtorrent-0.9.3.tar.gz

570 KB
Binary file not shown.

setup/sources/rtorrent-0.9.4.tar.gz

221 KB
Binary file not shown.

setup/sources/rtorrent-0.9.6.tar.gz

597 KB
Binary file not shown.

setup/sources/unrarsrc-5.2.7.tar.gz

214 KB
Binary file not shown.
+184
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
include srcdir.mk
2+
3+
BLDDIR = $(CURDIR)
4+
SUBDIR =
5+
6+
export SRCDIR
7+
export BLDDIR
8+
9+
include $(BLDDIR)/config.mk
10+
11+
SUBDIRS = include lib src test examples
12+
13+
ifeq ($(BUILD_TOOLS),yes)
14+
SUBDIRS += tools
15+
endif
16+
17+
# The reason we don't build tools and examples by default is that they
18+
# contain executables, which require significantly more from the
19+
# environment to build than libraries. Ergo, they are signficantly
20+
# more likely to fail to build. Indeed, when 'tools' was built by
21+
# default, the majority of the reported build problems were with that.
22+
# Since they are ancillary to the package, building them by default is
23+
# not worth causing the whole build to fail.
24+
25+
# As with any subdirectory, to build 'tools' or 'examples', cd to the
26+
# subdirectory and make there.
27+
28+
DEFAULT_SUBDIRS = include lib src
29+
30+
PROGRAMS_TO_INSTALL = xmlrpc-c-config
31+
32+
default: xmlrpc-c-config xmlrpc-c-config.test $(DEFAULT_SUBDIRS:%=%/all)
33+
34+
# We don't want common.mk's rule for version.h
35+
OMIT_VERSION_H = Y
36+
37+
# We don't want common.mk's rule for transport_config.h
38+
OMIT_TRANSPORT_CONFIG_H = Y
39+
40+
# We don't want common.mk's rule for xmlrpc-c-config.test:
41+
OMIT_XMLRPC_C_CONFIG_TEST = Y
42+
43+
include $(SRCDIR)/common.mk
44+
45+
.PHONY: all
46+
all: xmlrpc-c-config xmlrpc-c-config.test $(SUBDIRS:%=%/all)
47+
48+
# The examples subdirectory is special, because even the make file in there
49+
# is designed to be an example. So it has to be simple and as close as
50+
# possible to something a person could use outside of the Xmlrpc-c source
51+
# tree. One ramification of that is that it does not specify dependencies
52+
# on other parts of the Xmlrpc-c build. That means we must separately
53+
# ensure that the Xmlrpc-c libraries are built before making the example
54+
# programs.
55+
#
56+
# It also means that you have to manually clean the examples directory
57+
# in order to get the examples rebuilt after you modify the Xmlrpc-c
58+
# libraries.
59+
60+
examples/all: xmlrpc-c-config.test lib/all src/all include/all
61+
62+
# Parallel make (make --jobs) is not smart enough to coordinate builds
63+
# between submakes, so a naive parallel make would cause certain
64+
# targets to get built multiple times simultaneously. That is usually
65+
# unacceptable. So we introduce extra dependencies here just to make
66+
# sure such targets are already up to date before the submake starts,
67+
# for the benefit of parallel make. Note that we ensure that parallel
68+
# make works for 'make all' in the top directory, but it may still fail
69+
# for the aforementioned reason for other invocations.
70+
71+
tools/all test/all: include/all lib/all src/all
72+
src/all lib/all: include/all
73+
src/all: lib/all
74+
75+
MAJOR := $(XMLRPC_MAJOR_RELEASE)
76+
MINOR := $(XMLRPC_MINOR_RELEASE)
77+
POINT := $(XMLRPC_POINT_RELEASE)
78+
version.h: $(SRCDIR)/version.mk
79+
rm -f $@
80+
echo "/* Generated by make file rule */" >>$@
81+
echo "#define XMLRPC_C_VERSION" \"$(MAJOR).$(MINOR).$(POINT)"\"" >>$@
82+
echo "#define XMLRPC_VERSION_MAJOR $(MAJOR)" >>$@
83+
echo "#define XMLRPC_VERSION_MINOR $(MINOR)" >>$@
84+
echo "#define XMLRPC_VERSION_POINT $(POINT)" >>$@
85+
86+
include transport_config.mk
87+
88+
# shell_config is a fragment to place inside a Bourne shell program that
89+
# sets variables that tell how the build is configured.
90+
91+
shell_config: $(BLDDIR)/config.mk
92+
rm -f $@
93+
@echo "Lots of echoes to '$@' suppressed here ..."
94+
@echo '#' >>$@
95+
@echo '#######################################################' >>$@
96+
@echo "# From '$@'" >>$@
97+
@echo '#######################################################' >>$@
98+
@echo 'ENABLE_ABYSS_THREADS="$(ENABLE_ABYSS_THREADS)"' >>$@
99+
@echo 'THREAD_LIBS="$(THREAD_LIBS)"' >>$@
100+
@echo 'ENABLE_LIBXML2_BACKEND="$(ENABLE_LIBXML2_BACKEND)"' >>$@
101+
@echo 'MUST_BUILD_WININET_CLIENT="$(MUST_BUILD_WININET_CLIENT)"'>>$@
102+
@echo 'MUST_BUILD_CURL_CLIENT="$(MUST_BUILD_CURL_CLIENT)"' >>$@
103+
@echo 'MUST_BUILD_LIBWWW_CLIENT="$(MUST_BUILD_LIBWWW_CLIENT)"' >>$@
104+
@echo 'NEED_RPATH="$(NEED_RPATH)"' >>$@
105+
@echo 'NEED_WL_RPATH="$(NEED_WL_RPATH)"' >>$@
106+
@echo 'LIBXMLRPCPP_NAME="$(LIBXMLRPCPP_NAME)"' >>$@
107+
@echo 'LSOCKET="$(LSOCKET)"' >>$@
108+
@echo 'WININET_LDADD="$(WININET_LDADD)"' >>$@
109+
@echo 'WININET_LIBDIR="$(WININET_LIBDIR)"' >>$@
110+
@echo 'CURL_LDADD="$(CURL_LDADD)"' >>$@
111+
@echo 'CURL_LIBDIR="$(CURL_LIBDIR)"' >>$@
112+
@echo 'LIBWWW_LDADD="$(LIBWWW_LDADD)"' >>$@
113+
@echo 'LIBWWW_LIBDIR="$(LIBWWW_LIBDIR)"' >>$@
114+
@echo 'XMLRPC_MAJOR_RELEASE="$(XMLRPC_MAJOR_RELEASE)"' >>$@
115+
@echo 'XMLRPC_MINOR_RELEASE="$(XMLRPC_MINOR_RELEASE)"' >>$@
116+
@echo 'XMLRPC_POINT_RELEASE="$(XMLRPC_POINT_RELEASE)"' >>$@
117+
@echo 'FEATURE_LIST="$(FEATURE_LIST)"' >>$@
118+
@echo 'PREFIX="$(PREFIX)"' >>$@
119+
@echo 'HEADERINST_DIR="$(HEADERINST_DIR)"' >>$@
120+
@echo 'LIBINST_DIR="$(LIBINST_DIR)"' >>$@
121+
@echo 'BLDDIR="$(BLDDIR)"' >>$@
122+
@echo 'ABS_SRCDIR="$(ABS_SRCDIR)"' >>$@
123+
@echo '#######################################################' >>$@
124+
125+
xmlrpc-c-config xmlrpc-c-config.test:%: %.main shell_config
126+
rm -f $@
127+
@echo "Echoes to '$@' suppressed here ..."
128+
@echo '#! /bin/sh' >>$@
129+
@echo '#' >>$@
130+
@echo '# This file was generated by a make rule' >>$@
131+
@echo '#' >>$@
132+
cat shell_config >>$@
133+
cat $< >>$@
134+
chmod a+rx $@
135+
136+
.PHONY: clean clean-local
137+
clean: $(SUBDIRS:%=%/clean) clean-common clean-local
138+
139+
clean-local:
140+
rm -f transport_config.h version.h
141+
142+
.PHONY: distclean distclean-local
143+
distclean: $(SUBDIRS:%=%/distclean) distclean-common distclean-local
144+
145+
distclean-local: clean-local
146+
rm -f config.log config.status config.mk srcdir.mk
147+
rm -f xmlrpc_config.h xmlrpc_amconfig.h stamp-h
148+
rm -f shell_config xmlrpc-c-config xmlrpc-c-config.test
149+
rm -f TAGS
150+
151+
check: $(SUBDIRS:%=%/check)
152+
$(MAKE) -C test runtests
153+
154+
DISTFILES =
155+
156+
.PHONY: distdir
157+
distdir: distdir-common
158+
159+
.PHONY: install
160+
install: $(DEFAULT_SUBDIRS:%=%/install) install-common
161+
162+
.PHONY: dep
163+
dep: version.h $(BLDDIR)/include/xmlrpc-c/config.h $(SUBDIRS:%=%/dep)
164+
165+
xmlrpc_config.h xmlrpc_amconfig.h \
166+
:%:%.in $(SRCDIR)/configure
167+
$(SRCDIR)/configure
168+
169+
# A trick to catch a common user error. When you don't run 'configure',
170+
# you don't have a srcdir.mk, which means $(SRCDIR) is null.
171+
172+
/common.mk:
173+
@echo =======================================
174+
@echo = You must run Configure before Make. =
175+
@echo =======================================
176+
false
177+
178+
# 'tags' generates/updates an Emacs tags file, anmed TAGS, in the current
179+
# directory. Use with Emacs command 'find-tag'.
180+
181+
.PHONY: tags
182+
tags:
183+
find . -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" | \
184+
etags -
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# The make files for this package exploit features of GNU Make that
2+
# other Makes do not have. Because it is a common mistake for users
3+
# to try to build with a different Make, we have this make file that
4+
# does nothing but tell the user to use GNU Make.
5+
6+
# If the user were using GNU Make now, this file would not get used because
7+
# GNU Make uses a make file named "GNUmakefile" in preference to "Makefile"
8+
# if it exists. This package contains a "GNUmakefile".
9+
10+
default: all
11+
12+
all install clean dep depend:
13+
@echo "You must use GNU Make to build this. You are running some "
14+
@echo "other Make. GNU Make may be installed on your system with "
15+
@echo "the name 'gmake'. If not, see http://www.gnu.org/software ."
16+
@echo
17+
false

setup/sources/xmlrpc-c_1-33-12/README

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
This is the source code for XML-RPC for C/C++, called Xmlrpc-c for short.
2+
3+
XML-RPC for C/C++ is programming libraries and related tools to help you
4+
write an XML-RPC server or client in C or C++.
5+
6+
Documentation for the package is at
7+
8+
http://xmlrpc-c.sourceforge.net/doc
9+
10+
See the Xmlrpc-c website at:
11+
12+
http://xmlrpc-c.sourceforge.net/
13+
14+
15+
PREREQUISITES
16+
-------------
17+
18+
To build a useful Xmlrpc-c client library, you'll need to have at
19+
least one HTTP library. Xmlrpc-c knows how to use W3C Libwww (Version
20+
5.3.2 or newer), Curl, and Wininet. The configurator gives you the
21+
option of building libraries that use any or all of these, and
22+
defaults to every one you appear to have installed. If you don't
23+
appear to have any installed, the configurator causes the build to
24+
omit client facilities altogether.
25+
26+
Information about W3C Libwww, including how to get it are at
27+
<http://www.w3.org/Library>.
28+
29+
For Curl, see <http://curl.haxx.se>.
30+
31+
Wininet comes with Windows, and isn't available for any other platform.
32+
33+
You also need an XML parser/builder library. An old version of Expat
34+
is included in the package and used by default, so there's no actual
35+
prerequisite here. But if you separately obtain Libxml2, you can
36+
configure the build to use that instead. There's no really pressing
37+
reason to do that, though.
38+
39+
BUILDING, INSTALLING
40+
--------------------
41+
42+
See the file doc/INSTALL.
43+
44+
In the simplest case, it's just a conventional
45+
46+
$ ./configure
47+
$ make
48+
$ make install
49+
50+
51+
ADDITIONAL INFORMATION
52+
----------------------
53+
54+
See the doc/ directory of the source tree for information about the
55+
source code. User documentation is on the web, as described above.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
@echo This batch file requires a powerful XDELETE program. One
2+
@echo that will REMOVE whole directories recursively ...
3+
@echo If you do NOT have such a program, then abort now, and
4+
@echo adjust the line below ...
5+
@set TEMPX=xdelete -dfrm
6+
@echo set TEMPX=%TEMPX%
7+
@pause
8+
@echo #####################################################
9+
@echo ARE YOU SURE YOU WANT TO DO THIS? Ctrl+C to abort ...
10+
@echo #####################################################
11+
@pause
12+
@echo CleanAll: Last chance ... ctrl+c to abort ...
13+
@pause
14+
@echo CleanAll: Cleaning the headers ...
15+
call CleanWin32
16+
@echo CleanAll: and removing the SOLUTION files ...
17+
call delsln
18+
@echo CleanAll: Cleaning the gennmtab generated header ...
19+
@if EXIST ..\lib\expat\xmltok\nametab.h del ..\lib\expat\xmltok\nametab.h > nul
20+
@echo CleanAll: Cleaning all built binaries ...
21+
@if EXIST ..\bin\*.exe del ..\bin\*.exe > nul
22+
@if EXIST ..\bin\*.exp del ..\bin\*.exp > nul
23+
@if EXIST ..\bin\*.ilk del ..\bin\*.ilk > nul
24+
@if EXIST ..\bin\*.lib del ..\bin\*.lib > nul
25+
@if EXIST ..\lib\*.lib del ..\lib\*.lib > nul
26+
@if EXIST ..\lib\*.dll del ..\lib\*.dll > nul
27+
@echo CleanAll: Cleaning test data files ...
28+
@if EXIST ..\bin\data\*.xml del ..\bin\data\*.xml > nul
29+
@if EXIST ..\bin\data\. rd ..\bin\data > nul
30+
@if EXIST ..\bin\. rd ..\bin > nul
31+
@echo CleanAll: Cleaning old residual built binaries ... but none should exist ...
32+
@if EXIST ..\lib\expat\gennmtab\Debug\. %TEMPX% ..\lib\expat\gennmtab\Debug
33+
@if EXIST ..\lib\expat\gennmtab\Release\. %TEMPX% ..\lib\expat\gennmtab\Release
34+
@if EXIST ..\lib\expat\xmlparse\Debug\. %TEMPX% ..\lib\expat\xmlparse\Debug
35+
@if EXIST ..\lib\expat\xmlparse\DebugDLL\. %TEMPX% ..\lib\expat\xmlparse\DebugDLL
36+
@if EXIST ..\lib\expat\xmlparse\Release\. %TEMPX% ..\lib\expat\xmlparse\Release
37+
@if EXIST ..\lib\expat\xmlparse\ReleaseDLL\. %TEMPX% ..\lib\expat\xmlparse\ReleaseDLL
38+
@if EXIST ..\lib\expat\xmlparse\ReleaseMinSizeDLL\. %TEMPX% ..\lib\expat\xmlparse\ReleaseMinSizeDLL
39+
@if EXIST ..\lib\expat\xmltok\Debug\. %TEMPX% ..\lib\expat\xmltok\Debug
40+
@if EXIST ..\lib\expat\xmltok\DebugDLL\. %TEMPX% ..\lib\expat\xmltok\DebugDLL
41+
@if EXIST ..\lib\expat\xmltok\Release\. %TEMPX% ..\lib\expat\xmltok\Release
42+
@if EXIST ..\lib\expat\xmltok\ReleaseDLL\. %TEMPX% ..\lib\expat\xmltok\ReleaseDLL
43+
@echo CleanAll: Finally, cleaning the main intermediate directories ...
44+
@if EXIST Debug\. %TEMPX% Debug
45+
@if EXIST Release\. %TEMPX% Release
46+
@echo .
47+
@echo CleanAll: Phew ... all done ...
48+
@echo .
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
@echo Windows build
2+
@echo This batch file deletes the copied header files,
3+
@echo Deleting Win32 header files...
4+
@echo #####################################################
5+
@echo IF YOU HAVE MADE CHANGES IN ..\xmlrpc_config.h, ..\include\xmlrpc-c\config.h etc ...
6+
@echo THESE CHANGES WILL BE LOST!
7+
@echo You should run diffcfg.bat first to check for changes,
8+
@echo and updcfg.bat if you have made changes ...
9+
@echo #####################################################
10+
@echo ARE YOU SURE YOU WANT TO DO THIS? Ctrl+C to abort ...
11+
@echo #####################################################
12+
@pause
13+
@set TEMP1=
14+
@if NOT EXIST ..\include\xmlrpc-c\config.h goto DN1
15+
del ..\include\xmlrpc-c\config.h > nul
16+
@set TEMP1=%TEMP1% ..\include\xmlrpc-c\config.h
17+
:DN1
18+
@if NOT EXIST ..\xmlrpc_config.h goto DN2
19+
del ..\xmlrpc_config.h > nul
20+
@set TEMP1=%TEMP1% ..\xmlrpc_config.h
21+
:DN2
22+
@if NOT EXIST ..\transport_config.h goto DN3
23+
del ..\transport_config.h > nul
24+
@set TEMP1=%TEMP1% ..\transport_config.h
25+
:DN3
26+
@if NOT EXIST ..\version.h goto DN4
27+
del ..\version.h > nul
28+
@set TEMP1=%TEMP1% ..\version.h
29+
:DN4
30+
@if NOT EXIST ..\examples\config.h goto DN5
31+
del ..\examples\config.h > nul
32+
@set TEMP1=%TEMP1% ..\examples\config.h
33+
:DN5
34+
@if "%TEMP1%." == "." goto ALLDN
35+
@echo DELETED win32 header files.
36+
@echo %TEMP1%
37+
@goto END
38+
39+
:ALLDN
40+
@echo NOne to DELETE ...
41+
@goto END
42+
43+
:END
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@REM Windows build
2+
@REM This must be RUN once to establish some header files,
3+
@REM that are generated by the automake process
4+
@echo creating Win32 header files...once only
5+
@set TEMPV=
6+
@if EXIST ..\include\xmlrpc-c\config.h goto DN1
7+
copy .\win32_config.h ..\include\xmlrpc-c\config.h > nul
8+
@set TEMPV=%TEMPV% ..\include\xmlrpc-c\config.h
9+
:DN1
10+
@if EXIST ..\xmlrpc_config.h goto DN2
11+
copy .\xmlrpc_win32_config.h ..\xmlrpc_config.h > nul
12+
@set TEMPV=%TEMPV% ..\xmlrpc_config.h
13+
:DN2
14+
@if EXIST ..\transport_config.h goto DN3
15+
copy .\transport_config_win32.h ..\transport_config.h > nul
16+
@set TEMPV=%TEMPV% ..\transport_config.h
17+
:DN3
18+
@if EXIST ..\version.h goto DN4
19+
call mkvers
20+
@set TEMPV=%TEMPV% ..\version.h
21+
:DN4
22+
@if EXIST ..\examples\config.h goto DN5
23+
copy .\xmlrpc_win32_config.h ..\examples\config.h > nul
24+
@set TEMPV=%TEMPV% ..\examples\config.h
25+
:DN5
26+
@if "%TEMPV%." == "." goto ALLDN
27+
@echo Generated the following win32 header files ...
28+
@echo %TEMPV%
29+
@goto END
30+
31+
:ALLDN
32+
@echo Using previous copies ... Use CleanWin32.bat to remove, and do again ...
33+
@goto END
34+
35+
:END

0 commit comments

Comments
 (0)