Author: twerner
Date: 2010-05-09 08:47:58 +0000 (Sun, 09 May 2010)
New Revision: 12374

Added:
   trunk/libgnu-regexp-java/
   trunk/libgnu-regexp-java/debian/
   trunk/libgnu-regexp-java/debian/README.Debian
   trunk/libgnu-regexp-java/debian/README.build-system
   trunk/libgnu-regexp-java/debian/changelog
   trunk/libgnu-regexp-java/debian/control
   trunk/libgnu-regexp-java/debian/copyright
   trunk/libgnu-regexp-java/debian/libgnu-regexp-java
   trunk/libgnu-regexp-java/debian/librules-manual.txt
   trunk/libgnu-regexp-java/debian/librules.mk
   trunk/libgnu-regexp-java/debian/postinst.libgnu-regexp-java
   trunk/libgnu-regexp-java/debian/prerm.libgnu-regexp-java
   trunk/libgnu-regexp-java/debian/rules
Log:
import libgnu-regexp-java


Added: trunk/libgnu-regexp-java/debian/README.Debian
===================================================================
--- trunk/libgnu-regexp-java/debian/README.Debian                               
(rev 0)
+++ trunk/libgnu-regexp-java/debian/README.Debian       2010-05-09 08:47:58 UTC 
(rev 12374)
@@ -0,0 +1,9 @@
+libgnu-regexp-java for Debian
+------------------------------
+
+You can test the provided Grep with:
+
+java -classpath /usr/share/java/gnu-regep.jar:/usr/share/java/gnu.getopt.jar 
gnu.regexp.util.Grep OPTIONS PATTERN FILE(S)
+
+
+Kalle Kivimaa <kalle.kivi...@iki.fi>, Tue, 4 Feb 2003 12:32:08 +0200

Added: trunk/libgnu-regexp-java/debian/README.build-system
===================================================================
--- trunk/libgnu-regexp-java/debian/README.build-system                         
(rev 0)
+++ trunk/libgnu-regexp-java/debian/README.build-system 2010-05-09 08:47:58 UTC 
(rev 12374)
@@ -0,0 +1,6 @@
+
+$Id: README.build-system,v 1.2 2000/04/25 21:58:52 ajk Exp $
+
+This package uses a new experimental debian/rules helper, librules.mk,
+written by Antti-Juhani Kaijanaho <a...@debian.org>.  Documentation for
+it is available in the file librules-manual.txt.

