{"action":"opened","issue":{"url":"https://api.github.com/repos/FontManager/master/issues/9","labels_url":"https://api.github.com/repos/FontManager/master/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/FontManager/master/issues/9/comments","events_url":"https://api.github.com/repos/FontManager/master/issues/9/events","html_url":"https://github.com/FontManager/master/issues/9","id":110872039,"number":9,"title":"Build fails when HAVE_FILE_ROLLER undefined","user":{"login":"Soft","id":40366,"avatar_url":"https://avatars.githubusercontent.com/u/40366?v=3","gravatar_id":"","url":"https://api.github.com/users/Soft","html_url":"https://github.com/Soft","followers_url":"https://api.github.com/users/Soft/followers","following_url":"https://api.github.com/users/Soft/following{/other_user}","gists_url":"https://api.github.com/users/Soft/gists{/gist_id}","starred_url":"https://api.github.com/users/Soft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soft/subscriptions","organizations_url":"https://api.github.com/users/Soft/orgs","repos_url":"https://api.github.com/users/Soft/repos","events_url":"https://api.github.com/users/Soft/events{/privacy}","received_events_url":"https://api.github.com/users/Soft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-11T17:49:13Z","updated_at":"2015-10-11T17:49:13Z","closed_at":null,"body":"If I understand correctly file-roller should now be an optional dependency in FontManager. However, when building with HAVE_FILE_ROLLER undefined the build fail because of missing `ifdef` in [FileSelector](https://github.com/FontManager/master/blob/master/src/UX/Dialogs/FileSelector.vala#L59). This happens because ArchiveManager itself is correctly enclosed in `ìfdef` and not present in the build. Bellow are the relevant error messages from my system:\r\n\r\n```\r\n./UX/Dialogs/FileSelector.vala:59.39-59.52: error: The name `ArchiveManager' does not exist in the context of `FontMan\r\nager.FileSelector.run_install'\r\n            var archive_manager = new ArchiveManager();\r\n                                      ^^^^^^^^^^^^^^\r\n./UX/Dialogs/FileSelector.vala:59.17-59.54: error: var declaration not allowed with non-typed initializer\r\n            var archive_manager = new ArchiveManager();\r\n                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n./UX/Dialogs/FileSelector.vala:60.38-60.52: error: The name `archive_manager' does not exist in the context of `FontMa\r\nnager.FileSelector.run_install'\r\n            foreach (var mimetype in archive_manager.get_supported_types())\r\n```\r\n"}}