Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: How to Write Correct copyright File?

  1. #11
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: How to Write Correct copyright File?

    Code:
    dpkg-deb: `debian.deb' contains no control component `md5sums'
    Well, I don't know for sure if USC checks the MD5 hash of the copyright file, but this could be the culprit.

    This is how md5sums from a package of mine looks like:
    Code:
    73d99e2b44743d05895551476823e7b0  usr/bin/doc
    b039a38030c632cfc65338d05d1a293a  usr/share/doc/doc/changelog.gz
    61e854a18f10cee73420220b341ebc0d  usr/share/doc/doc/copyright
    be0964cf640caa9ea6a67e1ed9b59b21  usr/share/man/man1/doc.1.gz
    Try to generate md5sums for your package like this
    Code:
    cd debian
    find usr -type f -exec md5sum {} + >DEBIAN/md5sums
    Then check that DEBIAN/md5sums exists and contains the MD5 hashes of all files in your package and rebuild the package.
    Last edited by schragge; February 21st, 2013 at 09:48 AM. Reason: typos corrected

  2. #12
    Join Date
    Apr 2012
    Beans
    48

    Re: How to Write Correct copyright File?

    Waaaaah, a great clue for mee... Thank you.

    Maybe it is the reason why USC doesn't detect my copyright.

    I wanna try it soon, and back here to inform you what happen.

    Absolutely new way for me to reveal MD5 from files. Thank you for commands

  3. #13
    Join Date
    Apr 2012
    Beans
    48

    Re: How to Write Correct copyright File?

    Quote Originally Posted by schragge View Post
    Try to generate md5sums for your package like this
    Code:
    cd debian
    find usr type -f -exec md5sum {} + >DEBIAN/md5sums
    Then check that DEBIAN/md5sums exists and contains the MD5 hashes of all files in your package and rebuild the package.
    Hello, this is the result of that command:

    Code:
    master@master:~/Publik/Java/Pemaketan/debian$ find usr type -f -exec md5sum {} + >DEBIAN/md5sums
    find: unknown predicate `-f'
    How to fix this? Thank you...

  4. #14
    Join Date
    Apr 2012
    Beans
    48

    Re: How to Write Correct copyright File?

    Oh, your command seems incorrect. I do:

    find usr -type f -exec md5sum {} + >DEBIAN/md5sums

    And I found a md5 file in DEBIAN. It contains:

    Code:
    0883f7e0c511adbf54577291a0204a1e  usr/bin/otodidak
    f75ed71ee4abbc1e1dcead71d145769a  usr/lib/otodidak/otodidak.jar
    9e05ae854fc4e9c2121d655a90b8703e  usr/share/doc/otodidak/AUTHORS
    e93aa9984ff592e47f9142c8f4ddc577  usr/share/doc/otodidak/copyright
    6e17f3ab695f42e6b24f3c75705fcc74  usr/share/doc/otodidak/changelog.gz
    ff5fb2613db299f1345bd83627a558c3  usr/share/icons/hicolor/32x32/apps/logootodidak.png
    7d7e3f761ca381ae396f6c202838c9ab  usr/share/icons/hicolor/128x128/apps/logootodidak.png
    c0ff43dc92c567ab4dbd1a6081d8e802  usr/share/icons/hicolor/64x64/apps/logootodidak.png
    b245fc5e9cff5f18cbac98948f9f0c89  usr/share/icons/hicolor/96x96/apps/logootodidak.png
    cc5d27f56a830a465b6bb6908a29993e  usr/share/icons/hicolor/16x16/apps/logootodidak.png
    6466464e39e7a1af2b0f49d720bb9153  usr/share/icons/hicolor/48x48/apps/logootodidak.png
    2b5db695bed16dd0b4f713accbc2505d  usr/share/applications/otodidak.desktop
    6466464e39e7a1af2b0f49d720bb9153  usr/share/pixmaps/logootodidak.png
    da60f8c91a5d27d0198c2c5f5b74d6c9  usr/share/menu/otodidak
    And no error. But after building it again, my license is still not appear in USC

    Any other suggestion?

  5. #15
    Join Date
    Apr 2012
    Beans
    48

    Re: How to Write Correct copyright File?

    Oh, your command seems incorrect. I do:

    find usr -type f -exec md5sum {} + >DEBIAN/md5sums

    And I found a md5 file in DEBIAN. It contains:

    Code:
    0883f7e0c511adbf54577291a0204a1e  usr/bin/otodidak
    f75ed71ee4abbc1e1dcead71d145769a  usr/lib/otodidak/otodidak.jar
    9e05ae854fc4e9c2121d655a90b8703e  usr/share/doc/otodidak/AUTHORS
    e93aa9984ff592e47f9142c8f4ddc577  usr/share/doc/otodidak/copyright
    6e17f3ab695f42e6b24f3c75705fcc74  usr/share/doc/otodidak/changelog.gz
    ff5fb2613db299f1345bd83627a558c3  usr/share/icons/hicolor/32x32/apps/logootodidak.png
    7d7e3f761ca381ae396f6c202838c9ab  usr/share/icons/hicolor/128x128/apps/logootodidak.png
    c0ff43dc92c567ab4dbd1a6081d8e802  usr/share/icons/hicolor/64x64/apps/logootodidak.png
    b245fc5e9cff5f18cbac98948f9f0c89  usr/share/icons/hicolor/96x96/apps/logootodidak.png
    cc5d27f56a830a465b6bb6908a29993e  usr/share/icons/hicolor/16x16/apps/logootodidak.png
    6466464e39e7a1af2b0f49d720bb9153  usr/share/icons/hicolor/48x48/apps/logootodidak.png
    2b5db695bed16dd0b4f713accbc2505d  usr/share/applications/otodidak.desktop
    6466464e39e7a1af2b0f49d720bb9153  usr/share/pixmaps/logootodidak.png
    da60f8c91a5d27d0198c2c5f5b74d6c9  usr/share/menu/otodidak
    And no error. But after building it again, my license is still not appear in USC

    Any other suggestion?

  6. #16
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: How to Write Correct copyright File?

    Quote Originally Posted by Malsasa View Post
    Oh, your command seems incorrect. I do:

    find usr -type f -exec md5sum {} + >DEBIAN/md5sums
    Yes, you're right. Sorry for that. I've edited the post.

    Any other suggestion?
    I'm afraid I can't help you any further. Your copyright file looks OK to me. Check it yourself with the specification. I have zero experience with USC, it's even not installed on my system (Debian wheezy).

    You've got wrong permissions on some .png files, but that shouldn't be the problem here. To silence some lintian warnings, you can remove execute bit from them:
    Code:
    find usr/share/ -name \*.png -exec chmod -x {} +
    But this has nothing to do with UCS not recognising the copyright.

    Update.
    One thing, however, I can still suggest is this. Install the package libconfig-model-tkui-perl, then run
    Code:
    config-edit -application dpkg-copyright -ui none -config-file DEBIAN/copyright
    and watch for any error messages. This should check your copyright file for policy conformance.
    You also can start config-edit interactively like this
    Code:
    config-edit -application dpkg-copyright -config-file DEBIAN/copyright
    then it works as an editor.
    Last edited by schragge; February 21st, 2013 at 12:06 PM.

  7. #17
    Join Date
    Apr 2012
    Beans
    48

    Re: How to Write Correct copyright File?

    Wow, very advanced. Okay, okay. Thank you so much. It is my first experience in this Ubuntuforums International. Good experience for me...


    Okay, maybe it is the time for release. It is not a big problem if my copyright is not appear in USC

    Thank you from Indonesia.

    Maybe when I get my problem fixed in USC, I will get back here, and say it is solved.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •