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 11-01-2019, 09:00 AM   #31
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201

Quote:
Originally Posted by hazel View Post
What I did (which is definitely not the way to do it!) was to start with an existing slackbuild and edit its various parts to suit the pmw program. So you could say I was using a template, only not an official one. Then Skaendo took it in hand and edited it into the final proper form.
I can't anything wrong with that, the results should be the same.
I done that my self.
 
Old 11-01-2019, 11:50 AM   #32
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
What I did (which is definitely not the way to do it!) was to start with an existing slackbuild and edit its various parts to suit the pmw program.
I did the same thing too once upon a time. Then I started finding tools like mkslack which I use all the time now.

But I think that it is probably good to use an existing one and edit it to what you need because it shows you what is going on at least a little on the inside and you learn from it.
 
Old 11-03-2019, 09:55 AM   #33
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Nice job Hazel, you made it in to the prestigious club, SBo! Welcome!
 
Old 11-03-2019, 10:16 AM   #34
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Congratulations from me, too, on your first Slackbuild. I have some minor (hopefully constructive) criticism, though, regarding the README file:

Quote:
...

Because it uses postscript, pmw requires ghostscript to be installed on your system.

...
On a default Slackware installation ghostscript is already installed. The above sentence might be misinterpreted as an additional dependency that needs to be satisfied prior to installation. Since this is not necessary an inexperienced user might be inclined to search for a ghostscript slackbuild, which he will not find, of course. So that sentence has some minor potential to be a source of confusion. Therefore, I suggest to remove that sentence.

Last edited by crts; 11-03-2019 at 10:57 AM.
 
2 members found this post helpful.
Old 11-03-2019, 10:23 AM   #35
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Wow! Nobody told me it was up. My first attempt failed because something weird had happened to the source download link in pmw.info. This was the second attempt.

@crts. How do I change the README? I couldn't find anything in the FAQ about altering a slackbuild. Do I just resubmit the whole thing? But then it would be a duplicate, wouldn't it.

Last edited by hazel; 11-03-2019 at 10:26 AM.
 
Old 11-03-2019, 10:25 AM   #36
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Wow! Nobody told me it was up. My first attempt failed because something weird had happened to the source download link in pmw.info. This was the second attempt.

@crts. How do I change the README? I couldn't find anything in the FAQ.
Edit, re-compress, and re-submit.
Just note on the submission page what you fixed.
 
Old 11-03-2019, 10:28 AM   #37
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by hazel View Post
Wow! Nobody told me it was up. My first attempt failed because something weird had happened to the source download link in pmw.info. This was the second attempt.

@crts. How do I change the README? I couldn't find anything in the FAQ.
Well, you change your own private version and then you have to submit again. Submissions usually get accepted around the weekend (Friday/Saturday), at least according to my observations so far.

Edit:
Skaendo was faster.
 
Old 11-03-2019, 10:59 AM   #38
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Done. Now I have another idea. Since I had to create a Sourceforge site to host pmw, I am going to add my own pmwScribe program to that site. After all, the two programs are closely related. pmwScribe provides a quick-and-dirty graphical interface to pmw for people (like me!) who don't do a lot of music writing and therefore frequently forget the details of the pmw language. You pin notes and rests onto a visible stave and the pmw text file gets written in the background. Then you can run it through pmw, look at the result in a postscript viewer and carry out whatever edits are necessary. When I need to write music nowadays, that's how I do it.

There was a bug in the program that caused it to think sometimes it was in "chord" mode when it wasn't. Chords are represented in pmw language by groups of notes enclosed in parentheses, and my program would put those in apparently randomly. I just edited them out again but obviously you wouldn't want to publish a program in that state! Then a couple of days ago I suddenly remembered that the unwanted parentheses always came around barlines. So I checked the code for drawing a barline on the stave and found out what was causing the problem. So now I feel I can publish.

Incidentally, I sent Philip Hazel a copy of my program (that was a year or so ago) and he seemed to like it, so I feel I have his imprimatur.
 
Old 11-03-2019, 11:06 AM   #39
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Side notes:

I never heard about Philip Hazel before your package pmw. After doing a little research I find out that he is the original developer of Exim and pcre. The last note that I seen about him was that in 2017 he was still at least in part maintaining pcre2. Pretty neat.
 
Old 11-03-2019, 11:08 AM   #40
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Incidentally, I sent Philip Hazel a copy of my program (that was a year or so ago) and he seemed to like it, so I feel I have his imprimatur.
Or at least his nihil obstat
 
Old 11-03-2019, 11:16 AM   #41
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by hazel View Post
Since I had to create a Sourceforge site to host pmw, I am going to add my own pmwScribe program to that site.
Is there a reason why you want to host on Sourceforge instead of something git related, e.g., notabug.org?
 
Old 11-03-2019, 11:37 AM   #42
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Well, I have the web page already, don't I? Why not make use of it? And I don't want to have to go through the whole process of registering somewhere else. I really do hate these big sites, and besides, every time you register somewhere, you have to have a new password. I'm 74 remember, much too old to cope with all those complications.
 
  


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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
[SOLVED] Self-built Slackware package "PACKAGE DESCRIPTION" shows nothing catkin Slackware 5 10-24-2010 01:39 PM
Slackware first impressions: package manager and dependencies dreamwalking Slackware 38 08-21-2010 03:26 PM
first slackware package Rognon Slackware 2 10-14-2004 10:15 PM

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

All times are GMT -5. The time now is 02:06 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