SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
OK
I always have just one issue making a slackware pkg using makepkg
the darn install/slack-desc never "shows" and gives the package description when doing installpkg/upgradepkg on the finished package
Example A
I make a package today from "ranger" cli file manager
heres the slack-desc
Code:
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|----handy-ruler--------------------------------------------------------|
ranger-master: ranger-master (small cli filemanager)
ranger-master:
ranger-master: Ranger is a small cli file manager
ranger-master: ported from ARCH Linux
ranger-master:
ranger-master: Homepage: https://savannah.nongnu.org/projects/ranger/
ranger-master:
ranger-master:
ranger-master:
ranger-master:
ranger-master:
What's the actual package called? Like, the filename of the complete package? Whatever it is, the name at the beginning of each entry in the slack-desc must be identical. If it isn't, you get the symptoms you are getting now.
If your package is called ranger-1.2.3-x86-1.tgz then the start of the slack-desc lines should be "ranger:";
If your package is called ranger-master-1.2.3-x86-1.tgz then the start of the slack-desc lines should be "ranger-master:";
Anyhow, that's what usually gets me when making packages.
Last edited by GrapefruiTgirl; 07-29-2010 at 07:37 PM.
Reason: Scrapped the idea of not using dashes - there are lots of them (duh!)
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Are you sure you are making the package name correctly. I noticed your package name has a dash which can confuse pkgtools unless you're careful. The standard Slackware package naming is broken dowen like this :
Code:
$APPNAME-$PKG_VERSION-$ARCH-$BUILD
and pkgtools expect this. You shoule name you're package accordingly adding all components. In your case the package name is "ranger-master" so for a Slackware64 package a suitable package name would be "ranger-master-1.0-x86_64-1.txz". If you have missed any components for the package name structure out the dash in "ranger-master" will confuse pkgtools to think "ranger" is the APPNAME portion of the name and ignore your current slack-desc given the "ranger-master" headed lines.
Edit: Sorry, GrapefruiTgirl beat me to it as I was typeing with basically the same information
Last edited by bgeddy; 07-29-2010 at 07:57 PM.
Reason: Grapefruitgirl beat me to it
You know I just spent yesterday evening and this evening fixing a friend's virus-ridden laptop. Forgive me for not seeing the wood for the trees.
There is slackbuild for ranger (mine) up at slackbuilds.org. Also, yes, the original ranger source untarred into ranger-master directory, rather than ranger. I have mentioned this upstream and it ought to be fixed soon.
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|----handy-ruler--------------------------------------------------------|
ranger: ranger (small cli filemanager)
ranger:
ranger: Ranger is a small cli file manager
ranger: ported from ARCH Linux
ranger:
ranger: Homepage: https://savannah.nongnu.org/projects/ranger/
ranger:
ranger:
ranger:
ranger:
ranger:
Code:
makepkg /root/ranger-1.1.2-i686-1.txz
and when I installed it the description came up
awesome
Slackware is best distro ever man...
OH
Dive; my pkg is little diff maybe
as I added
/usr/share/applications/ranger.desktop
Code:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Ranger CLI File Manager
Categories=System;Utility;Core;GTK;
Exec=xterm -e /usr/bin/ranger
Icon=apple-green
StartupNotify=true
Type=Application
Terminal=false
MimeType=x-directory/normal;inode/directory;
GenericName=File Manager
GenericName[ru]=Файловый менеджер
GenericName[zh_TW]=檔案管理程式
GenericName[fi]=Tiedostonhallinta
GenericName[et]=Failihaldur
GenericName[ja]=ファイルマネージャ
Comment=Browse the file system and manage the files
Comment[zh_TW]=瀏覽檔案系統及管理檔案
Comment[fi]=Selaa tiedostojärjestelmää ja hallitse tiedostoja
Comment[et]=Lehitse failisüsteemi ja halda faile
Comment[ja]=ファイルシステムをブラウズし、ファイルの管理を行います
Right, after some mishaps on my part we have a proper ranger slackbuild in pending. Linus72, it's worth noting that it is called python-ranger now since the new templates were issued. RWorkman has kindly removed the old ranger from his git leaving python-ranger 1.1.1 on sbo. This is the version that I've updated the slackbuild for.
Mental Note to Self: Don't play with slackbuilds before 9am
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.