Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-libs/nmeap: New package #7989

Closed
wants to merge 1 commit into from
Closed

dev-libs/nmeap: New package #7989

wants to merge 1 commit into from

Conversation

ConiKost
Copy link
Contributor

@ConiKost ConiKost commented Apr 14, 2018

dev-libs/nmeap: New package

Needed by: https://bugs.gentoo.org/652706
Closes: https://bugs.gentoo.org/653150
Package-Manager: Portage-2.3.30, Repoman-2.3.9

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull Request assignment

Areas affected: ebuilds
Packages affected: dev-libs/nmeap

dev-libs/nmeap: @gentoo/proxy-maint (new package)

Bugs linked: 653150

In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.


Gentoo Mirror & CI services are provided by Michał Górny. The hardware was kindly provided by Todd Goodman. This unofficial service is not associated with Gentoo Infrastructure or Gentoo Foundation.

This service is provided by the service provider "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the service provider be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this service, even if advised of the possibility of such damage.

@gentoo-repo-qa-bot gentoo-repo-qa-bot added new package The PR is adding a new package. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Apr 14, 2018
@ConiKost
Copy link
Contributor Author

ConiKost commented Apr 23, 2018

@a17r Since you were so kind to review my LCD4Linux and Deps stuff, could you here also have a look? This is also a new needed dependency for LCD4Linux.

@ConiKost ConiKost force-pushed the nmeap branch 2 times, most recently from 23c0351 to a7e65ee Compare April 23, 2018 10:43
done
fi

# Install docs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too plain to stay here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed and pushed.

insinto /usr/$(get_libdir)
doins lib/libnmeap.a

# Install test programs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too plain to stay here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed and pushed.

doins inc/nmeap.h inc/nmeap_def.h

# Install static lib archive
insinto /usr/$(get_libdir)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does not it support shared libs?

Copy link
Contributor Author

@ConiKost ConiKost Apr 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is correct. It don't builds any *.so, only the *.a.

}

src_install() {
# Install header files
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too plain to stay here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed and pushed.

@ConiKost ConiKost force-pushed the nmeap branch 4 times, most recently from fb2590b to a7d5f82 Compare April 26, 2018 16:46
doins inc/nmeap.h inc/nmeap_def.h

insinto /usr/$(get_libdir)
doins lib/libnmeap.a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please point dolib.a without manual defenitions here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Also did doheader for above.


if use doc; then
local HTML_DOCS=( "doc/tutorial.html" "doc/html" )
doxygen Doxyfile || die
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not in src_compile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes more sense, changed it.

doxygen Doxyfile || die
fi

if use test-programs; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you install any documentation that explains the purpose of those programs? If not, then installing programs called nmeap-testN looks like a useless idea.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They generate different nmea output, if someone needs fake gps. But for my understanding, this is only for testing purposes. What do you think, remove it? For LCD4Linux, for this dependency it is, it's not needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not install something that's not documented and has no clear use for the user.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, fine for me. I dropped it now.

@ConiKost ConiKost force-pushed the nmeap branch 3 times, most recently from fbf9566 to 3303bbc Compare June 19, 2018 08:17
Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make[1]: Entering directory '/tmp/portage/dev-libs/nmeap-0.3/work/nmeap-0.3/src'
gcc -c -march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches -I /tmp/portage/dev-libs/nmeap-0.3/work/nmeap-0.3/inc -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu /tmp/portage/dev-libs/nmeap-0.3/work/nmeap-0.3/src/nmeap01.c -o nmeap01.o	
rm -f /tmp/portage/dev-libs/nmeap-0.3/work/nmeap-0.3/lib/libnmeap.a
ar  -q /tmp/portage/dev-libs/nmeap-0.3/work/nmeap-0.3/lib/libnmeap.a nmeap01.o
ar: creating /tmp/portage/dev-libs/nmeap-0.3/work/nmeap-0.3/lib/libnmeap.a

CC and AR are not respected.

@ConiKost
Copy link
Contributor Author

Fixed.

default

# Repsect users CFLAGS and LDFLAGS for the static lib archive
sed -i -e 's/CFLAGS =/CFLAGS +=/' -e 's/-g -O0 -Werror -Wall/$(LDFLAGS)/' src/Makefile || die
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LDFLAGS are not correct here since you aren't linking anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I thought, even when a static archive, it should be set. Removed now.

Needed by: https://bugs.gentoo.org/652706
Closes: https://bugs.gentoo.org/653150
Package-Manager: Portage-2.3.40, Repoman-2.3.9
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2018-06-20 08:14 UTC
Newest commit scanned: 2890a7c
Status: ✅ good

No issues found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. new package The PR is adding a new package. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
4 participants