First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97786
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: XEmacs team <xemacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Geoff Leach <gl@cs.rmit.edu.au>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xemacs-21.4.17.ebuild xemacs-21.4.17.ebuild text/plain Geoff Leach 2005-07-02 22:45 0000 4.87 KB Details
xemacs-21.4.17-gdbm.patch updated gdbm patch text/plain Geoff Leach 2005-07-02 22:46 0000 646 bytes Details
xemacs-21.4.17.ebuild Revised ebuild for xemacs 21.4.17 text/plain Hans de Graaff 2005-08-21 08:42 0000 5.10 KB Details
xemacs-21.4.19.ebuild xemacs-21.4.19.ebuild text/plain Geoff Leach 2006-06-05 03:11 0000 4.93 KB Details
xemacs-21.4.19.ebuild updated xemacs-21.4.19 ebuild text/plain Geoff Leach 2006-06-08 02:06 0000 5.18 KB Details
xemacs-21.4.19.ebuild updated xemacs-21.4.19 ebuild text/plain Geoff Leach 2006-06-08 21:33 0000 5.20 KB Details
xemacs-21.4.19.ebuild updated xemacs-21.4.19 ebuild text/plain Geoff Leach 2006-06-08 21:35 0000 5.20 KB Details
emodules.texi.patch emodules.texi patch text/plain Geoff Leach 2006-06-10 01:59 0000 366 bytes Details
external-widget.texi.patch external-widget.texi patch text/plain Geoff Leach 2006-06-10 02:01 0000 354 bytes Details
xemacs.desktop xemacs.desktop (from Hans' overlay) text/plain Geoff Leach 2006-06-10 02:03 0000 1.07 KB Details
xemacs-21.4.19-r2.ebuild xemacs-21.4.19-r2.ebuild text/plain Hans de Graaff 2006-06-13 12:51 0000 5.24 KB Details
xemacs-21.4-db.patch xemacs-21.4-db.patch patch Hans de Graaff 2006-06-13 12:52 0000 3.08 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97786 depends on: Show dependency tree
Show dependency graph
Bug 97786 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-02 22:34 0000
Please find attached an updated ebuild for the latest xemacs version.

Several changes c.f 21.4.15-r3

1) The emodules-info-21.4.8-gentoo.patch no longer seems necessary - I find the emodules entry in info fine without it. 

2) Updated gdbm patch to correspond track upstream changes of configure.in. The bug needs to be reported upstream (must check that it has/hasnt been)

3) The quick-fix.patch no longer seems to apply, so removed. I checked through the latest configure after ebuild xemacs-21.4.17 unpack and could not see anything relevant. Need powerpclinux person to verify patch is no longer necessary, i.e., ebuild works.

4) The patch for CAN-2005-0100 (movemail) is no longer necessary as a fix has been made upstream  http://list-archive.xemacs.org/cgi-bin/wilma_hiliter/xemacs-patches/200502/msg00082.html?line=319#hilite

New ebuild and gdbm patch attachments to come ...

------- Comment #1 From Geoff Leach 2005-07-02 22:45:23 0000 -------
Created an attachment (id=62520) [edit]
xemacs-21.4.17.ebuild

new ebuild

------- Comment #2 From Geoff Leach 2005-07-02 22:46:38 0000 -------
Created an attachment (id=62521) [edit]
updated gdbm patch

------- Comment #3 From Hans de Graaff 2005-08-12 02:30:34 0000 -------
I have just submitted a bug report about gdbm upstream, including the patch.

------- Comment #4 From Hans de Graaff 2005-08-12 03:12:23 0000 -------
The emodules-info-21.4.8-gentoo patch is still needed. The problem it fixes is
not that the file is not installed or found by info, but that it does not appear
in the right section and that it does not have a proper title.

The problem is really with the man/emodules.texi file in the original
distribution. This problem has been fixed in the 21.5 tree, so I have not
reported it to upstream. For 21.4 we simply keep this patch in.


------- Comment #5 From Geoff Leach 2005-08-15 01:35:04 0000 -------
Looks like Robert Coie - main Gentoo XEmacs person - is snowed under with work
committments according to the Gentoo developer web page 

http://www.gentoo.org/proj/en/devrel/roll-call/userinfo.xml website

So just wondering who else can update XEmacs in portage?

Not that a minor bump in XEmacs is that important, but keeping up to date
generally is part of the Gentoo attraction :)

Oh, and I guess assuming that someone else has tested the ebuild.

I had a look at effect of the emodules patch. The reason I thought it was not
needed is that my emodules info entry appears in the same place with same
heading with or without it. On looking into it, it seems that is because
/usr/share/info/dir.gz does not get rebuilt. Not sure how a rebuild is
triggered, or whether it should be a part of the install.


------- Comment #6 From Hans de Graaff 2005-08-21 08:42:49 0000 -------
Created an attachment (id=66480) [edit]
Revised ebuild for xemacs 21.4.17

I noticed I did not include my updated ebuild with this bug yet, so here it is.
I've been in contact with Torsten Veller about committing xemacs updates to
portage, so hopefully we can see things moving with xemacs some time soon. 

------- Comment #7 From Stefan Kamphausen 2005-08-25 02:10:49 0000 -------
Hi,

thanks for providing this ebuild.  A few notes:

* There ist actually a good reason to install 21.4.17: it introduces the
function run-mode-hooks which is used by cc-mode.  Thus customized c/c++-coding
is only possible with this version (if you use a recent cc-mode).

* I just managed to install 21.4.17 using the revised ebuild, the emodules-patch
from /usr/portage/app/editors/xemacs/files and the gdbm-patch attached to this
bug.  For this I first followed the "ebuild: A Safer Approach" and when I passed
the ebuild ... install-command I simply emerged xemacs.

* Should I come across any problems with the ebuild I will post to this bug (I
am a heavy xemacs user)

Thanks and kind regards
Stefan Kamphausen

------- Comment #8 From Fred Labrosse 2005-09-29 03:50:08 0000 -------
Hi, 
 
Many thanks for the ebuild.  I concur with the fact that introducing 21.4.17 is 
a necessity, at least because of that run-mode-hooks business. 
 
I just installed it successfully on an amd64 and so far all seems to be working 
fine.  If I find something that does not work, I'll report. 
 
Just a comment.  The ebuild still contains 21.4.15-r3, which obviously needs to 
be modified. 
 
Again, many thanks. 
 
Fred 
 

------- Comment #9 From Geoff Leach 2005-09-29 16:54:15 0000 -------
  Just a comment.  The ebuild still contains 21.4.15-r3, which obviously needs
to 
  be modified. 

You mean the comment in the ebuild? 

# $Header:
/var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.15-r3.ebuild,v
1.2 2005/06/12 22:50:02 solar Exp $

That would be updated by whoever does the checkin ..

------- Comment #10 From Frank Lomax 2005-12-20 05:13:56 0000 -------
Actually 21.4.18 is out now, so you probably want to update the ebuild to
install that.  It's definitely a higher priority because of the run-mode-hooks
issue.  I've had to install from source into /usr/local to get things to work.

The problem is that if you use the XEmacs package manager to update packages
inside XEmacs, you'll actually break cc-mode when running in 21.4.15.  I'll let
the cc-mode maintainers know about this, but still, Gentoo should be installing
21.4.18.

------- Comment #11 From Malcolm Purvis 2005-12-27 04:20:02 0000 -------
I'll second the request to upgrade to xemacs 21.4.18.  Since 21.4.15 there have
been a number of Gentoo friendly additions to xemacs including support for
building with make -j.

------- Comment #12 From Maxwell Walter 2006-01-03 23:06:24 0000 -------
Just renaming the above ebuild to xemacs-21.4.18.ebuild
worked fine for me.  It also solved a lot of problems that I was having with
cc-mode, so thanks.

------- Comment #13 From Hans de Graaff 2006-06-04 11:18:53 0000 -------
I've created an updated ebuild for xemacs 21.4.19 in my xemacs overlay. I'd be
happy to get feedback on it. The overlay can be found at
http://moving-innvations.com/svn/xemacs and it also contains bumps for a whole
set of xemacs packages.

------- Comment #14 From Geoff Leach 2006-06-05 03:09:20 0000 -------
Hans, seems cant access your overlay at the moment (cant find the ip address
for the website)

Simply copying the xemacs-21.4.17 ebuild in portage to xemacs-21.4.19 works for
me (either rename the gdbm patch or make a minor change to the ebuild). I've
attached the ebuild I used.

Use the 21.4.17 ebuild in portage as a base as it handles modular X
dependencies.

------- Comment #15 From Geoff Leach 2006-06-05 03:11:53 0000 -------
Created an attachment (id=88412) [edit]
xemacs-21.4.19.ebuild

------- Comment #16 From Hans de Graaff 2006-06-05 06:45:28 0000 -------
D'oh. Perhaps the right URL to the repository will give more satisfactory
results... 

http://moving-innovations.com/svn/xemacs

And yes, I have used the 21.4.17.ebuild in portage as a base. I intend do some
more work on the ebuild to deal with some of the reported bugs on xemacs, and
to bring in some of the things that were included in earlier versions of the
ebuild (e.g. the desktop file so that XEmacs shows up in desktop menus).

------- Comment #17 From Geoff Leach 2006-06-08 02:06:08 0000 -------
Created an attachment (id=88641) [edit]
updated xemacs-21.4.19 ebuild


Slightly updated ebuild:

+ introduced gdbm flag, so berkdb or gdbm can be correctly chosen (see bug
102540)
+ only unpack NeXT_XEmacs.tar.gz if neXt set 
+ changed plain athena widgets to use xaw
+ included Hans' updates for the desktop changes (needs xemacs.desktop)

------- Comment #18 From Geoff Leach 2006-06-08 03:09:17 0000 -------
Hans, I havent tried your individual package updates, but the ones I had a look
at seem fine to me. 

I generally use the sumo package rollup for most of what I do, rather than
individual packages - except for a couple of packages I want to rev faster than
sumo (for example the Mew MUA).

New sumo out recently 2006.05.10, which works ok so far for the few things I've
tried (~x86). Just a rename of the ebuild (also see bug 116859)   

------- Comment #19 From Geoff Leach 2006-06-08 21:33:43 0000 -------
Created an attachment (id=88736) [edit]
updated xemacs-21.4.19 ebuild

Just a little more tweaking

+ add 'eolconv' use flag to enable setting of file-coding (\r\n,\n autodetect,
usually off in unix) see bug 62991
+ patch for external-widget.texinfo for external-widget.info entry
+ changed patch for emodules.info to patch emodules.texinfo
+ removed line to remove emodules.info~* as patching texinfo file instead
should not result in cruft from applying patch being installed 

------- Comment #20 From Geoff Leach 2006-06-08 21:35:58 0000 -------
Created an attachment (id=88737) [edit]
updated xemacs-21.4.19 ebuild

Just a little more tweaking

+ add 'eolconv' use flag to enable setting of file-coding (\r\n,\n autodetect,
usually off in unix) see bug 62991
+ patch for external-widget.texinfo for external-widget.info entry
+ changed patch for emodules.info to patch emodules.texinfo
+ removed line to remove emodules.info~* as patching texinfo file instead
should not result in cruft from applying patch being installed 

------- Comment #21 From Geoff Leach 2006-06-10 01:59:04 0000 -------
Created an attachment (id=88823) [edit]
emodules.texinfo patch

obsoletes emodules.info patch

