Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85553 - app-misc/dbf-0.9.0.ebuild
Summary: app-misc/dbf-0.9.0.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Joe Kappus
URL: https://github.com/rollinhand/dbf-core
Whiteboard:
Keywords: EBUILD, InOverlay
: 163119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-16 12:33 UTC by Martin von Gagern
Modified: 2023-01-24 09:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dbf-0.8.3.1.ebuild (dbf-0.8.3.1.ebuild,722 bytes, text/plain)
2005-03-16 12:34 UTC, Martin von Gagern
Details
dev-libs/libdbf-0.0.1.ebuild (libdbf-0.0.1.ebuild,730 bytes, text/plain)
2008-04-04 23:28 UTC, Jeff Kowalczyk
Details
app-misc/dbf-0.9.0.ebuild (dbf-0.9.0.ebuild,868 bytes, text/plain)
2008-04-04 23:29 UTC, Jeff Kowalczyk
Details
dev-libs/libdbf-0.0.1.ebuild (libdbf-0.0.1.ebuild,789 bytes, text/plain)
2008-04-05 01:45 UTC, Martin von Gagern
Details
dbf-0.9.0.ebuild (dbf-0.9.0.ebuild,999 bytes, text/plain)
2008-04-05 01:47 UTC, Martin von Gagern
Details
dbf-0.9.0.ebuild (dbf-0.9.0.ebuild,1.01 KB, text/plain)
2008-05-20 10:03 UTC, Martin von Gagern
Details
dev-libs/libdbf-0.0.1.ebuild (libdbf-0.0.1.ebuild,829 bytes, text/plain)
2008-05-20 10:03 UTC, Martin von Gagern
Details
dbf-0.9.0.ebuild (dbf-0.9.0.ebuild,1.08 KB, text/plain)
2008-10-14 09:34 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2005-03-16 12:33:03 UTC
dbf is an easy-to-use command line tool to show and convert the content of dBASE III, IV, and 5.0 files, as well as of FoxBase and Visual FoxPro. It reads dBASE databases and prints the content to the screen or converts it to comma-separated (*.csv) files which can be opened in Excel, StarOffice, and most other spread sheets. It can also be used to show some statistics about the content or produce SQL commands.


Reproducible: Always
Steps to Reproduce:
Comment 1 Martin von Gagern 2005-03-16 12:34:51 UTC
Created attachment 53646 [details]
dbf-0.8.3.1.ebuild
Comment 2 Martin von Gagern 2005-03-20 06:53:40 UTC
Homepage may soon change to http://dbf.berlios.de, which already is a redirect right now.
Comment 3 Roland Bär 2005-04-15 02:25:46 UTC
Could you just add ~amd64 to the keywords, it seams to work....
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-21 19:45:37 UTC
*** Bug 163119 has been marked as a duplicate of this bug. ***
Comment 5 Jeff Kowalczyk 2008-04-04 23:26:01 UTC
dbf-0.9.0, libdbf-0.0.1 (New Packages with ebuilds)
http://developer.berlios.de/projects/dbf/

Please change the summary line and URL

dBASE Converter is a command line tool to show and convert the content of dBASE III, IV, and 5.0 files. It reads dBASE databases and prints the content to the screen or converts it to CSV files or SQL instruction sets.

Attached are ebuilds for dbf-0.9.0 and its dependency libdbf-0.0.1.

The ebuilds currently have two bugs:

I don't know the berlios mirror syntax. The actual URLs needed are:
http://download.berlios.de/dbf/dbf-core-0.9.0.src.zip
http://download2.berlios.de/dbf/libdbf-0.0.1.src.zip

The second bug is that I haven't tested the USE="doc". The auto configure of each package emits a line like this:

checking for docbook-to-man... no
docbook-to-man could not be found. I will not build man pages!

Which I am presumning to be found in app-text/docbook2X. I didn't see if it works, as I don't want the dependency, and I don't know if this .configure can accept an option to ignore it if present. Someone with better ebuild-fu will need to add that.

This is a fairly inactive package, but *very* handy if you should happen to have DBF legacy system to maintain, integrate with or migrate from.
Comment 6 Jeff Kowalczyk 2008-04-04 23:28:23 UTC
Created attachment 148665 [details]
dev-libs/libdbf-0.0.1.ebuild
Comment 7 Jeff Kowalczyk 2008-04-04 23:29:31 UTC
Created attachment 148666 [details]
app-misc/dbf-0.9.0.ebuild
Comment 8 Martin von Gagern 2008-04-05 01:42:07 UTC
(In reply to comment #5)
> Please change the summary line and URL

Done.

> I don't know the berlios mirror syntax.

$ grep berlios /usr/portage/profiles/thirdpartymirrors
This command tells you that there are two mirrors for berlios. You can substitute mirror://berlios for either one. As your files are present on both these mirrors, using the mirrors is correct. I guess I hadn't thought about mirrors when writing my 0.8.3.1 ebuild.

There is another bug, however: your libdbf ebuild says "mirror://berlios/dbf/${PN}/${P}.src.zip" where "${PN}" will be expanded to "libdbf", resulting in a wrong directory. You should remove that part of the URL.

> Which I am presumning to be found in app-text/docbook2X.

My system has /usr/bin/docbook2man from app-text/docbook-sgml-utils-0.6.14. app-text/docbook2X installs /usr/bin/docbook2man.pl, but still no docbook-to-man. Fortunately, for libdbf this setting can be overridden by setting an environment variable called DOC_TO_MAN. For dbf itself the name of the executable is hardcoded into the Makefile, so that needs to be patched.

> I don't know if this .configure can
> accept an option to ignore it if present.

configure doesn't provide any option to turn off the generation of manual pages if an executable called docbook-to-man is actually present. If no ebuild actually provides such a binary, all is well. If there ever is such a binary on a gentoo system, and you are determined to prevent creation of man pages nevertheless, you might specify some other binary like "true" intead of "docbook2man" and delete the resulting empty manual pages afterwards. I don't believe that's worth the effort, though.
Comment 9 Martin von Gagern 2008-04-05 01:45:01 UTC
Created attachment 148684 [details]
dev-libs/libdbf-0.0.1.ebuild

Improved ebuild for dev-libs/libdbf-0.0.1:
* fixed SRC_URI to correctly fetch files from berlios mirrors
* changed dependency for man page creation to app-text/docbook-sgml-utils
* enabled man page creation with USE=doc by exporting DOC_TO_MAN
Comment 10 Martin von Gagern 2008-04-05 01:47:27 UTC
Created attachment 148687 [details]
dbf-0.9.0.ebuild

Improved ebuild for dbf-0.9.0:
* added dependency on libdbf
* changed dependency for man page creation to app-text/docbook-sgml-utils
* patched Makefiles to actually use $DOC_TO_MAN
* enabled man page creation with USE=doc by exporting DOC_TO_MAN

I'm still not sure about the category this ebuild should have; I've put it in dev-db here. Up to whoever finally decides to maintain this app, I guess.
Comment 11 Marek Miller 2008-05-19 19:37:41 UTC
libdbf sources need unzip to unpack, so please add  app-arch/unzip as a dependency.
Comment 12 Marek Miller 2008-05-19 19:40:08 UTC
The same with  dev-perl/XML-Parser.
Comment 13 Martin von Gagern 2008-05-20 10:03:25 UTC
Created attachment 153729 [details]
dbf-0.9.0.ebuild

Ebuild with app-arch/unzip and dev-perl/XML-Parser added to DEPEND
and app-text/docbook-sgml-utils removed from RDEPEND
Comment 14 Martin von Gagern 2008-05-20 10:03:53 UTC
Created attachment 153731 [details]
dev-libs/libdbf-0.0.1.ebuild

Ebuild with app-arch/unzip and dev-perl/XML-Parser added to DEPEND
and app-text/docbook-sgml-utils removed from RDEPEND
Comment 15 Martin von Gagern 2008-10-14 09:34:07 UTC
Created attachment 168388 [details]
dbf-0.9.0.ebuild

docbook2man writes output to file DBF.SECTION, not stdout. Moving file after running make, instead of writing a wrapper which would mimic the behaviour expected by the Makefile.

Dropped "doexe src/dbf", which resulted in /dbf getting installed. emake install takes care of this binary already.
Comment 16 Martin von Gagern 2008-12-30 22:49:25 UTC
This is now in the sunrise overlay. You can find it at:
http://overlays.gentoo.org/svn/proj/sunrise/reviewed/dev-db/dbf/
http://overlays.gentoo.org/svn/proj/sunrise/reviewed/dev-libs/libdbf/
Comment 17 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:45:07 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/
Comment 18 Joe Kappus 2023-01-24 09:29:35 UTC
Adding this to GURU, the successor to Sunrise. It's currently awaiting review in dev branch and available in my personal overlay at https://github.com/joecool1029/personal-overlay

I brought up the ebuilds to current EAPI and made sure the manpages work with doc USE flag. Since BerliOS no longer exists the closest thing I could find to an official upstream is the original maintainer's github. I've updated my ebuilds to the final snapshots for dbf and libdbf.
Comment 19 Larry the Git Cow gentoo-dev 2023-01-24 09:42:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68cbe6228acd7ccb62f6b32b1c33a28fcfcba9a7

commit 68cbe6228acd7ccb62f6b32b1c33a28fcfcba9a7
Author:     Joe Kappus <joe@wt.gd>
AuthorDate: 2023-01-24 09:17:04 +0000
Commit:     Joe Kappus <joe@wt.gd>
CommitDate: 2023-01-24 09:17:04 +0000

    app-misc/dbf: new package, add 0.9.0
    
    Closes: https://bugs.gentoo.org/85553
    Signed-off-by: Joe Kappus <joe@wt.gd>

 app-misc/dbf/Manifest         |  1 +
 app-misc/dbf/dbf-0.9.0.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++++
 app-misc/dbf/metadata.xml     | 14 ++++++++++++
 3 files changed, 65 insertions(+)