Re: gthumb crash (after enabling vdpau?)

2018-04-02 Thread Ed Greshko
On 04/03/18 09:21, Eyal Lebedinsky wrote:
> I recently replaced my graphics card (with NVIDIA GT 710).
> A newer nvidia module was installed
> kmod-nvidia-340xx-4.15.7-200 -> kmod-nvidia-390.42-1
> I also enabled VDPAU which was incorrectly installed until now.

I don't know what you mean by that.  I thought the nVidia drivers had VDPAU 
enabled
by default.

What do you get as the output of vpauinfo?  You may have to install it.


>
> I now have a failure of 'gthumb':
>
> $ gthumb -v
>
> (gthumb:7097): Gdk-ERROR **: The program 'gthumb' received an X Window System 
> error.
> This probably reflects a bug in the program.
> The error was 'BadLength (poly request too large or internal Xlib length 
> erro'.
>   (Details: serial 159 error_code 16 request_code 152 (DRI2) minor_code 1)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the GDK_SYNCHRONIZE environment
>    variable to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error() function.)
> Trace/breakpoint trap (core dumped)
>
> and /var/log/messages includes a trace:



> I see that the gthumb package was updated in 2017, dnf.log says:
> Aug 19 18:09:33 DEBUG ---> Package gthumb.x86_64 1:3.4.3-1.fc24 will be 
> upgraded
> Aug 19 18:09:33 DEBUG ---> Package gthumb.x86_64 1:3.4.5-1.fc26 will be 
> an upgrade
> The update was part of a f24->f26 upgrade. There is no later version of 
> gthumb but
> I do see
> version 3.6.0 in f27.
>
> I also see that this gthumb version is one year old:
> $ ls -l /usr/bin/gthumb
> -rwxr-xr-x 1 root root 988384 Apr 20  2017 /usr/bin/gthumb
>
> The gthumb package depends on the libvdpau package so I suspect some 
> incompatibility.
> Reinstalling both packages does not improve the situation.
>
> Is gthumb still maintained? https://github.com/GNOME/gthumb suggests perusing
> https://wiki.gnome.org/Apps/gthumb which is not present.
>
> Still, too many packages are involved, not the least X/nvidia ones.
>
> Is anyone else seeing this problem? I do not want to log a bug if this is the 
> result
> of my system long update history, but I do want to resolve this.
>
> I have another f26 machine that has no problems but does not use vdpau (or 
> nvidia
> card).
>
>

I am running F27 with the nvidia-390.42-1 drivers installed and a GeForce GTX 
660 card.

[egreshko@meimei ~]$ gthumb -v
gthumb 3.6.0, Copyright © 2001-2010 Free Software Foundation, Inc.


-- 
Conjecture is just a conclusion based on incomplete information. It isn't a 
fact.



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


gthumb crash (after enabling vdpau?)

2018-04-02 Thread Eyal Lebedinsky

I recently replaced my graphics card (with NVIDIA GT 710).
A newer nvidia module was installed
kmod-nvidia-340xx-4.15.7-200 -> kmod-nvidia-390.42-1
I also enabled VDPAU which was incorrectly installed until now.

I now have a failure of 'gthumb':

$ gthumb -v