Added: trunk/libgnu-regexp-java/debian/changelog
===================================================================
--- trunk/libgnu-regexp-java/debian/changelog                           (rev 0)
+++ trunk/libgnu-regexp-java/debian/changelog   2010-05-09 08:47:58 UTC (rev 
12374)
@@ -0,0 +1,60 @@
+libgnu-regexp-java (1.1.4-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use default-jdk instead of jikes and kaffe. (Closes: #528055)
+
+ -- Niels Thykier <ni...@thykier.net>  Sat, 19 Sep 2009 20:22:30 +0200
+
+libgnu-regexp-java (1.1.4-3.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Adjust CLASSPATH to upstream kaffe changes (Closes: #348371).
+
+ -- Luk Claes <l...@debian.org>  Wed, 25 Jan 2006 23:27:40 +0100
+
+libgnu-regexp-java (1.1.4-3) unstable; urgency=low
+  * Removed extra backup file (Closes: #325854).
+
+ -- Kalle Kivimaa <kil...@debian.org>  Wed, 31 Aug 2005 15:00:00 +0300
+
+libgnu-regexp-java (1.1.4-2) unstable; urgency=low
+  * Changed the maintainer email address to kil...@debian.org.
+  * Added the current maintainer address to the copyright file.
+  * Updated the standards version to the current (3.6.1.0).
+
+ -- Kalle Kivimaa <kil...@debian.org>  Sun, 19 Oct 2003 11:00:00 +0200
+  
+libgnu-regexp-java (1.1.4-1) unstable; urgency=low
+
+  * New maintainer (sponsored for Kalle Kivimaa <kalle.kivi...@iki.fi>)
+    closes: #174856
+  * Jar package now correctly formed, closes: #117660
+  * Missing gnu-regexp-applet.jar added, closes: #106642
+  * Updated the package from upstream.
+  * Added dependency to libgetopt-java as required by
+  * the new upstream version.
+  * Naming, dependencies, and packaging changed to conform with
+    the Debian policy for Java.
+  * Package changed to conform with the latest policy (3.5.8).
+  * README.Debian updated.
+  * control, changelog, postinst, prerm, copyright cleanup
+    to remove lintian complaints.
+
+ -- Takashi Okamoto <t...@debian.org>  Sun,  9 Feb 2003 08:34:49 +0900
+
+libgnu-regexp-java (1.1.1-1) unstable; urgency=low
+
+  * New maintainer, closes: #92819.
+  * New upstream release.
+  * Index bug fixed by upstream, closes: #67153.
+  * Repackaged reusing some parts of the original package.
+  * Now suggests lib-gnu.getopt-java, closes: #62031.
+  * Implement /usr/share/doc transition plan, closes: #91531.
+
+ -- Antti-Juhani Kaijanaho <a...@debian.org>  Thu,  5 Apr 2001 21:23:58 +0300
+
+libgnu-regexp-java (1.0.8-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Stephane Bortzmeyer <bortzme...@debian.org>  Fri, 25 Jun 1999 13:38:08 
+0200

Added: trunk/libgnu-regexp-java/debian/control
===================================================================
--- trunk/libgnu-regexp-java/debian/control                             (rev 0)
+++ trunk/libgnu-regexp-java/debian/control     2010-05-09 08:47:58 UTC (rev 
12374)
@@ -0,0 +1,17 @@
+Source: libgnu-regexp-java
+Section: devel
+Priority: optional
+Maintainer: Kalle Kivimaa <kil...@debian.org>
+Standards-Version: 3.6.1.0
+Build-Depends-Indep: default-jdk, lynx (>= 2.8.4), libgetopt-java (>= 1.0.9-8)
+
+Package: libgnu-regexp-java
+Architecture: all
+Depends: java1-runtime | java2-runtime, libgetopt-java
+Suggests: java-virtual-machine
+Replaces: lib-gnu.regexp-java
+Conflicts: lib-gnu.regexp-java
+Description: Regular Expressions for Java
+ The gnu-regexp package is a pure-Java implementation of a traditional 
+ (non-POSIX) NFA regular expression engine. Its syntax can emulate many 
+ popular development tools, including awk, sed, emacs, perl and grep.

Added: trunk/libgnu-regexp-java/debian/copyright
===================================================================
--- trunk/libgnu-regexp-java/debian/copyright                           (rev 0)
+++ trunk/libgnu-regexp-java/debian/copyright   2010-05-09 08:47:58 UTC (rev 
12374)
@@ -0,0 +1,15 @@
+This package was debianized by Stephane Bortzmeyer bortzme...@debian.org on
+Fri, 25 Jun 1999 13:38:08 +0200.
+It was repackaged by Antti-Juhani Kaijanaho <a...@debian.org> on 2001-04-05.
+The current maintainer is Kalle Kivimaa <kil...@debian.org>.
+
+Upstream sources were downloaded from
+ <URL: ftp://ftp.cacas.org/pub/java/gnu.regexp-1.1.1.tar.gz >
+
+Upstream author is Wes Biggs <w...@cacas.org>
+
+This is open source software distributed under the terms of the GNU
+Lesser General Public License.  Details can be found in
+/usr/share/common-licenses/LGPL-2.1 Some included utilities are
+distributed under the terms of the GNU General Public License. Details
+can be found in /usr/share/common-licenses/GPL

Added: trunk/libgnu-regexp-java/debian/libgnu-regexp-java
===================================================================
--- trunk/libgnu-regexp-java/debian/libgnu-regexp-java                          
(rev 0)
+++ trunk/libgnu-regexp-java/debian/libgnu-regexp-java  2010-05-09 08:47:58 UTC 
(rev 12374)
@@ -0,0 +1,9 @@
+Document: libgnu-regexp-java
+Title: API documentation for gnu.regexp
+Author: Wes Biggs
+Abstract: API documentation for gnu.regexp Java package
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libgnu-regexp-java/api/index.html
+Files: /usr/share/doc/libgnu-regexp-java/api/*

Added: trunk/libgnu-regexp-java/debian/librules-manual.txt
===================================================================
--- trunk/libgnu-regexp-java/debian/librules-manual.txt                         
(rev 0)
+++ trunk/libgnu-regexp-java/debian/librules-manual.txt 2010-05-09 08:47:58 UTC 
(rev 12374)
@@ -0,0 +1,116 @@
+Manual for the librules helper                          -*- Text -*-
+------------------------------
+$Id: Manual.txt,v 1.4 1999/12/03 02:20:07 ajk Exp $
+
+This file documents an experimental new debian/rules helper, a
+makefile called "librules.mk", which does all the boring work of
+building a package.
+
+Usage:
+
+The very first non-comment thing in your debian/rules should be the
+following line:
+librules_interface = 1
+This helps to spot incompatibilities with debian/rules and the
+librules.mk file currently in use.
+
+Include "debian/librules.mk" just after that line.  Precede it with a
+variable definition "librules_native_pkg=yes" if the package you are building
+is a Debian native package.
+
+Define a target debian/stamp/build that builds the package (like the
+build target does in conventional debian/rules files).  Put "touch $@"
+as the last action in that rule.
+
+For every binary package <package> you want to build:
+
+   - If the package is "arch: all", make debian/stamp/binary/indep depend
+     on debian/stamp/binary/<package>; otherwise make debian/stamp/binary/arch
+     depend on that target
+
+   - Write a target debian/stamp/binary/<package> using the following template:
+
+debian/stamp/binary/<package>: package=<package>
+debian/stamp/binary/<package>: debian/stamp/build
+        $(prebinary)
+        # Add here your own commands
+        $(postbinary)
+        touch $@
+
+     The $(prebinary) macro will create a skeletal build tree for the 
+     package.  It also installs debian/prerm.<package> and
+     debian/postinst.<package> as the prerm and postinst scripts;
+     it will also install the copyright file (debian/copyright)
+     and the Debian changelog file (debian/changelog).
+
+     See below for instructions about how to write your own install commands.
+
+     The $(postbinary) macro fixes directory permissions, generates the binary
+     control file and builds the package.
+
+   - You may want to define targets "clean", "clean-binary" and "clean-build"
+     to reverse the effects of your own commands in the build and binary 
targets.
+     The librules.mk file cleans up for itself, you don't need to worry about 
that.
+
+
+How to write your own commands for binary targets:
+
+Use the following macros to install files:
+
+      $(install_exec) SOURCE TARGET
+      $(install_exec) SOURCE SOURCE ... DIRECTORY
+          installs one or more binary executables
+          (TARGET need not be a directory name)
+
+      $(install_nonex) SOURCE TARGET
+      $(install_nonex) SOURCE SOURCE ... DIRECTORY
+          install one or more non-executable files
+          (TARGET need not be a directory name)
+
+      $(install_dir) DIRECTORY
+          create the directory
+
+      $(install_script) SOURCE TARGET
+      $(install_script) SOURCE SOURCE ... DIRECTORY
+          install one or more executable scripts          
+          (TARGET need not be a directory name)
+
+The macros above are wrappers around the "install" utility.
+
+      $(install_symlink) SOURCE [TARGET]
+           Install a symlink from SOURCE to TARGET
+           (This macro is a wrapper around ln -s)
+
+      $(gzip) FILE ...
+           Compress the given files
+           (This is a wrapper around gzip)
+
+      $(strip_lib) FILE ...
+           Strip the given files the way shared libraries are stripped
+           (This is a wrapper around strip)
+
+
+*Never* refer to a file in the install target tree by their real name.
+Use the following macros instead:
+
+      $(rootdir) - the directory that masquerades as / in the target tree
+                   (usually a subdirectory under debian/tmp)
+      $(ctldir)  - the directory where control files are installed
+                   (usually $(rootdir)/DEBIAN)
+      $(bindir)  - the main binary directory
+                   (usually $(rootdir)/usr/bin)
+      $(docdir)  - the main doc directory
+                   (usually $(rootdir)/usr/share/doc/<package>)
+      ...
+(see librules.mk for what's available)
+
+
+If your debian/rules needs the dpkg-architecture variables, add the
+definition "librules_need_archvars=yes" before the include at the top
+of the file.  If you use this feature, you need to Build-Depend on
+"dpkg-dev (>= 1.4.1.5)".
+
+If you want to patch/unpatch the package, add the definitions
+"librules_patch_support=yes" and "librules_patches=file1.diff
+file2.diff ... filen.diff" before the include at the top of the file.
+If you use this, you need to Build-Depend on "patch".

Added: trunk/libgnu-regexp-java/debian/librules.mk
===================================================================
--- trunk/libgnu-regexp-java/debian/librules.mk                         (rev 0)
+++ trunk/libgnu-regexp-java/debian/librules.mk 2010-05-09 08:47:58 UTC (rev 
12374)
@@ -0,0 +1,172 @@
+# librules.mk - a library of convenient rules and macros for debian/rules files
+#
+# Copyright � 1999, 2000 Antti-Juhani Kaijanaho.
+#
+# Permission is hereby granted, free of charge, to any person
+# obtaining a copy of this file, to deal in this file without
+# restriction, including without limitation the rights to use, copy,
+# modify, merge, publish, distribute, sublicense, and/or sell copies
+# of this file, and to permit persons to whom this file is furnished
+# to do so, subject to the following condition: The above copyright
+# notice and this permission notice shall be included in all copies or
+# substantial portions of this file.
+#
+# THIS FILE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT.  IN NO EVENT SHALL SOFTWARE IN THE PUBLIC INTEREST,
+# INC.  BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+# IN CONNECTION WITH THIS FILE OR THE USE OR OTHER DEALINGS IN THIS
+# FILE.
+#
+# Except as contained in this notice, the name of the author(s) of
+# this file shall not be used in advertising or otherwise to promote
+# the sale, use or other dealings in this file without prior written
+# authorization from the author(s).
+
+# This file is set up to be compliant with Debian Standards Version
+# 3.2.1.
+
+# $Id: librules.mk,v 1.12 2001/03/11 16:27:50 ajk Exp $
+
+default:
+       @echo You need to specify a target.
+       @exit 1
+
+librules_a_variable_just_to_run_the_commands1 := $(shell mkdir debian/stamp)
+librules_a_variable_just_to_run_the_commands2 := $(shell mkdir 
debian/stamp/binary)
+
+# Make sure we don't get used by an incompatible debian/rules
+# WHEN YOU MAKE INCOMPATIBLE CHANGES, EDIT THIS!
+ifneq ($(librules_interface),1)
+$(error incompatible debian/rules)
+endif
+
+# Standard interface targets
+build: debian/stamp/build
+binary: binary-indep binary-arch
+binary-arch: debian/stamp/binary/arch
+binary-indep: debian/stamp/binary/indep
+clean: clean-build clean-binary clean-std
+
+
+# Nonstandard interface targets
+clean-build: clean-build-std
+clean-binary: clean-binary-std
+
+# Stamp targets for the standard binary targets
+debian/stamp/binary/arch: debian/stamp/build
+       touch $@
+
+debian/stamp/binary/indep: debian/stamp/build
+       touch $@
+
+.PHONY: default build binary binary-arch binary-indep \
+       clean clean-build clean-binary
+
+ifeq ($(librules_need_archvars),yes)
+DEB_BUILD_ARCH       = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_BUILD_GNU_TYPE   = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_GNU_CPU    = $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
+DEB_BUILD_GNU_SYSTEM = $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
+DEB_HOST_ARCH        = $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE    = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_GNU_CPU     = $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+DEB_HOST_GNU_SYSTEM  = $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
+endif
+
+CFLAGS = -O2 -Wall
+STRIP =
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+STRIP = -s
+endif
+
+export CFLAGS
+
+install         := install -o root -g root
+install_exec    := $(install) -m 0755 $(STRIP)
+install_nonex   := $(install) -m 0644
+install_dir     := $(install) -m 0755 -d
+install_script  := $(install) -m 0755
+install_symlink := ln -s
+gzip            := gzip -9
+strip_lib       := strip --strip-unneeded
+
+tmpdir := $(shell pwd)/debian/tmp
+
+# These must not be :='s!
+rootdir = $(tmpdir)/$(package)
+ctldir = $(rootdir)/DEBIAN
+bindir = $(rootdir)/usr/bin
+sbindir = $(rootdir)/usr/sbin
+docdir = $(rootdir)/usr/share/doc/$(package)
+exampledir = $(docdir)/examples
+mandir = $(rootdir)/usr/share/man
+elispdir = $(rootdir)/usr/share/emacs/site-lisp
+emacs_d_dir = $(rootdir)/etc/emacs/site-start.d
+man1dir = $(mandir)/man1
+man2dir = $(mandir)/man2
+man3dir = $(mandir)/man3
+man4dir = $(mandir)/man4
+man5dir = $(mandir)/man5
+man6dir = $(mandir)/man6
+man7dir = $(mandir)/man7
+man8dir = $(mandir)/man8
+sharedir = $(rootdir)/usr/share/$(package_base)
+libdir = $(rootdir)/usr/lib/$(package_base)
+docbasedir = $(rootdir)/usr/share/doc-base
+usrlib = $(rootdir)/usr/lib
+includedir = $(rootdir)/usr/include
+
+ifeq ($(librules_native_pkg),yes)
+librules_changelog=changelog
+else
+librules_changelog=changelog.Debian
+endif
+
+define prebinary
+       $(RM) -r $(rootdir)
+       $(install_dir) $(ctldir)
+       $(install_script) debian/prerm.$(package) $(ctldir)/prerm
+       $(install_script) debian/postinst.$(package) $(ctldir)/postinst
+       $(install_dir) $(docdir)
+       $(install_nonex) debian/copyright $(docdir)
+       $(install_nonex) debian/changelog $(docdir)/$(librules_changelog)
+       $(gzip) $(docdir)/$(librules_changelog)
+endef
+
+define postbinary
+       chmod -R g-s $(rootdir)
+       dpkg-gencontrol -isp -p$(package) -P$(rootdir) $(gencontrol_options)
+       dpkg --build $(rootdir) ..
+endef
+
+clean-build-std:
+       rm -f debian/stamp/build
+
+clean-binary-std:
+       rm -f debian/stamp/binary/*
+       rm -f debian/files debian/substvars
+       rm -rf $(tmpdir)
+
+clean-std:
+       rm -rf debian/stamp/
+       rm -rf lib/*
+
+# Patching support
+ifeq ($(librules_patch_support),yes)
+debian/stamp/build: debian/stamp/patch
+clean-build: unpatch
+
+debian/stamp/patch:
+       $(foreach patch, $(librules_patches), patch -fs < $(patch) && )true
+       touch $@
+
+unpatch: debian/stamp/patch
+       $(foreach patch, $(librules_patches), patch -fsR < $(patch) && )true
+       rm -f debian/stamp/patch
+endif

Added: trunk/libgnu-regexp-java/debian/postinst.libgnu-regexp-java
===================================================================
--- trunk/libgnu-regexp-java/debian/postinst.libgnu-regexp-java                 
        (rev 0)
+++ trunk/libgnu-regexp-java/debian/postinst.libgnu-regexp-java 2010-05-09 
08:47:58 UTC (rev 12374)
@@ -0,0 +1,16 @@
+#!/bin/sh
+ 
+set -e
+ 
+package=libgnu-regexp-java
+docs="libgnu-regexp-java"
+ 
+if [ "$1" = "configure" ]; then
+    if command -v install-docs >/dev/null 2>&1; then
+        for doc in $docs
+        do
+            install-docs -i /usr/share/doc-base/$doc
+        done
+    fi
+fi
+

Added: trunk/libgnu-regexp-java/debian/prerm.libgnu-regexp-java
===================================================================
--- trunk/libgnu-regexp-java/debian/prerm.libgnu-regexp-java                    
        (rev 0)
+++ trunk/libgnu-regexp-java/debian/prerm.libgnu-regexp-java    2010-05-09 
08:47:58 UTC (rev 12374)
@@ -0,0 +1,15 @@
+#!/bin/sh
+ 
+set -e
+ 
+package=libgnu-regexp-java
+docs="libgnu-regexp-java"
+
+if [ "$1" = remove -o "$1" = upgrade ]; then
+    if command -v install-docs >/dev/null 2>&1; then
+        for doc in $docs
+        do
+            install-docs -r $doc
+        done
+    fi
+fi

Added: trunk/libgnu-regexp-java/debian/rules
===================================================================
--- trunk/libgnu-regexp-java/debian/rules                               (rev 0)
+++ trunk/libgnu-regexp-java/debian/rules       2010-05-09 08:47:58 UTC (rev 
12374)
@@ -0,0 +1,41 @@
+#!/usr/bin/make -f
+# Written by Antti-Juhani Kaijanaho
+# You may treat this file as if it were in the public domain.
+
+librules_interface = 1
+include debian/librules.mk
+
+debian/stamp/binary/arch : debian/stamp/binary/libgnu-regexp-java
+
+export CLASSPATH=.:/usr/share/java/gnu-getopt.jar
+
+debian/stamp/build :
+       $(MAKE) -C src JAVAC=javac gnu.regexp utils
+       touch $@
+
+debian/stamp/clean-build:
+       -$(MAKE) -C src clean
+
+javarep=$(rootdir)/usr/share/java/repository   
+javalib=$(rootdir)/usr/share/java
+
+debian/stamp/binary/libgnu-regexp-java : package=libgnu-regexp-java
+debian/stamp/binary/libgnu-regexp-java : debian/stamp/build
+       $(prebinary)
+       $(install_dir) $(javalib)
+       $(install_dir) $(exampledir)
+       $(install_dir) $(docbasedir)
+       (cd lib ; jar uf gnu-regexp-1.1.4.jar gnu/regexp/util/*.class)
+       cp lib/gnu-regexp-1.1.4.jar $(javalib)
+       (cd $(javalib) ; ln -s gnu-regexp-1.1.4.jar gnu-regexp.jar )
+       cp -r docs/* $(docdir)
+       rm -f $(docdir)/changes.html
+       $(install_nonex) debian/README.Debian $(docdir)
+       $(install_nonex) README TODO $(docdir)
+       $(install_nonex) src/gnu/regexp/util/*.java $(exampledir)
+       $(install_nonex) debian/libgnu-regexp-java $(docbasedir)
+       $(install_nonex) docs/changes.html $(docdir)/changelog.html
+       lynx -dump -nolist docs/changes.html > $(docdir)/changelog
+       $(gzip) $(docdir)/changelog $(docdir)/changelog.html
+       $(postbinary)
+       touch $@


Property changes on: trunk/libgnu-regexp-java/debian/rules
___________________________________________________________________
Added: svn:executable
   + 


_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to