Permalink
Browse files

Remove debian/repack-source.sh.

Update changelog and README.Debian.
  • Loading branch information...
1 parent 3d32e0f commit 2ab67154a9a2eeba1c5e0c58fea5910fe3c724cd @tiagosab committed Jun 7, 2011
Showing with 19 additions and 54 deletions.
  1. +16 −8 debian/README.Debian
  2. +3 −2 debian/changelog
  3. +0 −44 debian/repack-source.sh
View
@@ -2,13 +2,21 @@ OmegaT for Debian
-----------------
* The source archive available at sourceforge is not source-only, as
-it contains executable files for another platform without sources and
-the jar files for three libraries: htmlparser, MRJAdapter and
-vldocking.
- ** MRJAdapter is a Mac-only library, so I'm removing it from the
- source.
- ** htmlparser and vldocking are available in debian; just remove
- it from the original tarball.
+it contains executable files for another platform and the jar files
+for several libraries. All binary files are removed from archive.
+ ** find . \( -iname '*.jar' -or -iname '*.exe' -or -iname '*.dll' \
+ -or -iname '*.dylib' -or -iname '*.so' \) \
+ -exec git rm \{\} \;
+
+* Sources and licenses for third-parties libraries are also removed.
+ ** git rm -r lib/*
+ ** find . -iname 'mrjadapter*' -exec git rm \{\} \;
+
+* Test data contains files with unknown licenses.
+ ** git rm -r test/data
+
+* Sun proprietary dtds
+ ** git rm addons/javahelp-filters/src/org/omegat/filters2/javahelp/resources/*
* The package does not install in fhs directories, but rather in a
single dir. All installation is hence done in debian files, and some
@@ -17,4 +25,4 @@ locations.
** jar files are installed in /usr/share/java
** docs are installed in /usr/share/doc/omegat/html
- -- Tiago Saboga <tiagosaboga@gmail.com>, Thu, 23 Jul 2008 10:13:42 -0300
+ -- Tiago Saboga <tiagosaboga@gmail.com>, Tue, 7 Jun 2011 11:52:06 -0300
View
@@ -7,7 +7,8 @@ omegat (2.2.3~beta4+dfsg-1) unstable; urgency=low
* Use openjdk swingworker.
* Fix deprecated global warning (thanks Satoru Kurashiki).
* Regenerate files under src/gen.
- * debian/repack-source.sh: fix repackaged file name.
+ * Remove debian/repack-source.sh: we are now importing upstream tarball
+ with git-import-orig.
* Bug fix: "startup script choose to use openjdk, ignoring
alternatives.", thanks to Satoru KURASHIKI (Closes: #526239).
* Bug fix: "debhelper but no ${misc:Depends}", thanks to lintian.
@@ -18,7 +19,7 @@ omegat (2.2.3~beta4+dfsg-1) unstable; urgency=low
* debian/control:
- (Homepage): Point to main OmegaT page.
- -- Tiago Saboga <tiagosaboga@gmail.com> Tue, 07 Jun 2011 11:44:40 -0300
+ -- Tiago Saboga <tiagosaboga@gmail.com> Tue, 07 Jun 2011 11:51:36 -0300
omegat (1.8.1.2+dfsg-1.1) unstable; urgency=low
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ $# -ne 3 ]
-then
- echo "Usage: $0 option version filename"
- echo "If option=--upstream-version, run uupdate after repacking sources."
- exit
-fi
-
-VERSION=$2
-FILENAME=$3
-DEBVERSION="${VERSION}+dfsg"
-
-TMPDIR=`mktemp -d omegat-tmpXXXX`
-BASEDIR="$TMPDIR/omegat-${VERSION}+dfsg"
-mkdir "$BASEDIR"
-unzip -d "$BASEDIR" "$FILENAME"
-
-# Remove third-party libraries
-rm -r "${BASEDIR}/lib"
-rm "${BASEDIR}/nbproject/org-netbeans-modules-java-j2seproject-copylibstask.jar"
-rm -r "${BASEDIR}/test/lib"
-rm -r "${BASEDIR}/gen/lib"
-
-# Remove win32 executables
-rm "${BASEDIR}/release/win32-specific/*exe"
-
-# Remove hunspell libraries
-rm -r "${BASEDIR}/native"
-
-# Repack
-GZIP=-9 tar -C "$TMPDIR" -czf "../omegat_${DEBVERSION}.orig.tar.gz" "omegat-${DEBVERSION}"
-
-# Clean temporary files
-rm -rf "$TMPDIR"
-rm -rf "${BASEDIR}"
-rm -f "$FILENAME"
-
-if [ $1 = --upstream-version ] ;
-then
- uupdate --upstream-version "${DEBVERSION" "omegat_${DEBVERSION}.orig.tar.gz"
-fi

0 comments on commit 2ab6715

Please sign in to comment.