Codebase list libslf4j-java / 1241a47
* New package: slf4j Varun Hiremath 16 years ago
9 changed file(s) with 448 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 project.name=libslf4j-java
1 class.dir=classes
2 source.dir=src/main/java
3
4 jcl104-over-slf4j.dir=jcl104-over-slf4j
5 log4j-over-slf4j.dir=log4j-over-slf4j
6 slf4j-api.dir=slf4j-api
7 slf4j-jcl.dir=slf4j-jcl
8 slf4j-jdk14.dir=slf4j-jdk14
9 slf4j-log4j12.dir=slf4j-log4j12
10 slf4j-nop.dir=slf4j-nop
11 slf4j-simple.dir=slf4j-simple
12
13 jcl104-over-slf4j.jar=jcl104-over-slf4j.jar
14 log4j-over-slf4j.jar=log4j-over-slf4j.jar
15 slf4j-api.jar=slf4j-api.jar
16 slf4j-jcl.jar=slf4j-jcl.jar
17 slf4j-jdk14.jar=slf4j-jdk14.jar
18 slf4j-log4j12.jar=slf4j-log4j12.jar
19 slf4j-nop.jar=slf4j-nop.jar
20 slf4j-simple.jar=slf4j-simple.jar
0 <?xml version="1.0" encoding="UTF-8"?>
1
2 <project default="jar" name="${project.name}" basedir="..">
3
4 <target name="clean">
5 <delete dir="${jcl104-over-slf4j.dir}/${class.dir}" quiet="true"/>
6 <delete dir="${log4j-over-slf4j.dir}/${class.dir}" quiet="true"/>
7 <delete dir="${slf4j-api.dir}/${class.dir}" quiet="true"/>
8 <delete dir="${slf4j-jcl.dir}/${class.dir}" quiet="true"/>
9 <delete dir="${slf4j-jdk14.dir}/${class.dir}" quiet="true"/>
10 <delete dir="${slf4j-log4j12.dir}/${class.dir}" quiet="true"/>
11 <delete dir="${slf4j-nop.dir}/${class.dir}" quiet="true"/>
12 <delete dir="${slf4j-simple.dir}/${class.dir}" quiet="true"/>
13
14 <delete file="${jcl104-over-slf4j.jar}" quiet="true"/>
15 <delete file="${log4j-over-slf4j.jar}" quiet="true"/>
16 <delete file="${slf4j-api.jar}" quiet="true"/>
17 <delete file="${slf4j-jcl.jar}" quiet="true"/>
18 <delete file="${slf4j-jdk14.jar}" quiet="true"/>
19 <delete file="${slf4j-log4j12.jar}" quiet="true"/>
20 <delete file="${slf4j-nop.jar}" quiet="true"/>
21 <delete file="${slf4j-simple.jar}" quiet="true"/>
22 </target>
23
24 <target name="jar">
25 <mkdir dir="${slf4j-api.dir}/${class.dir}"/>
26 <javac srcdir="${slf4j-api.dir}/${source.dir}" destdir="${slf4j-api.dir}/${class.dir}"
27 debug="true" source="1.5"/>
28
29 <jar jarfile="${slf4j-api.jar}">
30 <fileset dir="${slf4j-api.dir}/${class.dir}">
31 <include name="**"/>
32 </fileset>
33 </jar>
34
35 <mkdir dir="${slf4j-jcl.dir}/${class.dir}"/>
36 <javac srcdir="${slf4j-jcl.dir}/${source.dir}" destdir="${slf4j-jcl.dir}/${class.dir}"
37 debug="true" source="1.5" classpath="${slf4j-api.jar}"/>
38
39 <jar jarfile="${slf4j-jcl.jar}">
40 <fileset dir="${slf4j-jcl.dir}/${class.dir}">
41 <include name="**"/>
42 </fileset>
43 </jar>
44
45 <mkdir dir="${slf4j-jdk14.dir}/${class.dir}"/>
46 <javac srcdir="${slf4j-jdk14.dir}/${source.dir}" destdir="${slf4j-jdk14.dir}/${class.dir}"
47 debug="true" source="1.4" classpath="${slf4j-api.jar}"/>
48
49 <jar jarfile="${slf4j-jdk14.jar}">
50 <fileset dir="${slf4j-jdk14.dir}/${class.dir}">
51 <include name="**"/>
52 </fileset>
53 </jar>
54
55 <mkdir dir="${slf4j-log4j12.dir}/${class.dir}"/>
56 <javac srcdir="${slf4j-log4j12.dir}/${source.dir}" destdir="${slf4j-log4j12.dir}/${class.dir}"
57 debug="true" source="1.5" classpath="${slf4j-api.jar}"/>
58
59 <jar jarfile="${slf4j-log4j12.jar}">
60 <fileset dir="${slf4j-log4j12.dir}/${class.dir}">
61 <include name="**"/>
62 </fileset>
63 </jar>
64
65 <mkdir dir="${slf4j-nop.dir}/${class.dir}"/>
66 <javac srcdir="${slf4j-nop.dir}/${source.dir}" destdir="${slf4j-nop.dir}/${class.dir}"
67 debug="true" source="1.5" classpath="${slf4j-api.jar}"/>
68
69 <jar jarfile="${slf4j-nop.jar}">
70 <fileset dir="${slf4j-nop.dir}/${class.dir}">
71 <include name="**"/>
72 </fileset>
73 </jar>
74
75 <mkdir dir="${slf4j-simple.dir}/${class.dir}"/>
76 <javac srcdir="${slf4j-simple.dir}/${source.dir}" destdir="${slf4j-simple.dir}/${class.dir}"
77 debug="true" source="1.5" classpath="${slf4j-api.jar}"/>
78
79 <jar jarfile="${slf4j-simple.jar}">
80 <fileset dir="${slf4j-simple.dir}/${class.dir}">
81 <include name="**"/>
82 </fileset>
83 </jar>
84
85 <mkdir dir="${jcl104-over-slf4j.dir}/${class.dir}"/>
86 <javac srcdir="${jcl104-over-slf4j.dir}/${source.dir}" destdir="${jcl104-over-slf4j.dir}/${class.dir}"
87 debug="true" source="1.5" classpath="${slf4j-api.jar}"/>
88
89 <jar jarfile="${jcl104-over-slf4j.jar}">
90 <fileset dir="${jcl104-over-slf4j.dir}/${class.dir}">
91 <include name="**"/>
92 </fileset>
93 </jar>
94
95 <mkdir dir="${log4j-over-slf4j.dir}/${class.dir}"/>
96 <javac srcdir="${log4j-over-slf4j.dir}/${source.dir}" destdir="${log4j-over-slf4j.dir}/${class.dir}"
97 debug="true" source="1.5" classpath="${slf4j-api.jar}"/>
98
99 <jar jarfile="${log4j-over-slf4j.jar}">
100 <fileset dir="${log4j-over-slf4j.dir}/${class.dir}">
101 <include name="**"/>
102 </fileset>
103 </jar>
104
105 </target>
106
107 </project>
0 libslf4j-java (1.4.3-1) unstable; urgency=low
1
2 * Initial release (Closes: #413751)
3
4 -- Varun Hiremath <varun@debian.org> Sun, 24 Feb 2008 11:49:30 +0530
0 Source: libslf4j-java
1 Section: libs
2 Priority: optional
3 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
4 Uploaders: Varun Hiremath <varun@debian.org>
5 Build-Depends: cdbs, debhelper (>= 6)
6 Build-Depends-Indep: ant, java-gcj-compat-dev, liblog4j1.2-java,
7 libcommons-logging-java
8 Standards-Version: 3.7.3
9 Homepage: http://www.slf4j.org/
10 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libslf4j-java
11 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libslf4j-java
12
13 Package: libslf4j-java
14 Architecture: all
15 Depends: java-gcj-compat | java1-runtime | java2-runtime
16 Description: Simple Logging Facade for Java
17 The Simple Logging Facade for Java (or SLF4J) is intended to serve as
18 a simple facade for various logging APIs allowing to the end-user to
19 plug in the desired implementation at deployment time. SLF4J also
20 allows for a gradual migration path away from Jakarta Commons
21 Logging (JCL)
22 .
23 Logging API implementations can either choose to implement the SLF4J
24 interfaces directly, e.g. logback or SimpleLogger. Alternatively, it
25 is possible (and rather easy) to write SLF4J adapters for the given
26 API implementation, e.g. Log4jLoggerAdapter or JDK14LoggerAdapter.
0 This package was debianized by Varun Hiremath <varun@debian.org> on
1 Wed, 12 Dec 2007 14:21:59 +0530
2
3 It was downloaded from http://www.slf4j.org/dist/
4
5 Upstream Authors: SLF4J.ORG
6
7 Copyright: (c) 2004-2005 SLF4J.ORG
8 (c) 2004-2007 QOS.ch
9
10 License:
11 Permission is hereby granted, free of charge, to any person
12 obtaining a copy of this software and associated documentation
13 files (the "Software"), to deal in the Software without
14 restriction, including without limitation the rights to use, copy,
15 modify, merge, publish, distribute, sublicense, and/or sell copies
16 of the Software, and to permit persons to whom the Software is
17 furnished to do so, subject to the following conditions:
18
19 The above copyright notice and this permission notice shall be
20 included in all copies or substantial portions of the Software.
21
22 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
27 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29 DEALINGS IN THE SOFTWARE.
30
31 ----------
32 Files:
33 jcl104-over-slf4j/src/main/java/org/apache/commons/*
34 log4j-over-slf4j/src/main/java/org/apache/log4j/*
35
36 Copyright: (c) 1999-2005 The Apache Software Foundation
37
38 License:
39 Apache License
40 Version 2.0, January 2004
41 http://www.apache.org/licenses/
42
43 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
44
45 1. Definitions.
46
47 "License" shall mean the terms and conditions for use, reproduction,
48 and distribution as defined by Sections 1 through 9 of this document.
49
50 "Licensor" shall mean the copyright owner or entity authorized by
51 the copyright owner that is granting the License.
52
53 "Legal Entity" shall mean the union of the acting entity and all
54 other entities that control, are controlled by, or are under common
55 control with that entity. For the purposes of this definition,
56 "control" means (i) the power, direct or indirect, to cause the
57 direction or management of such entity, whether by contract or
58 otherwise, or (ii) ownership of fifty percent (50%) or more of the
59 outstanding shares, or (iii) beneficial ownership of such entity.
60
61 "You" (or "Your") shall mean an individual or Legal Entity
62 exercising permissions granted by this License.
63
64 "Source" form shall mean the preferred form for making modifications,
65 including but not limited to software source code, documentation
66 source, and configuration files.
67
68 "Object" form shall mean any form resulting from mechanical
69 transformation or translation of a Source form, including but
70 not limited to compiled object code, generated documentation,
71 and conversions to other media types.
72
73 "Work" shall mean the work of authorship, whether in Source or
74 Object form, made available under the License, as indicated by a
75 copyright notice that is included in or attached to the work
76 (an example is provided in the Appendix below).
77
78 "Derivative Works" shall mean any work, whether in Source or Object
79 form, that is based on (or derived from) the Work and for which the
80 editorial revisions, annotations, elaborations, or other modifications
81 represent, as a whole, an original work of authorship. For the purposes
82 of this License, Derivative Works shall not include works that remain
83 separable from, or merely link (or bind by name) to the interfaces of,
84 the Work and Derivative Works thereof.
85
86 "Contribution" shall mean any work of authorship, including
87 the original version of the Work and any modifications or additions
88 to that Work or Derivative Works thereof, that is intentionally
89 submitted to Licensor for inclusion in the Work by the copyright owner
90 or by an individual or Legal Entity authorized to submit on behalf of
91 the copyright owner. For the purposes of this definition, "submitted"
92 means any form of electronic, verbal, or written communication sent
93 to the Licensor or its representatives, including but not limited to
94 communication on electronic mailing lists, source code control systems,
95 and issue tracking systems that are managed by, or on behalf of, the
96 Licensor for the purpose of discussing and improving the Work, but
97 excluding communication that is conspicuously marked or otherwise
98 designated in writing by the copyright owner as "Not a Contribution."
99
100 "Contributor" shall mean Licensor and any individual or Legal Entity
101 on behalf of whom a Contribution has been received by Licensor and
102 subsequently incorporated within the Work.
103
104 2. Grant of Copyright License. Subject to the terms and conditions of
105 this License, each Contributor hereby grants to You a perpetual,
106 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
107 copyright license to reproduce, prepare Derivative Works of,
108 publicly display, publicly perform, sublicense, and distribute the
109 Work and such Derivative Works in Source or Object form.
110
111 3. Grant of Patent License. Subject to the terms and conditions of
112 this License, each Contributor hereby grants to You a perpetual,
113 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
114 (except as stated in this section) patent license to make, have made,
115 use, offer to sell, sell, import, and otherwise transfer the Work,
116 where such license applies only to those patent claims licensable
117 by such Contributor that are necessarily infringed by their
118 Contribution(s) alone or by combination of their Contribution(s)
119 with the Work to which such Contribution(s) was submitted. If You
120 institute patent litigation against any entity (including a
121 cross-claim or counterclaim in a lawsuit) alleging that the Work
122 or a Contribution incorporated within the Work constitutes direct
123 or contributory patent infringement, then any patent licenses
124 granted to You under this License for that Work shall terminate
125 as of the date such litigation is filed.
126
127 4. Redistribution. You may reproduce and distribute copies of the
128 Work or Derivative Works thereof in any medium, with or without
129 modifications, and in Source or Object form, provided that You
130 meet the following conditions:
131
132 (a) You must give any other recipients of the Work or
133 Derivative Works a copy of this License; and
134
135 (b) You must cause any modified files to carry prominent notices
136 stating that You changed the files; and
137
138 (c) You must retain, in the Source form of any Derivative Works
139 that You distribute, all copyright, patent, trademark, and
140 attribution notices from the Source form of the Work,
141 excluding those notices that do not pertain to any part of
142 the Derivative Works; and
143
144 (d) If the Work includes a "NOTICE" text file as part of its
145 distribution, then any Derivative Works that You distribute must
146 include a readable copy of the attribution notices contained
147 within such NOTICE file, excluding those notices that do not
148 pertain to any part of the Derivative Works, in at least one
149 of the following places: within a NOTICE text file distributed
150 as part of the Derivative Works; within the Source form or
151 documentation, if provided along with the Derivative Works; or,
152 within a display generated by the Derivative Works, if and
153 wherever such third-party notices normally appear. The contents
154 of the NOTICE file are for informational purposes only and
155 do not modify the License. You may add Your own attribution
156 notices within Derivative Works that You distribute, alongside
157 or as an addendum to the NOTICE text from the Work, provided
158 that such additional attribution notices cannot be construed
159 as modifying the License.
160
161 You may add Your own copyright statement to Your modifications and
162 may provide additional or different license terms and conditions
163 for use, reproduction, or distribution of Your modifications, or
164 for any such Derivative Works as a whole, provided Your use,
165 reproduction, and distribution of the Work otherwise complies with
166 the conditions stated in this License.
167
168 5. Submission of Contributions. Unless You explicitly state otherwise,
169 any Contribution intentionally submitted for inclusion in the Work
170 by You to the Licensor shall be under the terms and conditions of
171 this License, without any additional terms or conditions.
172 Notwithstanding the above, nothing herein shall supersede or modify
173 the terms of any separate license agreement you may have executed
174 with Licensor regarding such Contributions.
175
176 6. Trademarks. This License does not grant permission to use the trade
177 names, trademarks, service marks, or product names of the Licensor,
178 except as required for reasonable and customary use in describing the
179 origin of the Work and reproducing the content of the NOTICE file.
180
181 7. Disclaimer of Warranty. Unless required by applicable law or
182 agreed to in writing, Licensor provides the Work (and each
183 Contributor provides its Contributions) on an "AS IS" BASIS,
184 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
185 implied, including, without limitation, any warranties or conditions
186 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
187 PARTICULAR PURPOSE. You are solely responsible for determining the
188 appropriateness of using or redistributing the Work and assume any
189 risks associated with Your exercise of permissions under this License.
190
191 8. Limitation of Liability. In no event and under no legal theory,
192 whether in tort (including negligence), contract, or otherwise,
193 unless required by applicable law (such as deliberate and grossly
194 negligent acts) or agreed to in writing, shall any Contributor be
195 liable to You for damages, including any direct, indirect, special,
196 incidental, or consequential damages of any character arising as a
197 result of this License or out of the use or inability to use the
198 Work (including but not limited to damages for loss of goodwill,
199 work stoppage, computer failure or malfunction, or any and all
200 other commercial damages or losses), even if such Contributor
201 has been advised of the possibility of such damages.
202
203 9. Accepting Warranty or Additional Liability. While redistributing
204 the Work or Derivative Works thereof, You may choose to offer,
205 and charge a fee for, acceptance of support, warranty, indemnity,
206 or other liability obligations and/or rights consistent with this
207 License. However, in accepting such obligations, You may act only
208 on Your own behalf and on Your sole responsibility, not on behalf
209 of any other Contributor, and only if You agree to indemnify,
210 defend, and hold each Contributor harmless for any liability
211 incurred by, or claims asserted against, such Contributor by reason
212 of your accepting any such warranty or additional liability.
213
214 END OF TERMS AND CONDITIONS
215
216 APPENDIX: How to apply the Apache License to your work.
217
218 To apply the Apache License to your work, attach the following
219 boilerplate notice, with the fields enclosed by brackets "[]"
220 replaced with your own identifying information. (Don't include
221 the brackets!) The text should be enclosed in the appropriate
222 comment syntax for the file format. We also recommend that a
223 file or class name and description of purpose be included on the
224 same "printed page" as the copyright notice for easier
225 identification within third-party archives.
226
227 Copyright [yyyy] [name of copyright owner]
228
229 Licensed under the Apache License, Version 2.0 (the "License");
230 you may not use this file except in compliance with the License.
231 You may obtain a copy of the License at
232
233 http://www.apache.org/licenses/LICENSE-2.0
234
235 Unless required by applicable law or agreed to in writing, software
236 distributed under the License is distributed on an "AS IS" BASIS,
237 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
238 See the License for the specific language governing permissions and
239 limitations under the License.
240
241 The Debian packaging is (C) 2007, Varun Hiremath <varun@debian.org> and
242 is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
0 #!/bin/sh -e
1
2 # $1 = version
3 DIR=libslf4j-java-$2.orig
4
5 # clean up the upstream tarball
6 tar -z -x -f $3
7 mv slf4j-$2 $DIR
8 GZIP=--best tar -c -z -f $3 --exclude '*.jar' --exclude '*/site*' --exclude '*/slf4j-site*' $DIR
9 rm -rf $DIR
10
11 # move to directory 'tarballs'
12 if [ -r .svn/deb-layout ]; then
13 . .svn/deb-layout
14 mv $3 $origDir
15 echo "moved $3 to $origDir"
16 fi
0 #!/usr/bin/make -f
1
2 include /usr/share/cdbs/1/class/ant.mk
3 include /usr/share/cdbs/1/rules/debhelper.mk
4
5 JAVA_HOME := /usr/lib/jvm/java-gcj
6 DEB_ANT_BUILD_TARGET := jar
7 DEB_ANT_BUILDFILE := debian/build.xml
8 DEB_JARS := commons-logging log4j-1.2
9
10 ALL_JARS = $(wildcard *.jar)
11 DEST_DIR = $(DEB_DESTDIR)/usr/share/java
12
13 common-install-prehook-indep::
14 for jar in $(ALL_JARS); do \
15 BASENAME=`basename $$jar .jar`; \
16 FULLNAME=$$BASENAME-$(DEB_UPSTREAM_VERSION).jar; \
17 install -m 644 -D $$jar $(DEST_DIR)/$$FULLNAME; \
18 ln -s $$FULLNAME $(DEST_DIR)/$$BASENAME.jar; \
19 done
20
21 get-orig-source:
22 -uscan --upstream-version 0 --rename
23
0 version=3
1 http://www.slf4j.org/dist/ slf4j-(.*).tar.gz debian debian/orig-tar.sh