------- Comment #22 From Geoff Leach 2006-06-10 02:01:28 0000 -------
Created an attachment (id=88824) [edit]
external-widget.texi patch

fixes external-widget.info entry

------- Comment #23 From Geoff Leach 2006-06-10 02:03:49 0000 -------
Created an attachment (id=88825) [edit]
xemacs.desktop (from Hans' overlay)

------- Comment #24 From Hans de Graaff 2006-06-11 13:49:27 0000 -------
The database support in the latest uploaded ebuild does not work for me. My
nbdm.h file is located in /usr/include/gdbm/ndbm.h which is not where the
configure script looks for it (it only checks /usr/include/ndbm.h). 

For berkdb I have db 4.2 installed, but this version is not properly detected.
I'm currently testing a fix that I lifted from sxemacs configure, which seems
to be the only version that has fixed this. The problem is that db 4.2 maps
db_create to db_create_4002 (specific name depending on version), but configure
only checks for presence of db_create. As a consequence the library is not
added to the build because db_create is not in it, and the build fails while
linking.

------- Comment #25 From Hans de Graaff 2006-06-13 12:51:02 0000 -------
Created an attachment (id=89082) [edit]
xemacs-21.4.19-r2.ebuild

New ebuild with improved database support. Both berkdb and gdbm can be set
resulting in support for both databases to be included. Also fixed compilation
with new gdbm support in Gentoo (with nbdm.h in /usr/include/gdbm only) and
newer (> 4.1) versions of berkdb.

------- Comment #26 From Hans de Graaff 2006-06-13 12:52:56 0000 -------
Created an attachment (id=89083) [edit]
xemacs-21.4-db.patch

Patch for database support used by xemacs-21.4.19-r2.ebuild. 

All of the files are available as an overlay at
http://moving-innovations.com/svn/xemacs

------- Comment #27 From Hans de Graaff 2006-07-13 13:31:39 0000 -------
I just noticed that xemacs in portage got bumped to 21.4.19, but without any of
the bug fixes included in this thread. I think this bug should remain opened
until these are also included in portage.

------- Comment #28 From Marijn Schouten 2006-10-27 06:32:20 0000 -------
I tried the ebuild (with patches and desktop file) and it creates a menu entry
under kde as I had hoped.

(directed here from Bug#:   152968)

------- Comment #29 From Hans de Graaff 2006-10-27 06:41:11 0000 -------
Thanks for the confirmation!

Hopefully this will end up in portage fairly soon (once the Gentoo recruiters
have approved my status as developer).

------- Comment #30 From Marijn Schouten 2006-10-27 07:26:53 0000 -------
I am getting a lot of xemacs warnings:

 (error/warning) Error in process filter: (wrong-type-argument consp nil

is this related to any of the new patches here?

------- Comment #31 From Hans de Graaff 2006-10-27 07:37:41 0000 -------
It's hard to tell from the little bit of information you are giving, but it may
be related to the eolconv flag, which determines how eol is handled. It it
disabled in earlier versions of xemacs currently in portage, so this would only
be a problem if you enabled this flag explicitly. The other patches only fix
compilation or configuration issues. 

------- Comment #32 From Marijn Schouten 2006-10-27 07:42:51 0000 -------
ok, I just wanted to mention it; did not want to confuse different bugs.

I don't have eolconf enabled, so I guess it's something else.

------- Comment #33 From Hans de Graaff 2006-12-09 07:06:37 0000 -------
Just a note that most of the changes attached to this bug have found their way
into portage now. As far as I can tell only the database patches are still
missing, but I hope to get to those shortly.

------- Comment #34 From Hans de Graaff 2006-12-10 03:41:24 0000 -------
The database changes have now also been added to portage in xemacs 21.4.19-r2.
I believe that was the last of the pending changes reported in this bug. Please
let me know if I've missed anything.

Thanks everyone for the patches and feedback!

First Last Prev Next    No search results available      Search page      Enter new bug