[Wireshark-dev] dpkg-buildpackage -rfakeroot picking wrong version and dissectors
Hi all, I am building a package for Ubuntu, and the debian packages I get as result are not picking the proper customized version (set in configure.ac), but what is worse, a custom dissector I wrote is not in the packages. I did make before doing the packaging and ./wireshark-gtk is as I expect. Do I have to configure anything else before doing dpkg-buildpackage -rfakeroot? By the way, the rest of the build system works sweet in Centos, Mac and Windows. Thanks, Juanjo ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] dpkg-buildpackage -rfakeroot picking wrong version and dissectors
Hi Juanjo, 2015-03-25 15:26 GMT+01:00 Juan Jose Martin Carrascosa jua...@rti.com: Hi all, I am building a package for Ubuntu, and the debian packages I get as result are not picking the proper customized version (set in configure.ac), but what is worse, a custom dissector I wrote is not in the packages. The Debian packages use the cmake-based build system thus you have your custimizations present there to be part of the packages. Cheers, Balint I did make before doing the packaging and ./wireshark-gtk is as I expect. Do I have to configure anything else before doing dpkg-buildpackage -rfakeroot? By the way, the rest of the build system works sweet in Centos, Mac and Windows. Thanks, Juanjo ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] dpkg-buildpackage -rfakeroot picking wrong version and dissectors
Thanks for the prompt reply Bálint. So, I assume that what I did for the make build doesn't apply here. Does anyone know how to modify the cmake build for: 1) add a dissector 2) add files to the package (for instance, a pdf in the root directory) 3) change the version Any documentation/guidelines would be appreciated. Thanks, Juanjo On Wed, Mar 25, 2015 at 3:36 PM, Bálint Réczey bal...@balintreczey.hu wrote: Hi Juanjo, 2015-03-25 15:26 GMT+01:00 Juan Jose Martin Carrascosa jua...@rti.com: Hi all, I am building a package for Ubuntu, and the debian packages I get as result are not picking the proper customized version (set in configure.ac), but what is worse, a custom dissector I wrote is not in the packages. The Debian packages use the cmake-based build system thus you have your custimizations present there to be part of the packages. Cheers, Balint I did make before doing the packaging and ./wireshark-gtk is as I expect. Do I have to configure anything else before doing dpkg-buildpackage -rfakeroot? By the way, the rest of the build system works sweet in Centos, Mac and Windows. Thanks, Juanjo ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] dpkg-buildpackage -rfakeroot picking wrong version and dissectors
Well, after doing some awful research... 1) To add the dissector, I edited epan/CMakeLists.txt. 2) To add files to the package, I added my custom files to the same list that colorfilters is, and it seems it work. 3) It seems the version is controlled in CMakeLists.txt using PROJECT_MAJOR/MINOR/PATCH_VERSION and PROJECT_VERSION_EXTENSION. I think I got it working. Thanks for the initial point Bálint. Juanjo On Wed, Mar 25, 2015 at 4:06 PM, Juan Jose Martin Carrascosa jua...@rti.com wrote: Thanks for the prompt reply Bálint. So, I assume that what I did for the make build doesn't apply here. Does anyone know how to modify the cmake build for: 1) add a dissector 2) add files to the package (for instance, a pdf in the root directory) 3) change the version Any documentation/guidelines would be appreciated. Thanks, Juanjo On Wed, Mar 25, 2015 at 3:36 PM, Bálint Réczey bal...@balintreczey.hu wrote: Hi Juanjo, 2015-03-25 15:26 GMT+01:00 Juan Jose Martin Carrascosa jua...@rti.com: Hi all, I am building a package for Ubuntu, and the debian packages I get as result are not picking the proper customized version (set in configure.ac), but what is worse, a custom dissector I wrote is not in the packages. The Debian packages use the cmake-based build system thus you have your custimizations present there to be part of the packages. Cheers, Balint I did make before doing the packaging and ./wireshark-gtk is as I expect. Do I have to configure anything else before doing dpkg-buildpackage -rfakeroot? By the way, the rest of the build system works sweet in Centos, Mac and Windows. Thanks, Juanjo ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] dpkg-buildpackage -rfakeroot picking wrong version and dissectors
Hi, You could also add it to a CMakeListCustom.txt file see CMakelistCustom.txt.example you also need a Cmake file in your custom dissectors file. Regards Anders From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Juan Jose Martin Carrascosa Sent: den 25 mars 2015 17:10 To: Bálint Réczey; Developer support list for Wireshark Subject: Re: [Wireshark-dev] dpkg-buildpackage -rfakeroot picking wrong version and dissectors Well, after doing some awful research... 1) To add the dissector, I edited epan/CMakeLists.txt. 2) To add files to the package, I added my custom files to the same list that colorfilters is, and it seems it work. 3) It seems the version is controlled in CMakeLists.txt using PROJECT_MAJOR/MINOR/PATCH_VERSION and PROJECT_VERSION_EXTENSION. I think I got it working. Thanks for the initial point Bálint. Juanjo On Wed, Mar 25, 2015 at 4:06 PM, Juan Jose Martin Carrascosa jua...@rti.commailto:jua...@rti.com wrote: Thanks for the prompt reply Bálint. So, I assume that what I did for the make build doesn't apply here. Does anyone know how to modify the cmake build for: 1) add a dissector 2) add files to the package (for instance, a pdf in the root directory) 3) change the version Any documentation/guidelines would be appreciated. Thanks, Juanjo On Wed, Mar 25, 2015 at 3:36 PM, Bálint Réczey bal...@balintreczey.humailto:bal...@balintreczey.hu wrote: Hi Juanjo, 2015-03-25 15:26 GMT+01:00 Juan Jose Martin Carrascosa jua...@rti.commailto:jua...@rti.com: Hi all, I am building a package for Ubuntu, and the debian packages I get as result are not picking the proper customized version (set in configure.achttp://configure.ac), but what is worse, a custom dissector I wrote is not in the packages. The Debian packages use the cmake-based build system thus you have your custimizations present there to be part of the packages. Cheers, Balint I did make before doing the packaging and ./wireshark-gtk is as I expect. Do I have to configure anything else before doing dpkg-buildpackage -rfakeroot? By the way, the rest of the build system works sweet in Centos, Mac and Windows. Thanks, Juanjo ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.orgmailto:wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.orgmailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.orgmailto:wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.orgmailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe