Hi! I was reading the mailing list, and noticed, that many people have trouble to getting working medit and pida. So I made it available. (for ubuntu 7.10, but maybe is applicable to 8.04-dev (hardy heroin) too) And I post the instructions, if anybody is interested to reproduce a .deb package (for example dont trust me, or have debian instead)
Note: the package for medit still say 0.8.7 (didnt brother to change the changelog), and for pida it says 0.5.1-2 (its yesterday's svn rev1253). Pida [svn rev 1253 - 459kB]: http://khiraly.googlepages.com/pida_0.5.1-2_i386.deb medit [0.9.0 - 1MB] http://khiraly.googlepages.com/medit_0.9.0-1_i386-back.deb Intalling: sudo dpkg -i pida_0.5.1-2_i386.deb sudo dpkg -i medit_0.9.0-1_i386-back.deb Instructions: ------------------ Pida: 1. download latest pida: svn checkout http://pida.googlecode.com/svn/trunk/ pida 2. and download the pida source (0.5.1) only available in launchpad: (see: https://launchpad.net/ubuntu/hardy/+source/pida/0.5.1-2 ) mkdir tmp; cd tmp wget https://launchpadlibrarian.net/10145178/pida_0.5.1.orig.tar.gz wget https://launchpadlibrarian.net/10145179/pida_0.5.1-2.diff.gz 2.b unpack it gunzip pida_0.5.1-2.diff.gz tar -xzvf pida_0.5.1.orig.tar.gz #rename PIDA mv PIDA-0.5.1 pida-0.5.1 # patch it patch -p0 <pida_0.5.1-2.diff 3. copy from the hardy's source the 'debian' directory (note: if you want pida 0.5.1 (instead of svn), just build that source. But medit support only available in svn!) cd .. cp -r tmp/pida-0.5.1/debian pida-0.5.1/ 4. compress the directory (for dpkg-buildpackage) tar -czvf pida_0.5.1.orig.tar.gz pida-0.5.1/ 5. build pida cd pida-0.5.1/ dpkg-buildpackage -rfakeroot -uc -b 5. install it: cd .. dpkg -i pida_0.5.1-2_i386.deb Medit: 1. download the working medit version (0.9.0) wget http://ovh.dl.sourceforge.net/sourceforge/mooedit/medit-0.9.0.tar.bz2 2. uncompress it and rename (for dpkg-buildpackage) bunzip2 medit-0.9.0.tar.bz2 gzip medit-0.9.0.tar mv medit-0.9.0.tar.gz medit_0.9.0.orig.tar.gz tar -xzvf medit_0.9.0.orig.tar.gz 3. build the debian/ directory using dh_make dh_make -f ../medit_0.9.0.orig.tar.gz # choose 's' (single), and enter, enter rm debian/*EX 4. run autogen.sh (to generate doc/Makefile.in) ./autogen.sh 5. edit the debian/rules file to correct the configure options a) change this line: ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$ (DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/ share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" to this: ./configure --enable-moo-module --enable-libmoo --enable-libmoo- headers --enable-moo-module --with-python b) It is necessary to keep the generated Makefile.in search for "distclean" and change this: -$(MAKE) distclean to this: -$(MAKE) clean 5.b alternatively you can download the (working) rules file from here: http://khiraly.googlepages.com/rules 6. run autogen.sh (for newer configure script) ./autogen.sh If i didnt run this script, the build resulted an error message[1]. 7. build it (note: you need python-gtk2-dev and python-cairo-dev package) dpkg-buildpackage -rfakeroot -uc -b 8. install it cd ..; sudo dpkg -i medit 9. make a symlink from /usr/local/lib/libmoo.so|la to /usr/lib/ libmoo.so|la (maybe it is not necessary. Test from python, if import moo works. There should be some python path magic to avoid this symlink. Please tell me if you know how to do it) ln -s /usr/local/lib/libmoo.so /usr/lib/libmoo.so ln -s /usr/local/lib/libmoo.la /usr/lib/libmoo.la I hope this helps somebody. And results a bit better medit support;) Comments are welcome! If you have question, I'll try my best to answer it. Best regards, Khiraly [1] installing zh_TW.gmo as /home/khiraly/Munkaasztal/howto/medit-0.9.0/ debian/medit/usr/local/share/locale/zh_TW/LC_MESSAGES/moo-gsv.mo make[3]: Leaving directory `/home/khiraly/Munkaasztal/howto/ medit-0.9.0/po-gsv' make[2]: Leaving directory `/home/khiraly/Munkaasztal/howto/ medit-0.9.0' make[1]: Leaving directory `/home/khiraly/Munkaasztal/howto/ medit-0.9.0' chmod a+x /home/khiraly/Munkaasztal/howto/medit-0.9.0/debian/medit/usr/ share/moo/language-specs/check.sh chmod: cannot access `/home/khiraly/Munkaasztal/howto/medit-0.9.0/ debian/medit/usr/share/moo/language-specs/check.sh': No such file or directory --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PIDA" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pida?hl=en-GB -~----------~----~----~----~------~----~------~--~---
