LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-24-2010, 11:21 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Self-built Slackware package "PACKAGE DESCRIPTION" shows nothing


Hello :-)

I'm developing a SlackBuild for dar 2.3.10 and it's all looking good subject to testing dar by usage except when installing the package there is no description after the "PACKAGE DESCRIPTION:" line:
Code:
root@CW8:/tmp/dar# ./dar.SlackBuild
[big snip]
Slackware package /tmp/dar-2.3.10-x86_64-1_SBo.tgz created. 
root@CW8:/tmp/dar# installpkg /tmp/dar-2.3.10-x86_64-1_SBo.tgz 
Verifying package dar-2.3.10-x86_64-1_SBo.tgz. 
Installing package dar-2.3.10-x86_64-1_SBo.tgz: 
PACKAGE DESCRIPTION:  <== Should there be a description after this line?
Executing install script for dar-2.3.10-x86_64-1_SBo.tgz. 
Package dar-2.3.10-x86_64-1_SBo.tgz installed.
The dar.SlackBuild script includes
Code:
# Copy the slack-desc into the package's install directory
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
and slack-desc is in /tmp/SBo/package-dar/install after the dar.SlackBuild script has run.

What to do? Netsearching for Slackware package structure/architecture/layout finds many pages but I could not find any that would help investigate this issue.

Best

Charles
 
Old 10-24-2010, 11:26 AM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What does your slack-desc look like?

Each line has to start with the package name followed by a colon ( : ).
 
1 members found this post helpful.
Old 10-24-2010, 11:29 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
What is the beginning of each of the 11 lines of description in the slack-desc, and what is the name of the top-level directory which contains the source-code? These items must match the finished package name. So in this case, your finished package is:

dar-2.3.10-x86_64-1_SBo.tgz

So the beginning of the slack-desc description lines should be:

dar:

And the top-level directory inside the source archive, should be called "dar".

If two (EDIT: maybe not all three; the source folder name may be irrelevant) of these things don't match, the slack-desc text doesn't get shown on installation.

Last edited by GrapefruiTgirl; 10-24-2010 at 11:31 AM. Reason: see EDIT
 
1 members found this post helpful.
Old 10-24-2010, 11:31 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Have a look here?
http://slackbuilds.org/repository/13.1/system/dar/
There's a slack-desc.

Last edited by brianL; 10-24-2010 at 11:34 AM.
 
1 members found this post helpful.
Old 10-24-2010, 01:36 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks all

Here's the mistake, not changing "appname":
Code:
root@CW8:/tmp/SBo/package-dar/install# cat slack-desc
appname: dar (disk archive)
appname:
appname: dar is a shell command that backs up directory trees and files. It
appname: has been tested under Linux, Windows, Solaris, FreeBSD, NetBSD,
appname: MacOS X and several other systems, it is released under the GNU
appname: General Public License (GPL). Since version 2.0.0 an Application
appname: Interface (API) is available, opening the way for external/independent
appname: Graphical User Interfaces (GUIs) like kdar.
appname:
appname: Homepage: http://dar.linux.free.fr/
appname:
 
Old 10-24-2010, 01:39 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by brianL View Post
Have a look here?
http://slackbuilds.org/repository/13.1/system/dar/
There's a slack-desc.
Could have sworn I'd searched for it and looked at the pending queue! No point re-inventing the wheel. Never mind, the lesson about appname is useful for the yad SlackBuild I'm developing.
 
  


Reply



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
Yum: What "Package Group" can provide a package? stefanlasiewski Red Hat 7 03-21-2013 01:31 PM
Building a Slackware Package when trackinstall -i="make install" fails Alexvader Slackware 2 12-12-2009 01:39 PM
Can't locate object method "splitpath" via package "PACK001" at /usr/lib/perl5/5.8.8/ sajigeorge Linux - Software 1 01-11-2009 06:33 AM
How to build "OpenOffice_3.x_tr" (Turkish) package for Slackware? sertmusluman Slackware 5 12-03-2008 06:04 AM
"base package check failed" flightgear on Slackware 12 cdale77 Linux - Games 0 08-18-2007 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration