You are not logged in.

#1 2008-04-07 10:35:18

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Vym (from AUR) seems to be built, but...

I built and installed my first Linux package yesterday. Everything seemed to funtion well, but I did not find Vym in KDE and could not make it run from CLI, so I let Pacman uninstall it.

makepkg created two packages:
vym-1.10.0-3-i686.pkg.tar.gz - of abt. 750 Kb (which pacman installed)
and
vym-1.10.0.tar.bz2 - of abt. 2.7 MB

I don't understand why it would make a tar.bz2 file, and wonder why the tar.gz file is so much smaller...?

In another thread today it is recommended to add a line to "configparser.cc". I don't know if this workaround is applicable to my problem and I cannot find this file using "whereis" and "locate".

I am lost.

Offline

#2 2008-04-07 11:25:03

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Vym (from AUR) seems to be built, but...

The bz2 file is the source, used to create the pkg.tar.gz file.

Install the package, then run:

pacman -Ql vym

"man pacman" shows what that does wink

Offline

#3 2008-04-07 11:25:27

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: Vym (from AUR) seems to be built, but...

the vym-1.10.0.tar.bz2 isnt a package it is the source tarball that makepkg uses to create vym-1.10.0-3-i686.pkg.tar.gz
example:
makepkg PKGBUILD
download vym-1.10.0.tar.bz2
configure
make
make install
compress
create package vym-1.10.0-3-i686.pkg.tar.gz


dovie andi se tovya sagain

Offline

#4 2008-04-07 11:54:44

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Vym (from AUR) seems to be built, but...

Thank you brebs, INCSlayer.

I reinstalled and queried as suggested:

bash-3.2# pacman -U vym-1.10.0-3-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts                   [######################] 100%
(1/1) installing vym                                [######################] 100%
bash-3.2# pacman -Ql vym
vym /usr/
vym /usr/bin/
vym /usr/bin/vym
vym /usr/share/
vym /usr/share/vym/
vym /usr/share/vym/exports/
vym /usr/share/vym/exports/orange-blue.conf
vym /usr/share/vym/exports/template-orange-blue/
vym /usr/share/vym/exports/template-orange-blue/Configurations2/
vym /usr/share/vym/exports/template-orange-blue/META-INF/
vym /usr/share/vym/exports/template-orange-blue/META-INF/manifest.xml
vym /usr/share/vym/exports/template-orange-blue/Pictures/
vym /usr/share/vym/exports/template-orange-blue/Pictures/1000000000000040000000400142E835.png
vym /usr/share/vym/exports/template-orange-blue/Thumbnails/
vym /usr/share/vym/exports/template-orange-blue/Thumbnails/thumbnail.png
vym /usr/share/vym/exports/template-orange-blue/content-template.xml
vym /usr/share/vym/exports/template-orange-blue/content.xml
vym /usr/share/vym/exports/template-orange-blue/meta.xml
vym /usr/share/vym/exports/template-orange-blue/mimetype
vym /usr/share/vym/exports/template-orange-blue/page-template.xml
vym /usr/share/vym/exports/template-orange-blue/settings.xml
vym /usr/share/vym/exports/template-orange-blue/styles.xml
vym /usr/share/vym/flags/
vym /usr/share/vym/flags/flag-arrow-2down.png
vym /usr/share/vym/flags/flag-arrow-2up.png
vym /usr/share/vym/flags/flag-arrow-down.png
vym /usr/share/vym/flags/flag-arrow-up.png
vym /usr/share/vym/flags/flag-cross-red.png
vym /usr/share/vym/flags/flag-exclamationmark.png
vym /usr/share/vym/flags/flag-flash.png
vym /usr/share/vym/flags/flag-heart.png
vym /usr/share/vym/flags/flag-hideexport.png
vym /usr/share/vym/flags/flag-hook-green.png
vym /usr/share/vym/flags/flag-info.png
vym /usr/share/vym/flags/flag-kalarm.png
vym /usr/share/vym/flags/flag-lamp.png
vym /usr/share/vym/flags/flag-lifebelt.png
vym /usr/share/vym/flags/flag-note.png
vym /usr/share/vym/flags/flag-phone.png
vym /usr/share/vym/flags/flag-present.png
vym /usr/share/vym/flags/flag-questionmark.png
vym /usr/share/vym/flags/flag-rose.png
vym /usr/share/vym/flags/flag-scrolled-right.png
vym /usr/share/vym/flags/flag-smiley-good.png
vym /usr/share/vym/flags/flag-smiley-omg.png
vym /usr/share/vym/flags/flag-smiley-sad.png
vym /usr/share/vym/flags/flag-stopsign.png
vym /usr/share/vym/flags/flag-thumb-down.png
vym /usr/share/vym/flags/flag-thumb-up.png
vym /usr/share/vym/flags/flag-tmpUnscrolled-right.png
vym /usr/share/vym/flags/flag-url-16x16.png
vym /usr/share/vym/flags/flag-url.png
vym /usr/share/vym/flags/flag-vymlink.png
vym /usr/share/vym/flags/flags.xcf
vym /usr/share/vym/flags/freemind/
vym /usr/share/vym/flags/freemind/attach.png
vym /usr/share/vym/flags/freemind/back.png
vym /usr/share/vym/flags/freemind/bell.png
vym /usr/share/vym/flags/freemind/bookmark.png
vym /usr/share/vym/flags/freemind/clanbomber.png
vym /usr/share/vym/flags/freemind/desktopnew.png
vym /usr/share/vym/flags/freemind/flag.png
vym /usr/share/vym/flags/freemind/forward.png
vym /usr/share/vym/flags/freemind/gohome.png
vym /usr/share/vym/flags/freemind/help.png
vym /usr/share/vym/flags/freemind/idea.png
vym /usr/share/vym/flags/freemind/kaddressbook.png
vym /usr/share/vym/flags/freemind/knotify.png
vym /usr/share/vym/flags/freemind/korn.png
vym /usr/share/vym/flags/freemind/licq.png
vym /usr/share/vym/flags/freemind/mail.png
vym /usr/share/vym/flags/freemind/password.png
vym /usr/share/vym/flags/freemind/pencil.png
vym /usr/share/vym/flags/freemind/penguin.png
vym /usr/share/vym/flags/freemind/priority-1.png
vym /usr/share/vym/flags/freemind/priority-2.png
vym /usr/share/vym/flags/freemind/priority-3.png
vym /usr/share/vym/flags/freemind/priority-4.png
vym /usr/share/vym/flags/freemind/priority-5.png
vym /usr/share/vym/flags/freemind/priority-6.png
vym /usr/share/vym/flags/freemind/priority-7.png
vym /usr/share/vym/flags/freemind/stop.png
vym /usr/share/vym/flags/freemind/warning.png
vym /usr/share/vym/flags/freemind/wizard.png
vym /usr/share/vym/flags/freemind/xmag.png
vym /usr/share/vym/icons/
vym /usr/share/vym/icons/cursor.xcf
vym /usr/share/vym/icons/cursor16.xcf
vym /usr/share/vym/icons/cursorcolorpicker.png
vym /usr/share/vym/icons/cursorcolorpicker16.png
vym /usr/share/vym/icons/cursorcopy.png
vym /usr/share/vym/icons/cursorhandopen.png
vym /usr/share/vym/icons/cursorhandopen16.png
vym /usr/share/vym/icons/cursorxlink.png
vym /usr/share/vym/icons/down.png
vym /usr/share/vym/icons/editcopy.png
vym /usr/share/vym/icons/editcut.png
vym /usr/share/vym/icons/editpaste.png
vym /usr/share/vym/icons/edittrash.png
vym /usr/share/vym/icons/exit.png
vym /usr/share/vym/icons/fileclose.png
vym /usr/share/vym/icons/filenew.png
vym /usr/share/vym/icons/filenewcopy.png
vym /usr/share/vym/icons/fileopen.png
vym /usr/share/vym/icons/fileprint.png
vym /usr/share/vym/icons/filesave.png
vym /usr/share/vym/icons/filesaveas.png
vym /usr/share/vym/icons/find.png
vym /usr/share/vym/icons/flag-url-16x16.png
vym /usr/share/vym/icons/formatcolorbranch.png
vym /usr/share/vym/icons/formatcolorpicker.png
vym /usr/share/vym/icons/formatcolorpicker.xpm
vym /usr/share/vym/icons/formatcolorsubtree.png
vym /usr/share/vym/icons/formatfixedfont.png
vym /usr/share/vym/icons/formatvarfont.png
vym /usr/share/vym/icons/history.png
vym /usr/share/vym/icons/icons.xcf
vym /usr/share/vym/icons/modecolor.png
vym /usr/share/vym/icons/modecopy.png
vym /usr/share/vym/icons/modelink.png
vym /usr/share/vym/icons/newbranch.png
vym /usr/share/vym/icons/redo.png
vym /usr/share/vym/icons/text_block.png
vym /usr/share/vym/icons/text_bold.png
vym /usr/share/vym/icons/text_center.png
vym /usr/share/vym/icons/text_italic.png
vym /usr/share/vym/icons/text_left.png
vym /usr/share/vym/icons/text_right.png
vym /usr/share/vym/icons/text_sub.png
vym /usr/share/vym/icons/text_super.png
vym /usr/share/vym/icons/text_under.png
vym /usr/share/vym/icons/undo.png
vym /usr/share/vym/icons/up.png
vym /usr/share/vym/icons/viewmag+.png
vym /usr/share/vym/icons/viewmag-.png
vym /usr/share/vym/icons/viewmag-reset.png
vym /usr/share/vym/icons/viewshowsel.png
vym /usr/share/vym/icons/vym-128x128.png
vym /usr/share/vym/icons/vym-16x16.png
vym /usr/share/vym/icons/vym-editor.png
vym /usr/share/vym/icons/vym.icns
vym /usr/share/vym/icons/vym.png
vym /usr/share/vym/icons/vym.xcf
vym /usr/share/vym/icons/vym.xpm
vym /usr/share/vym/lang/
vym /usr/share/vym/lang/vym_de.qm
vym /usr/share/vym/lang/vym_de.ts
vym /usr/share/vym/lang/vym_en.qm
vym /usr/share/vym/lang/vym_en.ts
vym /usr/share/vym/lang/vym_es.qm
vym /usr/share/vym/lang/vym_es.ts
vym /usr/share/vym/lang/vym_fr.ts
vym /usr/share/vym/lang/vym_it.qm
vym /usr/share/vym/lang/vym_it.ts
vym /usr/share/vym/macros/
vym /usr/share/vym/macros/macro-1.vys
vym /usr/share/vym/macros/macro-10.vys
vym /usr/share/vym/macros/macro-11.vys
vym /usr/share/vym/macros/macro-12.vys
vym /usr/share/vym/macros/macro-2.vys
vym /usr/share/vym/macros/macro-3.vys
vym /usr/share/vym/macros/macro-4.vys
vym /usr/share/vym/macros/macro-5.vys
vym /usr/share/vym/macros/macro-6.vys
vym /usr/share/vym/macros/macro-7.vys
vym /usr/share/vym/macros/macro-8.vys
vym /usr/share/vym/macros/macro-9.vys
vym /usr/share/vym/scripts/
vym /usr/share/vym/scripts/exportvym
vym /usr/share/vym/scripts/niceXML
vym /usr/share/vym/scripts/release-mac
vym /usr/share/vym/scripts/update-bookmarks
vym /usr/share/vym/styles/
vym /usr/share/vym/styles/cm.xsl
vym /usr/share/vym/styles/kdebookmarks2vym.xsl
vym /usr/share/vym/styles/mmap2vym.xsl
vym /usr/share/vym/styles/tm.xsl
vym /usr/share/vym/styles/vym.css
vym /usr/share/vym/styles/vym2html.xsl
vym /usr/share/vym/styles/vym2kdebookmarks.xsl
vym /usr/share/vym/styles/vym2taskjuggler.xsl
vym /usr/share/vym/styles/vym2txt.xsl
vym /usr/share/vym/styles/vym2xhtml.xsl
vym /usr/share/vym/styles/wiki/
bash-3.2#                                   

Well, there is still no sign of Vym in KDE and I am none the wiser...

Offline

#5 2008-04-07 12:19:03

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Vym (from AUR) seems to be built, but...

Seems like the binary is /usr/bin/vym . /usr/bin should be in your PATH.

Offline

#6 2008-04-07 12:24:41

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Vym (from AUR) seems to be built, but...

whaler wrote:

no sign of Vym in KDE

So add a .desktop file. See examples:

abs
find /var/abs -maxdepth 5 -type f -name PKGBUILD -print0 | xargs -0 grep /usr/share/applications

Offline

#7 2008-04-07 13:02:13

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Vym (from AUR) seems to be built, but...

@ brebs

I don't understand the code.
'abs' invokes updating of the ABS tree...?

BTW, trying to run vym from CLI, I get:
vym: cannot connect to X server :0.0

Last edited by whaler (2008-04-07 13:06:37)

Offline

#8 2008-04-07 13:11:28

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Vym (from AUR) seems to be built, but...

His code consists of using abs, in order to find a PKGBUILD where someone made a .desktop files.

I see two pb:
- vym does not work in CLI? It should because you have /usr/bin/vym installed. How did you try? Or do you have error messages?
- vym does not appear in KDE. You need a "/usr/share/applications/vym.desktop" file to be able to see it in your menu. The code you did not understand was to help you find how you can make your own vym.desktop file. I'd suggest to look in /usr/share/applications and pick a simple ".desktop" file, and make a copy where you change the application name and binary.

Edit: for the CLI. Do you have x running? Do you run vym in the console (atl+ctrl+F1)? You have to run a terminal under kde and then type the CLI inside it.

Last edited by sebcactus (2008-04-07 13:13:03)

Offline

#9 2008-04-07 13:27:57

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Vym (from AUR) seems to be built, but...

sebcactus wrote:

His code consists of using abs, in order to find a PKGBUILD where someone made a .desktop files.

Well, I am an absolute Linux newbie and thought the code started with "abs ...". However, doing that only refreshes the ABS tree and terminates. I shall try the second line separately...

I'd suggest to look in /usr/share/applications and pick a simple ".desktop" file, and make a copy where you change the application name and binary.

I will try that, but that implies uninstalling, building vym again and reinstalling with the altered PKGBUILD, right? I need these things spoonfed (teaspoons, obviously).

Edit: for the CLI. Do you have x running? Do you run vym in the console (atl+ctrl+F1)? You have to run a terminal under kde and then type the CLI inside it.

I had tried running vym as root. Trying again as user started vym fine...  smile
However, I am still unclear about the difference between terminal and shell console. Seems all the CLI windows I open are named "shell - console"...

Offline

#10 2008-04-07 13:50:20

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Vym (from AUR) seems to be built, but...

"abs" is needed, to populate the directory tree for the "find" command wink

The proper solution is to integrate a desktop file into the pkgbuild, and send it to the maintainer of the pkgbuild. This is the Linux way of improving things for everyone.

Offline

#11 2008-04-07 14:12:34

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Vym (from AUR) seems to be built, but...

whaler wrote:

Well, I am an absolute Linux newbie and thought the code started with "abs ...". However, doing that only refreshes the ABS tree and terminates. I shall try the second line separately...

It starts with abs, just to be sure that your abs tree is fresh wink cf. brebs

I will try that, but that implies uninstalling, building vym again and reinstalling with the altered PKGBUILD, right? I need these things spoonfed (teaspoons, obviously).

If you want to do it properly, yes. But you can ask the maintainer/contributor of the package to do it. cf.brebs


I had tried running vym as root. Trying again as user started vym fine...  smile
However, I am still unclear about the difference between terminal and shell console. Seems all the CLI windows I open are named "shell - console"...

Good smile
To be honnest I am not very sure I used the proper words for it.

When you boot your Linux with no desktop (i.e. not with gdm or xdm), you end in the Linux console (also called linux terminal). I said console instead of virtual terminal (the one you access with (Ctr+Alt+F1)). In this mode you don't have access to the desktop and it's graphical interface. The virtual terminal emulates the linux console (so that's why I said console).

Instead of terminal (which is the same as console), I should have used the term x-terminal, i.e. a terminal running under X and that can therefore make use of the X environment.

Last edited by sebcactus (2008-04-07 14:14:52)

Offline

#12 2008-04-07 14:15:48

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Vym (from AUR) seems to be built, but...

brebs wrote:

"abs" is needed, to populate the directory tree for the "find" command wink

The proper solution is to integrate a desktop file into the pkgbuild, and send it to the maintainer of the pkgbuild. This is the Linux way of improving things for everyone.

Okay, I promise to do that if I am ever able to sort this out. I have looked at several PKGBUILDs in the ABS tre, but many of them have no (obvious?) reference to a *.desktop file, and yet desktop icons are created. Ex.: k3b.

Can you suggest a specific PKGBUILD that would have a suitable pattern for vym?

Offline

#13 2008-04-07 14:29:01

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Vym (from AUR) seems to be built, but...

sebcactus wrote:

Instead of terminal (which is the same as console), I should have used the term x-terminal, i.e. a terminal running under X and that can therefore make use of the X environment.

This cleared things up, thanks! smile

Well, I think brebs' suggestion is fine - that the user presents an altered PKGBUILD proposal to the developer/porter (not sure what term is correct in this connection) - but I am not up to the task alone at this point...

BTW, isn't it possible to just create an icon which invokes /usr/bin/vym.
I could easily do that in OS/2! smile

Offline

#14 2008-04-07 14:35:09

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Vym (from AUR) seems to be built, but...

Hello,

I maintain vym in AUR. I added a desktop file that comes from vym's RPM-file from sourceforge and uploaded it to AUR. Please test.

I noticed this thread quite accidently, IMHO it is better to ask such package related questions on the comment page in the AUR. I would have gotten a notification then.

Offline

#15 2008-04-07 14:41:03

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Vym (from AUR) seems to be built, but...

Stefan Husmann wrote:

I noticed this thread quite accidently, IMHO it is better to ask such package related questions on the comment page in the AUR. I would have gotten a notification then.

Thanks for updating vym!
As for going to the comments page, I would not have known what to say there until after having been educated by the guys here, and that happened just now... I will test vym with the new PKGBUILD and enter a comment on your page.

Offline

#16 2008-04-07 14:55:17

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Vym (from AUR) seems to be built, but...

On first step it will be sufficient to download the desktop file, move it to /usr/share/applications (as root) and to copy /usr/share/vym/icons/vym.png to /usr/share/pixmaps.

Offline

#17 2008-04-07 15:29:56

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Vym (from AUR) seems to be built, but...

OK - I already reinstalled and it seems to be fine. VYM shows up as an Office application, albeit without an icon
Had to delete an "o" on line 35 in vym.desktop.


Thanks again.

Last edited by whaler (2008-04-07 15:33:57)

Offline

Board footer

Powered by FluxBB