ChangeLog: 0.99.6 - 07/13/03 Fixed categies incorrectly syncing on first time use Added number of records tooltip to datebook Fixed DST problem in alarms Added a hide not yet due todos button Added Record completion date on todos bug 637 fix couldn't select start/end times in GTK2 Added number of records tooltip to datebook Fixed bug 610, record dups when pressing page-up/down keys, and removed home key from going to today Fix DST on import Made install remember its last path Added plugin_pre_sync_pre_connect calls address_gui.c: ldif export crash, fix Many miscellaneous bugs fixes, etc. Attaching ebuild.
This is the ebuild diff: <snip> --- /usr/portage/app-misc/jpilot/jpilot-0.99.5.ebuild 2003-07-08 23:11:51.000000000 +0200 +++ jpilot-0.99.6.ebuild 2003-07-13 19:32:02.000000000 +0200 @@ -16,8 +16,8 @@ SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 sparc ~alpha" -IUSE="nls" +KEYWORDS="~x86 ~sparc ~alpha" +IUSE="nls gtk2" DEPEND=">=x11-libs/gtk+-2 >=dev-libs/pilot-link-0.11.5" </snip>
Actually I can't get this compiled: <snip> Making all in po make[2]: Entering directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6/po' ../intltool-update ca.po ../intltool-update cs.po Working, please wait...Working, please wait...intltool-update: couldn't move jpilot.po to jpilot.pot. make[2]: *** [cs.po] Error 2 make[2]: *** Waiting for unfinished jobs.... msgmerge: error while opening "jpilot.pot" for reading: No such file or directory 275 translated messages, 60 fuzzy translations, 135 untranslated messages. make[2]: Leaving directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6' make: *** [all] Error 2 !!! ERROR: app-misc/jpilot-0.99.6 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! (no error message) <snip> Any ideas? (I will ask jpilot@jpilot.org mailing list)
Compiling manually yields no problem. Now I get another error when compiling with portage: <snip> Making all in po make[2]: Entering directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6/po' ../intltool-update ca.po ../intltool-update cs.po Working, please wait...Working, please wait................................................... done. 275 translated messages, 60 fuzzy translations, 135 untranslated messages. ../intltool-update da.po Working, please wait...WARNING: It seems that none of the files in POTFILES.in contain marked strings make[2]: *** [cs.po] Error 1 make[2]: *** Waiting for unfinished jobs.... ................................................ done. 373 translated messages, 37 fuzzy translations, 60 untranslated messages. make[2]: Leaving directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6' make: *** [all] Error 2 !!! ERROR: app-misc/jpilot-0.99.6 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message) </snip> # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r4) ================================================================= System uname: 2.4.21-pfeifer-r1_pre4 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz GENTOO_MIRRORS="http://gentoo.inode.at/ rsync://ftp.snt.utwente.nl/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/portage.local" USE="x86 oss crypt cups gif jpeg libwww mad mikmod mmx ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline aalib svga java guile mysql X sdl gpm tcpd pam ssl python esd imlib oggvorbis gtk qt motif opengl cdr sse sse2 -3dnow pcmcia pnp trusted pda gphoto2 dga fbcon -gnome libg++ tcltk tiff alsa dvd ggi mozilla xml perl samba -doc -kde xfs gtkhtml encode avi mpeg -arts gtk2 usb ethereal apm" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="fixpackages sandbox ccache userpriv"
Using make instead of emake compiles jpilot flawless. This is the new diff from jpilot-0.99.5: <snip> --- jpilot-0.99.5.ebuild 2003-07-08 23:11:51.000000000 +0200 +++ jpilot-0.99.6.ebuild 2003-07-17 09:35:50.000000000 +0200 @@ -16,8 +16,8 @@ SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 sparc ~alpha" -IUSE="nls" +KEYWORDS="~x86 ~sparc ~alpha" +IUSE="nls gtk2" DEPEND=">=x11-libs/gtk+-2 >=dev-libs/pilot-link-0.11.5" @@ -37,9 +37,10 @@ econf ${myconf} # make sure we use $CFLAGS - mv Makefile Makefile.old - sed -e "s/-g -O2/${CFLAGS}/" Makefile.old > Makefile - emake || die +# mv Makefile Makefile.old +# sed -e "s/-g -O2/${CFLAGS}/" Makefile.old > Makefile + + make || die # build malsync plugin cd ${S}/jpilot-syncmal_${SYNCMAL} </snip>
why did you kill sed, which replaces CFLAGS with CFLAGS from make.conf ?
It took my CFLAGS correctly without the sed. (The sed was wrong anyway since it only changed the flags for the current directory, but not for the subdirs; the econf was done before sedding) <snip> This package is configured for the following features: ------------------------------------------------------ Compiling Expense plugin............... yes Compiling SyncTime plugin.............. yes Compiling KeyRing plugin............... yes Compiling with private record support.. yes Compiling with Datebk support.......... yes Compiling with plugin support.......... yes Compiling with Ma
It took my CFLAGS correctly without the sed. (The sed was wrong anyway since it only changed the flags for the current directory, but not for the subdirs; the econf was done before sedding) <snip> This package is configured for the following features: ------------------------------------------------------ Compiling Expense plugin............... yes Compiling SyncTime plugin.............. yes Compiling KeyRing plugin............... yes Compiling with private record support.. yes Compiling with Datebk support.......... yes Compiling with plugin support.......... yes Compiling with Mañana support.......... yes Compiling with Prometheon support...... no GTK-2 support.......................... yes Compiler Options....................... -march=pentium3 -O3 -pipe -fomit-frame-pointer Prefix directory....................... /usr pilot-link headers..................... /usr/include/libpisock NLS support (foreign languages)........ yes USB support enabled.................... yes dialer support......................... yes Pilot-link version found............... 0.11.7 Now type make to compile make all-recursive make[1]: Entering directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6' Making all in intl make[2]: Entering directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6/intl' Making all in Expense make[2]: Entering directory `/var/tmp/portage/jpilot-0.99.6/work/jpilot-0.99.6/Expense' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -march=pentium3 -O3 -pipe -fomit-frame-pointer -I/usr/include/libpisock -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -march=pentium3 -O3 -pipe -fomit-frame-pointer -MT expense.lo -MD -MP -MF ".deps/expense.Tpo" \ -c -o expense.lo `test -f 'expense.c' || echo './'`expense.c; \ then mv ".deps/expense.Tpo" ".deps/expense.Plo"; \ else rm -f ".deps/expense.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -march=pentium3 -O3 -pipe -fomit-frame-pointer -I/usr/include/libpisock -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -march=pentium3 -O3 -pipe -fomit-frame-pointer -MT expense.lo -MD -MP -MF .deps/expense.Tpo -c expense.c -fPIC -DPIC -o expense.lo </snip>
Just as a side note. This is not a java bytecode application, but simple C. Previous bugs on jpilot had blocke@gentoo.org (and other people) assigned..
Why you write "IUSE=gtk2" if you don't check this flag? You may add my patch to you ebuild. Wirh it jpilot 0.99.6 works fine with gtk1 on my system. (see http://bugs.gentoo.org/show_bug.cgi?id=25666)
FYI, the modified ebuild (without the sed statement for CFLAGS) works for me; I've compiled with pilot-link 0.11.8, using the ebuild and patch attached to http://bugs.gentoo.org/show_bug.cgi?id=26137 -- no problems yet with either. # emerge info Portage 2.0.48-r5 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8) ================================================================= System uname: 2.4.20-gentoo-r6 i686 AMD Duron(TM)Processor GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss apm avi cups libg++ mikmod ncurses spell xml2 berkdb esd gdbm gif gnome-libs gpm guile imlib java libwww motif nls pam perl python readline scanner sdl slang svga tcltk tcpd 3dnow 3dnowext mmx mmxext sse usb ssl opengl xv X rage128 alsa cdr pda gphoto2 jpeg png tiff dvd mpeg oggvorbis xmms encode mozilla tetex quicktime -kde -qt -qtmt -arts gnome gtk gtk2 bonobo evo gb gtkhtml imap mbox -maildir zlib crypt truetype pdflib" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage/" FEATURES="sandbox ccache"
Created attachment 17786 [details] Updated jpilot ebuild This an updated ebuild for jpilot-0.99.6 which allows gtk2. Syncmal and malsync were bumped to the most recent version and syncmal is configured to be compatible with gtk2.
Reassigning to liquidx, since he's our palm guru. (Note: the pda herd lacks a bugzilla alias)
Whoops, my mistake. pda@gentoo.org does work as an alias.
0.99.6 is now in portage.