[opensuse-factory] New package proposal: jgrep
Hello to all! I'd like to open a submit request with jgrep package to openSUSE Factory. It is a command-line grep-like utility written in Java. It supports Java regular expressions, RE2J, POSIX options (excluding -E and -G), most GNU grep(1) options, options -O, -2 and -8. However packaging is a bit tricky. 1) jgrep normally requires maven at build time but there are no maven at openSUSE Factory. 2) Maven requires about *teen plugins for jgrep and no one is packaged at all. That is why upstream and I decided to let maintainer make jar file and invoke it at %prep stage. Is *.jar bundling allowed at OBS? openSUSE Factory? [0] https://github.com/cheusov/jgrep [1] http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/jgrep # NetBSD package [2] https://build.opensuse.org/package/show/home:DarkSS:branches:devel:tools:bui... -- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2016-05-28 17:53, Dmitriy Perlow wrote:
However packaging is a bit tricky. 1) jgrep normally requires maven at build time but there are no maven at openSUSE Factory. 2) Maven requires about *teen plugins for jgrep and no one is packaged at all. That is why upstream and I decided to let maintainer make jar file and invoke it at %prep stage.
Is *.jar bundling allowed at OBS? openSUSE Factory?
for the same reasons we do the same for jenkins, which is in OBS but not Factory. The major downside of the method is that you lose many advantages of free software, e.g. the possibility to add patches to add experimental patches (before they go upstream). And you also need to take greater care to fulfill the license (e.g. ship the source for (L)GPL). There is https://github.com/moio/tetra allowing to build a package from source, but it still leaves the 100 deps as binary-only-jars. And often the patches we needed were in bundled jars, not jenkins itself. So also not perfect. During past years several people have tried and failed to improve the maven packaging mess. Ciao Bernhard M. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Bernhard M. Wiedemann <bernhardout@lsmod.de> Sun, 29 May 2016 11:47:36 +0300:
On 2016-05-28 17:53, Dmitriy Perlow wrote:
However packaging is a bit tricky. 1) jgrep normally requires maven at build time but there are no maven at openSUSE Factory. 2) Maven requires about *teen plugins for jgrep and no one is packaged at all. That is why upstream and I decided to let maintainer make jar file and invoke it at %prep stage.
Is *.jar bundling allowed at OBS? openSUSE Factory?
for the same reasons we do the same for jenkins, which is in OBS but not Factory. The major downside of the method is that you lose many advantages of free software, e.g. the possibility to add patches to add experimental patches (before they go upstream).
It is possible but only at localhost…
And you also need to take greater care to fulfill the license (e.g. ship the source for (L)GPL).
License is Apache-2. Sources are provided to build C library required at runtime.
There is https://github.com/moio/tetra allowing to build a package from source, but it still leaves the 100 deps as binary-only-jars. And often the patches we needed were in bundled jars, not jenkins itself. So also not perfect.
During past years several people have tried and failed to improve the maven packaging mess.
We have super packaging power for haskell but not for java. It makes me smile. Thank you for tips! -- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
tindog:/var/log # cat /etc/os-release NAME=openSUSE VERSION="Tumbleweed" VERSION_ID="20160613" PRETTY_NAME="openSUSE Tumbleweed (20160613) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20160613" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" ID_LIKE="suse" From kdm.log =========== Current version of pixman: 0.32.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 21 21:29:19 2015 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" resize called 1920 1080 klauncher(2502) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting! kdmgreet(2496)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server" kdmgreet(2496)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned (II) Server terminated successfully (0). Closing log file. tindog:/var/log # ps fax|grep dbus 820 ? Ss 0:01 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 1809 ? S 0:00 \_ /usr/lib/cups/notifier/dbus dbus:// 7126 pts/0 S+ 0:00 \_ grep --color=auto dbus 7044 ? S 0:00 dbus-launch --autolaunch 6679a3b683a00763ee51ce5656d2753f --binary-syntax --close-stderr 7045 ? Ss 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Sid Boyce <sboyce@blueyonder.co.uk> [06-20-16 11:41]:
tindog:/var/log # cat /etc/os-release NAME=openSUSE VERSION="Tumbleweed" VERSION_ID="20160613" PRETTY_NAME="openSUSE Tumbleweed (20160613) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20160613" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" ID_LIKE="suse"
From kdm.log =========== Current version of pixman: 0.32.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 21 21:29:19 2015 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" resize called 1920 1080 klauncher(2502) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting! kdmgreet(2496)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server"
kdmgreet(2496)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned (II) Server terminated successfully (0). Closing log file.
tindog:/var/log # ps fax|grep dbus 820 ? Ss 0:01 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 1809 ? S 0:00 \_ /usr/lib/cups/notifier/dbus dbus:// 7126 pts/0 S+ 0:00 \_ grep --color=auto dbus 7044 ? S 0:00 dbus-launch --autolaunch 6679a3b683a00763ee51ce5656d2753f --binary-syntax --close-stderr 7045 ? Ss 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session Regards Sid.
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
wehhh, just zypper -v in --force kinit -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Bernhard M. Wiedemann
-
Dmitriy Perlow
-
Patrick Shanahan
-
Sid Boyce