Re: Help needed with gcc-7 error
Well, casting to long helped - but in how far does making abs(unsigned - unsigned) no sense? This does not sound very logical to me. The result of (unsigned - unsigned) is unsigned. What about A, B both unsigned and B > A?
Re: RFS:grub-customizer - A GUI for customizing the bootloader (GRUB2 or BURG)
Dear Μάνος, just a little nitpicking. Two items in the second paragraph exceed 80 characters. I suggest Features: * move, remove or rename menuentries (they stay updatable by update-grub) * edit the contents of menuentries or create new ones (internally it edits the 40_custom) * support for GRUB2 and BURG * reinstallation of the bootloader to MBR * settings like default operating system, kernel params, background image and text colors etc. * changing the installed operating system by running on a live cd Cheers, Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/535f9de7.8090...@gmx.de
Re: Checklist to create a .deb package
Is there a simple checklist I can go through while reading the docs? I'm drowning in deeper and deeper docs, and sometime I feel I'm disconnected from the path. The Debian New Maintainers' Guide (1) and Debian Developer's Reference (2) are to fat? Did you have a look at (3) or (4)? The latter is just 81 slides. To be honest, I'm not a packaging guy and did not try (3) and (4). Cheers, Martin 1: http://www.debian.org/doc/manuals/maint-guide/ 2: http://www.debian.org/doc/manuals/developers-reference/ 3: https://wiki.debian.org/IntroDebianPackaging 4: http://packages.debian.org/sid/packaging-tutorial debian packaging nussbaum -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/525c2e90.6000...@gmx.de
Re: permission to write to /usr/local/share/packagename
Following the suggestion from Maysima (Linux-fan name?), after reading something about hierarchy, I'm using the following structure: First of all, you've decided to work with Debian. I recommend not to use $(random cookbook/advice), but Debian docs instead, asking here ore filing bugs whenever your question is not/seems not to be answered (yet) in the Debian docs. /usr/local/game for the binary /usr/local/share/locale for the language file .mo /usr/local/share/packagename for the data file. You shouldn't put anything in /usr/local. When I dived into Linux, there was the following workflow: - download the tarball, - extract it (tar xzf), - cd into new directory - ./configure make make install I'm quite shure that configure's default was to choose /usr/local and its subdirectories as default. It was quite instructive as well to see that $PATH did not include /usr/local ;-). Building some .rpm/.deb is different from the workflow described in the last paragraph. Look for files such as READ.ME, INSTALL, … And try ./configure --help. What I'm not getting is that I have no write permissions to this directory where the data will be. There is a difference between building some software and installing it. You need root rights for installations beyond your home directory. Cheers, Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/524f31c3.5060...@gmx.de
Re: Translate printf(Hallo)
Please, what would be the correct way to translate printf messages (in a C program) into some other languages? You will have to learn about gettext and prepare your program for it. PS. Is such kind of questions welcomed here? Or should I ask debian-devel? You are right here. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5248e37e.9070...@gmx.de
Suggested package not available
Hi mentors, today I found a package at (1) with sug: xine [hppa] Package not available message translated from German xine does not seem to be available at all. Is it worth filing a bug report? Kind regards, Martin 1: http://packages.debian.org/sid 2: http://packages.debian.org/search?suite=defaultsection=allarch=anysearchon=nameskeywords=xine -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/523cd185.6010...@gmx.de
Re: Bug#712056: RFS: scantailor [ITP] -- interactive post-processing tool for scanned document pages
Now there is another issue with boost. $ cmake . -- Boost version: 1.49.0 -- Could NOT find Boost CMake Error at CMakeLists.txt:297 (MESSAGE): Could not find boost headers or libraries. You may need to install a package named libboost1.35-dev or similarly. ii libboost-dev1.49.0.1 The interesting line CMakeLists.txt is 295: FIND_PACKAGE(Boost 1.35.0 COMPONENTS unit_test_framework prg_exec_monitor) /usr/share/cmake-2.8/Modules/FindBoost.cmake # Currently this module searches for the following version numbers: # 1.33, 1.33.0, 1.33.1, 1.34, 1.34.0, 1.34.1, 1.35, 1.35.0, 1.35.1, # 1.36, 1.36.0, 1.36.1, 1.37, 1.37.0, 1.38, 1.38.0, 1.39, 1.39.0, # 1.40, 1.40.0, 1.41, 1.41.0, 1.42, 1.42.0, 1.43, 1.43.0, 1.44, 1.44.0, # 1.45, 1.45.0, 1.46, 1.46.0, 1.46.1, 1.47, 1.47.0, 1.48, 1.48.0, # 1.49, 1.49.0, 1.50, 1.50.0, 1.51, 1.51.0, 1.52, 1.52.0, # 1.53, 1.53.0, 1.54, 1.54.0, 1.55, 1.55.0, 1.56, 1.56.0 With my limited view I assume it is not necessary to request this specific version. Otherwise I see obstacles to use scantailor on wheezy. I found (1) and there under Configuration: * If you have missing dependencies you will get an error message telling you what is missing. You can then search for the missing package and install it. * If you have a library and header files installed in a non-standard place then cmake will not find them. In that case you can run the interactive program ccmake which allows you to specify paths to libraries and header files. My POV is: As you already found the error (line 295), your conclusion is wrong. You have 1.49.0.1, but cmake searches for 1.35. So patch CMakeLists.txt or run ccmake. If you don't want scantailor just to compile and run on your personal Wheezy box, compile for unstable, wait for testing migration and then do a backport. HTH, Martin 1: http://sourceforge.net/apps/mediawiki/scantailor/index.php?title=Building_from_source_code_on_Linux_and_Mac_OS_X -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51bb1f87.6060...@gmx.de
Bug#712056: RFS: scantailor [ITP] -- interactive post-processing tool for scanned document pages
Hi Kardan, I should have looked at 712056 before my answer. But as I did some C programming in the past, I thought that I understood the problem and Hey, this one is easy to solve :-( I would like to help. In this case the package is already RFS and I think repackaging it would be counterproductive? Yup. There is no need to do it again. But I suggest another point of view. Daniel managed to overcome your problem. His package was reviewed (1) and some work still has to be done. Comparing what you did and what Daniel did may be quite instructive. But instead of browsing in different sources and comparing them it's probably more effictive to have a look at the maint-guide(-xx) (2) and developers-reference (3) packages - in that order. Take it as an exercise. Reading a text book or listening to some lecture is one thing. Making use of some theory in real life *and failing to do so* is the other thing. And that is really instructive :-( Martin 1: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712056#15 2: http://packages.debian.org/search?suite=defaultsection=allarch=anysearchon=nameskeywords=maint-guide 3: http://packages.debian.org/search?suite=defaultsection=allarch=anysearchon=allkeywords=developer+reference -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51bb3ee7.8010...@gmx.de
Re: Bug#712056: RFS: scantailor [ITP] -- interactive post-processing tool for scanned document pages
My POV is: As you already found the error (line 295), your conclusion is wrong. You have 1.49.0.1, but cmake searches for 1.35. My POV is wrong :( (see below) $ grep -n -i boost CMakeLists.txt 74:INCLUDE(FindBoost) 152:FILE(GLOB boost_dirs1 ${build_outer_dir}/boost_1_[0-9]*_[0-9]*) 153:FILE(GLOB boost_dirs2 ${source_outer_dir}/boost_1_[0-9]*_[0-9]*) 286:BOOST_ROOT boost-build.jam PATHS ${boost_dirs1} ${boost_dirs2} 287:DOC Path to top-level Boost source directory. 289:SET(Boost_USE_STATIC_LIBS ON) 291:ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK) 294:SET(Boost_USE_MULTITHREADED ON) 295:FIND_PACKAGE(Boost 1.35.0 COMPONENTS unit_test_framework prg_exec_monitor) 296:FIND_PACKAGE(Boost 1.49.0 COMPONENTS unit_test_framework prg_exec_monitor) 297:FIND_PACKAGE(Boost 1.49.0) 298:FIND_PACKAGE(Boost 1.49.1 COMPONENTS unit_test_framework prg_exec_monitor) 299:IF(NOT Boost_FOUND) 302:Could not find boost headers or libraries.\n 303:You may need to install a package named libboost1.35-dev or later. 305:ENDIF(NOT Boost_FOUND) You are close here - but I still disagree slightly. As I understand things, the problem is the incompatibility between the upstream code (above) and the Debian version - 1.49.0 vs 1.49.0.1. You are right and I am confused. Boost has already been found at the beginning but this is forgotten later. I learn, that FIND_PACKAGE overrides all former states even if it was found already. Also from [1] I learned that FIND_PACKAGE does not fail because of the higher version as EXACT is not set, but as you can see in the following it is about the COMPONENTS. $ cmake . -- Boost version: 1.49.0 -- Could NOT find Boost -- Could NOT find Boost -- Boost version: 1.49.0 -- Could NOT find Boost CMake Error at CMakeLists.txt:300 (MESSAGE): Could not find boost headers or libraries. but this is forgotten later. Take it as nitpicking - there is a difference between not used and forgotten. But the *effect* is the same - FTBFS. Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51bb467a.6010...@gmx.de
Re: Packaging from scratch
First of all, I'm very new here, my questions have probably already been answered (although I didn't find these answers...), please excuse me if it is so. I've been working on packaging something (a scientific tool for RNA sequence analysis) that has never been packaged You may be interested to read the New Maintainer's Guide (1) which is also a Debian package that can be read offline. Also I suggest to have a look at the wiki (2). 1: http://www.debian.org/doc/manuals/maint-guide/ 2: http://wiki.debian.org/DebianScience -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51af108a.1060...@gmx.de
Re: RFR: python-qrcode -- native python module to generate QR codes
Hi Cornelius, hi Jakub! Please see Developer's References §6.2.3 for guidelines for package descriptions. Don't hesitate to ask on debian-l10n-engl...@lists.debian.org for advice. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/511faf3d.1060...@gmx.de
How to report multiple (?) issues in debian/control?
Hi, translating the bf-utf-source package description (1) the German translators found that it refers to non-existent suggests: (di-packages-build, boot-floppies). The description refers at least to one of these dependencies: This package contains bdf fonts needed to build the international version of boot-floppies and Debian-Installer (replacement for boot-floppies). If you aren't building Debian boot install floppies or CDs, you probably don't need this package. If I understand things right, there are at least two problems: - the suggests section should be changed, - the description should be changed. Perhaps the package is not needed anymore? But I don't know how to find it out. How do I determine whether some package is a build dependency of another one? Cheers, Martin http://packages.debian.org/sid/bf-utf-source -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50c8bc2e.3030...@gmx.de
Backporting a multi-arched package
Hi, I contributed updated (and new)manpage translations for a package which had not been updated for ages. Therefore I would like to provide the German users of (old)stable with recent translations. Last time I made my private backport I had to compile code extracted from the sources (not part of Squeeze) and install that package first. It worked on my Squeeze system, but I did not manage to compile the main package in a pbuilder environment. Now there is one more problem: I found the changelog entry Make $package Multi-Arch: foreign. As Squeeze is not (?) multiarch-aware, the way to go would be - make the build-dependency available in squeeze-backports, - backport the package reversing the multiarch stuff ? Thank you very much (in advance) for your hints (to multiarch-doc) and advice, Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50087c0b.2030...@gmx.de
Re: Bug#662736: ITP: maxwell -- entropy-gathering daemon
Package: wnpp Followup-For: Bug #662736 Owner: Pedro I. Sanchezpsanc...@fosstel.com Package: wnpp Followup-For: Bug #662736 Owner: Pedro I. Sanchezpsanc...@fosstel.com Package: wnpp Followup-For: Bug #662736 Owner: Pedro I. Sanchezpsanc...@fosstel.com Package: wnpp Severity: wishlist Hi Pedro, if I understand things right, you missed a CC to | cont...@bugs.debian.org and a separate line thanks to make your control commands become effictive. | * Package name : maxwell Version : 1.2-1 Upstream Author : Sandy Harrissandyinch...@gmail.com * URL : ftp://ftp.cs.sjtu.edu.cn:990/sandy/maxwell/ * License : GPL v2 Programming Language : C * Description : entropy-gathering daemon Daemon to gather entropy from a timer and feed it to random(4). maxwell collects randomness from the small variations in a system timer, distills it into a concentrated form, and sends it to random (4). The amount of output varies with the parameters chosen, but is generally a few K bits per second. The quality is intended to be very high. Both volume and quality should be adequate for most applications. There are a number of other ways to feed entropy to random (4). The advantage of maxwell is that it is small, simple and only minimally hardware-dependent. The other methods also have advantages, and in many cases one of them will be preferable to this one. Please consider an informal review of the package description on debian-l10n-english as well. To me the first paragraph is an incomplete sentence and its information is contained in the second as well. How about The maxwell daemon collects randomness from the small variations in a system timer, distills it into a concentrated form, and sends it to random(4). And most of the last two paragraphs seems vague and trivial. Both volume and quality should be adequate for most applications. A typical use case would help. The other methods also have advantages, and in many cases one of them will be preferable to this one. The advantages are trivial. The alternate methods are not mentioned. What are the criteria? And perhaps some words on why the name would not hurt. Some people primarly think of electromagnetic fields when they hear/read Maxwell. BTW: I strongly suggest s/random (4)/random(4)/ and appreciate the hint to the manual page. Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50071feb.3080...@gmx.de
Found neglected package
Hi, can I orphan a package that obviously lacks maintainer interest (11 open bugs, 2 RC-NMUs in 2012, latest maintainer mail in June 2007, 8 bugs since then)? BTW: He is still active and looking for sponsors. Cheers, Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ff5f21b.4070...@gmx.de
Who maintains manpages.debian.net?
Hi, today I had a look at a section 3 manpage for unstable. I was offered an outdated version. Where is the right place to complain - to suggest importing an up to date version? Cheers, Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fee179a.5050...@gmx.de
Re: How to warn the user with debconf
Hi Stefano, in my postinst script I need to warn the user in case the script was unable to remove a non empty directory. How can I do this and have a lintian clean package? I thought to use a debconf note but lintian issues possible-debconf-note-abuse warning. TIA Stefano please have a look at the Developer's Reference (1). Why not issue the error message when the error occurs? The shortest way to a problem solution for you way may be an informal mail to debian-l10n-english asking for a review of your debconf templates and package description. Of course you can upload your package as is, but this slows down the process. »Bubulle« will find your new debconf template and propose a more formal process lasting up to three weeks. Cheers, Martin 1: http://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#s6.5.1 -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f135eef.70...@gmx.de
Bug Squashing with dependencies
Hi, today I found three packages with an uninstallable build dependency. The missing dependency is because of a name change. And the package blocking the others with transitioning itself has open RC bugs. What is the right thing to do? Writing patches/preparing NMUs for three packages or fixing at least one RC bug in the fourth package and renaming it again? Cheers, Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ee75d03.9070...@gmx.de
Re: Need assistance in packaging / Brauche Hilfe bei der Erstellung von Paketen
Dear Björn, perhaps you are also interested in having a look at man.7 and man-pages.7. They have an up to date German translation in manpages-de-0.9. Cheers, Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4eb7e382.7090...@gmx.de
Re: Need assistance in packaging / Brauche Hilfe bei der Erstellung von Paketen
Dear Guido, The perl program pod2man may interest you if you want to construct a nice looking man page without too much effort. thank you for the hint. I have not written any manpages yet, but I translated some of them in the past. Martin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4eb7eed9.4010...@gmx.de
Re: Need assistance in packaging / Brauche Hilfe bei der Erstellung von Paketen
Hi Björn, yes, I'm German. I decided for the public answer in case others have the same questions. w to private man.7 and man-pages.7. They have an up to date German translation in manpages-de-0.9. English versions of man(7) and man-pages(7) should be already on your system. They are part of the manpages package. How to access manpages? $man man is your friend. It becomes more difficult when there are more than one manpages with the same name. $whatis man man (1) - eine Oberfläche für die Online-Referenzhandbücher man (7) - Makros zum Formtieren In cases like this you have to provide the section: $man 7 man. You can obtain example debian directories from any source package that builds more than one package, e.g. 1), 2). Just download the diff.gz and uncompress it. Then you have a debian directory in your working directory. Cheers, Martin 1: http://packages.debian.org/source/sid/opencv 2: http://ftp.de.debian.org/debian/pool/main/o/opencv/opencv_2.1.0-7.diff.gz -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4eb7f5bc@gmx.de