(gthumb:7097): Gdk-ERROR **: The program 'gthumb' received an X Window System 
error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  (Details: serial 159 error_code 16 request_code 152 (DRI2) minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

and /var/log/messages includes a trace:

Apr  2 15:03:32 e4 systemd-coredump[20472]: Process 20469 (gthumb) of user 500 
dumped core.
Stack trace of thread 20469:
0  0x7f4312e31e51 _g_log_abort (libglib-2.0.so.0)
1  0x7f4312e344a1 g_log_writer_default (libglib-2.0.so.0)
2  0x7f4312e329ee g_log_structured_array (libglib-2.0.so.0)
3  0x7f4312e32ce7 g_log_structured (libglib-2.0.so.0)
4  0x7f43140ec351 _gdk_x11_display_error_event (libgdk-3.so.0)
5  0x7f43140f9813 gdk_x_error (libgdk-3.so.0)
6  0x7f43103da9ba _XError (libX11.so.6)
7  0x7f43103d78eb handle_error (libX11.so.6)
8  0x7f43103d8a94 _XReply (libX11.so.6)
9  0x7f430cb27f2b DRI2Connect (libGL.so.1)
10 0x7f430cb274a8 n/a (libGL.so.1)
11 0x7f430cb0b5c0 n/a (libGL.so.1)
12 0x7f430cb07c60 glXQueryVersion (libGL.so.1)
13 0x7f4311c1f153 _cogl_winsys_renderer_connect (libcogl.so.20)
14 0x7f4311bd822d cogl_renderer_connect (libcogl.so.20)
15 0x7f4315237824 clutter_backend_real_create_context (libclutter-1.0.so.0)
16 0x7f4315250a13 _clutter_feature_init (libclutter-1.0.so.0)
17 0x7f4315261ca9 clutter_init_real (libclutter-1.0.so.0)
18 0x7f43155342f6 post_parse_hook (libclutter-gtk-1.0.so.0)
19 0x7f4312e384f0 g_option_context_parse (libglib-2.0.so.0)
20 0x5564d3a9661f gth_application_local_command_line (gthumb)
21 0x7f43133e5e46 g_application_run (libgio-2.0.so.0)
22 0x5564d3a1bcfe main (gthumb)
23 0x7f431229d88a __libc_start_main (libc.so.6)
24 0x5564d3a1bd6a _start (gthumb)
Stack trace of thread 20470:
0  0x7f4312381a5d poll (libc.so.6)
1  0x7f4312e2c579 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
2  0x7f4312e2c68c g_main_context_iteration (libglib-2.0.so.0)
3  0x7f4312e2c6d1 glib_worker_main (libglib-2.0.so.0)
4  0x7f4312e53516 g_thread_proxy (libglib-2.0.so.0)
5  0x7f431265936d start_thread (libpthread.so.0)
6  0x7f431238db4f __clone (libc.so.6)


I see that the gthumb package was updated in 2017, dnf.log says:
Aug 19 18:09:33 DEBUG ---> Package gthumb.x86_64 1:3.4.3-1.fc24 will be 
upgraded
Aug 19 18:09:33 DEBUG ---> Package gthumb.x86_64 1:3.4.5-1.fc26 will be 
an upgrade
The update was part of a f24->f26 upgrade. There is no later version of gthumb 
but I do see
version 3.6.0 in f27.

I also see that this gthumb version is one year old:
$ ls -l /usr/bin/gthumb
-rwxr-xr-x 1 root root 988384 Apr 20  2017 /usr/bin/gthumb

The gthumb package depends on the libvdpau package so I suspect some 
incompatibility.
Reinstalling both packages does not improve the situation.

Is gthumb still maintained? https://github.com/GNOME/gthumb suggests perusing
https://wiki.gnome.org/Apps/gthumb which is not present.

Still, too many packages are involved, not the least X/nvidia ones.

Is anyone else seeing this problem? I do not want to log a bug if this is the 
result
of my system long update history, but I do want to resolve this.

I have another f26 machine that has no problems but does not use vdpau (or 
nvidia card).

TIA

--
Eyal Lebedinsky (fed...@eyal.emu.id.au)
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: evolution processes

2018-04-02 Thread Patrick O'Callaghan
On Mon, 2018-04-02 at 13:09 -0700, Joe Zeff wrote:
> On 04/02/2018 12:57 PM, home user via users wrote:
> > I'm trying to end the automatic launching of Evolution processes.  How do I 
> > find what's launching them?  The "ps" command tells me the parent of those 
> > processes is "systemd" with a user id of '1', but "man systemd" gives no 
> > hint of a configuration file telling it what processes to launch.
> 
> Try this:
> 
> systemctl list-unit-files | grep -i evolution
> 
> This will tell you what the name of any service involved is, with -i 
> adjusting for the fact that the service name may or may not use a 
> capital letter.  Then, you can disable it, or if you really want to use 
> the Big Hammer, mask it.

These processes are generally part of the evolution-data-server package
and despite the name are not limited to Evolution. They provide various
services such as calendars and alarms via d-bus to Gnome sessions. For
example evolution-alarm-notify is configured in /etc/xdg/autostart.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Thunderbird Issue Possibly Related to System Update

2018-04-02 Thread Samuel Sieb

On 04/02/2018 03:21 PM, Stephen Morris wrote:
     This issue surfaced after a system update a few updates back. 
Whenever I start Thunderbird now it always starts unmaximised even 
though on last shutdown it was maximised, and when I reply to a mail or 
compose a mail that starts unmaximised as well. Until the system update 
these components of Thunderbird always started maximised as required.


     I'm on version 61.0a1 of Thunderbird.

     Is anyone else seeing similar issues?


I don't see this, but it could also be window manager related.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Thunderbird Issue Possibly Related to System Update

2018-04-02 Thread Stephen Morris

Hi,

    I have an issue with Thunderbird that may or may not be system related.

    This issue surfaced after a system update a few updates back. 
Whenever I start Thunderbird now it always starts unmaximised even 
though on last shutdown it was maximised, and when I reply to a mail or 
compose a mail that starts unmaximised as well. Until the system update 
these components of Thunderbird always started maximised as required.


    I'm on version 61.0a1 of Thunderbird.

    Is anyone else seeing similar issues?

regards,

Steve

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: empty messages from fedora users list.

2018-04-02 Thread Samuel Sieb

On 04/02/2018 12:58 PM, home user via users wrote:

... socat -v tcp-l:143 openssl:your.mail.server:993

1. What do I put in for "your.mail.server"?  As far as I know, I don't have one.  or is 
that "imap.mail.yahoo.com"?


Whatever you currently have as the imap server for the mail account. 
Probably that address.



Then create an account in Evolution that connects to imap (not imaps) at 
"localhost".

2. I don't fully understand.  What am I putting in what field?  Is the account 
I'm to create in Evolution one that already exists somewhere or one that 
doesn't yet exist anywhere?


You could just replace the hostname listed above with "localhost" and 
change it from imaps (or imap with ssl) to just imap with no ssl.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Dnfdragora Issues

2018-04-02 Thread Stephen Morris

Hi,

    I have encountered some issues with dnfdragora, one of which is 
fairly serious for me.


    If I use the search function to get a list of specific packages, it 
displays the details for the first package which is fine. If I then 
click on another package it does not show the details for the clicked 
package, I have to uncheck/recheck if it is installed or check/uncheck 
if it is not installed, to see the details. Having done this once 
clicking on packages in the search results displays the details 
correctly for the rest of the display of the search results. If I issue 
another search query the issue repeats itself. This issue occurs every 
time I use dnfdragora.


    The second issue which for me is a bit more serious, is that when I 
look at the steam related packages from the negativo17 repository, and 
attempt to look at the changelog to get the contact details for the 
maintainer, dnfdragora tells me the change details are missing, but if I 
do the same thing with yumex it shows the changelog details, so the 
changelog is actually there.


    Has anyone else encountered this issues and have a solution?

regards,

Steve

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: evolution processes

2018-04-02 Thread Joe Zeff

On 04/02/2018 12:57 PM, home user via users wrote:

I'm trying to end the automatic launching of Evolution processes.  How do I find what's launching them?  The 
"ps" command tells me the parent of those processes is "systemd" with a user id of '1', 
but "man systemd" gives no hint of a configuration file telling it what processes to launch.


Try this:

systemctl list-unit-files | grep -i evolution

This will tell you what the name of any service involved is, with -i 
adjusting for the fact that the service name may or may not use a 
capital letter.  Then, you can disable it, or if you really want to use 
the Big Hammer, mask it.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: empty messages from fedora users list.

2018-04-02 Thread home user via users
> ... socat -v tcp-l:143 openssl:your.mail.server:993
1. What do I put in for "your.mail.server"?  As far as I know, I don't have 
one.  or is that "imap.mail.yahoo.com"?

> Then create an account in Evolution that connects to imap (not imaps) at 
> "localhost".
2. I don't fully understand.  What am I putting in what field?  Is the account 
I'm to create in Evolution one that already exists somewhere or one that 
doesn't yet exist anywhere?

thanks,
Bill.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: evolution processes

2018-04-02 Thread home user via users
bash.6[~]: htop
bash: htop: command not found...

> Try disabling the services to the process
I do not understand this.

I'm trying to end the automatic launching of Evolution processes.  How do I 
find what's launching them?  The "ps" command tells me the parent of those 
processes is "systemd" with a user id of '1', but "man systemd" gives no hint 
of a configuration file telling it what processes to launch.

thanks,
Bill.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


OT:Question on NVME disk direct access?

2018-04-02 Thread Michael D. Setzer II
I'm the maintainer of the G4L disk imaging project since 2004, and I use 
Fedora as the build platform. Currently using Fedora 27.

Have an issue from a user that has me baffled, so am hoping someone here 
might provide some guidance. 

The program boots a linux kernel, and basically uses dd to copy the 
disk/partitions thru a compression program and creates an image file on ftp 
server or local device.

I don't have any physical nvme disks, but using virtualbox I created a 4M 
disk, and 2 - 2M partitions within it. In testing that, the 4M disk compresses 
to 
a 30K file, and the 2M partitions compress to about 15K each. That is what is 
expected with cleared partitions.

The user though, with a real 256G disk doesn't seem to get any compression 
of the disk or partitions. Them resulting images are close to the same size as 
the disks or partitions??

He can mount the partitions and see the files, so there must be something 
going on that I don't see? 

Would think that accessing the /dev/nvme0n1 or partitions /dev/nvme0n1p1 
thru p5 would act the same as accessing /dev/sda or /dev/sdax partitions.

The images that are created pass the compression program test, so it is 
reading data, but in some form that doesn't compress much, and user has 
used a program to clear the unused space?

Thanks for your time, and any ideals.

++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS

ROSETTA  65094199.902703 | ABC  16613838.513356
SETI109335656.779734 | EINSTEIN140992828.999240
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: What is the universal (world wide) understanding behind degaussing harddisks?

2018-04-02 Thread chicago
>"This list provides community assistance, encouragement, and advice
>for Fedora users.

Haha indeed. I am sure I would love to give advice about anything from dining 
room etiquette to how to wax floors but I'm definitely not equipped to give 
proper advice. I can also give financial advice and relationship advice but it 
is probably not very good advice. 

I think the best we can do for this question is tell the OP what we expect and 
how we'd handle this situation given the limited information. Probably not very 
helpful to OP. 

Sincerely, 

signature.asc
Description: PGP signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: What is the universal (world wide) understanding behind degaussing harddisks?

2018-04-02 Thread Ted Roche
On Mon, Apr 2, 2018 at 9:38 AM, Turritopsis Dohrnii Teo En Ming
 wrote:
>
> The foremost question which I want to ask is, what is the universal
> (world wide) understanding behind degaussing hard drives?
>

https://lists.fedoraproject.org/admin/lists/users.lists.fedoraproject.org/

"This list provides community assistance, encouragement, and advice
for Fedora users. Topics outside of that are generally not appropriate
for this list. Please keep in mind that there are many thousands of
subscribers and do your best to remain on-topic and courteous."

Please see the https://fedoraproject.org/wiki/Communicating_and_getting_help;>Fedora
Wiki for other methods of getting (and giving) help.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


What is the universal (world wide) understanding behind degaussing harddisks?

2018-04-02 Thread Turritopsis Dohrnii Teo En Ming
Good evening from Singapore!

The foremost question which I want to ask is, what is the universal
(world wide) understanding behind degaussing hard drives?

I work for No Secrets Agency (NSA) Pte Ltd (fictitious company name
used). My sales manager Edward Joseph Snowden (fictitious individual
name used) had *promised* our customer Leave Me in the Lurch (S) Pte
Ltd (fictitious company name used) that we would "DEGAUSS" their hard
disks after the PC replacement and data migration exercise for 15
trillion PCs (fictitious number used).

PC = Personal Computer, which includes desktops and laptops

Last Friday, I had already reflected to my sales manager Edward
Snowden that since we are definitely NOT going to wipe our customer's
data by using strong and powerful magnets (physical means), should I
send an email to the IT Administrator of our customer Lady Gaga
(fictitious individual name used) asking her which data sanitization
method (by software means) I should use? My sales manager Edward
Snowden had quickly deflected my concerns (that is, wanting to send an
email to our customer Lady Gaga asking her which data sanitization
method I should use).

I had brought up to the sales manager Edward Snowden a number of data
wiping methods by software means last Friday.

(1) Very very simple 1-pass data wiping, quickest

a. Using "sudo dd if=/dev/zero of=/dev/sda", overwriting harddisks
from beginning to end with zeroes, where /dev/sda refers to the 500 GB
harddisk, not /dev/loop0 and not /dev/sdb which refers to the bootable
live operating system on thumb drive

b. Using "sudo dd if=/dev/urandom of=/dev/sda", overwriting harddisks
from beginning to end with random data, where /dev/sda refers to the
500 GB harddisk, not /dev/loop0 and not /dev/sdb which refers to the
bootable live operating system on thumb drive

Any bootable Live CD/DVD/flash media could do it.

(2) 3-pass U.S. Government/Department of Defense (DoD) standard (DoD 5220.22-M)

Certified commercial software required

(3) 7-pass U.S. Government/Department of Defense (DoD) standard (DoD 5220.22-M)

Certified commercial software required

(4) 35-pass Gutmann method, slowest

Certified commercial software required

All these was last Friday. In the midst of our argument over the
cellular network "just now", my sales manager Edward Snowden tried to
cover up himself by suddenly and unexpectedly making an excuse that he
had told me last Friday I was supposed to wipe user data only, not the
operating system!

If he had wanted me to wipe user data and retain/keep the Windows
operating system, he should simply have told me to Reset the PC (for
Windows 10 only) or use a =secure File Shredder=! For Windows 7, you
can still wipe user data and preserve the operating system by using
the Recovery Partition. On Lenovo desktops, press and hold F11 when
Windows 7 is starting and reset to factory defaults.

I had advised my sales manager Edward Snowden not to use BIG WORDS
like "degaussing the harddisk" and market to the customer using these
big words. Any person who sees the word "degauss" would have
understood it to mean sanitize *ALL* data on the harddisk straight
away and without question.

Please refer to Figure 1. Exhibit A below for the "degaussing"
instructions communicated to me by my sales manager Edward Snowden.
Please click the link below.

URI: https://i.imgur.com/bGOMyVs.png

Please advise.

Thank you very much.

Regards,

Mr. Turritopsis Dohrnii Teo En Ming
Systems and Network Engineer
Republic of Singapore
2nd April 2018 Monday 9:35 PM Singapore Time GMT+8
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


[389-users] Re: Configuring TLS/SSL Enabled 389 Directory Server

2018-04-02 Thread Mark Reynolds


On 04/02/2018 04:19 AM, Michal Medvecky wrote:
>> Now I am trying to modify the settings of my dse.ldif file.  I can
>> modify the file without issue.  If I restart the service all my file
>> edits are lost.  Why are my edits lost when restarting the service? 
>> Thanks for your advice!
>
>
> Never edit that file directly. Always use ldapmodify.
ldapmodify is best because it enforces schema syntax and value
validation.  But if you edit dse.ldif the server must be stopped first. 
As the dse.ldif is rewritten by what's in memory at server shutdown.

Mark
>
> Michal
>
>
> ___
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org

___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


Re: Can I install gcc-8 from rawhide on F27?

2018-04-02 Thread Michael Young

On Fri, 30 Mar 2018, Neal Becker wrote:


There's a bug in gcc-7.3.1 that causes a crash on some code I need.  Is it
safe to install gcc-8 from rawhide on F27?


You can try installing the gcc package from rawhide (or probably better 
the F28 repository, currently at beta), but the usual problem with doing 
this sort of thing is that you find you have to update a lot of dependent 
packages as well, and it ends up simpler and probably safer just to update 
the whole system to the later version.


In the case of gcc you might be okay to do it, as I don't think there are 
many dependent packages and they look fairly self-contained but it may 
depend on what else is installed.


There are also alternatives you could try, for example if it is a package 
you could use mock to try building it under F28, or you could build your 
software an F28 docker container.


Michael Young
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: html to man page

2018-04-02 Thread Dave Cross
On 2 April 2018 at 06:29, Sam Varshavchik  wrote:

> Can POD generate an entire web site, with an automatically-generated table
> of contents?

Well, Pod is a mark-up format. So no.

But with tools like Pod::Html (https://metacpan.org/pod/Pod::Html) and
Pod::POM (https://metacpan.org/pod/Pod::POM) it's not particularly
hard to achieve that. That is, after all, the basis of site like
https://metacpan.org/.

I once wrote a whole book in Pod -
http://shop.oreilly.com/product/9780596004767.do

Dave...

-- 
Dave Cross :: d...@dave.org.uk
http://dave.org.uk/
@davorg
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


[389-users] Re: Configuring TLS/SSL Enabled 389 Directory Server

2018-04-02 Thread Michal Medvecky
> Now I am trying to modify the settings of my dse.ldif file.  I can modify the 
> file without issue.  If I restart the service all my file edits are lost.  
> Why are my edits lost when restarting the service?  Thanks for your advice!


Never edit that file directly. Always use ldapmodify.

Michal___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


Re: html to man page

2018-04-02 Thread Dave Cross
On 1 April 2018 at 18:56, JD  wrote:
> Hi all,
> I have an app that has no manpage, but has about 170 html files,
> all of which index into a subset of the 168 files.
>
> I would like to use an app that will produce a single manpage like
> text file.
>
> Is there an app that can do this?
>
> I saw a few apps on google search, but none of them are producing what I
> want.

Have you looked at Pandoc (http://pandoc.org/)? It will definitely
read HTML and write groff (the format that man pages use).

I'd recommend using Pandoc to convert your HTML to Markdown and using
that as your source - generating other formats from that.

You might need to do quite a lot of manual clean-up of the Markdown
files though. But you'd only need to do it once.

Dave...

-- 
Dave Cross :: d...@dave.org.uk
http://dave.org.uk/
@davorg
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: html to man page

2018-04-02 Thread Cameron Simpson

On 02Apr2018 01:29, sam varshavchik  wrote:

Cameron Simpson writes:
Well I was using Perl's POD format several years ago as my primary manual 
writing syntax, generates man and html. Good HTML to XHTML might be an easy 
transcription, I've not tried.


Not specificly recommending POD, it was just a good syntax for the 
time. Quite low in features, but in many cases that is a good thing.


I need to revisit this sometime myself, as I've got a project that 
will need man pages and fuller documentation as well.


Can POD generate an entire web site, with an automatically-generated 
table of contents?


Not really. Like I said, low in features.

The Python people seem to like restructuredtext a lot; there's a tool called 
sphinx for making whole sites from it, which seems liked.


https://www.libcxx.org is just one big Docbook document, with navigation 
footers. Doxygen generates the reference pages. Doxygen produces an XML file 
with an index of all the reference pages. I run a custom XSLT stylesheet to 
translate the index to URLs and entity references, which then gets included 
into the main, paginated tutorial, generates links directly to the reference 
pages.


I'm a big fan of good cross linking.

But my basic point is that authoring syntax for humans needs to be 
light weight so that the source looks a fair bit like ordinary 
prose. Tools can always be written to generate specific outputs.


The more it looks like ordinary prose, the less metadata exists that 
makes it possible to intelligently format it.


Sure, but a lot of prose doesn't need a great deal of special formatting.

I'm not sure we disagree very much here, except for my dislike of syntaxes with 
heaps of punctuation everywhere, and XML falls into that slot for me.


Cheers,
Cameron Simpson 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org