When I updated Cecrecy for the first time, I wanted to add a Changelog to the package description itself. I was having a hard time figuring it out as, other than the official documentation in Debian Control files, I couldn’t find more help on this.

I tried using “\n” characters to create newlines. When that didn’t work, I tried “<br />”, but that didn’t work either. In both cases, Cydia was interpreting the literal characters rather than their meanings.

Then I finally resorted to using actual line breaks. You know, literally press “Enter” and leave it there. At first, this didn’t work at all. I was scratching my head as, to my understanding after reading the DEBIAN Control files documentation, it was supposed to be THAT easy.

At that point, my control file looked like this (this is wrong):

Package: com.andyibanez.cecrecy
Name: Cecrecy
Depends: mobilesubstrate, applist(>=1.5.1), firmware(>=6.0), libhide
Version: 1.1.0
Architecture: iphoneos-arm
Description: Protect your privacy.
Rather than locking apps with a passcode, this tweak can hide them altogether. The tweak comes bundled with an SBSettings toggle that can be locked with a passcode to toggle the tweak on and off. Developers can write their own toggles for this tweak as well.

CHANGELOG

1.0.0
Initial Release
 
1.1.0
Fixed bug that caused misplaced icons after showing them again for some people.
Maintainer: Andy Ibanez
Author: Andy Ibanez
Section: Tweaks

But when I tried to build my package with that, it failed. It didn’t give me a reason. It just did this:

Making all in cecrecysettings...
Making all for bundle CecrecySettings...
 Copying resource directories into the bundle wrapper...
make[3]: Nothing to be done for `internal-bundle-compile'.
Making all for bundle Cecrecy...
 Copying resource directories into the bundle wrapper...
make[2]: Nothing to be done for `internal-bundle-compile'.
Making stage in cecrecysettings...
Making stage for bundle CecrecySettings...
Making stage for bundle Cecrecy...
make: *** [internal-package] Error 2
Andys-MacBook-Pro:Cecrecy Andy$

Yep. “Error 2”. Whatever that means. Then I tried running the

make package install messages=yes

command, based on a recommendation. It didn’t give me much info, but it told me enough about were I was screwing up.

The solution was simpler than I had expected. I just made all my lines start with a whitespace character. Literally, pressing the spacebar. And by that, I literally mean a ” ” character. After I made all the lines in the description field start with it, it worked fine. Note that to create paragraphs, every “empty” line needs to have its own ” ” character. Otherwise it will complain due to syntactical issues with the makefile.

My final makefile was this:

Package: com.andyibanez.cecrecy
Name: Cecrecy
Depends: mobilesubstrate, applist(>=1.5.1), firmware(>=6.0), libhide
Version: 1.1.0
Architecture: iphoneos-arm
Description: Protect your privacy.
 Rather than locking apps with a passcode, this tweak can hide them altogether. The tweak comes bundled with an SBSettings toggle that can be locked with a passcode to toggle the tweak on and off. Developers can write their own toggles for this tweak as well.
 
 CHANGELOG
 
 1.0.0
 Initial Release
 
 1.1.0
 Fixed bug that caused misplaced icons after showing them again for some people.
Maintainer: Andy Ibanez
Author: Andy Ibanez
Section: Tweaks

And with that, I was able to build a package with a control file that spawns more than one line.

I also noticed something a bit sweet: The text immediately following the “description: ” text, is the text that will show up in the Cydia cell of your project, whereas everything below it, will appear in the extended description you see once you tap that cell.

Positive SSL