[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Questions about simplyhtml[-freeplane] package



Hi,

On 24/11/12 11:42, Felix Natter wrote:
hi,

I am in the process of building the freeplane 1.2.20 package (in
collaboration with Cédric Pineau) and since freeplane needs a different
version of simplyhtml than freemind does, I am building a
simplyhtml-freeplane package (based on the existing simplyhtml package).
Not sure this is the right approach... You're duplicating work possibly without need. You should rather check if Freemind really doesn't work with the new version of simplyhtml, and potentially ask upstream-FreeMind to upgrade (Christian Foltin knows me).


What I did (source can be downloaded using link at the end of this mail):

- adapted debian/changelog (new version, my email)

- adapted debian/control (new package names, is the version number only
   in debian/rules?)

- adapted debian/rules (VERSION=0.16.05)

Problems:

- make -f debian/rules get-orig-source doesn't work.
   - debian/watch
   (http://sf.net/simplyhtml/SimplyHTML_src_(\d+[._]\d+[._]\d+)\.tar.gz)
    seems to be wrong, the real download link is:
http://sourceforge.net/projects/simplyhtml/files/stable/SimplyHTML_src_0_16_05.tar.gz/download
The man page of uscan reads:
       # qa.debian.org runs a redirector which allows a simpler form of URL
# for SourceForge based projects. The format below will automatically
       # be rewritten to use the redirector.
Now, I don't know why uscan shouldn't work... What does it exactly say with the original watch file?


- ran dpkg-buildpackage:
dpkg-buildpackage: source package simplyhtml-freeplane
dpkg-buildpackage: source version 0.16.05
dpkg-buildpackage: source changed by Felix Natter<fnatter@gmx.net>
dpkg-buildpackage: host architecture i386
  dpkg-source --before-build simplyhtml-freeplane
  fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rmdir src
dh_clean
cd src&&  /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true    -propertyfile /tmp/simplyhtml-freeplane/simplyhtml-freeplane/debian/ant.properties clean
/bin/sh: 1: cd: can't cd to src
make: [clean] Error 2 (ignored)
rm -f debian/stamp-ant-build
rm -f simplyhtml.1
rm -f simplyhtml
rm -fr bin
  dpkg-source -b simplyhtml-freeplane
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../simplyhtml-freeplane_0.16.05.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b simplyhtml-freeplane gave error exit status 255

=>  I copied SimplyHTML_src_0_16_05.tar.gz (built from git on the right
tag) to simplyhtml-freeplane_0.16.05.orig.tar.gz

=>  also note "/bin/sh: 1: cd: can't cd to src"!

- one patch doesn't apply, I deleted it with "quilt delete
   10_build_xml.patch" (will add it again later), I ran dpkg-buildpackage again:
It all sounds very wrong indeed. I guess, but it's only a guess, that something is wrong with your overall setup rather than with the package. I would suggest that you try first to build the original package 1.1.3 using svn-buildpackage, and once you've managed this, upgrade to the next SimplyHTML version. You'll need it anyway for the future, so see http://wiki.debian.org/Java/JavaSvn

Hope this helps, if not come back to me,
Eric


Reply to: