LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-06-2004, 02:26 PM   #1
jtX
Member
 
Registered: May 2003
Distribution: Gentoo (amd64 ppc x86)
Posts: 39

Rep: Reputation: 15
Can't get installpkg to display contents of slack-desc in custom packages.


For some time I have not been able to get installpkg to display the contents of the slack-desc file in my custom packages. I have read the excellent howto at www.linuxpackages.net but am still having trouble. I make sure the file has exactly 11 lines, and keep everything within the ruler, I have even copied existing slack-desc files from other packages with no results, even gave the Slack-desc on-line creator a try.

Last edited by jtX; 03-10-2004 at 11:37 AM.
 
Old 03-16-2004, 09:42 AM   #2
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
Best thing to do is post the directory structure of one of you custom packages. The slack-desc file should be in install/, if that's any help. Do the above and we'll see what we can see.
 
Old 03-16-2004, 01:59 PM   #3
jtX
Member
 
Registered: May 2003
Distribution: Gentoo (amd64 ppc x86)
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you for taking your time to respond to this thread. Here's the contents of my gens package:

total 16
drwxr-xr-x 4 root root 4096 Mar 16 11:20 ./
drwxr-xr-x 10 root root 4096 Mar 16 11:19 ../
drwxr-xr-x 2 root root 4096 Mar 16 11:17 install/
drwxr-xr-x 4 root root 4096 Mar 6 11:08 usr/

./install:
total 12
drwxr-xr-x 2 root root 4096 Mar 16 11:17 ./
drwxr-xr-x 4 root root 4096 Mar 16 11:20 ../
-rw-r--r-- 1 root root 709 Mar 16 11:07 slack-desc

./usr:
total 16
drwxr-xr-x 4 root root 4096 Mar 6 11:08 ./
drwxr-xr-x 4 root root 4096 Mar 16 11:20 ../
drwxr-xr-x 2 root root 4096 Mar 16 11:17 bin/
drwxr-xr-x 3 root root 4096 Mar 6 11:08 share/

./usr/bin:
total 4468
drwxr-xr-x 2 root root 4096 Mar 16 11:17 ./
drwxr-xr-x 4 root root 4096 Mar 6 11:08 ../
-rwxr-xr-x 1 root root 4552382 Mar 6 11:08 gens*

./usr/share:
total 12
drwxr-xr-x 3 root root 4096 Mar 6 11:08 ./
drwxr-xr-x 4 root root 4096 Mar 6 11:08 ../
drwxr-xr-x 2 root root 4096 Mar 16 11:17 gens/

./usr/share/gens:
total 124
drwxr-xr-x 2 root root 4096 Mar 16 11:17 ./
drwxr-xr-x 3 root root 4096 Mar 6 11:08 ../
-rw-r--r-- 1 root root 3638 Mar 6 11:08 Gens2.ico
-rw-r--r-- 1 root root 322 Mar 6 11:08 bitmap1.bmp
-rw-r--r-- 1 root root 322 Mar 6 11:08 bmp00000.bmp
-rw-r--r-- 1 root root 322 Mar 6 11:08 bmp00001.bmp
-rw-r--r-- 1 root root 322 Mar 6 11:08 bmp00002.bmp
-rw-r--r-- 1 root root 322 Mar 6 11:08 bmp00003.bmp
-rw-r--r-- 1 root root 322 Mar 6 11:08 bmp00004.bmp
-rw-r--r-- 1 root root 322 Mar 6 11:08 bmp00005.bmp
-rw-r--r-- 1 root root 322 Mar 6 11:08 bmp00006.bmp
-rw-r--r-- 1 root root 766 Mar 6 11:08 gens.ico
-rw-r--r-- 1 root root 47878 Mar 6 11:08 gens_big.bmp
-rw-r--r-- 1 root root 13366 Mar 6 11:08 gens_small.bmp
-rw-r--r-- 1 root root 4710 Mar 6 11:08 sonic.ico
-rw-r--r-- 1 root root 2862 Mar 6 11:08 sonic2.ico

The slack-desc is in install/ and here is its contents:

# 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------------------------------------------------------|
gens: gens (Sega Genesis Emulator)
gens:
gens: This is a Unix port (x86 processors) of the Sega Genesis Emulator
gens: "Gens", version 2.12a. It emulates Genesis, Sega CD (iso/mp3,
gens: not real CD) and 32X roms.
gens:
gens:
gens:
gens:
gens:
gens:

With the actual slack-desc file the start of the ruler is above the ":" mark but it's not showing up that way in the above post. Also I have copied slack-desc files from other packages (parted-1.6.6-i486-1) into the install/ directory and still couldn't get the slack-desc to show a package description when running installpkg, yet installpkg will show the slack-desc file when installing parted-1.6.6-i486-1.
 
Old 03-16-2004, 02:11 PM   #4
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
What is your gens package named? installpkg requires (from a cursory look at the script) that the package name be in the form gens-1.0-i386-1xxx.tgz (as you probably know from LinuxPackages) to display the slack-desc file correctly. Your package directory structure and permissions appear fine, so other than the above I'm out of ideas.
 
Old 03-16-2004, 02:22 PM   #5
jtX
Member
 
Registered: May 2003
Distribution: Gentoo (amd64 ppc x86)
Posts: 39

Original Poster
Rep: Reputation: 15
Ok I know what I did wrong now I named the package based on the source directory name " gens-linux-2.12a-i686-1.tgz" but renaming it to gens-2.12a-i686-1.tgz solved the problem.

Last edited by jtX; 03-16-2004 at 02:25 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Makepkg and slack-desc mirto Slackware 7 10-15-2005 03:17 PM
howto search contents of the packages longnam Slackware 4 04-01-2005 10:51 AM
Contents/Packages on Mndrake 10 bongski55 Mandriva 6 04-07-2004 12:38 AM
I want ls to not display contents of directories GameboyHippo Linux - Newbie 2 01-26-2004 03:47 AM
Format of slack-desc file Azmeen Slackware 6 07-11-2003 02:36 AM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration