something-for-reddit
something-for-reddit copied to clipboard
[Suggestion] I'm willing to package this app for Debian
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.
Sorry, saw you have a debian/
directory with a Debian package (but no built .deb
...)
@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?
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).
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)'
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.
@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.
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. :smile: