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

[Suggestion] I'm willing to package this app for Debian #37

Open
bharadwaj-raju opened this issue Jun 28, 2016 · 7 comments
Open

[Suggestion] I'm willing to package this app for Debian #37

bharadwaj-raju opened this issue Jun 28, 2016 · 7 comments

Comments

@bharadwaj-raju
Copy link

I see your app only has packages for Fedora and Arch Linux.

I'm willing to create a Debian .deb package that will build from the git repository each time it is installed.

@bharadwaj-raju bharadwaj-raju changed the title [Not really an issue, per se] I'm willing to package this app for Debian [Suggestion] I'm willing to package this app for Debian Jun 28, 2016
@bharadwaj-raju
Copy link
Author

Sorry, saw you have a debian/ directory with a Debian package (but no built .deb...)

@samdroid-apps
Copy link
Owner

@bharadwaj-raju, does the debian/ package work still?

You could make a repository if you want. Does debian have a COPR or PPA like system? Or do we just chuck a few package files on a file server and call it a day?

@samdroid-apps samdroid-apps reopened this Jun 28, 2016
@bharadwaj-raju
Copy link
Author

I've yet to test building the package.

PPAs can work on any deb-based system (Debian included, but Debian requires a few packages (software-properties-common, python-software-properties) to be installed before PPA usage).

As for me making a PPA, I don't have a Launchpad account.

My idea is that instead of the deb containing a specific snapshot of the repository, it's install-script just clones the current repository and builds it. You can host it on a file-sharing server (Dropbox etc) somewhere or even GitHub (I have a bharadwaj-raju/packages repository just to hold such built packages for my projects).

@bharadwaj-raju
Copy link
Author

Build fails after installing all packages specified in debian/control:

$ ./autogen.sh
[ Some output truncated... ]
./configure: line 13369: syntax error near unexpected token `1.35.9'
./configure: line 13369: `GOBJECT_INTROSPECTION_REQUIRE(1.35.9)'

@alamsohelrana
Copy link

alamsohelrana commented Nov 3, 2016

Dear Bharadwaj, happy to see another debian enthusiast like me.

I have removed the issue with sudo apt-get install gobject-introspection

But got stuck again..

got below error

checking for SOMETHING_FOR_REDDIT... no
configure: error: Package requirements (gio-2.0 >= 2.42
                                         libsoup-2.4 >= 2.4
                                         webkit2gtk-4.0 >= 2.0
                                         json-glib-1.0 >= 1.0
                                         gtk+-3.0 >= 3.20) were not met:

No package 'libsoup-2.4' found
No package 'webkit2gtk-4.0' found
No package 'json-glib-1.0' found
No package 'gtk+-3.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SOMETHING_FOR_REDDIT_CFLAGS
and SOMETHING_FOR_REDDIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I believe the issue is with configure.ac in line 60

PKG_CHECK_MODULES(SOMETHING_FOR_REDDIT, [gio-2.0 >= 2.42
                                         libsoup-2.4 >= 2.4
                                         webkit2gtk-4.0 >= 2.0
                                         json-glib-1.0 >= 1.0
                                         gtk+-3.0 >= 3.20])

How to bypass this ??

And also do you have an fb or twitter account

Edit: Also I checked, those are already installed in my system(maybe with different name like Note, selecting 'libwebkitgtk-3.0-cil' for regex 'gtk+-3.0')

But I believe the best way is to configure the variables.

@khurshid-alam
Copy link

@samdroid-apps

Can you update the dependencies in debian ?

gio-2.0 >= 2.42------------------- gir1.2-glib-2.0
libsoup-2.4 >= 2.4--------------- gir1.2-soup-2.4
webkit2gtk-4.0 >= 2.0---------- gir1.2-webkit2-4.0
json-glib-1.0 >= 1.0------------- gir1.2-json-1.0
gtk+-3.0 >= 3.20----------------- gir1.2-gtk-3.0

These are for package dependencies. Build dependencies needs to be adapted as well.

@samdroid-apps
Copy link
Owner

Thanks for tracking it down. I don't have a debian instance right now. If you are making the changes right now, feel free to send a pull request!

If not, give me a yell and I'll try to fix it. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants