Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15109 - gvim ebuild with experimental gtk2 support
Summary: gvim ebuild with experimental gtk2 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jared H. Hudson (RETIRED)
URL:
Whiteboard:
Keywords:
: 16873 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-04 11:33 UTC by Bret Towe
Modified: 2006-03-04 07:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gvim-6.1-r7.ebuild (gvim-6.1-r7.ebuild,3.25 KB, text/plain)
2003-02-04 11:33 UTC, Bret Towe
Details
gvim-6.1-r7.ebuild (gvim-6.1-r7.ebuild,3.27 KB, text/plain)
2003-02-06 01:28 UTC, Bret Towe
Details
gvim-6.1-r7.ebuild (gvim-6.1-r7.ebuild,3.28 KB, text/plain)
2003-02-24 15:58 UTC, Bret Towe
Details
gvim-6.1-r7.ebuild (gvim-6.1-r7.ebuild,3.28 KB, text/plain)
2003-03-13 14:25 UTC, Bret Towe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bret Towe 2003-02-04 11:33:07 UTC
i made an ebuild that uses the patchs that are being seen on vim-devel mailing
list for gtk2 support
to use this patch you just have to have all the patchs that are avaiable
(318 at this time)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bret Towe 2003-02-04 11:33:56 UTC
Created attachment 7926 [details]
gvim-6.1-r7.ebuild

here is the ebuild
Comment 2 Bret Towe 2003-02-06 01:28:51 UTC
Created attachment 7972 [details]
gvim-6.1-r7.ebuild

updated gvim ebuild
updated gtk2 patch and vimpatch level (320)
also added xft depend for gtk2
Comment 3 Bret Towe 2003-02-07 02:09:38 UTC
gtk2 patch vim-gtk2-20030206.patch
is out it fixed some configure problem
Comment 4 Bret Towe 2003-02-17 02:42:01 UTC
well ive been running the last bit + the .320 patch level and its stable been using it as my daily editor
i havent seen any new udpates to the gtk2 patch

i just noticed tho that .339 is out now... i think tho releasing the current .320 for the moment just to see if any bugs pop up to be fixed might be a good idea

i think this bug should be left open for any problems with the patch or ebuild
and of course for updates
Comment 5 Bret Towe 2003-02-18 23:53:45 UTC
ok update today vim-gtk2-20030218.patch
it has xim updates and is ready for patch level 6.1.342
i havent tested it yet working on it now
Comment 6 Bret Towe 2003-02-24 15:58:12 UTC
ok updated gtk2 patch and new patch level
.357 and vim-gtk2-20030223-2.patch.gz
yeap using gzip now ill attach a updated ebuild
it compiled here fine and seems to work fine also
Comment 7 Bret Towe 2003-02-24 15:58:43 UTC
Created attachment 8697 [details]
gvim-6.1-r7.ebuild

updated ebuild to support gzip patchs now
Comment 8 foser (RETIRED) gentoo-dev 2003-03-03 19:32:09 UTC
gtk2 dep looks fine, but it should be virtual/xft not x11-libs/xft .

bugwranglers please assign to some vim guru.. ;)
Comment 9 Bret Towe 2003-03-04 00:56:11 UTC
the current gtk2 patch is vim-gtk2-20030303.patch.gz
and vim patch level is up to .365
ive not tested these out yet been to busy
i might be able to test it in a day or 2 not sure
Comment 10 Bret Towe 2003-03-04 23:45:54 UTC
i got around to testing some
it does compile and seems to work without hassle
Comment 11 Bret Towe 2003-03-13 14:25:01 UTC
Created attachment 9364 [details]
gvim-6.1-r7.ebuild

updated ebuild to patch level 390 and gtk2 patch 20030312

the gtk2 patch has support for gnome2 also but im not sure how to add it
the if for gui is getting messy
there has to be a better way
Comment 12 Tom Payne (RETIRED) gentoo-dev 2003-03-14 07:15:59 UTC
Attempt at using this ebuild failed. Emerge sync'd early Fri 14 Mar.

It seems that vim.eclass has changed a lot.

VIMPATCH="vimpatch-1-390.tar.bz2" must become VIMPATCH="390"
sys-devel/perl must become dev-lang/perl

There might be other changes too. If I get the ebuild working today I'll post it.
Comment 13 Bret Towe 2003-03-14 14:07:29 UTC
i just saw the changes
it might be a bit harder to add this patch from the gvim ebuild
might have to edit the eclass
Comment 14 Ryan Phillips (RETIRED) gentoo-dev 2003-03-14 20:07:54 UTC
*** Bug 16873 has been marked as a duplicate of this bug. ***
Comment 15 Ryan Phillips (RETIRED) gentoo-dev 2003-03-14 20:08:18 UTC
Committed to the eclass.
Comment 16 foser (RETIRED) gentoo-dev 2003-03-15 06:48:52 UTC
the xft dep still isn't fixed as it should and as i mentioned in this bug.
Comment 17 Narada Sage 2003-03-17 12:29:38 UTC
I'm posting here to prevent duplication.  When I do 'emerge gvim' I get this error.

----
Calculating world dependencies  ...done!
>>> emerge (1 of 2) app-editors/gvim-6.1-r6 to /
>>> Resuming download...
>>> Downloading http://gentoo.linux.no//distfiles/vim-6.1-gentoo-patches.tar.bz2
>>> md5 ;-) vim-6.1.tar.bz2
>>> md5 ;-) vim-6.1-patches-001-300.tar.bz2
!!! vim-6.1-gentoo-patches.tar.bz2: message digests do not match!
!!! vim-6.1-gentoo-patches.tar.bz2 is corrupt or incomplete.
>>> our recorded digest: 85b1d69bbfcdb88909ee66a6532ff637
>>>  your file's digest: d416931537c535cf878b35c375c6f683
>>> Please delete /usr/portage/distfiles/vim-6.1-gentoo-patches.tar.bz2 and refetch.
----

No amount of deleting an redownloading averted this message.  Then after doing 'ebuild /usr/portage/app-editors/gvim/gvim-6.1-r6.ebuild digest' and 'emerge gvim' I get the following error message.

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /var/tmp/portage/gvim-6.1-r6/work/gentoo/patches-all/

----
!!! ERROR: app-editors/gvim-6.1-r6 failed.
!!! Function epatch, Line 181, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!

Calculating world dependencies  ...done!
>>> emerge (1 of 2) app-editors/gvim-6.1-r6 to /
>>> md5 ;-) vim-6.1.tar.bz2
>>> md5 ;-) vim-6.1-patches-001-300.tar.bz2
>>> md5 ;-) vim-6.1-gentoo-patches.tar.bz2
>>> md5 ;-) vim-6.1-lang.tar.gz
----

I had problems earlier, posted bug and the report was closed by seemant but since problems are continuing I'm reposting.
Comment 18 crucify 2003-03-17 17:26:21 UTC
for gtk2 comments. 

	einfo "To enable UTF-8 viewing"
	einfo
	einfo "/etc/vim/vimrc edit"
	einfo ":set encoding=utf-8"
	einfo ":set fileencoding=utf-8"
	einfo ":set fileencodings=<yourlocale>,utf-8"
	einfo
	einfo "Font Setting"
	einfo
	einfo "/etc/vim/gvimrc edit"
	einfo ":set guifont=Sans\ 12"
	einfo ":set guifontset=Sans\ 12"
	einfo ":set guifontwide=Sans\ 12"

I uploaded Bug 16873. what problem except duplicate?
I wish added this comments.
and I wish I do help any other ebuilds.
what knowledge for my wish?
comment for me. or link document please. (except http://www.gentoo.org/doc/en/ebuild-submit.xml I readed this.)
Comment 19 Tom Payne (RETIRED) gentoo-dev 2003-03-18 03:54:16 UTC
Dhruba Bandopadhyay  -- most likely you need the latest version of vim-6.1-gentoo-patches.tar.bz2. The one on your local mirror is probably out of date. Download it to /usr/portage/distfiles and everything should work.

vim-6.1-gentoo-patches.tar,bz2 should really include some version information (e.g. ebuild release number) to prevent this sort of problem.
Comment 20 Ryan Phillips (RETIRED) gentoo-dev 2003-03-18 14:50:05 UTC
Do exactly what the last poster stated and it should work.
Comment 21 foser (RETIRED) gentoo-dev 2003-03-19 08:17:59 UTC
ok fixed, the xft dep myself then.